CNMAT Flashback

A look back at some items in our archives.

Archive Browser

Browse CNMAT content by type
Book page

Accessing an MSP buffer~

Define a global t_symbol called ps_buffer:

t_symbol *ps_buffer;

Do this in the main function:

void main(void){
...
ps_buffer = gensym("buffer~");
...
}

This function should convert a buffer name into an actual buffer:

t_buffer* _sym_to_buffer(t_symbol* s) {
 t_buffer *b;

Book page

Drivers and Installation

# Remove any existing drivers:

sudo rm -rf /System/Library/Extensions/sky2_multi.kext
sudo rm -rf /System/Library/Extensions/RboxAudioDriver.kext
sudo rm -rf /System/Library/Extensions/Meyer120AudioDriver.kext
sudo rm -rf /System/Library/Extensions/DodecAudioDriver.kext
sudo rm -rf /System/Library/Extensions/TouchpadAudioDriver.kext

Book page

Telematic (remote) rehearsals and concerts

Here are some basic instructions for setting up a "Telematic" (remote) rehearsal/performance using AULab and the AUNetSend/Receive Audio Unit plugins.

  1. Get a copy of AULab: it comes with the Developer tools from Apple, but you may be able to download it separately. It should include the AUNet* plugins--you shouldn't have to download them separately.
Book page

Programming Boot Modification

The programming boot for the BTE hearing aid was modified to support simultaneous programming and direct audio input.

[inline-center:1]
[inline-center:2]

A small hole is drilled into the side of the boot.

[inline-center:3]

A pair of wires carrying the audio input are soldered directly to the internal connectors.

[inline-center:4]

Binaural DAI + Reprogramming.

Book page

CNMAT Mac MINI

TASCAM US-122L audio interface
PreSonus headphone amplifier
Mac MINI
2Ghz Intel Core 2 Duo
OSX 10.5.5
1GB 667Mhz DDR2 SDRAM

Book page

Level Calibration

Digital "SPL" reference:

The full-scale sinusoid is considered 120 dB SPL.
SPL meters are not weighted (e.g. A, C, etc). (@todo)
Music files are normalized to 72 dB SPL, and about 30 seconds long, and extracted from the "loudest part" of the music selection.

Book page

MaxMSP Setup

Instructions:

- Put the maxlib- folder into the MaxMSP path
e.g. Cycling '74 directory), or add it to the path (Options > File Preferences)
*Note that very long paths may be problematic in MaxMSP's buggy file opener.
An error, e.g. "can't open" in the Max status window means bad things
- Open main patch, exp/ui/comp_interface_16b.

DSP settings:

- 44.1 khz

Book page

Labyrint, for saxophone and orchestra

I started writing _Labirynt_ while I was on a Fulbright grant in Poland. The spelling is polish, although
the word is ancient. In retrospect though, it seems to be a very American piece. I also started with the
idea of not writing a concerto, but rather a piece for soloist and orchestra that was more cooperative.
But, oftentimes compositions go their own ways.

Book page

FACE project (French-American exchange)

A three-year project involving CNMAT/Music Dept./UC Berkeley and the Centre National de Création Musicale (CIRM), the Conservatoire National de Région de Nice (CNR), and the Université de Nice Sophia-Antipolis (UNSA). The scope of the documentation will include text, photos and audio samples from participating student annd faculty composers.

Book page

Pin and Port I/O

Two methods are provided to interact with digital and analog I/O pins--at the individual pin level, and in pin-groups at the "port" level. The port mode is used for high-speed reporting of inputs. The pin/port message names are dependent on the hardware platform and correspond to the silk-screened names. The examples here use /ra and /rb consistent with the Sparkfun Bitwacker--for the CUI the equivalent would be /a, /b, /c, /d and /an.

The value of an analog input pin is reported as a floating-point number normalized to the range [0.0 - 1.0], inclusive.

Book page

Using Subversion

What is Subversion?

Subversion ("svn") is a version control system; it manages successive revisions of files, keeping track of the latest version of each file, which versions of other files are associated with particular versions of a file, etc. It can be used to:

Book page

$CNMAT_MAX_DIR Environment Variable

By default a MaxMSP XCode Project must live in cnmat/trunk/max/(dir1)/(dir2)/(dir3) so that the relative path "../../../makefile.per-object" points to the shared makefile. Typically this relative path "../../../" is also used in the XCode build settings to locate the relevant c74support directory and its header files.

Pages