login

online now

We have 61 guests and no members online

search

 
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Polymode

Polymode 3 years 5 days ago #592

Looking at playing around with a the Polyphonic note generation. Is there a defined constant for a "rest" (ie, no sound) ? I'm thinking of transcoding some sheet music
(note by note) and many times I need a "rest" - so I'd like to treat a musical rest as just another note - is that possible ?

Thanks....Matt.
The administrator has disabled public write access.

Re: Polymode 2 years 7 months ago #822

Hi Matt, thanks for your question. In poly mode the only timing done by the system is in running the DCO envelopes (ADSR). When you trigger a voice you will start the ADSR sequence, and when you release you trigger the release stage. The time between notes is not determined by the system so you would implement the rests yourself.

This is actually recommended if you are transcribing from sheet music because the time signature of the song and tempo probably determine the actual durations of the rest. I would start with the tempo in beats per minute to compute how long a beat is per second, then invert to get seconds per beat. Knowing this the number of beats for a given rest can be determined by the sheet music which would translate into an exact time.

To control the time, you can use the time function on the Arduino. In a similar fashion you'll probably want to implement note durations using the same logic to trigger/release based on the sheet music as well.

I hope that helps, and have fun with GinSing!
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 0.182 seconds