ArticleslgStudy

computer science

MUSIC-N

MUSIC-N is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand MUSIC-N rather than just read about it. In short: MUSIC-N refers to a family of computer music programs and programming languages descended from or influenced by MUSIC, a program written by Max Mathews in 1957 at Bell Labs. MUSIC was the first computer program for generating digital audio waveforms through direct synthesis.

Key takeaways

  • MUSIC-N belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect MUSIC-N to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of MUSIC-N from memory before moving on to harder problems.

Reference excerpt

MUSIC-N refers to a family of computer music programs and programming languages descended from or influenced by MUSIC, a program written by Max Mathews in 1957 at Bell Labs. MUSIC was the first computer program for generating digital audio waveforms through direct synthesis. It was one of the first programs for making sound on a digital computer, and the first to gain wide acceptance in the music research community.

Design All MUSIC-N derivative programs have a common design made up of a library of functions built around simple signal processing and synthesis routines (written as "opcodes" or unit generators). These simple opcodes are then constructed by the user into an instrument (usually through a text-based instruction file, but increasingly through a graphical interface) that defines a sound which is then "played" by a second file (called the score file) which specifies notes, durations, pitches, amplitudes, and other musical parameters. Some variants of the language merge the instrument and score, though most still distinguish between control-level functions and functions that run at the sampling rate of the audio being generated. A notable exception is ChucK, which unifies audio-rate and control-rate timing into a single framework. MUSIC-N and derived software are mostly available as complete self-contained programs, which can have different types of user-interfaces, from text- to GUI-based ones. In this aspect, Csound and RTcmix have since evolved to work effectively as software libraries which can be accessed through a variety of frontends and programming languages, such as C, C++, Java, Python, Tcl, Lua, Lisp, Scheme, etc., as well as other music systems such as Pure Data, Max/MSP, and the plugin frameworks LADSPA and VST. A number of highly original (and to this day largely unchallenged) assumptions are implemented in MUSIC and its descendants about the best way to create sound on a computer. Many of Mathews' implementations (such as using pre-calculated arrays for waveform and envelope storage, the use of a scheduler that runs in musical time rather than at audio rate) are the norm for most hardware and software synthesis and audio DSP systems today.

Family MUSIC included a number of variants, e.g.:

MUSIC was developed by Mathews on an IBM 704 at Bell Labs in 1957 (this original version was later referred to as MUSIC I) MUSIC II was developed by Mathews on an IBM 7094 at Bell Labs in 1958 MUSIC III was developed by Mathews on an IBM 7090 at Bell Labs in 1960 MUSIC IV was developed by Mathews and J. Miller on an IBM 7094 at Bell Labs in 1963 Derivatives of MUSIC IV include: MUSIC IVB was developed by G. Winham and H. Howe on an IBM 7094 at Princeton University in 1965 MUSIC 4BF was developed by H. Howe and G. Winham on an IBM System/360 at Princeton University in 1967 MUSIC 360 was developed by Barry Vercoe on an IBM System/360 at Princeton University in 1969 MUSIC 11 was developed by B. Vercoe, S. Haflich, R. Hale, and C. Howe on a DEC PDP-11 at MIT in 1973 Csound (descended from MUSIC 11 and in wide use today) MUS10 was developed by J. Chowning, D. Poole, and L. Smith on a DEC PDP-10 in Stanford University 1966 MUSIC V was developed by Mathews and J. Miller on a GE 645 in 1966 at Bell Labs MUSIC V was considerably augmented at IRCAM in Paris by John Gardner and Jean-Louis Richer to enable it to process digitized sounds as well as to synthesize sounds CMusic was developed by F. R. Moore and D. G. Loy on a DEC VAX-11 at UCSD in 1980 CMIX / Real-time Cmix was developed by Paul Lansky, Brad Garton, and others on an IBM System/370 at Princeton University starting in 1982 Structured Audio Orchestra Language (SAOL) is an imperative, MUSIC-N programming language, which is part of the MPEG-4 audio standard, by Eric Scheirer Less obviously, MUSIC can be seen as the parent program for:

RTSKED (a later RealTime Scheduling language by Max Mathews) Max/MSP Pure Data AudioMulch SuperCollider JSyn Common Lisp Music ChucK Any other computer synthesis language that relies on a modular system (e.g. Reaktor).

MUSIC IV

MUSIC IV was a computer music synthesis software package written by Max Mathews. The program was an expansion of earlier packages written by Mathews to produce music by direct digital computation, which could be heard by converting samples to audible sound using a digital-to-analog converter (DAC). MUSIC IV was further expanded by Godfrey Winham and Hubert Howe into MUSIC IVB, and then into MUSIC IVBF, a more portable version written in FORTRAN. It is a precursor to Csound. MUSIC IV allows the programmer to enter a musical score as a text file and have each note played with a particular "musical instrument", which is a software algorithm. Some instruments are supplied in the package, but the programmer can supply new instruments in the form of FORTRAN code, to be compiled and called by the MUSIC IV package to generate output. As designed, the package was not intended for real-time generation of music as is done by a modern portable electronic keyboard instrument; instead, entire songs or musical pieces are encoded and processed into a digital file on disk or tape containing the stream of samples. Prior to the advent of low-cost digital audio gear in the late 1980s, the samples were typically sent to a DAC and recorded on analog tape.

References

Further reading Puckette, Miller (2002). "Max at seventeen" (reprint). Computer Music Journal. 26 (4): 31–43. doi:10.1162/014892602320991356. S2CID 1150821. (HTML version available)

See also Comparison of audio synthesis environments

Worked examples

Example 1 — a first encounter with MUSIC-N

Start with the simplest possible case. Write down what MUSIC-N claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to MUSIC-N before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about MUSIC-N ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of MUSIC-N

In research
MUSIC-N appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses MUSIC-N in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
MUSIC-N is common in secondary-school and first-year university syllabi. It links to neighbouring topics Audio programming languages, Digital synthesizers, Samplers (musical instrument), so understanding it makes those chapters shorter.
In everyday life
Look for MUSIC-N outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “MUSIC-N” →

How to study MUSIC-N in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what MUSIC-N means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain MUSIC-N out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is MUSIC-N in simple terms?

MUSIC-N refers to a family of computer music programs and programming languages descended from or influenced by MUSIC, a program written by Max Mathews in 1957 at Bell Labs. MUSIC was the first computer program for generating digital audio waveforms through direct synthesis.

Why does MUSIC-N matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study MUSIC-N?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on MUSIC-N.

Tags

  • Audio programming languages
  • Digital synthesizers
  • Samplers (musical instrument)
  • Software synthesizers

Keep exploring