concept message in category chuck

This is an excerpt from Manning's book Programming for Musicians and Digital Artists: Creating music with ChucK.
When you click Start Virtual Machine, it creates a window called the Console Monitor (lower left of figure 1.6). This is where you’ll receive messages from the computer to help you with your program. If there are errors in your code, this is where the computer will tell you that there are problems and specifically where (in which lines) they occur. You can also print messages to yourself from your running code in the Console Monitor to help you debug your program or to keep you informed of what’s going on.
In this chapter you’ll expand your arsenal of unit generators, covering many self-contained instrument UGens. We say instrument because these UGens make sound in response to frequency, noteOn, noteOff, messages, and other parameters, depending on the type of model implemented. By the end of this chapter, you’ll be able to build a band to play Indian classical music automatically.
OscIn oin; 6449 => oin.port; oin.listenAll(); OscMsg msg; while(true) { oin => now; while(oin.recv(msg)) { <<< "got message:", msg.address, msg.typetag >>>; } }