Sound draw Line

Mar 15, 2011 at 5:42pm

Sound draw Line

Hi,

I am trying to draw an horizontal line according a live recording,
the line translate the sound (so it varies (thickness, length, etc.. according
how loud, etc.. is the sound)
anyone know how to do it?

Thank for your help,

#55574
Mar 15, 2011 at 6:53pm

First you must determine which features you wish to extract from the audio source: amplitude, pitch, spectral content? When you know this, then there are tools in MaxMSP that will allow you access to this data.

Brendan

#199879
Mar 16, 2011 at 10:18am

I would like to extract the amplitude and the pitch,
how should i extract its? What is the tool which allow the access to the data?

Thank you :)

#199880
Mar 16, 2011 at 10:28am

here’s a list of helpful externals:

http://crca.ucsd.edu/~tapel/software.html

if you can’t get hold of the most important one (fiddle~), I’ll try attaching it below

Brendan

Attachments:
  1. fiddle.mxe
#199881
Mar 16, 2011 at 10:45am

I’ve made this patch already where, pitch is vertical, amplitude thickness and a lot of other stuff, using xsense sensor to do opacity and so on, It was part processing, part max, but I’ve been redoing it in max solely. The best pitchtracker around according to me is sigmund~

if you want to further discuss this, you can contact me oflist at pieter.coussement at ugent dot be

(it’s not that I don’ want to share the patch, but it has some restrictions due to our research group’s involvement
best

pieter

#199882
Mar 16, 2011 at 1:04pm

thanks!
fiddle works well,
i am now trying to draw a line,
i manage to be able to chage the width of it but struggle to change the length,i know rthat i have to touch the message ‘line 1. 0 0′ the ’1.’ represent the length (discover that by changing it)
find attached the patch,
any idea of doing it?

Attachments:
  1. drawline.maxpat
#199883
Mar 16, 2011 at 1:28pm

to dynamically change a message like this, try [pack 1. 0 0] -> [prepend line], in place of the line message

Brendan

#199884
Mar 16, 2011 at 3:34pm

thank you Brendan
could you please look at my patch,
so it works but note really smoothly,
like according the pitch, the length of the line which is drawing change not really well,
how could i make it better?
find attached the patch
merci

Attachments:
  1. TESTfiddle.maxhelp
#199885
Mar 16, 2011 at 3:41pm

sorry here is the right file

#199886
Mar 16, 2011 at 3:42pm

sorry here is the right file

Attachments:
  1. TESTfiddle.maxhelp
#199887
Mar 16, 2011 at 4:05pm

I’m afraid I’m not a Jitter expert (or a Max one, while we’re at it!); to move smoothly between control values, use [float] –> [pack f 100.] –> [line 0.] –> smoothed values; in this examples the value 100 gives [line] its interpolation time in ms:

– Pasted Max Patch, click to expand. –

HTH

Brendan

#199888

You must be logged in to reply to this topic.