CCRMA Documentation links:   index   contents   overview   rooms   account   staff


CCRMA Studio E

Studio E (Knoll 320, behind the Stage - “Epstairs”) is a small (about 15x10.5 foot) general-purpose computer music studio suitable for a variety of activities, primarily designed for composition, mixing and mastering in an 8-channel sound field.

How to links:

Studio E Contents

The front of Studio E with three computers (laptop, Mac Pro, and Linux machine) in use simultaneously.

In this space you should see:

Photo of Studio E Audio Rack. See bullet list above for an explanation of the contents.
Studio E Connection Diagram

Don’t touch

Studio E users are expected to leave all of the following alone:

If you see any problems with any of the above please contact CCRMA staff.

To Reset Studio E

Mixer Wiring and Channel Numbering

The rear of Studio E’s DM1000 mixing board, showing the many audio connections described in this section.

The Yamaha DM1000 digital mixer connects pretty much every audio device in the studio. It has several built-in analog inputs and outputs, plus two expansion slots. It is the audio sample clock source for both the Mac Pro and the Linux machine.

Slot 1 is an ADAT lightpipe expansion card with 2 lightpipe inputs and 2 lightpipe outputs giving 16 channels each way.

Slot 2 is an analog input expansion card taking 8 analog inputs from the MOTU 1248 for drop-in laptops

Mixer inputs

The most popular mixer inputs are analog 1+2 carrying a stereo signal from your phone’s or laptop’s headphone jack via the LTI-1 direct box. Note the 1/8" stereo male plugged into the laptop, the white and red 2-channel XLR snake running from LTI-1 to mixer, the green “signal” LEDs lit on channels 1+2, layer 1-16 selected on the mixer and the two leftmost faders being up.

This information about the 48 input channels also appears on some 4-line-tall printed labels below the faders.

The labeled faders of the DM1000 in Studio E, each with 4 possibilities

DM1000 Input Patch lets you decide which physical inputs appear on each of the mixer’s 48 input channels. You should never need to change this. The default input patch is number one CCRMA DEFAULT.

Mixer outputs

The 8 bus outputs of the DM1000 correspond to the 8 speaker channels; they come out in analog via “Omni Outs” 1-8 and connect to the bass management.

Also Slot 1 has an ADAT card that digitally sends and receives 8 channels to and from both both permanent computers:

DM1000 Output Patch lets you decide which mixer signal (such as an aux send) goes out each of these 16 ADAT output channels on Slot 1. The default output patch is number one CCRMA DEFAULT.

Selecting Your Laptop or the CCRMA Mac Pro

Studio E KVM Switch. Note the two LEDs on the left show you which of the two computers have USB “online”, while the two LEDs on the right show you which one is currently selected.

There’s a KVM switch labeled “Mac Pro” (1) or “Laptop” (2). Pressing the “select” button to the right toggles between the two options.

This switch controls access to:

  1. The USB keyboard (Apple Keyboard with Numeric Keypad: “A1243”)
  2. The USB mouse (Logitech)
  3. The LG E2341TX monitor (1920x1080, 60 Hz)

Using Your Own Laptop

Connecting Your laptop

Studio E with a USB-C laptop connected to keyboard, video monitor, mouse, and MOTU audio interface

A “combo” USB and HDMI cable sits unplugged on the left of the main desk. All the dongles you might need (accommodating Mini DisplayPort and USB-C) are in the drawer under the mixer (or check the Adapter Closet if you have special needs).

You can follow any subset of these steps in any order:

Plugging in a USB-C laptop might look like this

MOTU I/O channels

The MOTU 1248 is configured as a 24-channel “Audio interface” to pass all of its analog inputs and outputs to and from your computer. (All of its digital inputs and outputs disabled except for the Audio streaming over USB that connects it to your laptop as an audio interface.)

Input channels your computer sees:

Output channels your computer sees:

Note that if you choose the MOTU as your operating system’s selected audio interface, then all the “normal” computer sounds like audio from web browsers will come out channels 1+2 (so you can hear them in speakers 1+2 and/or headphone 1).

Seek staff assistance if you want to use the MOTU’s digital audio I/O (ADAT, S/PDIF, or AVB).

Max’s I/O Mappings window when your laptop connects to the Studio E MOTU 1248. Note that Max can “see” the names of the MOTU inputs corresponding to ADC input channels 1-14 as well as the names of the MOTU outputs corresponding to DAC output channels 1-12. Outputs 1-4 appear as “Multiple Outputs” because they are routed both to the corresponding Analog output and also to the headphones.

