tmhglnd / mercury

A minimal and human-readable language and environment for the live coding of algorithmic electronic music.
http://www.timohoogland.com/mercury-livecoding
GNU General Public License v3.0
291 stars 13 forks source link

Ring not applying in second argument of note() #64

Closed GuillemGongora closed 3 years ago

GuillemGongora commented 3 years ago

The second argument of note() doesn't change when a ring is introduced, unless the first argument is also a ring.

ring first (0) ring second (0 1 2) new synth sine time(1/8) note(0 second) -> will output as if note(0 0) new synth sine time(1/8) note(first second) -> will output the desired result new synth sine time(1/8) note(first 1) -> will also output the desired result

Same goes for the note() in new sample

tmhglnd commented 3 years ago

Ah! Might be the case that the correct octave is only applied when the semitone changes. Will fix it soon