scamp package
SCAMP: A Suite for Computer-Assisted Music in Python. SCAMP is an computer-assisted composition framework in Python designed to act as a hub, flexibly connecting the composer-programmer to a wide variety of resources for playback and notation.
Modules:
Module containing user-facing playback classes: |
|
Module containing the NoteProperties object, which is a dictionary that stores a variety of playback and notation options that affect a given note. |
|
Module containing the |
|
Module containing classes for defining adjustments to the playback of note parameters, as well as the |
|
Module containing the abstract base class |
|
Module containing classes and functions related to the quantization of performances. |
|
Module containing classes that deal with music notation. |
|
Module containing the |
|
Module containing the main settings classes: |
|
Module containing start and stop spanner objects in SCAMP, such as |
|
Module containing the |
|
Simple module with a |
|
Module containing utilities for representing text in SCAMP, currently containing the |
|
Module containing the |
|
Various and sundry utility functions used by SCAMP. |
Public-Facing API (result of import *):
|
Return a list of (name, state, detail) tuples describing the status of each optional dependency. |
|
Print which optional features are available in this scamp install. |
|
Probes the available devices for midi input or output |
|
Probes the available devices for midi input or output |
|
Get the port number of a given device based on its a fuzzy string match of its name. |
|
Prints a list of available ports and devices for midi input or output |
|
Prints a list of available ports and devices for midi input or output |
|
Prints a list of all the presets available in the given soundfont; useful for finding the name of the instrument you want to load. |
|
Recursively nestable clock. |
|
Fine-tuning options for a clock family, passed to a master |
|
Units with which we measure duration or Moment positioning. |
|
The three different, and mutually determined, ways of expressing tempo. |
|
Raised inside a forked clock's own thread when its wait is woken by kill(), so the fork wrapper can unwind the user function cleanly. |
|
Base class for clockblocks errors. |
|
Raised when something tries to wait or fork on a clock that's no longer ALIVE (either killed already, or — for fork — still PENDING in its start_delay). |
|
Raised when a context-inferring clock operation (the module-level wait/fork/etc.) is attempted from a thread that has no clock active on it. |
|
Raised by operations that are only valid on the master (top-level) clock — e.g. run_as_server() — when called on a child clock. |
|
Raised when wait() is called from a thread that is holding the scheduler via hold_scheduler() — most commonly inside a MIDI / OSC / HID callback, which runs under such a hold. |
|
Raised when wait() is called from a thread that doesn't own the clock. |
|
Class representing a particular point in a (beat or measure) cycle. |
|
Represents a point on a clock's timeline. |
|
A subclass of |
|
Drive the current clock's beat length (in seconds per beat) by following a function of beats/time. |
|
Drive the current clock's rate (in beats per second) by following a function of beats/time. |
|
Append a ready-made |
|
Drive the current clock's tempo (in beats per minute) by following a function of beats/time. |
Get the |
|
|
Run |
|
Return how many beats have passed on the currently active clock (see |
Return the current beat length (in seconds per beat) of the currently active clock (see |
|
|
Return the current rate (in beats per second) of the currently active clock (see |
Return the current tempo (in beats per minute) of the currently active clock (see |
|
|
Return how much time has passed on the currently active clock (see |
|
Immediately set the beat length of the current clock (see |
|
Smoothly change the current clock's beat length to |
|
Set several beat-length targets at once, building a multi-segment tempo curve on the current clock. |
|
Immediately set the rate of the current clock (see |
|
Smoothly change the current clock's rate to |
|
Set several rate targets at once, building a multi-segment tempo curve on the current clock. |
|
Immediately set the tempo of the current clock (see |
|
Smoothly change the current clock's tempo to |
|
Set several tempo targets at once, building a multi-segment tempo curve on the current clock. |
Stop following any function or looping envelope previously started on the current clock's tempo (via |
|
Kill the child clocks of the currently active clock, returning once they have finished unwinding (see |
|
|
Block the clock currently active on this thread for |
Block on the currently active clock until its child clocks have finished (see |
|
|
Block on the currently active clock until clock has finished (see |
Block forever on the currently active clock (see |
|
|
Block the clock currently active on this thread until the absolute beat (or time, if |
|
Class representing a piece-wise exponential function. |
|
A segment of an envelope, with the ability to perform interpolation and integration. |
|
This handle, returned by instrument.start_chord, allows us to manipulate a chord that we have started, (i.e. by changing pitch, volume, or another other parameter, or by ending the note). |
|
Host for multiple |
|
This handle, which is returned by instrument.start_note, allows us to manipulate the note that we have started, (i.e. by changing pitch, volume, or another other parameter, or by ending the note). |
|
Instrument class that does the playing of the notes. |
|
Class that holds information about any and all playback or notational details for a note or chord aside from its pitch, volume and duration. |
|
Representation of note playback events, usually a transcription of the notes played by an |
|
Represents a single note played by a |
|
Transcription of the notes played by a single |
|
Represents an adjustment to the pitch, volume and/or length of the playback of a single note |
|
Represents a multiply/add playback adjustment to a single parameter. |
Playback implementation that sends an outgoing MIDI stream to an external synthesizer / program |
|
|
Playback implementation that sends outgoing OSC messages to an external synthesizer / program |
Abstract base class for playback implementations, which do the actual work of playback, either by playing sounds or by sending messages to external synthesizers to play sounds. |
|
Playback implementation that does Soundfont playback, via the MIDI protocol. |
|
|
Scheme for making a decision about which divisor to use to quantize a beat |
|
Scheme for quantizing a measure, including beat lengths and which beat divisors to allow. |
|
Scheme for quantizing a |
|
Class representing the time signature of a measure |
|
Representation of a single measure within in a Staff |
|
Represents a note, chord, or rest that can be notated without ties |
|
Representation of a score in traditional western notation. |
|
Representation of a single staff of a western-notated score |
|
Representation of a StaffGroup (used for the multiple staves of a single instrument) |
|
Representation of a Tuplet object within a single voice of music. |
|
Representation of a single voice within a single measure of a single staff of music. |
|
A Session combines the functionality of a master Clock, an Ensemble, and a Transcriber. |
|
Instance of |
|
Instance of |
|
Instance of |
|
Change piano pedal spanner. |
|
Start bracket spanner (e.g. a text bracket with a hook). |
|
Start dashes spanner. |
|
Start hairpin spanner. |
|
Start piano pedal spanner. |
|
Phrasing slurs are an additional type of slur available in LilyPond useful for creating long, overarching slurs that can have smaller, regular slurs inside of them. |
|
Start slur spanner type. |
|
Start trill spanner. |
|
Stop bracket spanner. |
|
Stop dashes spanner. |
|
Stop hairpin spanner. |
|
Stop piano pedal spanner. |
|
Stop spanner for a phrasing slur. |
|
Stop slur spanner type. |
|
Stop trill spanner. |
|
Object that translates pitches or pitch classes to the actual spelling used in a score |
|
Represents text that will be attached to the staff at a given note. |
Class responsible for transcribing notes played by instruments into a |