Youlean,
This is getting good now
I have a question because I do not know how you do what you
are coding, and because of the way I want to use this in the end.
Would it be possible to use this (programed the DLL or another one?) to play back a song (a wave file) while recording the data (6 channels) to another file? Let me explain...
Think of it like a recording studio, where you have a song that you are adding instruments to. In my case the "instruments" are control signals for either lighting or animatronics or water fountain jets, etc.
In use, I will start / play the song and then push record to capture the 6 channel data (at the system sample rate) while I "perform" the animation or effects. Then I push stop, and save the file of just the 6 channel data. Then I may do another take, push play listen to the music, push record and perform more effects, then push stop, and save the 6 channel data.
Another addition might be the same as the above with the option of playing back the music and the recorded data within Flowstone together, to make sure the "take" was good - basically to see if I manipulated the data correctly to the music, and it was a good take. And again if needed I could redo the take...
Of course I could just listen to the music on another player and then record in Flowstone, but to have it within Flowstone makes it convenient AND makes sure the time (sample rate) of the music and performed effects would be perfectly in sync because the same sample clock is used (I hope
).
I realize this will be more programming but if it is possible then fine. I would love to work with you, and this may be just the start of future work. If you want we can PM each other to discuss the details.
Thanks for even entertaining this idea. I can even give another example too if you want in order to make it clear. I did another post some time ago (see:
http://www.dsprobotics.com/support/viewtopic.php?f=2&t=2058). This was an older idea, but shows how my thought process started... Play back music and add data to a file. My initial concept was to make a timeline editor, but just a way to record and playback would be just as useful.
Thanks for answering this question, I am super excited about what this brings to Flowstone for me especially and my lighting / effects work!!!
Aron