Git Product home page Git Product logo

bdef's Issues

op-1-format-to-frame and frame-to-op-1-format are just broken, op-1-format-to-frame.new almost correct.

The function frame-to-op-1-format is completely broken, and seems to a mis-interpretation o fthe code in https://github.com/padenot/libop1/blob/master/src/op1_drum_impl.cpp. The function frame-to-op-1-format.new is close to what the C code does. To do precisely what the C code does it needs to do:

 (* (floor +op-1-drumkit-end+ +op-1-bytes-in-12-sec+)
      frame +size-of-uint16-t+)

[assuming that frame is an integer]

op-1-format-to-frame also broken. The function op-1-format-to-frame.new multiply by +size-of-uint16-t+ instead of dividing by it. To match frame-to-op-1-format, op-1-format-to-frame needs to do:

(round
   (/  op-1
       (* (floor +op-1-drumkit-end+ +op-1-bytes-in-12-sec+)
          +size-of-uint16-t+)))

The test op-1 will not work as is even after the fix, because op-1 value of 40 is rounded to 0. Switching the calls, so 40 is the frame number, make it work with the fixed functions.

Some systems failed to build for Quicklisp dist

Building with SBCL 2.1.10.195-bca540cd6 / ASDF 3.3.5 for quicklisp dist creation.

Trying to build commit id 9a20de6

bdef/cl-patterns fails to build with the following error:

; caught WARNING:
;   DEPRECATED-FUNCTION-WARNING: Using deprecated function BDEF::BDEF-REF -- please update your code to use a newer API.
;   The docstring for this function says:
;   Deprecated alias for `find-bdef'.
;   
...
Unhandled UIOP/LISP-BUILD:COMPILE-FILE-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING {1001BFC103}>: COMPILE-FILE-ERROR while compiling #<CL-SOURCE-FILE "bdef/cl-patterns" "cl-patterns">

bdef/tests fails to build because of a failure in bdef/cl-patterns.

Full log here

undocumented-symbols now in test-helpers, so undefined in the test

The test uses undocumented-symbols, which was defined in "mutility", but is now in "mutility/test-helpers", so it is undefined.

Adding "mutility/test-helpers" to the :depned-on of "bdef/tests" fixes it, but it is probably better to put undocumented-symbols back in "mutility" itself.

After the fix it errors with undocumented symbols:
(*BDEF-TEMPORARY-DIRECTORY* SPLITS-FROM-OP-1-DRUMSET BDEF-ID BDEF-KEY)

Failed to build for Quicklisp dist

Building with SBCL 2.0.9.5-442f54894 / ASDF 3.3.1 for quicklisp dist creation.

Commit id 954ed51

bdef/incudine fails to build with the following error:

Unhandled ASDF/FIND-COMPONENT:MISSING-DEPENDENCY in thread #<SB-THREAD:THREAD "main thread" RUNNING {1001A50103}>: Component #:INCUDINE not found, required by #<SYSTEM "bdef/incudine">

Full log here

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.