den shender
New Member
Hello!
Please help solve the problem with the arpeggiator.
On one note I have a four samples on a different layers. They are played simultaneously by pressing a key. The task is to set each layer its own unique frequency of the arpeggiator (rate), as well as the duration of the note (duration).
I tried to implement this through the NOTE_HELD cycle, but this causes an error in the calculations, if we count through triplets of whole notes triplets (for example, 3 pcs. 1/8T = 1 pcs. 1/4).
I tried to do it through the while loops in the buttons (as well as the on listener), but they do not take into account the fact that a key was pressed, causing asynchrony.
Examples of libraries where a similar arpeggiator was implemented: Heavyocity Mosaic Keys, Output Analog Strings
Thank you in advance for your help!
Please help solve the problem with the arpeggiator.
On one note I have a four samples on a different layers. They are played simultaneously by pressing a key. The task is to set each layer its own unique frequency of the arpeggiator (rate), as well as the duration of the note (duration).
I tried to implement this through the NOTE_HELD cycle, but this causes an error in the calculations, if we count through triplets of whole notes triplets (for example, 3 pcs. 1/8T = 1 pcs. 1/4).
I tried to do it through the while loops in the buttons (as well as the on listener), but they do not take into account the fact that a key was pressed, causing asynchrony.
Examples of libraries where a similar arpeggiator was implemented: Heavyocity Mosaic Keys, Output Analog Strings
Thank you in advance for your help!