Help : Draw with cycle~ and sonogram

Jan 12, 2013 at 1:12pm

Help : Draw with cycle~ and sonogram

Hi !
For some reason, i want to draw lines using cycle~ and white noise (or a better sine signal) into a spectroscope in sonogram mode.
It kind of work, but is there any way to make the spectro ‘less sensitive’, so it would draw real lines. The result is kind of blurry, as you can see in this patch. I’m thinking of cheating and using a lcd instead, but i’d really like that the sound would actually draw the lines.

Thank you !

louis

– Pasted Max Patch, click to expand. –
#66036
Jan 22, 2013 at 10:09am

Anybody ?

#237740
Jan 24, 2013 at 9:28am

Okay, i guess it’s just not doable. Thank you anyway.

#237741
Jan 24, 2013 at 11:13am

I think the spectroscope~ object has a fixed resolution…
Maybe the “jit.poke~-spectrogram” patch in the examples folder of jitter is useful as an alternative…

#237742
Jan 24, 2013 at 1:25pm

Wow, awesome, this looks very promising !!
Just have no idea how to change the frequency min/max and the display ‘speed’.
Thank you very very much.

#237743
Jan 26, 2013 at 1:44pm

Hi again…
So i’ve extracted the useful part of this patch :

– Pasted Max Patch, click to expand. –

Could anybody help me to figure out how can i change the Freq Min/Max ?
Thank you very much…

#237744
Jan 27, 2013 at 2:06am

here you have a crude way of calculating bin range (I increased fft size for better freq. resolution). For wider range / higher freqs you have to increase dim[1] of bar matrix.

messy but hth

– Pasted Max Patch, click to expand. –
#237745
Jan 28, 2013 at 9:28am

Well…thank you very much…..But…
I am on max 5, my max window says ‘no scale~object…’

#237746
Jan 29, 2013 at 12:14am

ok, the use of scale~ was superfluous:

– Pasted Max Patch, click to expand. –
#237747
Jan 29, 2013 at 10:30am

Thank you very much…i don’t really get how it works, but it does…
One thing : i thought that sending noise~ instead of cycle~ would draw vertical lines, but it doesn’t…

#237748
Jan 29, 2013 at 11:38am

increase value in float number box below [cartopol~] object (to 0.3 or so).

#237749
Jan 30, 2013 at 9:34am

Well, i don’t seem to achieve the results im looking for… Thanks anyway for your time and help !
I think i’ll use an lcd instead…

#237750
Jan 30, 2013 at 2:52pm

well, you are looking for quite advanced analysis techniques… If you don’t need to analyze actual sound and you know what you want to draw, yes, you would better draw it “by hand”

#237751
Jan 31, 2013 at 5:05pm

In fact the purpose is to draw lines (horizontals, diagonals and verticals) with pure signals and noise, so i think i can easily ‘cheat’ by using an lcd. Thank you very much.
louis

#237752

You must be logged in to reply to this topic.