Max/MSP: Opening a New Crack in Electronic Music

Music has the unique ability to create an infinitely changing experience via pure abstractions of temporal and spatial relationships, most simply perceived as rhythm and timbre. True, we may live in a material world, but within our shared experience, the abstractions of time and space are not imprisoned by the clocks and Cartesian coordinates of modern science. For us, a day can pass like an hour, and an hour can seem like days. The tiniest of space we share with another person, even in the most fleeting touch, can mean more to us than all the stars in the sky. Though musical abstractions, we can share such experiences, but only when the instruments place no constraints on our expression.In the 1960s, musicians started experimenting with electronic sounds. Early artists such as Pink Floyd experimented with many different sounds before finding the rhythm and timbre that led to their great success. In the 1970s, bands such as King Crimson simulated orchestras with tape loops. Modern-day musical instruments have sadly declined into a stock set of widely accepted sound loops and analog synthesizer simulations. To make new and challenging acoustic experiences, artists need to reach outside conventional instrumentation.In the 1990s, a German company released an unusual software program called Generator, which enabled electronic musicians to put together musical instruments of their own design. The program provides a lego-like interface whereby blocks are hooked up between audio inputs and outputs. Because many of the blocks are like hardware components, the blocks are deliberately designed to look like integrated circuits. The unusual characteristic of Generator was that it could also produce sound in real time, while the electronic musician was still putting together the blocks. This was possible because it embedded several kinds of simulator, similar to those used in electronic engineering, but adapted to the needs of the electronic musician. The software was years ahead of its time. It was later purchased by Native Instruments and combined with other programs to make a very sophisticated design environment called Reaktor.A little after Generator emerged, a little-known group of software developers in California created some similar design environments called Max and MSP. These environments are modeled on later DSP simulation programs, rather than the early hardware simulation programs of Reaktor. The interface is more abstracted and extensible. It was never really limited to creating electronic music alone, but always provided a more open and extensible environment such that, for example, it could provide synchronized light shows and a software workbench for the integration of unique control surfaces.Dance-Tech.net has been kind enough to sponsor me as a columnist, and I will be describing some of my experiences with Max/Msp here in the next nine months.Mac, PC, and Version ChoicesMax/Msp was originally developed on the Macintosh platform. There was a day when that made a great amount of difference, More recently, platform convergence has made the choice between such platforms more based on taste rather than application requirements. Max/Msp has run on both PC and Macs since version 4. Those familiar with software migration know that the first generation of software which converges across hardware and OS platforms is frequently buggy and requires a number of revisions. The challenge often extends beyond the software architecture for the application, and a total source-code rewrite is required. For financial reasons, the transfer to the new code base is usually deferred (for example, until the software protection for the original version is cracked). The delay often results in some cross-company migration of members in the talented alpha team, who worked on the original software, and as a consequence, portions of the original functionality do not port to the new code base for some time.In the case of Max/Msp, the new code base of Max5 is much superior to Max4. It is more stable, plays better, and looks better. However some interfaces have taken some time to release. For example, the Software Development Kit (SDK) which permits integration of external devices was only released this month, after delays approaching a year. Also, the ability to make standalone VST instruments (which can embed inside music sequencer programs such as Sonar and Cubase) is not available in Max5 (Max can operate in a VST environment, but others must own Max5 to play the instruments).This last discovery was a little of a disappointment for me. The ability to compile, link, and make standalone applications was a big part of the reason I decided to migrate from Reaktor to Max. I have developed experimental instruments in Reaktor since 1998, but Native Instruments also sells many VST standalone instruments, and providing the ability of native compilation would mean its customers could compete with its own products. Therefore a movement to Max seemed inevitable, if I was to share my musical creations with others besides those who own the expensive application.A number of alternatives exist for VST integration. One developer suggested making the Graphical User Interface (GUI) in a compiled code, such as C, then connect to a standalone Max interface via the now-industry standard Rewire interface. However I prefer Cubase VST/32 5.0 over SX versions (because I think its mixer less muddy), and Cubase 5.0 can only support a limited number of Rewire audio connections (due to an older interface architecture).The less preferred alternative was to develop in the older Max4 application. After some time the idea occurred of creating the UI in Max4, the main app in Max5, and the two parts could communicate over the more recent OSC interface. One other developer said this was possible.I do not intend to develop VST instruments alone--I hope to work with others, and a number of different applications are underfoot--but I did not want to be limited, as I had been in Reaktor, of not being able to share standalone VST instruments. So, I started the installation of both Max4 and Max5.MAX/MSP InstallationInstalling Max/MSP (and Jitter) 5.0 was a snap. The software is fully functional for 30 days, after which registration is required for continued functionality, so one can install while waiting for authorization codes.It is possible to run Max4 and MAx5 at the same time. However, installing the older 4.0 version introduced some unforeseen problems. To provide better latency and higher bandwidth to the audio hardware, electronic musicians often implement an audio I/O protocol called ASIO. I had been trying a freeware ASIO driver which acted as an intermediary between native WDM drivers and the integrated motherboard sound hardware. The Max 4.0 installation had some problems with the freeware so I uninstalled it.Then almost every single software application stopped working. I checked for viruses. No viruses.It took a while to work out, but now I'm pretty sure the uninstallation caused a kickback in my XP3 license, because ASIO drivers are perceived as hardware by the XP OS. After a certain number of hardware changes, the Windows operating system validates the OS is genuine across the Internet, and this time, XP3 also reset the "system ID." This hadn't happened to me before. Many software applications use some sort of Hamming code or CRC check with the system ID as part of their authentication, including Creamware, Cubase, and Native Instruments software. And so as a consequence, I had to reinstall Scope 4.0, Reaktor 2, Reaktor 3, Reaktor 4, Reaktor 5, Cubase VSt/32 5.0, Cubase SX, Kontakt 2.0, Battery Studio Drumkit, and all my audio drivers.The reinstallation has to be in a certain order, and the older software took may slow reboots. So this all took a while, after which my initial enthusiasm was somewhat subdued. I had been warned about problems with Max 4 but I was overconfident, and frankly I had just forgotten how long it used to take to integrate audio applications. System integration used to be enormously time consuming. Again, I reiterate, Max 5 was a snap. Software is just much better than it used to be.Website mountingI hope to create some server-side audio applications, so I also created a Website:http://www.heavensonearth.com

