Sound draw Line


    Mar 15 2011 | 5:42 pm
    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,

    • Mar 15 2011 | 6:53 pm
      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
    • Mar 16 2011 | 10:18 am
      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 :)
    • Mar 16 2011 | 10:28 am
      here's a list of helpful externals:
      if you can't get hold of the most important one (fiddle~), I'll try attaching it below
      Brendan
    • Mar 16 2011 | 10:45 am
      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
    • Mar 16 2011 | 1:04 pm
      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?
    • Mar 16 2011 | 1:28 pm
      to dynamically change a message like this, try [pack 1. 0 0] -> [prepend line], in place of the line message
      Brendan
    • Mar 16 2011 | 3:34 pm
      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
    • Mar 16 2011 | 3:41 pm
      sorry here is the right file
    • Mar 16 2011 | 4:05 pm
      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:
      HTH
      Brendan