hsc3-auditor-0.15: Haskell SuperCollider Auditor

Safe HaskellNone
LanguageHaskell98

Sound.SC3.Auditor.TR808

Description

TR808 sample library based auditioner.

Synopsis

Documentation

data TR808 Source

Enumeration of TR808 instruments.

Constructors

BD

Bass Drum

SD

Snare Drum

LT'

Low Tom

MT

Mid Tom

HT

High Tom

LC

Low Conga

MC

Mid Conga

HC

High Conga

RS

Rim Shot

CL

Claves

CP

Hand Clap

MA

Maracas

CB

Cow Bell

CY

Cymbal

OH

Open Hi-Hat

CH

Closed Hi-Hat

data Position Source

Controller positions to index sample library.

Constructors

P0 
P1 
P2 
P3 
P4 

type Parameters = [Position] Source

Set of relevant Position data.

position_text :: Position -> String Source

Translate Position to String encoding in file names.

tr808_n_param :: TR808 -> Int Source

Function to give number of parameters for each TR808 instrument.

tr808_abbrev :: TR808 -> String Source

Prettty printer variant of Show instance for TR808.

tr808_name :: TR808 -> String Source

TR808 instrument names.

tr808_file_name :: TR808 -> Parameters -> FilePath Source

Generate FilePath for TR808 instrument with indicated Parameters.

tr808_file_names :: TR808 -> [FilePath] Source

Generate full set of FilePath for all Positions of TR808.

tr808_file_map :: [FilePath] Source

The complete set of TR808 sample FilePaths.

tr808_set :: [(TR808, [Parameters])] Source

The set of all Parameters for a TR808 instrument.

tr808_variant :: TR808 -> Int -> Maybe Parameters Source

Lookup tr808_set for the nth variant of TR808.

tr808_u :: [(TR808, Parameters)] Source

The set of all TR808 data.

tr808_index :: TR808 -> Parameters -> Index Source

Lookup Index for TR808 at indicated Parameters.

tr808_alloc_osc :: FilePath -> (FilePath, Int) -> Message Source

Buffer allocate and read message for scsynth.

tr808_alloc_all_osc :: FilePath -> [Message] Source

Complete set of tr808_alloc_osc messages for TR808.

tr808_alloc_subset_osc :: FilePath -> Sample_Loader Source

Variant of tr808_alloc_all_osc to load required subset of library.

au_load_tr808_set :: Transport m => FilePath -> m () Source

Send OSC set given by tr808_alloc_all_osc to scsynth at Transport.