kortezzzz wrote:josevo wrote:Ruby should not be used for creating the synchronisation part of sequencers as you may notice in this example
Thank you so much for the improvements
I'm sorry but I didn't understand your remark. If we can't use ruby for syncing (why?), what else can we use? or you're just saying that flowstone can't do it in general?
Sorry for my poor english, I only speak French and Spanish.
Regarding Flowstone, I didn't discover a single thing that can't be done with it, well, except low-level pixel processing.
Anyway, let's start a reduced explanation:
1. By convention, the MIDI song position reference is called PPQPos (or PPQNPos=Pulses Per Quarter Note Position)
and FS includes a component for that (see the image below).
- snapshot.jpg (70.41 KiB) Viewed 13621 times
2. The problem is that Ruby editor does not include a stream input accepting that signal,
although it's not a downside at all.
3. We can anyway use DSP (or Assembler) component, in fact, they are more appropriate for that, and much faster processing streams. Another option is to use the "Mono To Frame" (not the "Frame Sync") primitive, but I didn't test it heavily.
- snapshot2.jpg (77.93 KiB) Viewed 13562 times
Resuming: Try to use Ruby and non stream components for intensively low/medium event processes where time accuracy is not crucial at a millisecond level, e.g. GUI controls, menus, midi inputs from instrument, array updates, ... and use DSP for audio process in real time, including for DAW message processing.
Finally, some time ago, I uploaded a simplified example of a synchronisable sequencer:
http://www.dsprobotics.com/support/download/file.php?id=11637Hope it helps!