I'm a Swarthmore College Engineering professor trying to help a blind student with data sonification (or auralization). It was suggested that Matlab, which is our primary analysis language, could send OSC packets via UDP to chuck, which reads OSC packets and could more easily produce complex sounds than coding directly in Matlab. Do any of you have any experience with osc-mexwin, written by Andy Schmeder? The only version of this I've found lacks the c-code, and contains only the dll files without documentation. Matlab requires that the user know the function names to import dll files and use those functions (such as osc_read and osc_write). Any guidance?
On 24 July 2012 20:40, Carr Everbach
I'm a Swarthmore College Engineering professor trying to help a blind student with data sonification (or auralization). [....] Any guidance?
Sorry, that's a somewhat specialised question, involving three parts, and I only know the ChucK side. Still, it sounds really cool, I'm somehow very attracted to the idea of languages like ChucK opening computer music to blind people, despite having functional eyes myself. All I can say for now is "welcome" and should this project hit the part where ChucK syntax and features start to matter (and I hope it does) I'll try to help. I hope others with more knowledge on things like Matlab will beat me to it. Yours, Kas.
On Tue, Jul 24, 2012 at 2:40 PM, Carr Everbach
I'm a Swarthmore College Engineering professor trying to help a blind student with data sonification (or auralization). It was suggested that Matlab, which is our primary analysis language, could send OSC packets via UDP to chuck, which reads OSC packets and could more easily produce complex sounds than coding directly in Matlab. Do any of you have any experience with osc-mexwin, written by Andy Schmeder? The only version of this I've found lacks the c-code, and contains only the dll files without documentation. Matlab requires that the user know the function names to import dll files and use those functions (such as osc_read and osc_write). Any guidance?
I went here and looked around a little: http://sourceforge.net/projects/oscmex/files/ The osc-mexmaci64.zip file actually has the source code, which seems to be cross-platform, so that should tell you the function names you need. I also found this small library that just sends OSC messages. It is written in Matlab, so you don't have to mess with Mex files. http://www.mathworks.com/matlabcentral/fileexchange/31400-send-open-sound-co... Good luck. andy
This doesn't answer your question directly, but perhaps an alternative
approach would be more appropriate in this situation.
Personally I would write the results of Matlab analysis to a file in some
structured format and then read that in from ChucK. This would be a
two-stage process (generate data file from Matlab, read in data file and
generate audio in ChucK), which makes real-time tricky/not readily
possible, but I would guess that by using Matlab in the first place you are
not terribly interested in real-time. The main advantage of OSC is its
ease-of-use in real-time scenarios, so if youre not doing real-time you
don't gain much by using it.
If you are aiming for real-time analysis+sonification, then you can ignore
this suggestion entirely!
spencer
On Wed, Jul 25, 2012 at 5:15 AM, Andrew Turley
On Tue, Jul 24, 2012 at 2:40 PM, Carr Everbach
wrote: I'm a Swarthmore College Engineering professor trying to help a blind student with data sonification (or auralization). It was suggested that Matlab, which is our primary analysis language, could send OSC packets via UDP to chuck, which reads OSC packets and could more easily produce complex sounds than coding directly in Matlab. Do any of you have any experience with osc-mexwin, written by Andy Schmeder? The only version of this I've found lacks the c-code, and contains only the dll files without documentation. Matlab requires that the user know the function names to import dll files and use those functions (such as osc_read and osc_write). Any guidance?
I went here and looked around a little: http://sourceforge.net/projects/oscmex/files/ The osc-mexmaci64.zip file actually has the source code, which seems to be cross-platform, so that should tell you the function names you need.
I also found this small library that just sends OSC messages. It is written in Matlab, so you don't have to mess with Mex files.
http://www.mathworks.com/matlabcentral/fileexchange/31400-send-open-sound-co...
Good luck.
andy _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
participants (4)
-
Andrew Turley
-
Carr Everbach
-
Kassen
-
Spencer Salazar