Using the Mac Pro

CCRMA maintains a “trash can” Mac Pro named cmn45.stanford.edu for any CCRMA user to use.

First select “Mac Pro” with the KVM switch. You should see the OSX login screen; use your usual CCRMA username and password and when you log in you will see the same home directory as on the CCRMA Linux workstations

The machine is currently on OSX 10.14 (“Mojave”).

Installed software includes Adobe Creative Cloud (including Illustrator, InDesign, Photoshop, Premiere, etc.), Ardour 3.5.403 (not working), Audacity 2.0.6, GarageBand 10.3.4 (but it can’t talk to the right channels of the Apollo), iMovie 10.1.14, JACK, Logic Pro X 10.4.8, Max 7, miniAudicle, Octave, Pd-extended, Soundflower (not working), Sublime Text, SuperCollider, TeXShop, and VLC 3.0.8. The machine also has hundreds of plugins installed, so when you first launch a plugin-hosting program such as Audacity, GarageBand, or Logic it will spend about 5 minutes scanning plugins. If you want to use Pro Tools go to the Recording Studio.

Also the machine has software installed by both MacPorts and Homebrew, which is probably not a good thing. Talk to Matt about installing additional software.

Mac Pro Audio

The Studio E Mac Pro’s audio interface is a Universal Audio “Apollo” interface connected via Thunderbolt. (What kind of “Apollo”? The sticker on the front says “QUAD”. The UAD Control Panel’s System Info tab calls it “Apollo QUAD” and indicates it has 4 DSPs. In the uaudio.com website it’s called “Apollo x4 Thunderbolt”. To select the device from software such as Logic or Max the name is “Universal Audio Thunderbolt”.) The Apollo has four high-quality mic preamps as well as powerful onboard DSP that can run many useful plugins.

In the Sound part of System Preferences you can select Universal Audio Apollo as the operating system’s default sound output (or input) device. Then web browsers and other “normal” audio programs will output via the Apollo.

The Apollo should sync its sampling rate to word clock coming from the DM1000. When this is properly configured you will see two green LEDs on the front panel just to the right of the UA logo: EXT CLOCK (successful external clock synchroniation) and UAD LINK (successful Thunderbolt connection to the Mac). EXT CLOCK being red can mean that some software on the Mac Pro has set the Apollo to a different sampling rate than the one it is currently from the DM1000; try explicitly setting the Apollo sample rate in your software.

There is an OSX application named Console (inside the Universal Audio subfolder of the /Applications folder) that controls the Apollo hardware; you will need this to access the plugins and might find it useful for debugging. Console is a virtual mixing console that controls the UA hardware and runs simultaneously with whichever audio software you use. It allows channels to be routed into your software from all the Apollo’s inputs, potentially via plugins. Unfortunately Console doesn’t show signals that you are generating inside the computer, only the signals coming into the Apollo’s physical audio inputs, so it’s not good for monitoring or troubleshooting sound problems, only for seeing and applying effects to the input signals. This system is a bit complicated, so attention to the routing features of Console and whichever recording program you use is necessary.

Console has a Console Settings window with tabs for HARDWARE, CORE AUDIO, DISPLAY, PLUG-INS, and MIDI.

You might want to read the Apollo Software Manual (pdf in /Applications/Universal Audio/Documentation).

Apollo I/O channels

If you set your OSX Sound Preferences Output to Universal Audio Thunderbolt (PCI card) then the stereo sound from normal OSX applications (such as web browsers, but annoyingly not GarageBand) comes out of the Apollo’s ADAT 1+2 outputs, which is exactly what we want, because the Apollo connects via ADAT to the DM1000 and hence the loudspeakers. This is set in the Audio MIDI Setup application, Audio Devices window, after selecting Universal Audio Thunderbolt and clicking the Configure Speakers... button.

Otherwise output channel numbering is confusing because we only use the Apollo’s digital outputs to the mixer, so the audio output channel numbers you need to use start at 11 instead of 1.

There’s a better way to configure this using their “Core Audio Panel” and “Flex Driver Overview”: http://media.uaudio.com/support/downloads/Apollo_Software_Manual_TB_v8.pdf Talk to staff if you would like to work on this or if this would help you.

The Console Settings window’s CORE AUDIO tab shows the channel mappings listed in the rest of this section.

Input channels the Mac Pro sees:

Output channels the Mac Pro sees on the Apollo:

These channel mappings have sometimes changed in weird ways, for example one time outputs 43-50 were mapped to ADAT (instead of 11-18). If you get weird behavior try power-cycling both the Mac Pro and the Apollo.

