Hi Chris, welcome to the forum.
Chregg wrote:when i render it exe i cant get any midi to it, but it is cool as a vsti
Ah yes, if it's the tutorial I'm thinking of, it doesn't really cover .exe synths, and there are a few differences in how you have to wire things up...
For a VST synthAudio and MIDI input/output primitives (e.g. ASIO, DS, MIDI In select) go
outside your export module, leaving it with just the little round connectors for the audio and MIDI. When the VST is loaded, the host latches on to those connector, and it is the host that sorts out which MIDI port to talk to etc.
For an .exeAs there is no host, the .exe has to sort out soundcard/MIDI communication for itself.
So, in this case, the MIDI and Audio primitives have to go
inside the export module. You then need a little user interface, so that the end user can make whatever soundcard setting they want (e.g. choose a driver, set the sample rate etc.)
Assuming you are using an ASIO soundcard, there's a solution in the toolbox - just include the "Audio Menu" module inside your design. It will appear on the front panel as a menu bar with selectors for MIDI In, Audio driver, sample rate etc. The Audio driver settings are automatically picked up by the 'ASIO In', 'ASIO out' primitives - and it has a MIDI output that connects to whichever MIDI port has been selected.
Here's a little template file, to give you a clearer idea...
Chregg wrote:ruby, is there any literature on the subject to follow
There's a selection of useful Ruby resources on this thread...
Which book is best for learning Ruby?Ruby is pretty new to all of us here, so most of the stuff there is aimed at beginners. There are a few things that work a little differently when Ruby is inside Flowstone, compared to a regular Ruby program - so if you come across anything that doesn't work as expected, just ask on the forum, and we'll point you in the right direction.
Hope you enjoy using FS, and the forum.
Best wishes
Trog.