Viewing entries tagged
MIDI

Comment

MMJ4M 14: Audio Buffers

Chapter 14 of VJ Manzo's book Max/MSP/Jitter for Music has one purpose: show how to use audio buffers for recording and playing back audio files. These buffers will be a critical component in my planned live looping exercises, so I'm excited about this chapter. I learned how to do the following:
  • Create and name buffer~ objects
  • Open windows to see the sound waves for the buffer~ objects
  • Get information such as track length with the info~ object and use that manually resize the buffer (if desired, although Max 6 seems to adjust the buffer on its own)
  • Use the groove~ object to read audio from the named buffer
  • Set the buffer to loop
  • Set a flonum variable to control playback speed by converting it with a sig~ object
  • Record new audio into the buffer with the ezdac~ and record~ objects
  • Set up a MIDI keyboard to change simultaneously the speed and pitch of the buffer playback, with middle C set for default speed (although it would be better to alter speed and pitch separately)

Completed:

  • Max/MSP/Jitter for Music, Ch. 14: Audio Buffers (9 exercises)
  • Patches can be downloaded from http://db.tt/GBYLb0vY (Dead Link)
  • UPDATED LINK: Patches can now be downloaded from http://j.mp/1iy19Xl

Comment

Comment

MMJ4M 13: Audio Playback and Pitch Tracking

In Chapter 13, "Audio Playback and Pitch Tracking" of VJ Manzo's book Max/MSP/Jitter for Music, I learned how to:
  • Playback pre-recorded sound files with the sfplay~ object (including the open message and a toggle to make it go)
  • Open sound files directly by giving their full name in the open message
  • Use the ezdac~ object to get the sound out and use the gain~ object to control volume
  • Use message boxes to restart the sound file or jump to specific times in the file
  • Set keyboard controls to start/stop/rewind the sound file
  • Loop the sound file with a loop $1 message
  • Have more than one sound file open and playing at a time
  • Record the audio with the sfrecord~ object (and toggle it on and off, as well as specify the number of channels to record)
  • Convert frequencies to MIDI values with the fzero~ object

Completed:

  • Max/MSP/Jitter for Music, Ch. 13: Audio Playback and Pitch Tracking (13 exercises)
  • Patches can be downloaded from http://db.tt/GBYLb0vY (Dead Link)
  • UPDATED LINK: Patches can now be downloaded from http://j.mp/1iy19Xl

Comment

Comment

MMJ4M 12: Working with Audio

In Chapter 12: Working with Audio from VJ Manzo's book Max/MSP/Jitter for Music, we get to start working with the MSP part of Max/MSP, which allows audio signals (you know, actual sound waves and recordings) to be used in addition to MIDI notes or mathematical equations. The chapter shows how to:
  • Get sound into Max with a microphone, at first with the adc~ object (that is, "audio-to-digital converter," where the tilde ~ means that it is an MSP audio object) and later with the more intuitive ezadc~ object.
  • Create gain~ controls to keep the speakers from exploding
  • Create audio meters with the meter~ object
  • Output sound, at first with the dac~ object (i.e., "digital-to-audio converter") and later with the ezdac~ object
  • Create sine waves with the cycle~ object and combine waves for more complex sounds
  • Create a virtual oscilloscope with the scope~ object, thus creating a visual display of the sound wave
  • Create a monophonic synthesizer with the ddg.mono object
  • Convert MIDI to audio frequencies with the mtof object
  • Use pack and unpack to combine or separate MIDI data, as well as midiparse
  • Create a polyphonic synthesizer with the poly~ object

Lots of good stuff. I plan on using several of these in my final project.

Completed:

  • Max/MSP/Jitter for Music, Ch. 12: Working with Audio (17 exercises)
  • Patches can be downloaded from http://db.tt/GBYLb0vY (Dead Link)
  • UPDATED LINK: Patches can now be downloaded from http://j.mp/1iy19Xl

Comment

Comment

MMJ4M 07: Control Interfaces

Chapter 07 of VJ Manzo's book Max/MSP/Jitter for Music is about Control Interfaces. More specifically, it talks about getting MIDI notes in and out of patches, the use of bpatchers in Max, and send and receive objects for "wireless" transmission within the patch. This is essentially a show-and-tell chapter, as VJ shows what can be done and we just follow along without creating anything new in this case. Nevertheless, there are wonderful concepts and practices in this chapter, a few of which are shown in the images above.

Completed:

  • Max/MSP/Jitter for Music, Ch. 07: Control Interfaces (0 exercises)
  • Patches can be downloaded from http://db.tt/GBYLb0vY (Dead Link)
  • UPDATED LINK: Patches can now be downloaded from http://j.mp/1iy19Xl

Comment