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
