Viewing entries tagged
Max/MSP/Jitter for Music (book)

Comment

MMJ4M 20: Compositions and Perceptions Tools

The very last chapter of VJ Manzo's excellent book Max/MSP/Jitter for Music is a final exhibition of some of the applied work that can be done with Max/MSP/Jitter, as well as a few of VJ's own compositions with Max/MSP/Jitter. As before, these don't have much to do with Jitter, per se, but they're at the end of the book so they're listed under my Jitter course. More significantly, I got some wonderful inspiration on how I could make my own music. (I also got a very informal hearing test with the mosquito patch, and I'm glad to say that I hear high frequencies just fine, thank you very much.)

The book is done but I will be referring back to it very, very often as I start doing my own from-a-blank-patcher programming. (By the way, I also just bought a print copy of the book to go with my Kindle version.) In addition, I'm going to go through the plethora of tutorials that Cycling '74 offers on their own website as a way to continue and expand my training. All of this is very, very exciting!

[youtube=http://www.youtube.com/watch?v=RSCj2QtHtIs]

Completed:

  • Max/MSP/Jitter for Music, Ch. 20: Compositions and Perceptions Tools (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

Comment

MMJ4M 19: Informal Music Learning Instruments

Like the previous chapter, chapter 19, on "Informal Music Learning Instruments" is more of show-and-tell than hands-on. In this chapter, VJ Manzo shows how Max/MSP/Jitter can be used to create programs that greatly facilitate the exploration of musical concepts like harmony. In addition to this pedagogical goal, though, I also see application of a lot of these principles and patches to my own hoped-for work on live looping with my saxophone, especially as VJ's patches might be good for harmonizing. Hmm... we'll have to see later this summer.

Completed:

  • Max/MSP/Jitter for Music, Ch. 19: Informal Music Learning Instruments (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

Comment

MMJ4M 18: Video Research Instrument

This was an interesting chapter because it consisted almost entirely of a guided tour of one of VJ's patches and not much in the way of person patching. That's fine, though, because it was a complicated piece and the principles have/will come in handy in other work.

I find it especially interesting that the patch he develops can be used to gather times feedback on videos. If you recall, my day job is as a psychology professor and I have extensive training in experimental research methods. As such, this falls right in line with some of the things that I or my students could do. In that very practical sense, this was a very useful chapter.

Completed:

  • Max/MSP/Jitter for Music, Ch. 18: Video Research Instrument (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

Comment

MMJ4M 17: Working with Video Files

The second major Jitter-related chapter in VJ Manzo's book Max/MSP/Jitter for Music has to do with accessing and playing previously recorded video. It turns out that this is more complicated than using a live video stream – not what I would have guessed but, now that I've done the work, it makes sense.

I especially like the jit.scissors command that slices the video window into many small pieces. (Truthfully, the object names in Max/MSP/Jitter are hilarious; not the sort of thing you can get away with in a larger corporate environment.) Things started getting very spaghetti-like, so I show a couple of the patches in both their locked and unlocked states. But, overall, I am made keenly aware of how different things can work in this program as opposed to Processing, with which I am more accustomed.

Completed:

  • Max/MSP/Jitter for Music, Ch. 17: Working with Video Files (12 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 16: Working with Live Video

Chapter 16 of VJ Manzo's book Max/MSP/Jitter for Music, "Working with Live Video," is the first chapter to deal with Jitter, which is the video component of Max/MSP. This also makes it the first official chapter for my independent studies course with Lien Fan Shen of the Department of Film and Media Arts at the University of Utah. I'm excited because this part connects more directly with the work that I have done in Processing and with the Dance Loops project that I'm working on at Utah Valley University.

The exercises in this chapter all involved grabbing a live video stream from my computer's camera and then performing a series of color transformations on it, culminating with the use of a MIDI keyboard to do so. Fascinating!

Completed:

  • Max/MSP/Jitter for Music, Ch. 16: Working with Live Video (11 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 15: Audio Effects and Processing

Chapter 15, "Audio Effects and Processing" of VJ Manzo's book Max/MSP/Jitter for Music shows how to manually create some simple effects – delays and white noise, in particular – and manipulate and visualize them. To get to that point, the chapter shows how to:
  • Create a umenu to give a dropdown list of effect sizes (although it may work better to provide checkboxes that allow for the selection of multiple effects)
  • Create a gate~ object (the MSP audio version) to direct the audio signal towards the appropriate effect patch depending on the effect selected in the umenu
  • Use the tapin~ object to store snippets of audio and the tapout~ object to delay playback
  • Use the transport object to provide global control of timing and playback, as well as the ability to specify timing in samples instead of millseconds
  • Create a umenu to provide a list of filter options and cascade~ and filtergraph~ objects to allow manual modification of those filters
  • Create a noise~ object to generate white noise
  • Use a preset object to save settings for the entire patch

My next big goal is to set up my KMI SoftStep foot controller to activate effects and possibly modify them while live looping, as both hands will be on my saxophone.

Completed:

  • Max/MSP/Jitter for Music, Ch. 15: Audio Effects and Processing (10 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 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 11: Building Stand-alone Applications

A very short but significant chapter in which I learned to do exactly as its title suggests: I learned how to build a stand-along application. The first image above is from my duplication of one of VJ Manzo's patches in the chapter and the second, you may notice, is not a Max patch but it, instead, its very own application running on my Mac. When I got Max/MSP/Jitter, I wasn't aware that this was one of the possibilities but now I'm thrilled about it! My big, unanswered question for the moment is whether I can make a standalone application that will read and save data from a Kinect without having to install all of the other geeky rigamarole in the system folders, etc. Wouldn't that be beautiful for distributing interactive dance applications? (Yes, it would, very much....)

Completed:

  • Max/MSP/Jitter for Music, Ch. 11: Building Stand-alone Applications (2 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 10: Working with Time

Chapter 10 "Working with Time" of VJ Manzo's book Max/MSP/Jitter for Music is a busy one and a lot of fun. The most important parts for me were that we learned how to create user-controlled loops (of MIDI files, not audio) and how to create a simple step sequencer. Now I realize that it's probably much easier to do both of these in Ableton Live (which my grant at  Utah Valley University got for me) and other, more specialized programs, but it gets to the heart of the things I want to do with Max/MSP/Jitter. (Well, some of the things, in any case.) But it gets much closer to the music making part that I'm interested in.

By the way, it occurs to me that it would be great if the fine people at Cycling '74 (you know, the people who gave us Max/MSP/Jitter) could take the example of their Vizzie modules, which are preassembled, easy to use subpatches for working with video, and did a similar things for MIDI and/or audio files. I'm just sayin'....

Completed:

  • Max/MSP/Jitter for Music, Ch. 10: Working with Time (18 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 08: Control Interfaces Continued

If chapter 07 of VJ Manzo's book Max/MSP/Jitter for Music was mostly a show-and-tell about control interfaces, then chapter 08 makes up for it by bringing in some amusing, hands-on patching. The chapter does start off with a very complicated patch that reads ASCII keyboard codes, but it quickly moves into mouse tracking as a way of generating pitches (and their velocities), which is fun. Also, there is a very promising moment whereby game controllers, such as the two Logitech Gamepad F310 gamepads that I have for my Mac, are used to control sound. Unfortunately, despite much banging of the head against the wall, it turns out that something has gone horribly wrong with my gamepads; they used to work but apparently something about having Windows virtualization software on my computer – which I need for my statistics work – is messing things up. Grrr... So, for now, I'll just have to take VJ's word for it. (On the other hand, I know that I can still hook up all of my actual audio hardware: my  Korg nanoKONTROL2/nanoKEY2/nanoPAD2KinectsNovation Launchpads, Akai APC40 and 20KMI Softstep and QuNeo, as well as the projectors, etc. I think I can even connect my iPhone and iPad via OSC. More on that later, I hope.)

Completed:

  • Max/MSP/Jitter for Music, Ch. 08: Control Interfaces Continued (4 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

Comment

MMJ4M 06: Data Structures

Chapter 06 of VJ Manzo's book Max/MSP/Jitter for Music is about Data Structures. More specifically, it's about generating random MIDI notes and using filters based on modalities or diagrams to select particular notes to play. The modalities are selected using VJ's excellent modal object  from his EAMIR package and the diagrams are drawn by hand in the table object. Either way they provide interesting ways to create generative music that actually sounds like something. I think of this as having particular use in a movement-driven sequence in my upcoming dance piece, where we will follow the performers' movements with a Kinect, a little bit like a full-body version of the NodeBeat app, which I love.

Completed:

  • Max/MSP/Jitter for Music, Ch. 06: Data Structures (15 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

1 Comment

MMJ4M 05: Interactive Ear Training

Chapter 05 of VJ Manzo's book Max/MSP/Jitter for Music is about constructing an application for ear training with musical intervals. I have separate screenshots for each of the twelve steps in this exercise but I've condensed them into a single video below.

[youtube=https://www.youtube.com/watch?v=I1UhAQ8N7GQ]

Completed:

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

1 Comment

Comment

MMJ4M 04: Scales and Chords

After a long, long time, I'm back and working on Max/MSP/Jitter. (I've got to get these incompletes finished!) I started chapter 4 of VJ Manzo's excellent book Max/MSP/Jitter for Music over a year ago and just finished it today. What's funny  is how much my interests have changed since then – I'm much more interested in Max for music now than in using it just as a stepping stone to Jitter and data visualization. My goal is also to start using Max/MSP to work with my saxophone, as well as Ableton Live. Many, many good things.

Anyhow, that's Chapter 04: Scales and Chords for now. Screenshots are above, YouTube links are below.

[youtube=https://www.youtube.com/watch?v=ZiJQpqMbwxo]

[youtube=https://www.youtube.com/watch?v=_2hA5SOj2Mg]

[youtube=https://www.youtube.com/watch?v=_I_pkhU1IM4]

[youtube=https://www.youtube.com/watch?v=XSzI_lq5ENQ]

[youtube=https://www.youtube.com/watch?v=7VQkLqpBva8]

[youtube=https://www.youtube.com/watch?v=CMM8jD1dpiI]

[youtube=https://www.youtube.com/watch?v=kU9niZUQCF4]

[youtube=https://www.youtube.com/watch?v=2g00aNGQaB4]

[youtube=https://www.youtube.com/watch?v=ni6dpRGvj6w]

Completed:

  • Max/MSP/Jitter for Music, Ch. 04: Scales and Chords (21 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 03: Math and Music

I'm going cross-eyed now that I've finally finished working through the fourteen thousand exercises in Chapter 03 of VJ Manzo's book Max/MSP/Jitter for Music. (Well, it felt like fourteen thousand. And, as VJ may drop in on this post, I'd like to emphasize that it's an excellent book and very thorough. I think I just tried to do too many at one go.) Anyhow, after an extended break to work on other pressing matters (like an academic job application), it's nice to be back into things. I can tell that Max has many, many more things in store for me. That being said, here's my progress report in pictures and video.

[youtube=http://www.youtube.com/watch?v=84zwxpPhof0]

[youtube=http://www.youtube.com/watch?v=bubD9lxOi2A]

[youtube=http://www.youtube.com/watch?v=mhgV_AYdTGI]

[youtube=http://www.youtube.com/watch?v=NjQKdq77Xp0]

[youtube=http://www.youtube.com/watch?v=N1tqT4U0CSQ]

[youtube=http://www.youtube.com/watch?v=uQNd7VGlk20]

[youtube=http://www.youtube.com/watch?v=idEIChNztZg]

[youtube=http://www.youtube.com/watch?v=vhXmEyf9I00]

[youtube=http://www.youtube.com/watch?v=HfcTrqxpMpk]

[youtube=http://www.youtube.com/watch?v=EQrRux4F-hw]

Completed:

  • Max/MSP/Jitter for Music, Ch. 3: Math and Music (15 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 02: Generating Music

"Random Atonal Trash," or RAT, is the term that VJ Manzo uses for the Max patches in Chapter 2 of his book Max/MSP/Jitter for Music. What that means is that tones are generated using random numbers. There are several variations on the patch, including a few with sliders for duration and tone. The next few patches seem to require an actual keyboard, which I don't have, so we'll see what happens.

[youtube=http://www.youtube.com/watch?v=0DifbYGDOmg]

[youtube=http://www.youtube.com/watch?v=eelvfHgZrpE]

[youtube=http://www.youtube.com/watch?v=jT2QkhK-xb4]

[youtube=http://www.youtube.com/watch?v=ooeO186zhXY]

[youtube=http://www.youtube.com/watch?v=mROX-Yb3nBA]

[youtube=http://www.youtube.com/watch?v=bKFE_oPer9o]

And, happily, I just came across another blog that is working through VJ Manzo's Max book: mikecrane.wordpress.com. I'll link his stuff as often as I can.

Completed:

  • Max/MSP/Jitter for Music, Ch. 2: Generating Music (first part) (6 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 01: Introduction to Programming

In my previous post I reported on my independent study project with Processing. Now I'll report on a second project, this one using the visual programming environment Max/MSP by Cycling '74. (This project is being supervised by Music Professor Miguel Chuaqui, who, according to the map on the Cycling '74 site, is the only person in the state of Utah who teaches Max/MSP.)

Anyhow, I'm using a lovely book entitled Max/MSP/Jitter for Music by VJ Manzo, who looks much more like a wild man rocker than someone who would write clean, crisp prose about programming (good for you!). I started reading this book back in November. I posted on it previously but now I'm ready to put up pictures of all of my patches, as the programs are called. So, the gallery at the top of this post includes the five patches from Chapter 1 and the videos below show them in action.

[youtube=http://www.youtube.com/watch?v=CBibJQ9P-O8]

[youtube=http://www.youtube.com/watch?v=WmQ9KvW3XY0]

[youtube=http://www.youtube.com/watch?v=fhwFuJ9rA_M]

[youtube=http://www.youtube.com/watch?v=Cf06H2okJpM]

[youtube=http://www.youtube.com/watch?v=gbULftURhiE]

(I've also come across a blog with a total of nine entries from 2009 called "Learning Max/MSP: Using Max/MSP for a Generative Music Burning Man Project." Excellent!)

Completed:

  • Max/MSP/Jitter for Music, Ch. 0: Preface (0 exercises)
  • Max/MSP/Jitter for Music, Ch. 1: Introduction to Programming (5 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