How to send Max audio signals into Processing ?


    Feb 24 2018 | 11:32 pm
    I want to send several streams of audio from Max into Processing. I want to use Max as the first step to split 3 or more separate frequency bands. The signal from each of these bands is then to be sent to Processing so that each band can be reacted to separately.
    Processing only has a stereo pair of input channels (as far as I can tell), so I'm looking for a way to send these signals without actually routing any audio. Would anyone have any tips on how to do this? Many thanks in advance

    • Mar 08 2018 | 12:12 am
      Maybe do the audio analysis in Max and send the resulting data to Processing using OSC?
    • Mar 08 2018 | 7:50 am
      Or use virtual audio device - Jack (http://www.jackaudio.org) or something similar.
    • Mar 08 2018 | 9:59 am
      Thanks guys. I am using OSC protocol (with 'udpsend') and the OSC library for Processing and it's working just fine.
    • May 01 2018 | 8:22 am
      Hi, how were you able to send the audio signals to Processing? Did you convert the signals into float numbers before you sent it out? I am trying to do the same thing but with just stereo signals. Much help would be appreciated!
    • May 01 2018 | 9:09 pm
      Hi, Kevin. As far as I recall I followed what a lot of people generally do and convert the amplitude values in Max to numbers (using [snapshot]), and then send those values to processing via the Processing OSC library.
      This is how my setup worked, OSC going to and fro between Max & Processing.