Search found 7 matches
Search found 7 matches • Page 1 of 1
- Thu Jun 10, 2021 11:43 am
- Forum: Module Designer
- Topic: Sequencer/Arpeggiator?
- Replies: 7
- Views: 142
i need to do 8 different SetValue after every samplesPerBeat is passed and then when sequence reaches the last value it should reset and start over. I didn't manage to do this with for, while loops. there is probably easier and obvious solution but i am really stupid to see this.
Could somebody please explain me the way how to switch to the next value after calculating number of samples? i have tried TimerTask, conditions, Named Timer but i am definitely lacking knowledge on how to do it right
Hi there, you will need to count samples and switch to the next value after a certain number of samples. E.g. at 120 BPM a single beat (usually 1/4 note) will take double tempo = 120.0; double division = 1.0; double samplesPerBeat = Values.SampleRate * 60.0 / (tempo * division); where division is a...
So i am designing a sequencer, 8 knobs with -5V to 5V range each and additional tempo knob. I would really appreciate any help and tips about how to make this iterating sequence of values.
This is one of those things that I would have thought was super easy to find sample code for but a quick google reveals nothing very useful. And I must confess that this is something I've never coded myself but kind of just assumed was simple. Someone else here can probably come up with better advi...