Included Applications and Example Code

Applications in the distribution

Example code in the distribution

There are two kinds of programming examples. Programs with names entirely in lowercase, such as playscorefile, are command-line programs. Programs with names beginning with an uppercase letter, such as PlayNote, are applications (i.e. graphic-interface programs).

The complete set of programs is listed below. For further information on a given programming example, see the README file in its directory.

Simple command-line programming examples

playpart

Create notes algorithmically and play them.

playscorefile

Read a scorefile into a MKScore and play it on the DSP.

playscorefile2

Read a scorefile and play it on the DSP as it is read.

playscorefilemidi

Play scorefile through MIDI out.

mixscorefiles

Mix any number of scorefiles and write the result out.

process_soundfiles_dsp

Process a sound file through the DSP (non-real-time). Includes MKSynthPatches for resonating and enveloping sounds.

mixsounds

Soundfile mixer that shows how to make your own MKInstrument (non-real-time).

exampleSynthPatch

Demonstrates how to build a MKSynthPatch and play it.

exampleUnitGenerator

Demonstrates how to build a MKUnitGenerator.

example1

Simple MKNote and MKScore generation.

example2

Demonstration of playing MKNotes.

example3

Simple algorithmic melody generation.

example4

Simple algorithmic melody generation using MKPart.

example5

Demonstration of MKUnitGenerators.

Simple application programming examples

Metronome

Simple note playing.

MidiFilePlayback

Play MIDI files with samples using MKSamplePlayerInstrument.

MidiEcho

Take MIDI in, generate echoes, and send to MIDI output.

MidiLoop

Take MIDI input and send it right out MIDI again.

MidiPlay

Take MIDI input and play the DSP.

MidiRecord

Read MIDI input into a MKScore obj, write a scorefile.

PerformerExample

Adjust algorithmically-generated music playing on DSP.

PlayNote

Click a button to play and adjust notes on the DSP.

QuintProcessor

Interactive application for the Ariel QuintProcessor.

SineGen

Interactively adjust the frequency of a sine wave.