is there a way to have a sonogram in a patch?

nata's icon

i'm trying to produce something like the attached image in max, that will change realtime according to an incoming sound and then to be able to blend it with another movie. is there a way to do it?

2366.sonicvisualiser.jpg
jpg
Alexis Baskind's icon

Hi Nata,

I would say, use fft~ to get the spectrum of the sound, get the spectrum amplitude using cartopol~, and catch the signal as Jitter matrix thanks to jit.catch~

Alexis

Floating Point's icon

theres a guy called Jean-Francois Charles who has made abstractions that does this sort of thing --
there should be some of his work accessible on the web somewhere

seejayjames's icon

jit.bfg is worth a look, there may be a way to do something like what you're envisioning. at the very least there will be some interesting things for you to mess with :)

Jean-Francois Charles's icon

Yes, you'll find patches on this cycling74 page:
https://cycling74.com/tools/charles-spectral-tutorials/

For what you're looking for, you might use as starting points the patches called "1-freeze-frame" and "2-stochastic-freeze-8frames"

All best.

nata's icon

thank you all very much! the closest thing (visually) to what I want to do was from Jean-Francois Charles patch "3-record-play-speed-control" with the number of frames set to 1. I just don't know now if I have to use jit.peek to create the vertical blur like the attached image, or if there is another easier way, because i don't see any tutorials for jit.peek..

Jean-Francois Charles's icon

To have a blur, I guess you would use more frames than 1, and you could use a jitter object (filter) to blur the image.
Or with 1 frame, you could use a temporal blurring, maybe something like [jit.slide].

nata's icon

from tutorial 14 i used the interpolation to smooth pixelation and with more frames now it looks just like i wanted, thank you very much for your help and your patches!