Working with audio is a lot like working with MIDI in Max for Live. Just a little easier in some respects. As you get further into MIDI devices and MIDI Instruments, things become about the timing of Note On and Note Off. Dealing with audio you just have to manage the signal. MIDI is more like rafting a river in a lock system and Audio is more like rafting an open river.
This week we looking at some audio objects that alter incoming audio in an extreme way.
The end result will be this device:Dual Degrade
When you see the telda (~) in an object’s name that lets you know it receives data at high speed. MIDI data is sent as Note On and Of, with some other info and doesn’t have to be very fast. Audio, on the other hand, may have to send 192,000 samples in 1 second. You can’t even clap 2 times in a second; that’s fast. Even 22,000 samples are fast, so they are optimized for speed and the patch cords are too. We are now in MSP (Max Signal Processing) or territory. Don’t be scared!
When you connect two MSP objects the cord will look like this.
That’s the high-speed cord, unlike the gray used most everywhere else.
You may ask, “Well what if I want to turn high speed into regular speed.” I’d say, “why would you want to do”…no I kidding you can with snapshot~. This will take the data coming in and sample it at a rate designated by a static or dynamic number (i.e. 500) in milliseconds. Don’t put it too low because it’s taxing and a lot of sampling that you may not need. If you put snapshot at 50 that 20x a second. Ask yourself, “Do I need a snapshot that much”.
Here is an example of using snapshot~ to convert to a flonum as well as object that can be helpful when working with audio.
If you copy this string of characters you can paste the content above it in your Max Patcher window:
<pre><code> ———-begin_max5_patcher———- 900.3ocyX0rbaBCD9r8SACmcyfj.DzasuFc5jQFjcTJHw.xINMSxydEqvt3D P1wI1CWLFgP6229+xyym4uTsk2368cue4Ma1yymMCVpcgYc2OyujsMqf0.ay OSUVxkZ+E1mo4a0v5MRVUycJ8q6dRESmcmPt91Zdl1JgvvjaBV3EFSugllll jrvCEj1tDFeSf2u6dyUJotQ7Wd6KgBMO1trHGDjZ48eCGrSJxMkpM5BtFP2t s1nep.dc+d6SH2sMT6ZuLed6OK9r7VrVxJ7XMdLuUEJl1E+wwsjMBCpATT.b IoG06wQz0miF7aNC+8lg5RFf73woDIpOkrLBGLLinCSH79SulUx075a4R1RK 21QV610OUwsh0vYO+kL4Z+8B5BnOj7GM3dbWcCeC7OptIjFu2cOwoBJcXEDp a0kqyTEpZ6gaNhzDTZ3By+nzzDLt8eozz.Dx3T0S.uS2YcSOUEG9LTbqYBoq DAj.PODFtK12f3vQTJjfuP2FazZqyiPpun9N.jblLjFYC+gKVGCDYXc.N1sm wmzDeN7qISUwcwOLvKbr0i2dGpkyCQvvT2I6xXEYYpMR3rQ3jKmq6X44yJDY +wSq7drVn4dqDFAON4iHPnOIhdBY5wgW8L8ijYqpXyZC.bZVsgqQHvfFQbkO CSbG55H7r6eWxjTk7lF1Z96TBfA1ksMFLpjDPQPBcoAPzOXf6EkwiX0yXU5M 0NClIo.mCwHa0dmbNZ5zblVUy85ZQyD6p2pOVjaXLoGSOVOZjICUMG7xiTvI fd54jPnqeNoCYP6T.qXYGTOeHOSRROVY635.OyCllHX+zDFmB3jGZ7hj9XPZ 5t.dxOpEFunepJxO6rZGsrboJm2+rtXg7OkUve0z.lq9WwoPNdX.sXjqP9nO XVtqP18QHdNecMK2Pc7MDOpKxSAF20op691wWV5S95nu5Adcds3AiBH53jGG BWnNIO55Y6g2wuPHe6mr.nP65GpQZTapy1I2tAr79OIx4MZgjoEJYu8POXO2 Ixy4x94fxEMsiY.JffAsLmJZhNAzzN8yUBNuQTCimvzoEdZmLZJgGzUCN3S. MoSJzjLoPS6vISM3flLvAEc0zNH5DCOmh05LQisBFqpxTGto6HAfXpdeu8S6 QW.2Jj1aIvs07GD61OTY0mUaJZqMUrMStAUO2Fa+LBPOj0xMht9vMR9k4+CD M710 ———–end_max5_patcher———– </code></pre>
I copied it by going Edit > Copy Compressed.