oakes / edna

A Clojure data -> music library
The Unlicense
187 stars 7 forks source link

timing issue? #6

Open neeasade opened 5 years ago

neeasade commented 5 years ago

Hello there, thanks for this library and the ability to export to different formats.

I have the following:

#{[:piano {:octave 6 :tempo 270}
    1/4 :r :r :r :r ;; 1
    3/4 #{:c :e :g} 1/4 :r ;; 2
    {:octave 7}
    3/4 #{:c :e :g} 1/4 :r ;; 3
    ]

   [:midi-piano {:octave 4 :tempo 270}
    1/4
    :c :d :c :r ;; 1
    :c :d :c :r ;; 2
    :c :d :c :r ;; 3
    ]}

but the notes don't seem to overlap quite right. I have commented with ;; {1, 2, 3} in the places to show intended overlap, but for some reason the :piano's 2 starts on the :midi-piano's 3. Am I doing the overlapping right? am I misunderstanding rest/note timing?

For reference, I am exporting to mp3 then playing.

Thanks in advance.

neeasade commented 5 years ago

hm, the issue goes away if I don't touch the tempo :thinking: