Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data IdMap a = IdMap {
- idMapContent :: Map a Int
- idMapNewId :: Int
- saveId :: Ord a => a -> State (IdMap a) Int
- newIdMapId :: State (IdMap a) Int
- type GenMap = IdMap Gen
- newGen :: Gen -> State GenMap Int
- newGenId :: State GenMap Int
- nextGlobalGenCounter :: State Int Int
- newTabOfGens :: [Gen] -> State GenMap Int
- type WriteGenMap = [(Int, Gen)]
- newWriteGen :: Gen -> State WriteGenMap E
- newWriteTab :: Int -> State WriteGenMap E
- data SfFluid = SfFluid {}
- data SfSpec = SfSpec {}
- type SfMap = IdMap SfSpec
- newSf :: SfSpec -> State SfMap Int
- sfVar :: Int -> E
- renderSf :: Monad m => SfSpec -> Int -> DepT m ()
- data BandLimited
- data BandLimitedMap = BandLimitedMap {}
- data BandLimitedId
- saveBandLimited :: BandLimited -> State BandLimitedMap BandLimitedId
- renderBandLimited :: Monad m => GenMap -> BandLimitedMap -> DepT m ()
- readBandLimited :: Maybe E -> BandLimitedId -> E -> E
- readHardSyncBandLimited :: Maybe BandLimitedId -> Maybe E -> BandLimitedId -> E -> E -> E
- type StringMap = IdMap Text
- newString :: Text -> State StringMap Prim
- data MidiType
- type Channel = Int
- type MidiMap m = Map MidiKey (DepT m ())
- data MidiKey = MidiKey MidiType Channel
- saveMidiInstr :: Monad m => MidiType -> Channel -> DepT m () -> MidiMap m -> MidiMap m
- data Globals = Globals {
- globalsNewId :: Int
- globalsVars :: [AllocVar]
- newPersistentGlobalVar :: Rate -> E -> State Globals Var
- newClearableGlobalVar :: Rate -> E -> State Globals Var
- newPersistentGloabalArrVar :: Rate -> [E] -> State Globals Var
- renderGlobals :: Monad m => Globals -> (DepT m (), DepT m ())
- bpmVarName :: Text
- bpmVar :: Var
- data Instrs = Instrs {
- instrsCache :: Map ByteString InstrId
- instrsNewId :: Int
- instrsContent :: [(InstrId, InstrBody)]
- saveInstr :: InstrBody -> State Instrs InstrId
- getInstrIds :: Instrs -> [InstrId]
- newtype NamedInstrs = NamedInstrs {
- unNamedInstrs :: [(Text, InstrBody)]
- saveNamedInstr :: Text -> InstrBody -> State NamedInstrs ()
- type InstrBody = E
- getIn :: Monad m => Int -> DepT m [E]
- sendOut :: Monad m => Int -> [E] -> DepT m ()
- sendChn :: Monad m => Int -> Int -> [E] -> DepT m ()
- sendGlobal :: Monad m => Int -> [E] -> State Globals ([E], DepT m ())
- chnPargId :: Int -> Int
- data Event = Event {
- eventInstrId :: E
- eventStart :: E
- eventDur :: E
- eventArgs :: [E]
- data ChnRef = ChnRef {
- chnRefId :: E
- chnRefNames :: [E]
- chnRefFromParg :: Int -> Int -> ChnRef
- chnRefAlloc :: Monad m => Int -> DepT m ChnRef
- readChn :: Monad m => ChnRef -> DepT m [E]
- writeChn :: Monad m => ChnRef -> [E] -> DepT m ()
- chnUpdateUdo :: Monad m => DepT m ()
- subinstr :: Int -> InstrId -> [E] -> [E]
- subinstr_ :: Monad m => InstrId -> [E] -> DepT m ()
- event_i :: Monad m => Event -> DepT m ()
- event :: Monad m => Event -> DepT m ()
- safeOut :: Double -> [E] -> [E]
- autoOff :: Monad m => E -> [E] -> DepT m [E]
- changed :: E -> E
- data OscListenPorts
- getOscPortVar :: Int -> State (OscListenPorts, Globals) Var
- type MacrosInits = Map Text MacrosInit
- data MacrosInit
- = MacrosInitDouble { }
- | MacrosInitString { }
- | MacrosInitInt { }
- initMacros :: MacrosInit -> State MacrosInits ()
- data UdoPlugin
- addUdoPlugin :: UdoPlugin -> State [UdoPlugin] ()
- getUdoPluginNames :: [UdoPlugin] -> [Text]
- tabQueuePlugin :: UdoPlugin
- tabQueue2Plugin :: UdoPlugin
- zdfPlugin :: UdoPlugin
- solinaChorusPlugin :: UdoPlugin
- audaciouseqPlugin :: UdoPlugin
- adsr140Plugin :: UdoPlugin
- diodePlugin :: UdoPlugin
- korg35Plugin :: UdoPlugin
- zeroDelayConvolutionPlugin :: UdoPlugin
- pitchShifterDelayPlugin :: UdoPlugin
- analogDelayPlugin :: UdoPlugin
- distortionPlugin :: UdoPlugin
- envelopeFolollowerPlugin :: UdoPlugin
- flangerPlugin :: UdoPlugin
- freqShifterPlugin :: UdoPlugin
- loFiPlugin :: UdoPlugin
- panTremPlugin :: UdoPlugin
- monoTremPlugin :: UdoPlugin
- phaserPlugin :: UdoPlugin
- pitchShifterPlugin :: UdoPlugin
- reversePlugin :: UdoPlugin
- ringModulatorPlugin :: UdoPlugin
- stChorusPlugin :: UdoPlugin
- stereoPingPongDelayPlugin :: UdoPlugin
- tapeEchoPlugin :: UdoPlugin
- delay1kPlugin :: UdoPlugin
- liveRowPlugin :: UdoPlugin
- liveRowsPlugin :: UdoPlugin
- ambiRowPlugin :: UdoPlugin
- ambiRowMp3Plugin :: UdoPlugin
Identifiers
IdMap | |
|
Gens
type WriteGenMap = [(Int, Gen)] Source #
newWriteGen :: Gen -> State WriteGenMap E Source #
newWriteTab :: Int -> State WriteGenMap E Source #
Band-limited waveforms
data BandLimited Source #
Instances
Eq BandLimited Source # | |
Defined in Csound.Typed.GlobalState.Elements (==) :: BandLimited -> BandLimited -> Bool # (/=) :: BandLimited -> BandLimited -> Bool # | |
Ord BandLimited Source # | |
Defined in Csound.Typed.GlobalState.Elements compare :: BandLimited -> BandLimited -> Ordering # (<) :: BandLimited -> BandLimited -> Bool # (<=) :: BandLimited -> BandLimited -> Bool # (>) :: BandLimited -> BandLimited -> Bool # (>=) :: BandLimited -> BandLimited -> Bool # max :: BandLimited -> BandLimited -> BandLimited # min :: BandLimited -> BandLimited -> BandLimited # |
data BandLimitedMap Source #
Instances
Default BandLimitedMap Source # | |
Defined in Csound.Typed.GlobalState.Elements def :: BandLimitedMap # | |
Eq BandLimitedMap Source # | |
Defined in Csound.Typed.GlobalState.Elements (==) :: BandLimitedMap -> BandLimitedMap -> Bool # (/=) :: BandLimitedMap -> BandLimitedMap -> Bool # | |
Ord BandLimitedMap Source # | |
Defined in Csound.Typed.GlobalState.Elements compare :: BandLimitedMap -> BandLimitedMap -> Ordering # (<) :: BandLimitedMap -> BandLimitedMap -> Bool # (<=) :: BandLimitedMap -> BandLimitedMap -> Bool # (>) :: BandLimitedMap -> BandLimitedMap -> Bool # (>=) :: BandLimitedMap -> BandLimitedMap -> Bool # max :: BandLimitedMap -> BandLimitedMap -> BandLimitedMap # min :: BandLimitedMap -> BandLimitedMap -> BandLimitedMap # |
data BandLimitedId Source #
Instances
Eq BandLimitedId Source # | |
Defined in Csound.Typed.GlobalState.Elements (==) :: BandLimitedId -> BandLimitedId -> Bool # (/=) :: BandLimitedId -> BandLimitedId -> Bool # | |
Ord BandLimitedId Source # | |
Defined in Csound.Typed.GlobalState.Elements compare :: BandLimitedId -> BandLimitedId -> Ordering # (<) :: BandLimitedId -> BandLimitedId -> Bool # (<=) :: BandLimitedId -> BandLimitedId -> Bool # (>) :: BandLimitedId -> BandLimitedId -> Bool # (>=) :: BandLimitedId -> BandLimitedId -> Bool # max :: BandLimitedId -> BandLimitedId -> BandLimitedId # min :: BandLimitedId -> BandLimitedId -> BandLimitedId # |
renderBandLimited :: Monad m => GenMap -> BandLimitedMap -> DepT m () Source #
readBandLimited :: Maybe E -> BandLimitedId -> E -> E Source #
readHardSyncBandLimited :: Maybe BandLimitedId -> Maybe E -> BandLimitedId -> E -> E -> E Source #
String arguments
Midi
Global variables
Globals | |
|
bpmVarName :: Text Source #
Instruments
Instrs | |
|
getInstrIds :: Instrs -> [InstrId] Source #
Named instruments
newtype NamedInstrs Source #
NamedInstrs | |
|
Instances
Default NamedInstrs Source # | |
Defined in Csound.Typed.GlobalState.Elements def :: NamedInstrs # |
saveNamedInstr :: Text -> InstrBody -> State NamedInstrs () Source #
Src
chnUpdateUdo :: Monad m => DepT m () Source #
OSC listen ports
data OscListenPorts Source #
Instances
Default OscListenPorts Source # | |
Defined in Csound.Typed.GlobalState.Elements def :: OscListenPorts # |
getOscPortVar :: Int -> State (OscListenPorts, Globals) Var Source #
Macros inits
type MacrosInits = Map Text MacrosInit Source #
data MacrosInit Source #
Instances
Show MacrosInit Source # | |
Defined in Csound.Typed.GlobalState.Elements showsPrec :: Int -> MacrosInit -> ShowS # show :: MacrosInit -> String # showList :: [MacrosInit] -> ShowS # | |
Eq MacrosInit Source # | |
Defined in Csound.Typed.GlobalState.Elements (==) :: MacrosInit -> MacrosInit -> Bool # (/=) :: MacrosInit -> MacrosInit -> Bool # | |
Ord MacrosInit Source # | |
Defined in Csound.Typed.GlobalState.Elements compare :: MacrosInit -> MacrosInit -> Ordering # (<) :: MacrosInit -> MacrosInit -> Bool # (<=) :: MacrosInit -> MacrosInit -> Bool # (>) :: MacrosInit -> MacrosInit -> Bool # (>=) :: MacrosInit -> MacrosInit -> Bool # max :: MacrosInit -> MacrosInit -> MacrosInit # min :: MacrosInit -> MacrosInit -> MacrosInit # |
initMacros :: MacrosInit -> State MacrosInits () Source #
Udo plugins
getUdoPluginNames :: [UdoPlugin] -> [Text] Source #