Architect: pack note duration vs metronome timing
-
- KVRist
- Topic Starter
- 83 posts since 5 Jan, 2019
How do I set the pack note object duration input to be proportional to the metronome interval?
For example if the metronome interval is set to 1 bar, what value would I use for duration to get a 1/8 note? My goal is to be able to vary the duration with a slider or knob, so a constant wouldn't work.
For example if the metronome interval is set to 1 bar, what value would I use for duration to get a 1/8 note? My goal is to be able to vary the duration with a slider or knob, so a constant wouldn't work.
-
- KVRist
- Topic Starter
- 83 posts since 5 Jan, 2019
One way to do this is to create a macro containing a variety of tick constants, and then output one selected constant based on the position of a knob, and use this as the input to the pack note duration. If there's a better way please let me know.
-
- KVRAF
- 2681 posts since 25 Aug, 2003 from Bournemouth, UK
I think that is probably the best way, as it's how I tend to do this; although if anyone has a better way, I'd love to hear it. My version basically has one constant array of all the tick durations, and then the slider sets the index for a [get element] module.
Architect, the modular MIDI toolkit, beta now available for macOS, Windows, and Linux.
-
- KVRAF
- 2681 posts since 25 Aug, 2003 from Bournemouth, UK
I'll post my macro if you struggle to get this working.
Architect, the modular MIDI toolkit, beta now available for macOS, Windows, and Linux.