So for example, in Logic Pro X you would go to Preferences > Audio... (under the Logic Pro X menu), then the I/O Assignments tab, then the Output sub-tab, and under Stereo set Output: to Output 11-12 using the drop-down menu.

In Max you might want to go to the Audio Status window (available under the Options menu), click Open I/O Mappings, and set Max’s outputs 1-8 to go to Apollo outputs 11-18, as shown in this screenshot:

If you use Max you might want to use these I/O Mappings so that when your patch outputs to DAC channels 1-8 it comes out the proper Apollo outputs into the DM1000 and the speakers.

Using the CCRMA Linux Machine

cmn56 has its own separate desk, monitor, keyboard, mouse, and audio interface (RME Hammerfall DSP Digiface).

You should be able to use your usual CCRMA username and password, and once you log in you should be able to see all your files, like with any CCRMA Linux Machine.

Linux Audio

It may require troubleshooting to get sound on Linux through the RME Hammerfall DSP Digiface audio interface. The RME’s sample rate should be set to synchronize to its word clock input, which comes from the DM1000. The RME’s first ADAT output, corresponding to output channels 1-8, goes to DM1000 input channels 33-40, and its first ADAT input, corresponding to input channels 1-8, comes from the DM1000.

The RME interface has no front-panel meters. You want to see two LEDs lit on the front panel, both in the “INPUT STATE” area:

  1. WC lock (telling you the RME is properly locked to wordclock coming from the DM1000)
  2. ADAT 1 (telling you the RME sees one 8-channel ADAT light pipe connection from the DM1000)

The “host” LED might be red - that means a bad connection between the Linux machine and the RME. (If the connection is OK there will be no light.)

“ADAT” might be blinking green - that might or might not be a problem.

You probably want/need the hdspmixer and hdspconf Linux command-line programs. hdspmixer presents a quasi-mixing-board-like interface that’s mainly useful for metering (though one time Matt was getting no sound through JACK and after launching hdspmixer it immediately started working, though that may have been coincidence…) hdspconf lets you configure the RME’s settings; make them look like this photo:

hdspconf should look like this in Studio E

In general for RME issues you can try logging out and back in, or rebooting cmn56

General Linux Audio Software / ALSA / Pulse audio

Doesn’t work. So forget getting sound from Firefox, VLC, etc.

By default sound will go through PortAudio and ALSA but ALSA can’t see the RME audio interface.

Sound Preferences doesn’t see the RME as a “Device”, offering only Dummy Output which does nothing.

Audacity under Linux

Audacity should see Hammerfall DSP: RME Hammerfall DSP + Digiface (hw:0,0) and offer it as an input and/or output audio device. If you explicitly select the device then Audacity will output (only) to the first and second outputs, which is probably what you want. (The default other Playback Device options may do nothing.)

JACK under Linux

You will probably need JACK to use Ardour, Pd, JackTrip and other software.

The main issue is that you have to make sure JACK is talking to the proper audio device, in this case either RME Hammerfall DSP + Digiface aka hw:DSP,0 or Hammerfall DSP (hw:0) aka hw:DSP.

JACK sees 26 output signals (playback_1 through playback_26) under system, but only the first 8 connect to anything (namely mixer inputs 33-40). Likewise JACK sees 26 input signals (capture_1 through capture_26) but only the first 8 are connected (via ADAT coming from DM1000 slot 1 outputs 9-16, which you can access using the DM1000 Output Patch.

More info about running JACK on CCRMA Linux Workstations

Sound system and bass management

The 8 bus outputs of the DM1000 come out in analog via “Omni Outs” 1-8. These go into a pair of Xilica XP-4080 DSP Processors that are each configured as a 4.1 crossover. The front left speakers (1,3,5,7) go through the top unit, with the 4 crossover high-frequency outputs each going to the appropriate speaker and the 4 crossover low-frequency outputs being mixed and sent to the front left subwoofer. In other words, any bass frequencies you send to any of the left 4 speakers will “automatically” come out the left subwoofer. Likewise with the four right speakers (2,4,6,8) and one right subwoofer through the bottom unit.

Troubleshooting

Recall the good preset on the DM1000

Are all 8 loudspeakers powered on?

Is everything still plugged into the KVM? Should be 2 computers (Mac Pro and your laptop), shared keyboard, mouse, video monitor

Are all of the Xilica input and output channels unmuted?


This page of CCRMA documentation updated Wed May 20 08:32:51 PDT 2020 by matt.