haskore-0.1.0.3: The Haskore Computer Music System
Source code
Contents
Index
Haskore.Interface.CSound.SoundMap
Documentation
type
SoundId
=
Instrument
Source
type
InstrumentId
=
SoundId
Source
type
DrumId
=
SoundId
Source
type
Attribute
=
PField
Source
type
AttributeList
= [
Attribute
]
Source
type
ToSound
instr = instr -> (
AttributeList
,
SoundId
)
Source
attributeControl
::
Int
->
SigExp
Source
type
InstrumentTable
out instr = [(instr,
InstrumentSigExp
out)]
Source
type
InstrumentTableWithAttributes
out instr = [
InstrumentAssociation
out instr]
Source
type
InstrumentSigExp
out =
SigExp
->
SigExp
->
SigExp
-> out
Source
data
InstrumentAssociation
out instr
Source
Constructors
InstrumentAssociation
InstrumentId
(instr ->
Maybe
AttributeList
) out
lookupInstrument
::
InstrumentTableWithAttributes
out instr ->
ToSound
instr
Source
instrumentTableToInstrBlocks
::
InstrumentTableWithAttributes
out instr -> [
InstrBlock
out]
Source
addInstrumentControls
::
InstrumentSigExp
out -> out
Source
instrumentAssociation
:: (parameterTuple ->
AttributeList
) -> (graph ->
InstrumentSigExp
out) ->
InstrumentId
-> (instr ->
Maybe
parameterTuple) -> graph ->
InstrumentAssociation
out instr
Source
instrument
::
InstrumentId
-> (instr ->
Maybe
()
) ->
InstrumentSigExp
out ->
InstrumentAssociation
out instr
Source
instrumentEq
::
Eq
instrument =>
InstrumentId
-> instrument ->
InstrumentSigExp
out ->
InstrumentAssociation
out instrument
Source
instrument1
::
InstrumentId
-> (instr ->
Maybe
Attribute
) -> (
SigExp
->
InstrumentSigExp
out) ->
InstrumentAssociation
out instr
Source
instrument2
::
InstrumentId
-> (instr ->
Maybe
(
Attribute
,
Attribute
)) -> (
SigExp
->
SigExp
->
InstrumentSigExp
out) ->
InstrumentAssociation
out instr
Source
instrument3
::
InstrumentId
-> (instr ->
Maybe
(
Attribute
,
Attribute
,
Attribute
)) -> (
SigExp
->
SigExp
->
SigExp
->
InstrumentSigExp
out) ->
InstrumentAssociation
out instr
Source
instrument4
::
InstrumentId
-> (instr ->
Maybe
(
Attribute
,
Attribute
,
Attribute
,
Attribute
)) -> (
SigExp
->
SigExp
->
SigExp
->
SigExp
->
InstrumentSigExp
out) ->
InstrumentAssociation
out instr
Source
type
DrumTable
out drum = [(drum,
DrumSigExp
out)]
Source
type
DrumTableWithAttributes
out drum = [
DrumAssociation
out drum]
Source
type
DrumSigExp
out =
SigExp
->
SigExp
-> out
Source
data
DrumAssociation
out drum
Source
Constructors
DrumAssociation
DrumId
(drum ->
Maybe
AttributeList
) out
lookupDrum
::
DrumTableWithAttributes
out drum ->
ToSound
drum
Source
drumTableToInstrBlocks
::
DrumTableWithAttributes
out instr -> [
InstrBlock
out]
Source
addDrumControls
::
DrumSigExp
out -> out
Source
drumAssociation
:: (parameterTuple ->
AttributeList
) -> (graph ->
DrumSigExp
out) ->
DrumId
-> (drum ->
Maybe
parameterTuple) -> graph ->
DrumAssociation
out drum
Source
drum
::
DrumId
-> (drum ->
Maybe
()
) ->
DrumSigExp
out ->
DrumAssociation
out drum
Source
drumEq
::
Eq
drum =>
DrumId
-> drum ->
DrumSigExp
out ->
DrumAssociation
out drum
Source
drum1
::
DrumId
-> (drum ->
Maybe
Attribute
) -> (
SigExp
->
DrumSigExp
out) ->
DrumAssociation
out drum
Source
drum2
::
DrumId
-> (drum ->
Maybe
(
Attribute
,
Attribute
)) -> (
SigExp
->
SigExp
->
DrumSigExp
out) ->
DrumAssociation
out drum
Source
drum3
::
DrumId
-> (drum ->
Maybe
(
Attribute
,
Attribute
,
Attribute
)) -> (
SigExp
->
SigExp
->
SigExp
->
DrumSigExp
out) ->
DrumAssociation
out drum
Source
drum4
::
DrumId
-> (drum ->
Maybe
(
Attribute
,
Attribute
,
Attribute
,
Attribute
)) -> (
SigExp
->
SigExp
->
SigExp
->
SigExp
->
DrumSigExp
out) ->
DrumAssociation
out drum
Source
Produced by
Haddock
version 2.6.1