User Guide
Ruby Component
Frame Sync
If you just want to generate a signal then you don't need the Mono To Ruby component, you just need to generate Frames from your Ruby
component and pass them to the Frame to Mono.
However, what you do need is a way to sync the Frame output with the Mono stream and also a way of finding out the required frame size.
This is where the Frame Sync component comes into play.
The example here shows a generated sine wave. The Frame Sync component sends the required Frame size to the Ruby component at the
time when a Frame needs to be generated. The Ruby component then creates an array of samples, in this case based on a sine wave and
sends this out immediately.
167 of 212