Sound draw Line
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,
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.
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 :)
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
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?
to dynamically change a message like this, try [pack 1. 0 0] -> [prepend line], in place of the line message
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
sorry here is the right file
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:
----------begin_max5_patcher---------- 518.3ocyV1raiBCDG+LQJuCVbNajG6PfrOH6kppUtfo06BFDX5ltU669Biqa y2EpHnb.rlY9iY7OaO1uNelm+CEak09juSti348ZqGOzWmGOmCO+bw13LQMJ zOtHOWpM9KdKnQt0fALUuPRTooxp1vDiJWRdVj0z1+NooEZiVjKQ4+PVkHzh 2CpaxU5LoA+KfyqJAEW7vu9FDrq1hFiSLc29uV8Wr+A5x28WJLwOozO9yJYr wNZgnv13DXC9Nf5LH2iey+lOqqssYQuAiV9m1z7XtjozRBc4WfB7SQA9Yn.6 ynfUq4kRoEA99KZeH2eAJwnQHXhP9rZ8HPobYcs3Q4wXhEPoeAFwNEiXmgQv vYzE4CmZAC9lawS30AOiHcnSDcXAg6PG1xfqGcfQiNQSEbfnoBNrwhMASDaf vwdgSclJQV0+yZ9nHaZVgvzl+kMl8DeFBLzBH1Cf1vvwa.V.Y804XnRQ7uIo jwamxTUj0cHjsZxZ9HbHzPWN.SzxAfiKD1v+rkC1dAuZwgWeC61t.G.f5hlp XWZ3tIAg9Q9jHqMJsvnJz6n5.QOoRRj58t0UtJorPoM0tBagcaXeaViC7ish X1M1QNiKMU16wCqOCGXvimQI2fdkbchfoO2n2t4VzsapEbCOi12TaPaDfU.t UNDrUfwxw6aAqrNsk.PqST5Z9r1l+KizoLK -----------end_max5_patcher-----------