with processing, OSCulator and of course m8
this is a little workaround to get modul8 doing this funky kind of frequency analysis also known as fft..
for those who want to get deeper in this stuff, check out..
http://en.wikipedia.org/wiki/Fast_Fourier_transform
first of all get processing.. its for free.. everybody should have it anyway.. also installation is pretty straight forward cause java is already preinstalled on your mac..
http://www.processing.org/
http://www.processing.org/download/index.html
fft is done here..
but doesn't work unless you install some extra libraries..
sonia which does the frequency analysis mumbo jumbo..
http://sonia.pitaru.com/
and needs itself an extra plugin which can be installed here..
http://www.softsynth.com/jsyn/plugins/
there's another audio library called ess which is also very versatile but i read somewhere in the forum it's not as speedy like sonia..so we go with this..
and oscP5.. which transform the data to OSC protocol
http://www.sojamo.de/libraries/oscP5/
as well as controlP5 which is from the same guy and provides some gui elements in processing which i implemented for better adjustment of the sound data..
http://www.sojamo.de/libraries/controlP5/
the processing libraries go as default to Documents/Processing/libraries.. this libraries folder has to be created by hand.. by you.
for those who had been using processing in the past.. attention this is new to version p1.0.1.. anyway the processing sketch should also work in older versions.. but to keep it uptodate
most stuff concerning processing and its libraries is very well documented.. so don't hesitate.. just google for it..
now if everythings done properly the .pde should work.. open it up with processing.. but dont forget to provide some incoming sound.. or just route it with soundflower..
ok..so far.. half way done..
get a test version of OSCulator.. midi conversion could also be done in processing itself but looking in the future i decided to do it with osc
actually i got OSCulator for playing around with my new iphone and touchOSC/OSCemote but this great piece of software really convinced me.. big thanks and huggin to camille and his great support..
and last but not least osc could be easily sent over network..yepyep.. so. go for it..
http://www.osculator.net/wiki/
http://www.osculator.net/wiki/Main/Download
start OSCulator with the provided .oscd
and check the midi data.. maybe with
http://www.snoize.com/MIDIMonitor/
this is free again..
now start modul8.. do rescan midi devices.. and start to map the midi values
last step is a little annoying.. cause you should uncheck all values from the node except one.. go to m8.. map this one.. uncheck it and activate the next one..
if there are 2 or more midi values coming when you are in mapping mode they are immediately assigned to the same control.. unfortunately there is no undo function in m8's mapping mode..
actually i wanted to provide a m8 project file as well.. but after transfering it to another computer i discovered that midi assignments are not saved within the .md8
hmm.. everything said..
at the moment the kit is for routing to the same machine.. ip is set in processing to 127.0.0.1 and port 8002..as well as in the OSCulator file.. sound data is converted to 32 bands.. this could also be changed in the processing file to higher values.. in steps to 64, 128, 256..
for the coders among you..
if there are any improvements.. just contact me..
last word.. i didn't used the osc module in m8 cause therefore keywords must already be contained in the osc message.. which makes everything a little inflexible.. i can't decide before when i want to use which value.. so with midi data seems the better way to go cause i can make changes during runtime..
also so it's open to use it in conjunction with other software.. yes there is other software then modul8..
enjoy..
at least 2.6 comes.. hmm.. was anounced for january..
greetz
plus
download..
http://www.shadovisuals.com/download/m8_fft32.zip
shado loves you . . .