Yes, yes, yes, yes. I have also advocated a link between Grasshopper and Max/MSP. I'm drooling at the prospect. The possibilities are really quite endless. I did an architectural project in Max last year and would love to get it talking to GH. Wow.
Marc On Jan 26, 12:14 pm, frankS <[email protected]> wrote: > juhu, nice stuff in this thread! > > some links to graphical node-based realtime audio programming > environments:http://cycling74.com/products/max5 > does it all: realtime analysis, envelope following, FFT (spectral > analysis), MIDI, OSC, ... > nice product, not for free... ;-( (i own a copy) > i suggested to bridge max/msp and GH using OSC a while ago. see the > thread in the link. > would allow to do the analysis in realtime and stream the data to > GH.http://groups.google.com/group/grasshopper3d/browse_thread/thread/8d5... > > http://puredata.info/ > is a free derivate of max/msp > > hooking up MIDI devices to GH is also cool, but limited due to the 8- > bit character of this protocol. > MIDI is meant to transport information on e.g. "which note to play", > not to transport the actual soundfile. > > OSC is far more advanced and could transport analysis information > probably better. > > i will look up some stuff... > > frank > > On Jan 26, 10:02 am, klint <[email protected]> wrote: > > > > > Wow, PLAY Grasshopper! Need to get myself a midi-keyboard... > > > On 26 Jan, 06:00, damien_alomar <[email protected]> wrote: > > > > This is definitely a cool idea guys...I actually did my thesis > > > connecting Music (composition) and Architecture, so this is really up > > > my alley. Although the "sound as form" kind of thing its definitely > > > cool, I'm personally, I'm way more about the actual notes and those > > > kind of musical structures and what's going on. Anyway, I did a > > > little searching on MSDN and there's a Midi module within the dotNet > > > framework. So, I think I'm gonna start looking into possibly > > > connecting this through more of a composition/notes basis. This is > > > definitely gonna come up with some cool stuff and I'm really wondering > > > what's going to come out of it. Keep experimenting cause this stuff > > > is already pretty darn sweet. > > > > dotNET midi > > > modulehttp://msdn.microsoft.com/en-us/library/ms704980(VS.85).aspx > > > > -Damien > > > > On Jan 25, 3:23 pm, visose <[email protected]> wrote: > > > > > nice, that seems to work better than my previous mediocre attempts > > > > posted above (i think no one replied because they didn't want to hurt > > > > my feelings). "Wavosaur" only allowed to export the raw values of the > > > > sound wave and i had to calculate manually the amplitude inside > > > > grasshopper. That reduced the fidelity a lot. "Spectrum lab" does just > > > > what i was looking for, i have to improve my searching skills :p > > > > > On Jan 25, 8:24 pm, baldino <[email protected]> wrote: > > > > > > getting there ... :-) > > > > > >http://www.viddler.com/explore/Baldino/videos/7/ > > > > > > On Jan 25, 7:10 pm, klint <[email protected]> wrote: > > > > > > > Hope you don't mind me trowing in another music-related idea.. > > > > > > There's > > > > > > plenty enough of different midi-controllers, mixer etc, how cool > > > > > > wouldn't it be to control all sliders etc in the GH Remote Control > > > > > > Panel with real physical sliders. Something like > > > > > > -http://www.lightsounds.com/Portals/0/storepix/xsessionp.jpg > > > > > > > Did some search for software to translate the midi-signal from such > > > > > > a > > > > > > controller into values in a spreadsheet, and got quite a few > > > > > > examples > > > > > > that worked the other way around, that is, translate data from Excel > > > > > > to a midi-synth. But maybe someday I'll find something.. > > > > > > > /Lars > > > > > > > On 25 Jan, 18:24, baldino <[email protected]> wrote: > > > > > > > > one thing is definitely working: to analyze a whole track and get > > > > > > > values in a spreadsheet > > > > > > > i found a tutorial > > > > > > > here:http://www.designcontest.net/tutorials/spectrumanalyser > > > > > > > it is meant for flash, but it shows pretty well how to export > > > > > > > useful > > > > > > > data > > > > > > > with some work, an animation from GH and some editing with a video > > > > > > > editor may result in a nice synchronized video > > > > > > > > On Jan 25, 5:17 pm, visose <[email protected]> wrote: > > > > > > > > > Thanks baldino, I'm trying it right now. You mean exporting one > > > > > > > > line > > > > > > > > at a time so we can use it in real time? I don't think this > > > > > > > > method > > > > > > > > would be the most convenient since every time the file is > > > > > > > > written > > > > > > > > there is some amount of lag. In the documentation it says > > > > > > > > something > > > > > > > > about using WM_COPYDATA messages to transfer data between active > > > > > > > > programs, but it seems that even this method is not suitable > > > > > > > > for real > > > > > > > > time since it has some milliseconds of lag. But the biggest lag > > > > > > > > of all > > > > > > > > will probably be when the geometry is generated. > > > > > > > > Still, I'm waiting for Damien Alomar to post the "part 2" of > > > > > > > > the excel > > > > > > > > to grasshopper realtime connection. I'd like to try to connect > > > > > > > > my > > > > > > > > digital piano to grasshopper real time. Even if it has some huge > > > > > > > > amounts of lag, it can still be fun. > > > > > > > > > On Jan 25, 3:43 pm, baldino <[email protected]> wrote: > > > > > > > > > > i just found this piece of > > > > > > > > > software:http://freenet-homepage.de/dl4yhf/spectra1.html > > > > > > > > > > it does real-time spectrum anaylsis, and can export data to a > > > > > > > > > text > > > > > > > > > file (in real-time) but i haven't figured out yet how to > > > > > > > > > limit the > > > > > > > > > export to a single line.. (or just a few) right now, it > > > > > > > > > creates a new > > > > > > > > > line for each time interval and the file size rapidly gets > > > > > > > > > huge ! > > > > > > > > > > On Jan 25, 1:50 pm, visose <[email protected]> wrote: > > > > > > > > > > > It's called "Wavosaur". Thanks for bumping this thread. The > > > > > > > > > > method I > > > > > > > > > > came up with is probably not the best way, there has to be > > > > > > > > > > someone > > > > > > > > > > that knows how to do this properly. Maybe someone knows of > > > > > > > > > > a better > > > > > > > > > > (free) tool that allows more export options from a sound > > > > > > > > > > wave to a > > > > > > > > > > text file. Or someone knows how to read sound waves from a > > > > > > > > > > scripting > > > > > > > > > > component and get the proper data. > > > > > > > > > > > On Jan 25, 1:16 pm, dingle <[email protected]> wrote: > > > > > > > > > > > > visose, > > > > > > > > > > > which software did you use to translate the wav to text? > > > > > > > > > > > > On Nov 30 2008, 12:53 am, visose <[email protected]> wrote: > > > > > > > > > > > > > Here's another > > > > > > > > > > > > test:http://www.youtube.com/watch?v=wK7xFA-5YZc > > > > > > > > > > > > I'm still a bit paranoid as if it matches the music. I > > > > > > > > > > > > think it does, > > > > > > > > > > > > but it may be my brain trying to make sense of it. > > > > > > > > > > > > I lofted a bunch of circles with their radii being on > > > > > > > > > > > > the sound wave > > > > > > > > > > > > values. This time instead of sampling all the values of > > > > > > > > > > > > the sound > > > > > > > > > > > > wave, i only loft the crests (when n-1 < n > n+1). The > > > > > > > > > > > > surface that > > > > > > > > > > > > changes color does sample all the values. To follow the > > > > > > > > > > > > music the red > > > > > > > > > > > > ring (not the colored surface). > > > > > > > > > > > > > On Nov 29, 8:11 pm, visose <[email protected]> wrote: > > > > > > > > > > > > > > Your post got me curious. I know you can at least > > > > > > > > > > > > > easily read simple > > > > > > > > > > > > > text files from a scripting component. So i thought, > > > > > > > > > > > > > maybe there's a > > > > > > > > > > > > > piece of software that can export a text file with a > > > > > > > > > > > > > list of decibel > > > > > > > > > > > > > values or any other parameter from a wave file. I > > > > > > > > > > > > > couldn't find it, > > > > > > > > > > > > > but i found another piece of software that saves wave > > > > > > > > > > > > > files as a text > > > > > > > > > > > > > file. This text file is basically a really big list > > > > > > > > > > > > > of numbers (44100 > > > > > > > > > > > > > numbers for every second for a standard 44100hz wave > > > > > > > > > > > > > file). > > > > > > > > > > > > > So I opened an mp3 file, reduced it to 15hz (to match > > > > > > > > > > > > > the frames per > > > > > > > > > > > > > second of an animation) saved it as a txt file. > > > > > > > > > > > > > In grasshopper i read this list of numbers with a > > > > > > > > > > > > > scripting component > > > > > > > > > > > > > linked the values to the radius of a sphere. > > > > > > > > > > > > > > Maybe someone knows what those values correspond > > > > > > > > > > > > > exactly, i really > > > > > > > > > > > > > don't know what I'm doing, but i 'think' the audio > > > > > > > > > > > > > matches a little > > > > > > > > > > > > > bit the change of radius of the sphere (it may very > > > > > > > > > > > > > well be > > > > > > > > > > > > > placebo):http://grasshopper3d.googlegroups.com/web/audiograsshopper.avi > > > > > > > > > > > > > > On Nov 29, 12:50 pm, dodo <[email protected]> > > > > > > > > > > > > > wrote: > > > > > > > > > > > > > > > Hi David, > > > > > > > > > > > > > > > I know this sounds a little odd, but I used to do a > > > > > > > > > > > > > > project during my > > > > > > > > > > > > > > student time hooking up a sound file to a deformer > > > > > > > > > > > > > > force in 3dsmax to > > > > > > > > > > > > > > create a shape deformation. Do you think it would > > > > > > > > > > > > > > be possile to add a > > > > > > > > > > > > > > sound component to your list. I think it would be > > > > > > > > > > > > > > great to have the > > > > > > > > > > > > > > ability to add a sound file to drive a defomation > > > > > > > > > > > > > > or a value inside > > > > > > > > > > > > > > GH. So while the sound get's louder or more > > > > > > > > > > > > > > intense the value will > > > > > > > > > > > > > > increase. Somthing to make an "equilizer" Shape > > > > > > > > > > > > > > inside GH. A component > > > > > > > > > > > > > > that will be able to manpilate a shape inside GH > > > > > > > > > > > > > > using sound. > > > > > > > > > > > > > > > just an idea, thanks oliver- Hide quoted text - > > - Show quoted text -
