资 源 简 介
The Suite Muzak Machine is a tool for sample-based music
composition. Its core functionality is very simple:
An edition is represented by a text file, the score,
which
* provides meta data such as title for the edition;
* identifies notes with clips by associating short names with filenames;
* can specify parts of sound files in terms of seconds and frames;
* finally, specifies track as a sequence of notes.
As it stands, the entire application is centered around
two Python classes:
* the Score class parses a score text file and turns it into a (JSON-compatible) data structure;
* the Machine class that uses a Score instance to find media sources, preprocesses them, and finally plays them back as instructed by the score.
Here is a sample score, passion.suimm.score:
```
~title: passion
@home: ./the-flirts-passion
@fr