Creating the website cheered me up after the problems with installing Max 4, and also allows me to share some of the prototypes I would like to transfer to standalone applications via Max/MSP. I am just uploading various audio samples and freeware instruments.But it is not just VST instruments on which I am working, as I will describe in the next column.
E-mail me when people leave their comments –

You need to be a member of dance-tech to add comments!

Join dance-tech

Comments

  • I looked a little into the history of Max, and it is true there was something called Max available earlier than Reaktor, but at the beginnning it (like other similar programs) did not support real-time audio stream processing. I cannot find any information on exactly when this capability was available. It may be I learned of it after it had emerged as I have not followed Mac innovations so closely, and Max/Msp was not ported to the PC until much later.
  • i am not sure you are correct concerning Generator and Native Instruments. Stephan Schmitt and Volker Hinz who created Generator registered their enterprise as the Native Instruments GbR for the Musikmesse Frankfurt in 1996. The Native Instruments GmbH was founded in 1997 and Daniel Haver was appointed Managing Director.
  • I believe PD and Max both derive from the IRCAM ISPW platform, and MSP started as a cross-port of PD's DSP code into Max; but I don't follow the history that closely. I bought Max back in 1991, but came late to MSP (2000 or so) having a preference for hardware... although I gig so much I have a preference for MacBook + software (+ controllers). These days I tend to drift between Ableton Live, Max 4 VSTs, Max 5, and video stuff including Jitter, Isadora and Field, but am getting back into Max 5 again for teaching and for making.
  • Thanks for the comment Cassiel. I am still learning the history of Max/Msp. Reaktor was thought years ahead of its time due to its real-time audio processing and software integration into audio enviornments. It's certainly possible Msp was also years ahead of its time, although I was led to think Miller Puckett's Pd predated Msp, and so it may be the leader of the pack, but I wouldn't know the details, I have been a PC person since 1985. Great review!
  • The timeline for Max was something like: the "patcher" software by Miller Puckette at IRCAM in the late 1980's, followed by development efforts by David Zicarelli leading to Opcode Systems licencing and releasing the Mac version of Max early in 1990, so that probably predates Reaktor (I don't know about Generator). MSP (based on code ported into PD) was released in 1997, roughly the same time that Cycling '74 was formed and the development licencing was transferred from the by-then-defunct Opcode.

    Re: the lack of VST development in Max 5 - this is indeed a drawback, requiring a new release of the Pluggo runtime. The OSC linkage trick will work, but I've found linkage via ReWire from MaxMSP as a client into a DAW such as Ableton works fairly reliably and provides fairly decent workflow. Now that the SDK is done I'm hoping that Pluggo/Max 5 is next on C'74's to-do list.

    Can't help with the Windows XP hurt, I'm afraid - when I have the choice I use a Mac - but I have been hit with numerous copy protection issues, which isn't uncommon.

    -- N.

    PS: if anyone's interested, I reviewed Max 5 for Sound On Sound magazine in August - link here. I'm currently teaching it, and can say that in pedagogical terms Max 5 is a massive improvement over Max 4.
This reply was deleted.

Blog Topics by Tags

Monthly Archives