-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | opcodes for the library csound-expression -- @package csound-expression-opcodes @version 0.0.2 module Csound.Typed.Opcode.Miscellaneous -- | returns the length of a Farey Sequence. -- -- This opcode can be used in conjunction with GENfarey. It calculates -- the length of Farey Sequence Fn. Its length is given by: |Fn| = 1 + -- SUM over n phi(m) where phi(m) is Euler's totient function, which -- gives the number of integers ⤠m that are coprime to m. -- --
-- kfl fareylen kfn ---- -- csound doc: http://www.csounds.com/manual/html/fareylen.html fareylen :: Tab -> Sig -- | returns the length of a Farey Sequence. -- -- This opcode can be used in conjunction with GENfarey. It calculates -- the length of Farey Sequence Fn. Its length is given by: |Fn| = 1 + -- SUM over n phi(m) where phi(m) is Euler's totient function, which -- gives the number of integers ⤠m that are coprime to m. -- --
-- ifl fareyleni ifn ---- -- csound doc: http://www.csounds.com/manual/html/fareyleni.html fareyleni :: Tab -> D -- | Modulation matrix opcode with optimizations for sparse matrices. -- -- The opcode can be used to let a large number of k-rate modulator -- variables modulate a large number of k-rate parameter variables, with -- arbitrary scaling of each modulator-to-parameter connection. Csound -- ftables are used to hold both the input (parameter) variables, the -- modulator variables, and the scaling coefficients. Output variables -- are written to another Csound ftable. -- --
-- modmatrix iresfn, isrcmodfn, isrcparmfn, imodscale, inum_mod, \\ -- inum_parm, kupdate ---- -- csound doc: http://www.csounds.com/manual/html/modmatrix.html modmatrix :: Tab -> Tab -> Tab -> D -> D -> D -> Sig -> SE () -- | Asks the underlying operating system for the current directory name as -- a string. -- -- pwd call the operating system to determine the current directory -- (folder). pwd runs at i-time only. -- --
-- Sres pwd ---- -- csound doc: http://www.csounds.com/manual/html/pwd.html pwd :: Str -- | Call an external program via the system call -- -- system and system_i call any external command understood by the -- operating system, similarly to the C function system(). system_i runs -- at i-time only, while system runs both at initialization and -- performance time. -- --
-- ires system_i itrig, Scmd, [inowait] ---- -- csound doc: http://www.csounds.com/manual/html/system.html system_i :: D -> Str -> D -- | Call an external program via the system call -- -- system and system_i call any external command understood by the -- operating system, similarly to the C function system(). system_i runs -- at i-time only, while system runs both at initialization and -- performance time. -- --
-- kres system ktrig, Scmd, [knowait] ---- -- csound doc: http://www.csounds.com/manual/html/system.html system :: Sig -> Str -> Sig -- | shuffles the content of a function table so that each element of the -- source table is put into a different random position. -- -- This opcode can be used in order to shuffle the content of function -- tables into a random order but without loosing any of the elements. -- Imagine shuffling a deck of cards. Each element of the table is copied -- to a different random position. If that position was already chosen -- before then the next free position is chosen. The length of the table -- remains the same. -- --
-- tableshuffle ktablenum ---- -- csound doc: -- http://www.csounds.com/manual/html/tableshuffle.html tableshuffle :: Sig -> SE () -- | shuffles the content of a function table so that each element of the -- source table is put into a different random position. -- -- This opcode can be used in order to shuffle the content of function -- tables into a random order but without loosing any of the elements. -- Imagine shuffling a deck of cards. Each element of the table is copied -- to a different random position. If that position was already chosen -- before then the next free position is chosen. The length of the table -- remains the same. -- --
-- tableshufflei itablenum ---- -- csound doc: -- http://www.csounds.com/manual/html/tableshuffle.html tableshufflei :: D -> SE () module Csound.Typed.Opcode.ImageProcessingOpcodes -- | Create an empty image of a given size. -- -- Create an empty image of a given size. Individual pixel values can -- then be set with. imagegetpixel. -- --
-- iimagenum imagecreate iwidth, iheight ---- -- csound doc: http://www.csounds.com/manual/html/imagecreate.html imagecreate :: D -> D -> SE D -- | Frees memory allocated for a previously loaded or created image. -- --
-- imagefree iimagenum ---- -- csound doc: http://www.csounds.com/manual/html/imagefree.html imagefree :: D -> SE () -- | Return the RGB pixel values of a previously opened or created image. -- -- Return the RGB pixel values of a previously opened or created image. -- An image can be loaded with imageload. An empty image can be created -- with imagecreate. -- --
-- ared, agreen, ablue imagegetpixel iimagenum, ax, ay -- kred, kgreen, kblue imagegetpixel iimagenum, kx, ky ---- -- csound doc: -- http://www.csounds.com/manual/html/imagegetpixel.html imagegetpixel :: D -> Sig -> Sig -> (Sig, Sig, Sig) -- | Load an image. -- -- Load an image and return a reference to it. Individual pixel values -- can then be accessed with imagegetpixel. -- --
-- iimagenum imageload filename ---- -- csound doc: http://www.csounds.com/manual/html/imageload.html imageload :: Spec -> SE D -- | Save a previously created image. -- -- Save a previously created image. An empty image can be created with -- imagecreate and its pixel RGB values can be set with imagesetpixel. -- The image will be saved in PNG format. -- --
-- imagesave iimagenum, filename ---- -- csound doc: http://www.csounds.com/manual/html/imagesave.html imagesave :: D -> Spec -> SE () -- | Set the RGB value of a pixel inside a previously opened or created -- image. -- -- Set the RGB value of a pixel inside a previously opened or created -- image. An image can be loaded with imageload. An empty image can be -- created with imagecreate and saved with imagesave. -- --
-- imagesetpixel iimagenum, ax, ay, ared, agreen, ablue -- imagesetpixel iimagenum, kx, ky, kred, kgreen, kblue ---- -- csound doc: -- http://www.csounds.com/manual/html/imagesetpixel.html imagesetpixel :: D -> Sig -> Sig -> Sig -> Sig -> Sig -> SE () -- | Return the width and height of a previously opened or created image. -- -- Return the width and height of a previously opened or created image. -- An image can be loaded with imageload. An empty image can be created -- with imagecreate. -- --
-- iwidth, iheight imagesize iimagenum ---- -- csound doc: http://www.csounds.com/manual/html/imagesize.html imagesize :: D -> (D, D) module Csound.Typed.Opcode.MixerOpcodes -- | Resets all channels of a buss to 0. -- --
-- MixerClear ---- -- csound doc: http://www.csounds.com/manual/html/MixerClear.html mixerClear :: SE () -- | Gets the level of a send to a buss. -- -- Gets the level at which signals from the send are being added to the -- buss. The actual sending of the signal to the buss is performed by the -- MixerSend opcode. -- --
-- kgain MixerGetLevel isend, ibuss ---- -- csound doc: -- http://www.csounds.com/manual/html/MixerGetLevel.html mixerGetLevel :: D -> D -> SE Sig -- | Receives an arate signal from a channel of a buss. -- -- Receives an arate signal that has been mixed onto a channel of a buss. -- --
-- asignal MixerReceive ibuss, ichannel ---- -- csound doc: -- http://www.csounds.com/manual/html/MixerReceive.html mixerReceive :: D -> D -> SE Sig -- | Mixes an arate signal into a channel of a buss. -- --
-- MixerSend asignal, isend, ibuss, ichannel ---- -- csound doc: http://www.csounds.com/manual/html/MixerSend.html mixerSend :: Sig -> D -> D -> D -> SE () -- | Sets the level of a send to a buss. -- -- Sets the level at which signals from the send are added to the buss. -- The actual sending of the signal to the buss is performed by the -- MixerSend opcode. -- --
-- MixerSetLevel isend, ibuss, kgain ---- -- csound doc: -- http://www.csounds.com/manual/html/MixerSetLevel.html mixerSetLevel :: D -> D -> Sig -> SE () -- | Sets the level of a send to a buss. -- -- Sets the level at which signals from the send are added to the buss. -- This opcode, because all parameters are irate, may be used in the -- orchestra header. The actual sending of the signal to the buss is -- performed by the MixerSend opcode. -- --
-- MixerSetLevel_i isend, ibuss, igain ---- -- csound doc: -- http://www.csounds.com/manual/html/MixerSetLevel_i.html mixerSetLevel_i :: D -> D -> D -> SE () module Csound.Typed.Opcode.RemoteOpcodes -- | An opcode which can be used to implement a remote orchestra. This -- opcode will send note events from a source machine to many -- destinations. -- -- With the insremot and insglobal opcodes you are able to perform -- instruments on remote machines and control them from a master machine. -- The remote opcodes are implemented using the master/client model. All -- the machines involved contain the same orchestra but only the master -- machine contains the information of the score. During the performance -- the master machine sends the note events to the clients. The insglobal -- opcode sends the events to all the machines involved in the remote -- concert. These machines are determined by the insremot definitions -- made above the insglobal command. To send events to only one machine -- use insremot. -- --
-- insglobal isource, instrnum [,instrnum...] ---- -- csound doc: http://www.csounds.com/manual/html/insglobal.html insglobal :: D -> D -> SE () -- | An opcode which can be used to implement a remote orchestra. This -- opcode will send note events from a source machine to one destination. -- -- With the insremot and insglobal opcodes you are able to perform -- instruments on remote machines and control them from a master machine. -- The remote opcodes are implemented using the master/client model. All -- the machines involved contain the same orchestra but only the master -- machine contains the information of the score. During the performance -- the master machine sends the note events to the clients. The insremot -- opcode will send events from a source machine to one destination if -- you want to send events to many destinations (broadcast) use the -- insglobal opcode instead. These two opcodes can be used in -- combination. -- --
-- insremot idestination, isource, instrnum [,instrnum...] ---- -- csound doc: http://www.csounds.com/manual/html/insremot.html insremot :: D -> D -> D -> SE () -- | An opcode which can be used to implement a remote midi orchestra. This -- opcode will broadcast the midi events to all the machines involved in -- the remote concert. -- -- With the midremot and midglobal opcodes you are able to perform -- instruments on remote machines and control them from a master machine. -- The remote opcodes are implemented using the master/client model. All -- the machines involved contain the same orchestra but only the master -- machine contains the information of the midi score. During the -- performance the master machine sends the midi events to the clients. -- The midglobal opcode sends the events to all the machines involved in -- the remote concert. These machines are determined by the midremot -- definitions made above the midglobal command. To send events to only -- one machine use midremot. -- --
-- midglobal isource, instrnum [,instrnum...] ---- -- csound doc: http://www.csounds.com/manual/html/midglobal.html midglobal :: D -> D -> SE () -- | An opcode which can be used to implement a remote midi orchestra. This -- opcode will send midi events from a source machine to one destination. -- -- With the midremot and midglobal opcodes you are able to perform -- instruments on remote machines and control them from a master machine. -- The remote opcodes are implemented using the master/client model. All -- the machines involved contain the same orchestra but only the master -- machine contains the information of the midi score. During the -- performance the master machine sends the midi events to the clients. -- The midremot opcode will send events from a source machine to one -- destination if you want to send events to many destinations -- (broadcast) use the midglobal opcode instead. These two opcodes can be -- used in combination. -- --
-- midremot idestination, isource, instrnum [,instrnum...] ---- -- csound doc: http://www.csounds.com/manual/html/midremot.html midremot :: D -> D -> D -> SE () module Csound.Typed.Opcode.Network -- | Defines the port for use with the remote system. -- -- Defines the port for use with the insremot, midremot, insglobal and -- midglobal opcodes. -- --
-- remoteport iportnum ---- -- csound doc: http://www.csounds.com/manual/html/remoteport.html remoteport :: D -> SE () -- | Receives data from other processes using the low-level UDP or TCP -- protocols -- -- Receives directly using the UDP (sockrecv and sockrecvs) or TCP -- (strecv) protocol onto a network. The data is not subject to any -- encoding or special routing. The sockrecvs opcode receives a stereo -- signal interleaved. -- --
-- asig sockrecv iport, ilength ---- -- csound doc: http://www.csounds.com/manual/html/sockrecv.html sockrecv :: D -> D -> Sig -- | Receives data from other processes using the low-level UDP or TCP -- protocols -- -- Receives directly using the UDP (sockrecv and sockrecvs) or TCP -- (strecv) protocol onto a network. The data is not subject to any -- encoding or special routing. The sockrecvs opcode receives a stereo -- signal interleaved. -- --
-- asigl, asigr sockrecvs iport, ilength ---- -- csound doc: http://www.csounds.com/manual/html/sockrecv.html sockrecvs :: D -> D -> (Sig, Sig) -- | Receives data from other processes using the low-level UDP or TCP -- protocols -- -- Receives directly using the UDP (sockrecv and sockrecvs) or TCP -- (strecv) protocol onto a network. The data is not subject to any -- encoding or special routing. The sockrecvs opcode receives a stereo -- signal interleaved. -- --
-- asig strecv Sipaddr, iport ---- -- csound doc: http://www.csounds.com/manual/html/sockrecv.html strecv :: Str -> D -> Sig -- | Sends data to other processes using the low-level UDP or TCP protocols -- -- Transmits data directly using the UDP (socksend and socksends) or TCP -- (stsend) protocol onto a network. The data is not subject to any -- encoding or special routing. The socksends opcode send a stereo signal -- interleaved. -- --
-- socksend asig, Sipaddr, iport, ilength ---- -- csound doc: http://www.csounds.com/manual/html/socksend.html socksend :: Sig -> Str -> D -> D -> SE () -- | Sends data to other processes using the low-level UDP or TCP protocols -- -- Transmits data directly using the UDP (socksend and socksends) or TCP -- (stsend) protocol onto a network. The data is not subject to any -- encoding or special routing. The socksends opcode send a stereo signal -- interleaved. -- --
-- socksends asigl, asigr, Sipaddr, iport, -- ilength ---- -- csound doc: http://www.csounds.com/manual/html/socksend.html socksends :: Sig -> Sig -> Str -> D -> D -> SE () -- | Sends data to other processes using the low-level UDP or TCP protocols -- -- Transmits data directly using the UDP (socksend and socksends) or TCP -- (stsend) protocol onto a network. The data is not subject to any -- encoding or special routing. The socksends opcode send a stereo signal -- interleaved. -- --
-- stsend asig, Sipaddr, iport ---- -- csound doc: http://www.csounds.com/manual/html/socksend.html stsend :: Sig -> Str -> D -> SE () module Csound.Typed.Opcode.OSC -- | Start a listening process for OSC messages to a particular port. -- -- Starts a listening process, which can be used by OSClisten. -- --
-- ihandle OSCinit iport ---- -- csound doc: http://www.csounds.com/manual/html/OSCinit.html oscInit :: D -> SE D -- | Listen for OSC messages to a particular path. -- -- On each k-cycle looks to see if an OSC message has been send to a -- given path of a given type. -- --
-- kans OSClisten ihandle, idest, itype [, xdata1, xdata2, ...] ---- -- csound doc: http://www.csounds.com/manual/html/OSClisten.html oscListen :: D -> D -> D -> [Sig] -> SE Sig -- | Sends data to other processes using the OSC protocol -- -- Uses the OSC protocol to send message to other OSC listening -- processes. -- --
-- OSCsend kwhen, ihost, iport, idestination, itype [, kdata1, kdata2, ...] ---- -- csound doc: http://www.csounds.com/manual/html/OSCsend.html oscSend :: Sig -> D -> D -> D -> D -> [Sig] -> SE () module Csound.Typed.Opcode.PluginHosting -- | Activates or deactivates a DSSI or LADSPA plugin. -- -- dssiactivate is used to activate or deactivate a DSSI or LADSPA -- plugin. It calles the plugin's activate() and deactivate() functions -- if they are provided. -- --
-- dssiactivate ihandle, ktoggle ---- -- csound doc: -- http://www.csounds.com/manual/html/dssiactivate.html dssiactivate :: D -> Sig -> SE () -- | Processes audio using a LADSPA or DSSI plugin. -- -- dssiaudio generates audio by processing an input signal through a -- LADSPA plugin. -- --
-- [aout1, aout2, ..., aout9] dssiaudio ihandle, [ain1, ain2, ..., ain9] ---- -- csound doc: http://www.csounds.com/manual/html/dssiaudio.html dssiaudio :: Tuple a => D -> [Sig] -> a -- | Send control information to a LADSPA or DSSI plugin. -- -- dssictls sends control values to a plugin's control port -- --
-- dssictls ihandle, iport, kvalue, ktrigger ---- -- csound doc: http://www.csounds.com/manual/html/dssictls.html dssictls :: D -> D -> Sig -> Sig -> SE () -- | Loads a DSSI or LADSPA plugin. -- -- dssiinit is used to load a DSSI or LADSPA plugin into memory for use -- with the other dssi4cs opcodes. Both LADSPA effects and DSSI -- instruments can be used. -- --
-- ihandle dssiinit ilibraryname, iplugindex [, iverbose] ---- -- csound doc: http://www.csounds.com/manual/html/dssiinit.html dssiinit :: D -> D -> SE D -- | Lists all available DSSI and LADSPA plugins. -- -- dssilist checks the variables DSSI_PATH and LADSPA_PATH and lists all -- plugins available in all plugin libraries there. -- --
-- dssilist ---- -- csound doc: http://www.csounds.com/manual/html/dssilist.html dssilist :: SE () vstaudio :: D -> (Sig, Sig) vstaudiog :: D -> (Sig, Sig) -- | Loads parameter banks to a VST plugin. -- -- vstbankload is used for loading parameter banks to a VST plugin. -- --
-- vstbankload instance, ipath ---- -- csound doc: http://www.csounds.com/manual/html/vstbankload.html vstbankload :: D -> D -> SE () -- | Opens the GUI editor window for a VST plugin. -- -- vstedit opens the custom GUI editor window for a VST plugin. Note that -- not all VST plugins have custom GUI editors. It may be necessary to -- use the --displays command-line option to ensure that Csound handles -- events from the editor window and displays it properly. -- --
-- vstedit instance ---- -- csound doc: http://www.csounds.com/manual/html/vstedit.html vstedit :: D -> SE () -- | Displays the parameters and the programs of a VST plugin. -- -- vstinfo displays the parameters and the programs of a VST plugin. -- --
-- vstinfo instance ---- -- csound doc: http://www.csounds.com/manual/html/vstinfo.html vstinfo :: D -> SE () -- | Load a VST plugin into memory for use with the other vst4cs opcodes. -- -- vstinit is used to load a VST plugin into memory for use with the -- other vst4cs opcodes. Both VST effects and instruments (synthesizers) -- can be used. -- --
-- instance vstinit ilibrarypath [,iverbose] ---- -- csound doc: http://www.csounds.com/manual/html/vstinit.html vstinit :: D -> SE D -- | Sends MIDI information to a VST plugin. -- -- vstmidiout is used for sending MIDI information to a VST plugin. -- --
-- vstmidiout instance, kstatus, kchan, kdata1, kdata2 ---- -- csound doc: http://www.csounds.com/manual/html/vstmidiout.html vstmidiout :: D -> Sig -> Sig -> Sig -> Sig -> SE () -- | Sends a MIDI note with definite duration to a VST plugin. -- -- vstnote sends a MIDI note with definite duration to a VST plugin. -- --
-- vstnote instance, kchan, knote, kveloc, kdur -- ---- -- csound doc: http://www.csounds.com/manual/html/vstnote.html vstnote :: D -> Sig -> Sig -> Sig -> Sig -> SE () vstparamset :: D -> Sig -> Sig -> SE () vstparamget :: D -> Sig -> Sig -- | Loads parameter banks to a VST plugin. -- -- vstprogset sets one of the programs in an .fxb bank. -- --
-- vstprogset instance, kprogram ---- -- csound doc: http://www.csounds.com/manual/html/vstprogset.html vstprogset :: D -> Sig -> SE () module Csound.Typed.Opcode.ZakPatchSystem -- | Clears one or more variables in the za space. -- --
-- zacl kfirst, klast ---- -- csound doc: http://www.csounds.com/manual/html/zacl.html zacl :: Sig -> Sig -> SE () -- | Establishes zak space. -- -- Establishes zak space. Must be called only once. -- --
-- zakinit isizea, isizek ---- -- csound doc: http://www.csounds.com/manual/html/zakinit.html zakinit :: D -> D -> SE () -- | Modulates one a-rate signal by a second one. -- --
-- ares zamod asig, kzamod ---- -- csound doc: http://www.csounds.com/manual/html/zamod.html zamod :: Sig -> Sig -> Sig -- | Reads from a location in za space at a-rate. -- --
-- ares zar kndx ---- -- csound doc: http://www.csounds.com/manual/html/zar.html zar :: Sig -> Sig -- | Reads from a location in za space at a-rate, adds some gain. -- --
-- ares zarg kndx, kgain ---- -- csound doc: http://www.csounds.com/manual/html/zarg.html zarg :: Sig -> Sig -> Sig -- | Writes to a za variable at a-rate without mixing. -- --
-- zaw asig, kndx ---- -- csound doc: http://www.csounds.com/manual/html/zaw.html zaw :: Sig -> Sig -> SE () -- | Writes to a za variable at a-rate with mixing. -- --
-- zawm asig, kndx [, imix] ---- -- csound doc: http://www.csounds.com/manual/html/zawm.html zawm :: Sig -> Sig -> SE () -- | Reads from a location in zk space at i-rate. -- --
-- ir zir indx ---- -- csound doc: http://www.csounds.com/manual/html/zir.html zir :: D -> D -- | Writes to a zk variable at i-rate without mixing. -- --
-- ziw isig, indx ---- -- csound doc: http://www.csounds.com/manual/html/ziw.html ziw :: D -> D -> SE () -- | Writes to a zk variable to an i-rate variable with mixing. -- --
-- ziwm isig, indx [, imix] ---- -- csound doc: http://www.csounds.com/manual/html/ziwm.html ziwm :: D -> D -> SE () -- | Clears one or more variables in the zk space. -- --
-- zkcl kfirst, klast ---- -- csound doc: http://www.csounds.com/manual/html/zkcl.html zkcl :: Sig -> Sig -> SE () -- | Facilitates the modulation of one signal by another. -- --
-- kres zkmod ksig, kzkmod ---- -- csound doc: http://www.csounds.com/manual/html/zkmod.html zkmod :: Sig -> Sig -> Sig -- | Reads from a location in zk space at k-rate. -- --
-- kres zkr kndx ---- -- csound doc: http://www.csounds.com/manual/html/zkr.html zkr :: Sig -> Sig -- | Writes to a zk variable at k-rate without mixing. -- --
-- zkw ksig, kndx ---- -- csound doc: http://www.csounds.com/manual/html/zkw.html zkw :: Sig -> Sig -> SE () -- | Writes to a zk variable at k-rate with mixing. -- --
-- zkwm ksig, kndx [, imix] ---- -- csound doc: http://www.csounds.com/manual/html/zkwm.html zkwm :: Sig -> Sig -> SE () module Csound.Typed.Opcode.Vectorial -- | Read vectors (from tables -or arrays of vectors). -- -- This opcode reads vectors from tables at a-rate. -- --
-- vtaba andx, ifn, aout1 [, aout2, aout3, .... , aoutN ] ---- -- csound doc: http://www.csounds.com/manual/html/vtaba.html vtaba :: Sig -> Tab -> Sig -> SE () -- | Read vectors (from tables -or arrays of vectors). -- -- This opcode reads vectors from tables. -- --
-- vtabi indx, ifn, iout1 [, iout2, iout3, .... , ioutN ] ---- -- csound doc: http://www.csounds.com/manual/html/vtabi.html vtabi :: D -> Tab -> D -> SE () -- | Read vectors (from tables -or arrays of vectors). -- -- This opcode reads vectors from tables at k-rate. -- --
-- vtabk kndx, ifn, kout1 [, kout2, kout3, .... , koutN ] ---- -- csound doc: http://www.csounds.com/manual/html/vtabk.html vtabk :: Sig -> Tab -> Sig -> SE () -- | Read a vector (several scalars simultaneously) from a table. -- -- This opcode reads vectors from tables at k-rate. -- --
-- vtable1k kfn,kout1 [, kout2, kout3, .... , koutN ] ---- -- csound doc: http://www.csounds.com/manual/html/vtable1k.html vtable1k :: Tab -> Sig -> SE () -- | Read vectors (from tables -or arrays of vectors). -- -- This opcode reads vectors from tables at a-rate. -- --
-- vtablea andx, kfn, kinterp, ixmode, aout1 [, aout2, aout3, .... , aoutN ] ---- -- csound doc: http://www.csounds.com/manual/html/vtablea.html vtablea :: Sig -> Tab -> Sig -> D -> Sig -> SE () -- | Read vectors (from tables -or arrays of vectors). -- -- This opcode reads vectors from tables. -- --
-- vtablei indx, ifn, interp, ixmode, iout1 [, iout2, iout3, .... , ioutN ] ---- -- csound doc: http://www.csounds.com/manual/html/vtablei.html vtablei :: D -> Tab -> D -> D -> D -> SE () -- | Read vectors (from tables -or arrays of vectors). -- -- This opcode reads vectors from tables at k-rate. -- --
-- vtablek kndx, kfn, kinterp, ixmode, kout1 [, kout2, kout3, .... , koutN ] ---- -- csound doc: http://www.csounds.com/manual/html/vtablek.html vtablek :: Sig -> Tab -> Sig -> D -> Sig -> SE () -- | Write vectors (to tables -or arrays of vectors). -- -- This opcode writes vectors to tables at a-rate. -- --
-- vtablewa andx, kfn, ixmode, ainarg1 [, ainarg2, ainarg3 , .... , ainargN ] ---- -- csound doc: http://www.csounds.com/manual/html/vtablewa.html vtablewa :: Sig -> Tab -> D -> Sig -> SE () -- | Write vectors (to tables -or arrays of vectors). -- -- This opcode writes vectors to tables at init time. -- --
-- vtablewi indx, ifn, ixmode, inarg1 [, inarg2, inarg3 , .... , inargN ] ---- -- csound doc: http://www.csounds.com/manual/html/vtablewi.html vtablewi :: D -> Tab -> D -> D -> SE () -- | Write vectors (to tables -or arrays of vectors). -- -- This opcode writes vectors to tables at k-rate. -- --
-- vtablewk kndx, kfn, ixmode, kinarg1 [, kinarg2, kinarg3 , .... , kinargN ] ---- -- csound doc: http://www.csounds.com/manual/html/vtablewk.html vtablewk :: Sig -> Tab -> D -> Sig -> SE () -- | Write vectors (to tables -or arrays of vectors). -- -- This opcode writes vectors to tables at a-rate. -- --
-- vtabwa andx, ifn, ainarg1 [, ainarg2, ainarg3 , .... , ainargN ] ---- -- csound doc: http://www.csounds.com/manual/html/vtabwa.html vtabwa :: Sig -> Tab -> Sig -> SE () -- | Write vectors (to tables -or arrays of vectors). -- -- This opcode writes vectors to tables at init time. -- --
-- vtabwi indx, ifn, inarg1 [, inarg2, inarg3 , .... , inargN ] ---- -- csound doc: http://www.csounds.com/manual/html/vtabwi.html vtabwi :: D -> Tab -> D -> SE () -- | Write vectors (to tables -or arrays of vectors). -- -- This opcode writes vectors to tables at k-rate. -- --
-- vtabwk kndx, ifn, kinarg1 [, kinarg2, kinarg3 , .... , kinargN ] ---- -- csound doc: http://www.csounds.com/manual/html/vtabwk.html vtabwk :: Sig -> Tab -> Sig -> SE () -- | Adds a scalar value to a vector in a table. -- --
-- vadd ifn, kval, kelements [, kdstoffset] [, kverbose] ---- -- csound doc: http://www.csounds.com/manual/html/vadd.html vadd :: Tab -> Sig -> Sig -> SE () -- | Adds a scalar value to a vector in a table. -- --
-- vadd_i ifn, ival, ielements [, idstoffset] ---- -- csound doc: http://www.csounds.com/manual/html/vadd_i.html vadd_i :: Tab -> D -> D -> SE () -- | Performs power-of operations between a vector and a scalar -- --
-- vexp ifn, kval, kelements [, kdstoffset] [, kverbose] ---- -- csound doc: http://www.csounds.com/manual/html/vexp.html vexp :: Tab -> Sig -> Sig -> SE () -- | Performs power-of operations between a vector and a scalar -- --
-- vexp_i ifn, ival, ielements[, idstoffset] ---- -- csound doc: http://www.csounds.com/manual/html/vexp_i.html vexp_i :: Tab -> D -> D -> SE () -- | Multiplies a vector in a table by a scalar value. -- --
-- vmult ifn, kval, kelements [, kdstoffset] [, kverbose] ---- -- csound doc: http://www.csounds.com/manual/html/vmult.html vmult :: Tab -> Sig -> Sig -> SE () -- | Multiplies a vector in a table by a scalar value. -- --
-- vmult_i ifn, ival, ielements [, idstoffset] ---- -- csound doc: http://www.csounds.com/manual/html/vmult_i.html vmult_i :: Tab -> D -> D -> SE () -- | Raises each element of a vector to a scalar power. -- --
-- vpow ifn, kval, kelements [, kdstoffset] [, kverbose] ---- -- csound doc: http://www.csounds.com/manual/html/vpow.html vpow :: Tab -> Sig -> Sig -> SE () -- | Raises each element of a vector to a scalar power -- --
-- vpow_i ifn, ival, ielements [, idstoffset] ---- -- csound doc: http://www.csounds.com/manual/html/vpow_i.html vpow_i :: Tab -> D -> D -> SE () -- | Performs addition between two vectorial control signals. -- --
-- vaddv ifn1, ifn2, kelements [, kdstoffset] [, ksrcoffset] [,kverbose] ---- -- csound doc: http://www.csounds.com/manual/html/vaddv.html vaddv :: Tab -> Tab -> Sig -> SE () -- | Performs addition between two vectorial control signals at init time. -- --
-- vaddv_i ifn1, ifn2, ielements [, idstoffset] [, isrcoffset] ---- -- csound doc: http://www.csounds.com/manual/html/vaddv_i.html vaddv_i :: Tab -> Tab -> D -> SE () -- | Copies between two vectorial control signals -- --
-- vcopy ifn1, ifn2, kelements [, kdstoffset] [, ksrcoffset] [, kverbose] ---- -- csound doc: http://www.csounds.com/manual/html/vcopy.html vcopy :: Tab -> Tab -> Sig -> SE () -- | Copies a vector from one table to another. -- --
-- vcopy_i ifn1, ifn2, ielements [,idstoffset, isrcoffset] ---- -- csound doc: http://www.csounds.com/manual/html/vcopy_i.html vcopy_i :: Tab -> Tab -> D -> SE () -- | Performs division between two vectorial control signals -- --
-- vdivv ifn1, ifn2, kelements [, kdstoffset] [, ksrcoffset] [,kverbose] ---- -- csound doc: http://www.csounds.com/manual/html/vdivv.html vdivv :: Tab -> Tab -> Sig -> SE () -- | Performs division between two vectorial control signals at init time. -- --
-- vdivv_i ifn1, ifn2, ielements [, idstoffset] [, isrcoffset] ---- -- csound doc: http://www.csounds.com/manual/html/vdivv_i.html vdivv_i :: Tab -> Tab -> D -> SE () -- | Performs exponential operations between two vectorial control signals -- --
-- vexpv ifn1, ifn2, kelements [, kdstoffset] [, ksrcoffset] [,kverbose] ---- -- csound doc: http://www.csounds.com/manual/html/vexpv.html vexpv :: Tab -> Tab -> Sig -> SE () -- | Performs exponential operations between two vectorial control signals -- at init time. -- --
-- vexpv_i ifn1, ifn2, ielements [, idstoffset] [, isrcoffset] ---- -- csound doc: http://www.csounds.com/manual/html/vexpv_i.html vexpv_i :: Tab -> Tab -> D -> SE () -- | Maps elements from a vector according to indexes contained in another -- vector. -- -- Maps elements from a vector onto another according to the indexes of a -- this vector. -- --
-- vmap ifn1, ifn2, ielements [,idstoffset, isrcoffset] ---- -- csound doc: http://www.csounds.com/manual/html/vmap.html vmap :: Tab -> Tab -> D -> SE () -- | Performs mutiplication between two vectorial control signals -- --
-- vmultv ifn1, ifn2, kelements [, kdstoffset] [, ksrcoffset] [,kverbose] ---- -- csound doc: http://www.csounds.com/manual/html/vmultv.html vmultv :: Tab -> Tab -> Sig -> SE () -- | Performs mutiplication between two vectorial control signals at init -- time. -- --
-- vmultv_i ifn1, ifn2, ielements [, idstoffset] [, isrcoffset] ---- -- csound doc: http://www.csounds.com/manual/html/vmultv_i.html vmultv_i :: Tab -> Tab -> D -> SE () -- | Performs power-of operations between two vectorial control signals -- --
-- vpowv ifn1, ifn2, kelements [, kdstoffset] [, ksrcoffset] [,kverbose] ---- -- csound doc: http://www.csounds.com/manual/html/vpowv.html vpowv :: Tab -> Tab -> Sig -> SE () -- | Performs power-of operations between two vectorial control signals at -- init time. -- --
-- vpowv_i ifn1, ifn2, ielements [, idstoffset] [, isrcoffset] ---- -- csound doc: http://www.csounds.com/manual/html/vpowv_i.html vpowv_i :: Tab -> Tab -> D -> SE () -- | Performs subtraction between two vectorial control signals -- --
-- vsubv ifn1, ifn2, kelements [, kdstoffset] [, ksrcoffset] [,kverbose] ---- -- csound doc: http://www.csounds.com/manual/html/vsubv.html vsubv :: Tab -> Tab -> Sig -> SE () -- | Performs subtraction between two vectorial control signals at init -- time. -- --
-- vsubv_i ifn1, ifn2, ielements [, idstoffset] [, isrcoffset] ---- -- csound doc: http://www.csounds.com/manual/html/vsubv_i.html vsubv_i :: Tab -> Tab -> D -> SE () -- | Vectorial envelope generator -- -- Generate exponential vectorial segments -- --
-- vexpseg ifnout, ielements, ifn1, idur1, ifn2 [, idur2, ifn3 [...]] ---- -- csound doc: http://www.csounds.com/manual/html/vexpseg.html vexpseg :: Tab -> D -> Tab -> D -> Tab -> SE () -- | Vectorial envelope generator -- -- Generate linear vectorial segments -- --
-- vlinseg ifnout, ielements, ifn1, idur1, ifn2 [, idur2, ifn3 [...]] ---- -- csound doc: http://www.csounds.com/manual/html/vlinseg.html vlinseg :: Tab -> D -> Tab -> D -> Tab -> SE () -- | Limiting and Wrapping Vectorial Signals -- -- Limits elements of vectorial control signals. -- --
-- vlimit ifn, kmin, kmax, ielements ---- -- csound doc: http://www.csounds.com/manual/html/vlimit.html vlimit :: Tab -> Sig -> Sig -> D -> SE () -- | Limiting and Wrapping Vectorial Signals -- -- Reflects elements of vectorial control signals on thresholds. -- --
-- vmirror ifn, kmin, kmax, ielements ---- -- csound doc: http://www.csounds.com/manual/html/vmirror.html vmirror :: Tab -> Sig -> Sig -> D -> SE () -- | Limiting and Wrapping Vectorial Signals -- -- Wraps elements of vectorial control signals. -- --
-- vwrap ifn, kmin, kmax, ielements ---- -- csound doc: http://www.csounds.com/manual/html/vwrap.html vwrap :: Tab -> Sig -> Sig -> D -> SE () -- | k-rate variable time delay. -- -- Variable delay applied to a k-rate signal -- --
-- kout vdelayk ksig, kdel, imaxdel [, iskip, imode] ---- -- csound doc: http://www.csounds.com/manual/html/vdelayk.html vdelayk :: Sig -> Sig -> D -> Sig -- | Vectorial Control-rate Delay Paths -- -- Generate a sort of vectorial delay -- --
-- vecdelay ifn, ifnIn, ifnDel, ielements, imaxdel [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/vecdelay.html vecdelay :: Tab -> Tab -> Tab -> D -> D -> SE () -- | Vectorial Control-rate Delay Paths -- -- Generate a sort of vectorial portamento -- --
-- vport ifn, khtime, ielements [, ifnInit] ---- -- csound doc: http://www.csounds.com/manual/html/vport.html vport :: Tab -> Sig -> D -> SE () -- | Generates a vector of random numbers stored into a table, holding the -- values for a period of time. -- -- Generates a vector of random numbers stored into a table, holding the -- values for a period of time. Generates a sort of 'vectorial -- band-limited noise'. -- --
-- vrandh ifn, krange, kcps, ielements [, idstoffset] [, iseed] \ -- [, isize] [, ioffset] ---- -- csound doc: http://www.csounds.com/manual/html/vrandh.html vrandh :: Tab -> Sig -> Sig -> D -> SE () -- | Generate a sort of 'vectorial band-limited noise' -- --
-- vrandi ifn, krange, kcps, ielements [, idstoffset] [, iseed] \ -- [, isize] [, ioffset] ---- -- csound doc: http://www.csounds.com/manual/html/vrandi.html vrandi :: Tab -> Sig -> Sig -> D -> SE () -- | Cellular Automaton -- -- One-Dimensional Cellular Automaton. This opcode is the modified -- version of vcella by Gabriel Maldonado. -- --
-- cell ktrig, kreinit, ioutFunc, initStateFunc, iRuleFunc, ielements ---- -- csound doc: http://www.csounds.com/manual/html/cell.html cell :: Sig -> Sig -> D -> D -> D -> D -> SE () -- | Cellular Automata -- -- Unidimensional Cellular Automata applied to Csound vectors -- --
-- vcella ktrig, kreinit, ioutFunc, initStateFunc, \ -- iRuleFunc, ielements, irulelen [, iradius] ---- -- csound doc: http://www.csounds.com/manual/html/vcella.html vcella :: Sig -> Sig -> D -> D -> D -> D -> D -> SE () module Csound.Typed.Opcode.Strings -- | Set string variable to value from strset table or string p-field -- -- strget sets a string variable at initialization time to the value -- stored in strset table at the specified index, or a string p-field -- from the score. If there is no string defined for the index, the -- variable is set to an empty string. -- --
-- Sdst strget indx ---- -- csound doc: http://www.csounds.com/manual/html/strget.html strget :: D -> Str -- | Allows a string to be linked with a numeric value. -- --
-- strset iarg, istring ---- -- csound doc: http://www.csounds.com/manual/html/strset.html strset :: D -> D -> SE () -- | Print a string constant or variable -- -- puts prints a string with an optional newline at the end whenever the -- trigger signal is positive and changes. -- --
-- puts Sstr, ktrig[, inonl] ---- -- csound doc: http://www.csounds.com/manual/html/puts.html puts :: Str -> Sig -> SE () -- | printf-style formatted output to a string variable. -- -- sprintf write printf-style formatted output to a string variable, -- similarly to the C function sprintf(). sprintf runs at i-time only. -- --
-- Sdst sprintf Sfmt, xarg1[, xarg2[, ... ]] ---- -- csound doc: http://www.csounds.com/manual/html/sprintf.html sprintf :: Str -> Sig -> Str -- | printf-style formatted output to a string variable at k-rate. -- -- sprintfk writes printf-style formatted output to a string variable, -- similarly to the C function sprintf(). sprintfk runs both at -- initialization and performance time. -- --
-- Sdst sprintfk Sfmt, xarg1[, xarg2[, ... ]] ---- -- csound doc: http://www.csounds.com/manual/html/sprintfk.html sprintfk :: Str -> Sig -> Str -- | Concatenate strings -- -- Concatenate two strings and store the result in a variable. strcat -- runs at i-time only. It is allowed for any of the input arguments to -- be the same as the output variable. -- --
-- Sdst strcat Ssrc1, Ssrc2 ---- -- csound doc: http://www.csounds.com/manual/html/strcat.html strcat :: Str -> Str -> Str -- | Concatenate strings (k-rate) -- -- Concatenate two strings and store the result in a variable. strcatk -- does the concatenation both at initialization and performance time. It -- is allowed for any of the input arguments to be the same as the output -- variable. -- --
-- Sdst strcatk Ssrc1, Ssrc2 ---- -- csound doc: http://www.csounds.com/manual/html/strcatk.html strcatk :: Str -> Str -> Str -- | Compare strings -- -- Compare strings and set the result to -1, 0, or 1 if the first string -- is less than, equal to, or greater than the second, respectively. -- strcmp compares at i-time only. -- --
-- ires strcmp S1, S2 ---- -- csound doc: http://www.csounds.com/manual/html/strcmp.html strcmp :: Str -> Str -> D -- | Compare strings -- -- Compare strings and set the result to -1, 0, or 1 if the first string -- is less than, equal to, or greater than the second, respectively. -- strcmpk does the comparison both at initialization and performance -- time. -- --
-- kres strcmpk S1, S2 ---- -- csound doc: http://www.csounds.com/manual/html/strcmpk.html strcmpk :: Str -> Str -> Sig -- | Assign value to a string variable -- -- Assign to a string variable by copying the source which may be a -- constant or another string variable. strcpy and = copy the string at -- i-time only. -- --
-- Sdst strcpy Ssrc ---- -- csound doc: http://www.csounds.com/manual/html/strcpy.html strcpy :: Str -> Str -- | Assign value to a string variable (k-rate) -- -- Assign to a string variable by copying the source which may be a -- constant or another string variable. strcpyk does the assignment both -- at initialization and performance time. -- --
-- Sdst strcpyk Ssrc ---- -- csound doc: http://www.csounds.com/manual/html/strcpyk.html strcpyk :: Str -> Str -- | Return the position of the first occurence of a string in another -- string -- -- Return the position of the first occurence of S2 in S1, or -1 if not -- found. If S2 is empty, 0 is returned. strindex runs at init time only. -- --
-- ipos strindex S1, S2 ---- -- csound doc: http://www.csounds.com/manual/html/strindex.html strindex :: Str -> Str -> D -- | Return the position of the first occurence of a string in another -- string -- -- Return the position of the first occurence of S2 in S1, or -1 if not -- found. If S2 is empty, 0 is returned. strindexk runs both at init and -- performance time. -- --
-- kpos strindexk S1, S2 ---- -- csound doc: http://www.csounds.com/manual/html/strindexk.html strindexk :: Str -> Str -> Sig -- | Return the length of a string -- -- Return the length of a string, or zero if it is empty. strlen runs at -- init time only. -- --
-- ilen strlen Sstr ---- -- csound doc: http://www.csounds.com/manual/html/strlen.html strlen :: Str -> D -- | Return the length of a string -- -- Return the length of a string, or zero if it is empty. strlenk runs -- both at init and performance time. -- --
-- klen strlenk Sstr ---- -- csound doc: http://www.csounds.com/manual/html/strlenk.html strlenk :: Str -> Sig -- | Return the position of the last occurence of a string in another -- string -- -- Return the position of the last occurence of S2 in S1, or -1 if not -- found. If S2 is empty, the length of S1 is returned. strrindex runs at -- init time only. -- --
-- ipos strrindex S1, S2 ---- -- csound doc: http://www.csounds.com/manual/html/strrindex.html strrindex :: Str -> Str -> D -- | Return the position of the last occurence of a string in another -- string -- -- Return the position of the last occurence of S2 in S1, or -1 if not -- found. If S2 is empty, the length of S1 is returned. strrindexk runs -- both at init and performance time. -- --
-- kpos strrindexk S1, S2 ---- -- csound doc: http://www.csounds.com/manual/html/strrindexk.html strrindexk :: Str -> Str -> Sig -- | Extract a substring -- -- Return a substring of the source string. strsub runs at init time -- only. -- --
-- Sdst strsub Ssrc[, istart[, iend]] ---- -- csound doc: http://www.csounds.com/manual/html/strsub.html strsub :: Str -> Str -- | Extract a substring -- -- Return a substring of the source string. strsubk runs both at init and -- performance time. -- --
-- Sdst strsubk Ssrc, kstart, kend ---- -- csound doc: http://www.csounds.com/manual/html/strsubk.html strsubk :: Str -> Sig -> Sig -> Str -- | Return the ASCII code of a character in a string -- -- Return the ASCII code of the character in Sstr at ipos (defaults to -- zero which means the first character), or zero if ipos is out of -- range. strchar runs at init time only. -- --
-- ichr strchar Sstr[, ipos] ---- -- csound doc: http://www.csounds.com/manual/html/strchar.html strchar :: Str -> D -- | Return the ASCII code of a character in a string -- -- Return the ASCII code of the character in Sstr at kpos (defaults to -- zero which means the first character), or zero if kpos is out of -- range. strchark runs both at init and performance time. -- --
-- kchr strchark Sstr[, kpos] ---- -- csound doc: http://www.csounds.com/manual/html/strchark.html strchark :: Str -> Sig -- | Convert a string to lower case -- -- Convert Ssrc to lower case, and write the result to Sdst. strlower -- runs at init time only. -- --
-- Sdst strlower Ssrc ---- -- csound doc: http://www.csounds.com/manual/html/strlower.html strlower :: Str -> Str -- | Convert a string to lower case -- -- Convert Ssrc to lower case, and write the result to Sdst. strlowerk -- runs both at init and performance time. -- --
-- Sdst strlowerk Ssrc ---- -- csound doc: http://www.csounds.com/manual/html/strlowerk.html strlowerk :: Str -> Str -- | Converts a string to a float (i-rate). -- -- Convert a string to a floating point value. It is also possible to -- pass an strset index or a string p-field from the score instead of a -- string argument. If the string cannot be parsed as a floating point or -- integer number, an init or perf error occurs and the instrument is -- deactivated. -- --
-- ir strtod Sstr -- ir strtod indx ---- -- csound doc: http://www.csounds.com/manual/html/strtod.html strtod :: Str -> D -- | Converts a string to a float (k-rate). -- -- Convert a string to a floating point value at i- or k-rate. It is also -- possible to pass an strset index or a string p-field from the score -- instead of a string argument. If the string cannot be parsed as a -- floating point or integer number, an init or perf error occurs and the -- instrument is deactivated. -- --
-- kr strtodk Sstr -- kr strtodk kndx ---- -- csound doc: http://www.csounds.com/manual/html/strtodk.html strtodk :: Str -> Sig -- | Converts a string to a signed integer (i-rate). -- -- Convert a string to a signed integer value. It is also possible to -- pass an strset index or a string p-field from the score instead of a -- string argument. If the string cannot be parsed as an integer number, -- an init error occurs and the instrument is deactivated. -- --
-- ir strtol Sstr -- ir strtol indx ---- -- csound doc: http://www.csounds.com/manual/html/strtol.html strtol :: Str -> D -- | Converts a string to a signed integer (k-rate). -- -- Convert a string to a signed integer value at i- or k-rate. It is also -- possible to pass an strset index or a string p-field from the score -- instead of a string argument. If the string cannot be parsed as an -- integer number, an init or perf error occurs and the instrument is -- deactivated. -- --
-- kr strtolk Sstr -- kr strtolk kndx ---- -- csound doc: http://www.csounds.com/manual/html/strtolk.html strtolk :: Str -> Sig -- | Convert a string to upper case -- -- Convert Ssrc to upper case, and write the result to Sdst. strupper -- runs at init time only. -- --
-- Sdst strupper Ssrc ---- -- csound doc: http://www.csounds.com/manual/html/strupper.html strupper :: Str -> Str -- | Convert a string to upper case -- -- Convert Ssrc to upper case, and write the result to Sdst. strupperk -- runs both at init and performance time. -- --
-- Sdst strupperk Ssrc ---- -- csound doc: http://www.csounds.com/manual/html/strupperk.html strupperk :: Str -> Str module Csound.Typed.Opcode.SpectralProcessing -- | Deprecated. -- -- Deprecated. Use the tableseg opcode instead. -- --
-- ktableseg ifn1, idur1, ifn2 [, idur2] [, ifn3] [...] ---- -- csound doc: http://www.csounds.com/manual/html/ktableseg.html ktableseg :: Tab -> D -> Tab -> SE () -- | Reads from a pvoc file and uses the data to perform additive -- synthesis. -- -- pvadd reads from a pvoc file and uses the data to perform additive -- synthesis using an internal array of interpolating oscillators. The -- user supplies the wave table (usually one period of a sine wave), and -- can choose which analysis bins will be used in the re-synthesis. -- --
-- ares pvadd ktimpnt, kfmod, ifilcod, ifn, ibins [, ibinoffset] \ -- [, ibinincr] [, iextractmode] [, ifreqlim] [, igatefn] ---- -- csound doc: http://www.csounds.com/manual/html/pvadd.html pvadd :: Sig -> Sig -> Str -> Tab -> D -> Sig -- | Reads from a phase vocoder analysis file and makes the retrieved data -- available. -- -- pvbufread reads from a pvoc file and makes the retrieved data -- available to any following pvinterp and pvcross units that appear in -- an instrument before a subsequent pvbufread (just as lpread and -- lpreson work together). The data is passed internally and the unit has -- no output of its own. -- --
-- pvbufread ktimpnt, ifile ---- -- csound doc: http://www.csounds.com/manual/html/pvbufread.html pvbufread :: Sig -> Str -> SE () -- | Applies the amplitudes from one phase vocoder analysis file to the -- data from a second file. -- -- pvcross applies the amplitudes from one phase vocoder analysis file to -- the data from a second file and then performs the resynthesis. The -- data is passed, as described above, from a previously called pvbufread -- unit. The two k-rate amplitude arguments are used to scale the -- amplitudes of each files separately before they are added together and -- used in the resynthesis (see below for further explanation). The -- frequencies of the first file are not used at all in this process. -- This unit simply allows for cross-synthesis through the application of -- the amplitudes of the spectra of one signal to the frequencies of a -- second signal. Unlike pvinterp, pvcross does allow for the use of the -- ispecwp as in pvoc and vpvoc. -- --
-- ares pvcross ktimpnt, kfmod, ifile, kampscale1, kampscale2 [, ispecwp] ---- -- csound doc: http://www.csounds.com/manual/html/pvcross.html pvcross :: Sig -> Sig -> Str -> Sig -> Sig -> Sig -- | Interpolates between the amplitudes and frequencies of two phase -- vocoder analysis files. -- -- pvinterp interpolates between the amplitudes and frequencies, on a bin -- by bin basis, of two phase vocoder analysis files (one from a -- previously called pvbufread unit and the other from within its own -- argument list), allowing for user defined transitions between analyzed -- sounds. It also allows for general scaling of the amplitudes and -- frequencies of each file separately before the interpolated values are -- calculated and sent to the resynthesis routines. The kfmod argument in -- pvinterp performs its frequency scaling on the frequency values after -- their derivation from the separate scaling and subsequent -- interpolation is performed so that this acts as an overall scaling -- value of the new frequency components. -- --
-- ares pvinterp ktimpnt, kfmod, ifile, kfreqscale1, kfreqscale2, \ -- kampscale1, kampscale2, kfreqinterp, kampinterp ---- -- csound doc: http://www.csounds.com/manual/html/pvinterp.html pvinterp :: Sig -> Sig -> Str -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -- | Implements signal reconstruction using an fft-based phase vocoder. -- --
-- ares pvoc ktimpnt, kfmod, ifilcod [, ispecwp] [, iextractmode] \ -- [, ifreqlim] [, igatefn] ---- -- csound doc: http://www.csounds.com/manual/html/pvoc.html pvoc :: Sig -> Sig -> Str -> Sig -- | Reads from a phase vocoder analysis file and returns the frequency and -- amplitude from a single analysis channel or bin. -- -- pvread reads from a pvoc file and returns the frequency and amplitude -- from a single analysis channel or bin. The returned values can be used -- anywhere else in the Csound instrument. For example, one can use them -- as arguments to an oscillator to synthesize a single component from an -- analyzed signal or a bank of pvreads can be used to resynthesize the -- analyzed sound using additive synthesis by passing the frequency and -- magnitude values to a bank of oscillators. -- --
-- kfreq, kamp pvread ktimpnt, ifile, ibin ---- -- csound doc: http://www.csounds.com/manual/html/pvread.html pvread :: Sig -> Str -> D -> (Sig, Sig) -- | Creates a new function table by making linear segments between values -- in stored function tables. -- -- tableseg is like linseg but interpolate between values in a stored -- function tables. The result is a new function table passed internally -- to any following vpvoc which occurs before a subsequent tableseg (much -- like lpread/lpreson pairs work). The uses of these are described below -- under vpvoc. -- --
-- tableseg ifn1, idur1, ifn2 [, idur2] [, ifn3] [...] ---- -- csound doc: http://www.csounds.com/manual/html/tableseg.html tableseg :: Tab -> D -> Tab -> SE () -- | Creates a new function table by making exponential segments between -- values in stored function tables. -- -- tablexseg is like expseg but interpolate between values in a stored -- function tables. The result is a new function table passed internally -- to any following vpvoc which occurs before a subsequent tablexseg -- (much like lpread/lpreson pairs work). The uses of these are described -- below under vpvoc. -- --
-- tablexseg ifn1, idur1, ifn2 [, idur2] [, ifn3] [...] ---- -- csound doc: http://www.csounds.com/manual/html/tablexseg.html tablexseg :: Tab -> D -> Tab -> SE () -- | Implements signal reconstruction using an fft-based phase vocoder and -- an extra envelope. -- --
-- ares vpvoc ktimpnt, kfmod, ifile [, ispecwp] [, ifn] ---- -- csound doc: http://www.csounds.com/manual/html/vpvoc.html vpvoc :: Sig -> Sig -> Str -> Sig -- | Resynthesises a signal from the data passed internally by a previous -- lpread, applying formant shifting. -- --
-- ares lpfreson asig, kfrqratio ---- -- csound doc: http://www.csounds.com/manual/html/lpfreson.html lpfreson :: Sig -> Sig -> Sig -- | Computes a new set of poles from the interpolation between two -- analysis. -- --
-- lpinterp islot1, islot2, kmix ---- -- csound doc: http://www.csounds.com/manual/html/lpinterp.html lpinterp :: D -> D -> Sig -> SE () -- | Reads a control file of time-ordered information frames. -- --
-- krmsr, krmso, kerr, kcps lpread ktimpnt, ifilcod [, inpoles] [, ifrmrate] ---- -- csound doc: http://www.csounds.com/manual/html/lpread.html lpread :: Sig -> Str -> (Sig, Sig, Sig, Sig) -- | Resynthesises a signal from the data passed internally by a previous -- lpread. -- --
-- ares lpreson asig ---- -- csound doc: http://www.csounds.com/manual/html/lpreson.html lpreson :: Sig -> Sig -- | Selects the slot to be use by further lp opcodes. -- --
-- lpslot islot ---- -- csound doc: http://www.csounds.com/manual/html/lpslot.html lpslot :: D -> SE () -- | Perform a weighted add of two input spectra. -- --
-- wsig specaddm wsig1, wsig2 [, imul2] ---- -- csound doc: http://www.csounds.com/manual/html/specaddm.html specaddm :: Wspec -> Wspec -> Wspec -- | Finds the positive difference values between consecutive spectral -- frames. -- --
-- wsig specdiff wsigin ---- -- csound doc: http://www.csounds.com/manual/html/specdiff.html specdiff :: Wspec -> Wspec -- | Displays the magnitude values of the spectrum. -- --
-- specdisp wsig, iprd [, iwtflg] ---- -- csound doc: http://www.csounds.com/manual/html/specdisp.html specdisp :: Wspec -> D -> SE () -- | Filters each channel of an input spectrum. -- --
-- wsig specfilt wsigin, ifhtim ---- -- csound doc: http://www.csounds.com/manual/html/specfilt.html specfilt :: Wspec -> D -> Wspec -- | Accumulates the values of successive spectral frames. -- --
-- wsig spechist wsigin ---- -- csound doc: http://www.csounds.com/manual/html/spechist.html spechist :: Wspec -> Wspec -- | Estimates the pitch of the most prominent complex tone in the -- spectrum. -- -- Estimate the pitch of the most prominent complex tone in the spectrum. -- --
-- koct, kamp specptrk wsig, kvar, ilo, ihi, istr, idbthresh, inptls, \ -- irolloff [, iodd] [, iconfs] [, interp] [, ifprd] [, iwtflg] ---- -- csound doc: http://www.csounds.com/manual/html/specptrk.html specptrk :: Wspec -> Sig -> D -> D -> D -> D -> D -> D -> (Sig, Sig) -- | Scales an input spectral datablock with spectral envelopes. -- --
-- wsig specscal wsigin, ifscale, ifthresh ---- -- csound doc: http://www.csounds.com/manual/html/specscal.html specscal :: Wspec -> D -> D -> Wspec -- | Sums the magnitudes across all channels of the spectrum. -- --
-- ksum specsum wsig [, interp] ---- -- csound doc: http://www.csounds.com/manual/html/specsum.html specsum :: Wspec -> Sig -- | Generate a constant-Q, exponentially-spaced DFT. -- -- Generate a constant-Q, exponentially-spaced DFT across all octaves of -- a multiply-downsampled control or audio input signal. -- --
-- wsig spectrum xsig, iprd, iocts, ifrqa [, iq] [, ihann] [, idbout] \ -- [, idsprd] [, idsinrs] ---- -- csound doc: http://www.csounds.com/manual/html/spectrum.html spectrum :: Sig -> D -> D -> D -> Wspec -- | PVS tracks to amplitude+frequency conversion. -- -- The binit opcode takes an input containg a TRACKS pv streaming signal -- (as generated, for instance by partials) and converts it into a -- equal-bandwidth bin-frame containing amplitude and frequency pairs -- (PVS_AMP_FREQ), suitable for overlap-add resynthesis (such as -- performed by pvsynth) or further PVS streaming phase vocoder signal -- transformations. For each frequency bin, it will look for a suitable -- track signal to fill it; if not found, the bin will be empty (0 -- amplitude). If more than one track fits a certain bin, the one with -- highest amplitude will be chosen. This means that not all of the input -- signal is actually binned, the operation is lossy. However, -- in many situations this loss is not perceptually relevant. -- --
-- fsig binit fin, isize ---- -- csound doc: http://www.csounds.com/manual/html/binit.html binit :: Spec -> D -> Spec -- | Partial track spectral analysis. -- -- The partials opcode takes two input PV streaming signals containg -- AMP_FREQ and AMP_PHASE signals (as generated for instance by pvsifd or -- in the first case, by pvsanal) and performs partial track analysis, as -- described in Lazzarini et al, "Time-stretching using the Instantaneous -- Frequency Distribution and Partial Tracking", Proc.of ICMC05, -- Barcelona. It generates a TRACKS PV streaming signal, containing -- amplitude, frequency, phase and track ID for each output track. This -- type of signal will contain a variable number of output tracks, up to -- the total number of analysis bins contained in the inputs (fftsize/2 + -- 1 bins). The second input (AMP_PHASE) is optional, as it can take the -- same signal as the first input. In this case, however, all phase -- information will be NULL and resynthesis using phase information -- cannot be performed. -- --
-- ftrks partials ffr, fphs, kthresh, kminpts, kmaxgap, imaxtracks ---- -- csound doc: http://www.csounds.com/manual/html/partials.html partials :: Spec -> Spec -> Sig -> Sig -> Sig -> D -> Spec -- | Resynthesize using a fast oscillator-bank. -- --
-- ares pvsadsyn fsrc, inoscs, kfmod [, ibinoffset] [, ibinincr] [, iinit] ---- -- csound doc: http://www.csounds.com/manual/html/pvsadsyn.html pvsadsyn :: Spec -> D -> Sig -> Sig -- | Generate an fsig from a mono audio source ain, using phase vocoder -- overlap-add analysis. -- --
-- fsig pvsanal ain, ifftsize, ioverlap, iwinsize, iwintype [, iformat] [, iinit] ---- -- csound doc: http://www.csounds.com/manual/html/pvsanal.html pvsanal :: Sig -> D -> D -> D -> D -> Spec -- | Arpeggiate the spectral components of a streaming pv signal. -- -- This opcode arpeggiates spectral components, by amplifying one bin and -- attenuating all the others around it. Used with an LFO it will provide -- a spectral arpeggiator similar to Trevor Wishart's CDP program -- specarp. -- --
-- fsig pvsarp fsigin, kbin, kdepth, kgain ---- -- csound doc: http://www.csounds.com/manual/html/pvsarp.html pvsarp :: Spec -> Sig -> Sig -> Sig -> Spec -- | A band pass filter working in the spectral domain. -- -- Filter the pvoc frames, passing bins whose frequency is within a band, -- and with linear interpolation for transitional bands. -- --
-- fsig pvsbandp fsigin, xlowcut, xlowfull, \ -- xhighfull, xhighcut[, ktype] ---- -- csound doc: http://www.csounds.com/manual/html/pvsbandp.html pvsbandp :: Spec -> Sig -> Sig -> Sig -> Sig -> Spec -- | A band reject filter working in the spectral domain. -- -- Filter the pvoc frames, rejecting bins whose frequency is within a -- band, and with linear interpolation for transitional bands. -- --
-- fsig pvsbandr fsigin, xlowcut, xlowfull, \ -- xhighfull, xhighcut[, ktype] ---- -- csound doc: http://www.csounds.com/manual/html/pvsbandr.html pvsbandr :: Spec -> Sig -> Sig -> Sig -> Sig -> Spec -- | Obtain the amp and freq values off a PVS signal bin. -- -- Obtain the amp and freq values off a PVS signal bin as k-rate -- variables. -- --
-- kamp, kfr pvsbin fsig, kbin ---- -- csound doc: http://www.csounds.com/manual/html/pvsbin.html pvsbin :: Spec -> Sig -> (Sig, Sig) -- | Average the amp/freq time functions of each analysis channel for a -- specified time. -- -- Average the amp/freq time functions of each analysis channel for a -- specified time (truncated to number of frames). As a side-effect the -- input pvoc stream will be delayed by that amount. -- --
-- fsig pvsblur fsigin, kblurtime, imaxdel ---- -- csound doc: http://www.csounds.com/manual/html/pvsblur.html pvsblur :: Spec -> Sig -> D -> Spec -- | This opcode creates and writes to a circular buffer for f-signals -- (streaming PV signals). -- -- This opcode sets up and writes to a circular buffer of length ilen -- (secs), giving a handle for the buffer and a time pointer, which holds -- the current write position (also in seconds). It can be used with one -- or more pvsbufread opcodes. Writing is circular, wrapping around at -- the end of the buffer. -- --
-- ihandle, ktime pvsbuffer fsig, ilen ---- -- csound doc: http://www.csounds.com/manual/html/pvsbuffer.html pvsbuffer :: Spec -> D -> (D, Sig) -- | This opcode reads a circular buffer of f-signals (streaming PV -- signals). -- -- This opcode reads from a circular buffer of length ilen (secs), taking -- a handle for the buffer and a time pointer, which holds the current -- read position (also in seconds). It is used in conjunction with a -- pvsbuffer opocde. Reading is circular, wrapping around at the end of -- the buffer. -- --
-- fsig pvsbufread ktime, khandle[, ilo, ihi, iclear] ---- -- csound doc: http://www.csounds.com/manual/html/pvsbufread.html pvsbufread :: Sig -> Sig -> Spec -- | This opcode reads a circular buffer of f-signals (streaming PV -- signals), with binwise additional delays. -- -- This opcode reads from a circular buffer of length ilen (secs), taking -- a handle for the buffer and a time pointer, which holds the current -- read position (also in seconds). It is used in conjunction with a -- pvsbuffer opocde. Reading is circular, wrapping around at the end of -- the buffer. Extra delay times are taken from a function table, with -- each point on it defining a delay time in seconds affecting the -- corresponding bin. -- --
-- fsig pvsbufread2 ktime, khandle, ift1, ift2 ---- -- csound doc: http://www.csounds.com/manual/html/pvsbufread2.html pvsbufread2 :: Sig -> Sig -> D -> D -> Spec -- | Scale the frequency components of a pv stream. -- -- Scale the frequency components of a pv stream, resulting in pitch -- shift. Output amplitudes can be optionally modified in order to -- attempt formant preservation. -- --
-- fsig pvscale fsigin, kscal[, kkeepform, kgain, kcoefs] ---- -- csound doc: http://www.csounds.com/manual/html/pvscale.html pvscale :: Spec -> Sig -> Spec -- | Calculate the spectral centroid of a signal. -- -- Calculate the spectral centroid of a signal from its discrete Fourier -- transform. -- --
-- kcent pvscent fsig ---- -- csound doc: http://www.csounds.com/manual/html/pvscent.html pvscent :: Spec -> Sig -- | Performs cross-synthesis between two source fsigs. -- --
-- fsig pvscross fsrc, fdest, kamp1, kamp2 ---- -- csound doc: http://www.csounds.com/manual/html/pvscross.html pvscross :: Spec -> Spec -> Sig -> Sig -> Spec -- | Spectral azimuth-based de-mixing of stereo sources. -- -- Spectral azimuth-based de-mixing of stereo sources, with a -- reverse-panning result. This opcode implements the Azimuth -- Discrimination and Resynthesis (ADRess) algorithm, developed by Dan -- Barry (Barry et Al. "Sound Source Separation Azimuth Discrimination -- and Resynthesis". DAFx'04, Univ. of Napoli). The source separation, or -- de-mixing, is controlled by two parameters: an azimuth position (kpos) -- and a subspace width (kwidth). The first one is used to locate the -- spectral peaks of individual sources on a stereo mix, whereas the -- second widens the 'search space', including/exclufing the peaks around -- kpos. These two parameters can be used interactively to extract source -- sounds from a stereo mix. The algorithm is particularly successful -- with studio recordings where individual instruments occupy individual -- panning positions; it is, in fact, a reverse-panning algorithm. -- --
-- fsig pvsdemix fleft, fright, kpos, kwidth, ipoints ---- -- csound doc: http://www.csounds.com/manual/html/pvsdemix.html pvsdemix :: Spec -> Spec -> Sig -> Sig -> D -> Spec -- | Read a selected channel from a PVOC-EX analysis file. -- -- Create an fsig stream by reading a selected channel from a PVOC-EX -- analysis file, with frame interpolation. -- --
-- fsig pvsdiskin SFname,ktscal,kgain[,ioffset, ichan] ---- -- csound doc: http://www.csounds.com/manual/html/pvsdiskin.html pvsdiskin :: Str -> Sig -> Sig -> Spec -- | Displays a PVS signal as an amplitude vs. freq graph. -- -- This opcode will display a PVS signal fsig. Uses X11 or FLTK windows -- if enabled, else (or if -g flag is set) displays are approximated in -- ASCII characters. -- --
-- pvsdisp fsig[, ibins, iwtflg] ---- -- csound doc: http://www.csounds.com/manual/html/pvsdisp.html pvsdisp :: Spec -> SE () -- | Multiply amplitudes of a pvoc stream by those of a second pvoc stream, -- with dynamic scaling. -- --
-- fsig pvsfilter fsigin, fsigfil, kdepth[, igain] ---- -- csound doc: http://www.csounds.com/manual/html/pvsfilter.html pvsfilter :: Spec -> Spec -> Sig -> Spec -- | Read a selected channel from a PVOC-EX analysis file. -- -- Create an fsig stream by reading a selected channel from a PVOC-EX -- analysis file loaded into memory, with frame interpolation. Only -- format 0 files (amplitude+frequency) are currently supported. The -- operation of this opcode mirrors that of pvoc, but outputs an fsig -- instead of a resynthesized signal. -- --
-- fsig pvsfread ktimpt, ifn [, ichan] ---- -- csound doc: http://www.csounds.com/manual/html/pvsfread.html pvsfread :: Sig -> Tab -> Spec -- | Freeze the amplitude and frequency time functions of a pv stream -- according to a control-rate trigger. -- -- This opcodes freezes the evolution of pvs stream by locking -- into steady amplitude and/or frequency values for each bin. The -- freezing is controlled, independently for amplitudes and frequencies, -- by a control-rate trigger, which switches the freezing on if -- equal to or above 1 and off if below 1. -- --
-- fsig pvsfreeze fsigin, kfreeza, kfreezf ---- -- csound doc: http://www.csounds.com/manual/html/pvsfreeze.html pvsfreeze :: Spec -> Sig -> Sig -> Spec -- | Reads amplitude and/or frequency data from function tables. -- --
-- pvsftr fsrc, ifna [, ifnf] ---- -- csound doc: http://www.csounds.com/manual/html/pvsftr.html pvsftr :: Spec -> Tab -> SE () -- | Writes amplitude and/or frequency data to function tables. -- --
-- kflag pvsftw fsrc, ifna [, ifnf] ---- -- csound doc: http://www.csounds.com/manual/html/pvsftw.html pvsftw :: Spec -> Tab -> Sig -- | Write a fsig to a PVOCEX file. -- -- This opcode writes a fsig to a PVOCEX file (which in turn can be read -- by pvsfread or other programs that support PVOCEX file input). -- --
-- pvsfwrite fsig, ifile ---- -- csound doc: http://www.csounds.com/manual/html/pvsfwrite.html pvsfwrite :: Spec -> Str -> SE () -- | Scale the amplitude of a pv stream. -- --
-- fsig pvsgain fsigin, kgain ---- -- csound doc: http://www.csounds.com/manual/html/pvsgain.html pvsgain :: Spec -> Sig -> Spec -- | Shift the frequency components of a pv stream, stretching/compressing -- its spectrum. -- --
-- fsig pvshift fsigin, kshift, klowest[, kkeepform, igain, kcoefs] ---- -- csound doc: http://www.csounds.com/manual/html/pvshift.html pvshift :: Spec -> Sig -> Sig -> Spec -- | Instantaneous Frequency Distribution, magnitude and phase analysis. -- -- The pvsifd opcode takes an input a-rate signal and performs an -- Instantaneous Frequency, magnitude and phase analysis, using the STFT -- and pvsifd (Instantaneous Frequency Distribution), as described in -- Lazzarini et al, "Time-stretching using the Instantaneous Frequency -- Distribution and Partial Tracking", Proc.of ICMC05, Barcelona. It -- generates two PV streaming signals, one containing the amplitudes and -- frequencies (a similar output to pvsanal) and another containing -- amplitudes and unwrapped phases. -- --
-- ffr,fphs pvsifd ain, ifftsize, ihopsize, iwintype[,iscal] ---- -- csound doc: http://www.csounds.com/manual/html/pvsifd.html pvsifd :: Sig -> D -> D -> D -> (Spec, Spec) -- | Retrieve an fsig from the input software bus; a pvs equivalent to -- chani. -- -- This opcode retrieves an f-sig from the pvs in software bus, which can -- be used to get data from an external source, using the Csound 5 API. A -- channel is created if not already existing. The fsig channel is in -- that case initialised with the given parameters. It is important to -- note that the pvs input and output (pvsout opcode) busses are -- independent and data is not shared between them. -- --
-- fsig pvsin kchan[, isize, iolap, iwinsize, iwintype, iformat] ---- -- csound doc: http://www.csounds.com/manual/html/pvsin.html pvsin :: Sig -> Spec -- | Get information from a PVOC-EX formatted source. -- -- Get format information about fsrc, whether created by an opcode such -- as pvsanal, or obtained from a PVOCEX file by pvsfread. This -- information is available at init time, and can be used to set -- parameters for other pvs opcodes, and in particular for creating -- function tables (e.g. for pvsftw), or setting the number of -- oscillators for pvsadsyn. -- --
-- ioverlap, inumbins, iwinsize, iformat pvsinfo fsrc ---- -- csound doc: http://www.csounds.com/manual/html/pvsinfo.html pvsinfo :: Spec -> (D, D, D, D) -- | Initialise a spectral (f) variable to zero. -- -- Performs the equivalent to an init operation on an f-variable. -- --
-- fsig pvsinit isize[, iolap, iwinsize, iwintype, iformat] ---- -- csound doc: http://www.csounds.com/manual/html/pvsinit.html pvsinit :: D -> Spec -- | Frequency lock an input fsig -- -- This opcode searches for spectral peaks and then locks the frequencies -- around those peaks. This is similar to phase-locking in non-streaming -- PV processing. It can be used to improve timestretching and -- pitch-shifting quality in PV processing. -- --
-- fsig pvslock fsigin, klock ---- -- csound doc: http://www.csounds.com/manual/html/pvslock.html pvslock :: Spec -> Sig -> Spec -- | Modify amplitudes using a function table, with dynamic scaling. -- -- Modify amplitudes of fsrc using function table, with dynamic scaling. -- --
-- fsig pvsmaska fsrc, ifn, kdepth ---- -- csound doc: http://www.csounds.com/manual/html/pvsmaska.html pvsmaska :: Spec -> Tab -> Sig -> Spec -- | Mix seamlessly two pv signals. -- -- Mix seamlessly two pv signals. This opcode combines the most -- prominent components of two pvoc streams into a single mixed stream. -- --
-- fsig pvsmix fsigin1, fsigin2 ---- -- csound doc: http://www.csounds.com/manual/html/pvsmix.html pvsmix :: Spec -> Spec -> Spec -- | Smooth the amplitude and frequency time functions of a pv stream using -- parallel 1st order lowpass IIR filters with time-varying cutoff -- frequency. -- -- Smooth the amplitude and frequency time functions of a pv stream using -- a 1st order lowpass IIR with time-varying cutoff frequency. This -- opcode uses the same filter as the tone opcode, but this time acting -- separately on the amplitude and frequency time functions that make up -- a pv stream. The cutoff frequency parameter runs at the control-rate, -- but unlike tone and tonek, it is not specified in Hz, but as fractions -- of 1/2 frame-rate (actually the pv stream sampling rate), which is -- easier to understand. This means that the highest cutoff frequency is -- 1 and the lowest 0; the lower the frequency the smoother the functions -- and more pronounced the effect will be. -- --
-- fsig pvsmooth fsigin, kacf, kfcf ---- -- csound doc: http://www.csounds.com/manual/html/pvsmooth.html pvsmooth :: Spec -> Sig -> Sig -> Spec -- | Performs morphing (or interpolation) between two source fsigs. -- -- Performs morphing (or interpolation) between two source fsigs. -- --
-- fsig pvsmorph fsig1, fsig2, kampint, kfrqint ---- -- csound doc: http://www.csounds.com/manual/html/pvsmorph.html pvsmorph :: Spec -> Spec -> Sig -> Sig -> Spec -- | PVS-based oscillator simulator. -- -- Generates periodic signal spectra in AMP-FREQ format, with the option -- of four wave types: -- --
-- fsig pvsosc kamp, kfreq, ktype, isize [,ioverlap] [, iwinsize] [, iwintype] [, iformat] ---- -- csound doc: http://www.csounds.com/manual/html/pvsosc.html pvsosc :: Sig -> Sig -> Sig -> D -> Spec -- | Write a fsig to the pvs output bus. -- -- This opcode writes a fsig to a channel of the pvs output bus. Note -- that the pvs out bus and the pvs in bus are separate and independent. -- A new channel is created if non-existent. -- --
-- pvsout fsig, kchan ---- -- csound doc: http://www.csounds.com/manual/html/pvsout.html pvsout :: Spec -> Sig -> SE () -- | Track the pitch and amplitude of a PVS signal. -- -- Track the pitch and amplitude of a PVS signal as k-rate variables. -- --
-- kfr, kamp pvspitch fsig, kthresh ---- -- csound doc: http://www.csounds.com/manual/html/pvspitch.html pvspitch :: Spec -> Sig -> (Sig, Sig) -- | Transforms a pvoc stream according to a masking function table. -- -- Transforms a pvoc stream according to a masking function table; if the -- pvoc stream amplitude falls below the value of the function for a -- specific pvoc channel, it applies a gain to that channel. -- --
-- fsig pvstencil fsigin, kgain, klevel, iftable ---- -- csound doc: http://www.csounds.com/manual/html/pvstencil.html pvstencil :: Spec -> Sig -> Sig -> D -> Spec -- | Combine the spectral envelope of one fsig with the excitation -- (frequencies) of another. -- -- This opcode provides support for cross-synthesis of amplitudes and -- frequencies. It takes the amplitudes of one input fsig and combines -- with frequencies from another. It is a spectral version of the -- well-known channel vocoder. -- --
-- fsig pvsvoc famp, fexc, kdepth, kgain [,kcoefs] ---- -- csound doc: http://www.csounds.com/manual/html/pvsvoc.html pvsvoc :: Spec -> Spec -> Sig -> Sig -> Spec -- | Warp the spectral envelope of a PVS signal -- -- Warp the spectral envelope of a PVS signal by means of shifting and -- scaling. -- --
-- fsig pvswarp fsigin, kscal, kshift[, klowest, kmeth, kgain, kcoefs] ---- -- csound doc: http://www.csounds.com/manual/html/pvswarp.html pvswarp :: Spec -> Sig -> Sig -> Spec -- | Resynthesise using a FFT overlap-add. -- -- Resynthesise phase vocoder data (f-signal) using a FFT overlap-add. -- --
-- ares pvsynth fsrc, [iinit] ---- -- csound doc: http://www.csounds.com/manual/html/pvsynth.html pvsynth :: Spec -> Sig -- | Streaming partial track additive synthesis with cubic phase -- interpolation with pitch control and support for timescale-modified -- input -- -- The resyn opcode takes an input containg a TRACKS pv streaming signal -- (as generated, for instance by partials). It resynthesises the signal -- using linear amplitude and cubic phase interpolation to drive a bank -- of interpolating oscillators with amplitude and pitch scaling -- controls. Resyn is a modified version of sinsyn, allowing for the -- resynthesis of data with pitch and timescale changes. -- --
-- asig resyn fin, kscal, kpitch, kmaxtracks, ifn ---- -- csound doc: http://www.csounds.com/manual/html/resyn.html resyn :: Spec -> Sig -> Sig -> Sig -> Tab -> Sig -- | Streaming partial track additive synthesis with cubic phase -- interpolation -- -- The sinsyn opcode takes an input containg a TRACKS pv streaming signal -- (as generated, for instance by the partials opcode). It resynthesises -- the signal using linear amplitude and cubic phase interpolation to -- drive a bank of interpolating oscillators with amplitude scaling -- control. sinsyn attempts to preserve the phase of the partials in the -- original signal and in so doing it does not allow for pitch or -- timescale modifications of the signal. -- --
-- asig sinsyn fin, kscal, kmaxtracks, ifn ---- -- csound doc: http://www.csounds.com/manual/html/sinsyn.html sinsyn :: Spec -> Sig -> Sig -> Tab -> Sig -- | Streaming partial track additive synthesis -- -- The tradsyn opcode takes an input containg a TRACKS pv streaming -- signal (as generated, for instance by partials),as described in -- Lazzarini et al, "Time-stretching using the Instantaneous Frequency -- Distribution and Partial Tracking", Proc.of ICMC05, Barcelona. It -- resynthesises the signal using linear amplitude and frequency -- interpolation to drive a bank of interpolating oscillators with -- amplitude and pitch scaling controls. -- --
-- asig tradsyn fin, kscal, kpitch, kmaxtracks, ifn ---- -- csound doc: http://www.csounds.com/manual/html/tradsyn.html tradsyn :: Spec -> Sig -> Sig -> Sig -> Tab -> Sig -- | Streaming partial track cross-synthesis. -- -- The trcross opcode takes two inputs containg TRACKS pv streaming -- signals (as generated, for instance by partials) and cross-synthesises -- them into a single TRACKS stream. Two different modes of operation are -- used: mode 0, cross-synthesis by multiplication of the amplitudes of -- the two inputs and mode 1, cross-synthesis by the substititution of -- the amplitudes of input 1 by the input 2. Frequencies and phases of -- input 1 are preserved in the output. The cross-synthesis is done by -- matching tracks between the two inputs using a 'search interval'. The -- matching algorithm will look for tracks in the second input that are -- within the search interval around each track in the first input. This -- interval can be changed at the control rate. Wider search intervals -- will find more matches. -- --
-- fsig trcross fin1, fin2, ksearch, kdepth [, kmode] ---- -- csound doc: http://www.csounds.com/manual/html/trcross.html trcross :: Spec -> Spec -> Sig -> Sig -> Spec -- | Streaming partial track filtering. -- -- The trfilter opcode takes an input containg a TRACKS pv streaming -- signal (as generated, for instance by partials) and filters it using -- an amplitude response curve stored in a function table. The function -- table can have any size (no restriction to powers-of-two). The table -- lookup is done by linear-interpolation. It is possible to create -- time-varying filter curves by updating the amlitude response table -- with a table-writing opcode. -- --
-- fsig trfilter fin, kamnt, ifn ---- -- csound doc: http://www.csounds.com/manual/html/trfilter.html trfilter :: Spec -> Sig -> Tab -> Spec -- | Extracts the highest-frequency track from a streaming track input -- signal. -- -- The trhighest opcode takes an input containg TRACKS pv streaming -- signals (as generated, for instance by partials) and outputs only the -- highest track. In addition it outputs two k-rate signals, -- corresponding to the frequency and amplitude of the highest track -- signal. -- --
-- fsig, kfr, kamp trhighest fin1, kscal ---- -- csound doc: http://www.csounds.com/manual/html/trhighest.html trhighest :: Spec -> Sig -> (Spec, Sig, Sig) -- | Extracts the lowest-frequency track from a streaming track input -- signal. -- -- The trlowest opcode takes an input containg TRACKS pv streaming -- signals (as generated, for instance by partials) and outputs only the -- lowest track. In addition it outputs two k-rate signals, corresponding -- to the frequency and amplitude of the lowest track signal. -- --
-- fsig, kfr, kamp trlowest fin1, kscal ---- -- csound doc: http://www.csounds.com/manual/html/trlowest.html trlowest :: Spec -> Sig -> (Spec, Sig, Sig) -- | Streaming partial track mixing. -- -- The trmix opcode takes two inputs containg TRACKS pv streaming signals -- (as generated, for instance by partials) and mixes them into a single -- TRACKS stream. Tracks will be mixed up to the available space (defined -- by the original number of FFT bins in the analysed signals). If the -- sum of the input tracks exceeds this space, the higher-ordered tracks -- in the second input will be pruned. -- --
-- fsig trmix fin1, fin2 ---- -- csound doc: http://www.csounds.com/manual/html/trmix.html trmix :: Spec -> Spec -> Spec -- | Streaming partial track frequency scaling. -- -- The trscale opcode takes an input containg a TRACKS pv streaming -- signal (as generated, for instance by partials) and scales all -- frequencies by a k-rate amount. It can also, optionally, scale the -- gain of the signal by a k-rate amount (default 1). The result is pitch -- shifting of the input tracks. -- --
-- fsig trscale fin, kpitch[, kgain] ---- -- csound doc: http://www.csounds.com/manual/html/trscale.html trscale :: Spec -> Sig -> Spec -- | Streaming partial track frequency scaling. -- -- The trshift opcode takes an input containg a TRACKS pv streaming -- signal (as generated, for instance by partials) and shifts all -- frequencies by a k-rate frequency. It can also, optionally, scale the -- gain of the signal by a k-rate amount (default 1). The result is -- frequency shifting of the input tracks. -- --
-- fsig trshift fin, kpshift[, kgain] ---- -- csound doc: http://www.csounds.com/manual/html/trshift.html trshift :: Spec -> Sig -> Spec -- | Streaming partial track frequency splitting. -- -- The trsplit opcode takes an input containg a TRACKS pv streaming -- signal (as generated, for instance by partials) and splits it into two -- signals according to a k-rate frequency 'split point'. The first -- output will contain all tracks up from 0Hz to the split frequency and -- the second will contain the tracks from the split frequency up to the -- Nyquist. It can also, optionally, scale the gain of the output signals -- by a k-rate amount (default 1). The result is two output signals -- containing only part of the original spectrum. -- --
-- fsiglow, fsighi trsplit fin, ksplit[, kgainlow, kgainhigh] ---- -- csound doc: http://www.csounds.com/manual/html/trsplit.html trsplit :: Spec -> Sig -> (Spec, Spec) -- | uses the data from an ATS analysis file to perform additive synthesis. -- -- ATSadd reads from an ATS analysis file and uses the data to perform -- additive synthesis using an internal array of interpolating -- oscillators. -- --
-- ar ATSadd ktimepnt, kfmod, iatsfile, ifn, ipartials[, ipartialoffset, \ -- ipartialincr, igatefn] ---- -- csound doc: http://www.csounds.com/manual/html/ATSadd.html atsAdd :: Sig -> Sig -> D -> Tab -> D -> Sig -- | uses the data from an ATS analysis file to perform noise resynthesis. -- -- ATSaddnz reads from an ATS analysis file and uses the data to perform -- additive synthesis using a modified randi function. -- --
-- ar ATSaddnz ktimepnt, iatsfile, ibands[, ibandoffset, ibandincr] ---- -- csound doc: http://www.csounds.com/manual/html/ATSaddnz.html atsAddnz :: Sig -> D -> D -> Sig -- | reads data from and ATS data file and stores it in an internal data -- table of frequency, amplitude pairs. -- -- ATSbufread reads data from and ATS data file and stores it in an -- internal data table of frequency, amplitude pairs. -- --
-- ATSbufread ktimepnt, kfmod, iatsfile, ipartials[, ipartialoffset, \ -- ipartialincr] ---- -- csound doc: http://www.csounds.com/manual/html/ATSbufread.html atsBufread :: Sig -> Sig -> D -> D -> SE () -- | perform cross synthesis from ATS analysis files. -- -- ATScross uses data from an ATS analysis file and data from an -- ATSbufread to perform cross synthesis. -- --
-- ar ATScross ktimepnt, kfmod, iatsfile, ifn, kmylev, kbuflev, ipartials \ -- [, ipartialoffset, ipartialincr] ---- -- csound doc: http://www.csounds.com/manual/html/ATScross.html atsCross :: Sig -> Sig -> D -> Tab -> Sig -> Sig -> D -> Sig -- | reads data out of the header of an ATS file. -- -- atsinfo reads data out of the header of an ATS file. -- --
-- idata ATSinfo iatsfile, ilocation ---- -- csound doc: http://www.csounds.com/manual/html/ATSinfo.html atsInfo :: D -> D -> D -- | allows a user to determine the frequency envelope of any ATSbufread. -- -- ATSinterpread allows a user to determine the frequency envelope of any -- ATSbufread. -- --
-- kamp ATSinterpread kfreq ---- -- csound doc: -- http://www.csounds.com/manual/html/ATSinterpread.html atsInterpread :: Sig -> Sig -- | returns a frequency, amplitude pair from an ATSbufread opcode. -- -- ATSpartialtap takes a partial number and returns a frequency, -- amplitude pair. The frequency and amplitude data comes from an -- ATSbufread opcode. -- --
-- kfrq, kamp ATSpartialtap ipartialnum ---- -- csound doc: -- http://www.csounds.com/manual/html/ATSpartialtap.html atsPartialtap :: D -> (Sig, Sig) -- | reads data from an ATS file. -- -- ATSread returns the amplitude (kamp) and frequency (kfreq) information -- of a user specified partial contained in the ATS analysis file at the -- time indicated by the time pointer ktimepnt. -- --
-- kfreq, kamp ATSread ktimepnt, iatsfile, ipartial ---- -- csound doc: http://www.csounds.com/manual/html/ATSread.html atsRead :: Sig -> D -> D -> (Sig, Sig) -- | reads data from an ATS file. -- -- ATSreadnz returns the energy (kenergy) of a user specified noise band -- (1-25 bands) at the time indicated by the time pointer ktimepnt. -- --
-- kenergy ATSreadnz ktimepnt, iatsfile, iband ---- -- csound doc: http://www.csounds.com/manual/html/ATSreadnz.html atsReadnz :: Sig -> D -> D -> Sig -- | uses the data from an ATS analysis file to perform resynthesis. -- -- ATSsinnoi reads data from an ATS data file and uses the information to -- synthesize sines and noise together. -- --
-- ar ATSsinnoi ktimepnt, ksinlev, knzlev, kfmod, iatsfile, ipartials \ -- [, ipartialoffset, ipartialincr] ---- -- csound doc: http://www.csounds.com/manual/html/ATSsinnoi.html atsSinnoi :: Sig -> Sig -> Sig -> Sig -> D -> D -> Sig -- | Morphs two stored sets of bandwidth-enhanced partials and stores a new -- set of partials representing the morphed sound. The morph is performed -- by linearly interpolating the parameter envelopes (frequency, -- amplitude, and bandwidth, or noisiness) of the bandwidth-enhanced -- partials according to control-rate frequency, amplitude, and bandwidth -- morphing functions. -- -- lorismorph morphs two stored sets of bandwidth-enhanced partials and -- stores a new set of partials representing the morphed sound. The morph -- is performed by linearly interpolating the parameter envelopes -- (frequency, amplitude, and bandwidth, or noisiness) of the -- bandwidth-enhanced partials according to control-rate frequency, -- amplitude, and bandwidth morphing functions. -- --
-- lorismorph isrcidx, itgtidx, istoreidx, kfreqmorphenv, kampmorphenv, kbwmorphenv ---- -- csound doc: http://www.csounds.com/manual/html/lorismorph.html lorismorph :: D -> D -> D -> Sig -> Sig -> Sig -> SE () -- | renders a stored set of bandwidth-enhanced partials using the method -- of Bandwidth-Enhanced Additive Synthesis implemented in the Loris -- software, applying control-rate frequency, amplitude, and bandwidth -- scaling envelopes. -- -- lorisplay renders a stored set of bandwidth-enhanced partials using -- the method of Bandwidth-Enhanced Additive Synthesis implemented in the -- Loris software, applying control-rate frequency, amplitude, and -- bandwidth scaling envelopes. -- --
-- ar lorisplay ireadidx, kfreqenv, kampenv, kbwenv ---- -- csound doc: http://www.csounds.com/manual/html/lorisplay.html lorisplay :: D -> Sig -> Sig -> Sig -> Sig -- | Imports a set of bandwidth-enhanced partials from a SDIF-format data -- file, applying control-rate frequency, amplitude, and bandwidth -- scaling envelopes, and stores the modified partials in memory. -- -- lorisread imports a set of bandwidth-enhanced partials from a -- SDIF-format data file, applying control-rate frequency, amplitude, and -- bandwidth scaling envelopes, and stores the modified partials in -- memory. -- --
-- lorisread ktimpnt, ifilcod, istoreidx, kfreqenv, kampenv, kbwenv[, ifadetime] ---- -- csound doc: http://www.csounds.com/manual/html/lorisread.html lorisread :: Sig -> Str -> D -> Sig -> Sig -> Sig -> SE () module Csound.Typed.Opcode.SignalFlowGraphOpcodes -- | Generate a function table from within an instrument definition, -- without duplication of data. -- -- Enables the creation of function tables entirely inside instrument -- definitions, without any duplication of data. -- --
-- ifno ftgenonce ip1, ip2dummy, isize, igen, iarga, iargb, ... ---- -- csound doc: http://www.csounds.com/manual/html/ftgenonce.html ftgenonce :: D -> D -> D -> D -> D -> [D] -> SE Tab -- | Receives an arate signal into an instrument through a named port. -- --
-- asignal inleta Sname ---- -- csound doc: http://www.csounds.com/manual/html/inleta.html inleta :: Str -> Sig -- | Receives an frate signal (fsig) into an instrument from a named port. -- --
-- fsignal inletf Sname ---- -- csound doc: http://www.csounds.com/manual/html/inletf.html inletf :: Str -> Spec -- | Receives a krate signal into an instrument from a named port. -- --
-- ksignal inletk Sname ---- -- csound doc: http://www.csounds.com/manual/html/inletk.html inletk :: Str -> Sig -- | Receives a krate signal into an instrument from a named port. -- --
-- ksignal inletkid Sname, SinstanceID ---- -- csound doc: http://www.csounds.com/manual/html/inletkid.html inletkid :: Str -> Str -> Sig -- | Sends an arate signal out from an instrument to a named port. -- --
-- outleta Sname, asignal ---- -- csound doc: http://www.csounds.com/manual/html/outleta.html outleta :: Str -> Sig -> SE () -- | Sends a frate signal (fsig) out from an instrument to a named port. -- --
-- outletf Sname, fsignal ---- -- csound doc: http://www.csounds.com/manual/html/outletf.html outletf :: Str -> Spec -> SE () -- | Sends a krate signal out from an instrument to a named port. -- --
-- outletk Sname, ksignal ---- -- csound doc: http://www.csounds.com/manual/html/outletk.html outletk :: Str -> Sig -> SE () -- | Sends a krate signal out from an instrument to a named port. -- --
-- outletkid Sname, SinstanceID, ksignal ---- -- csound doc: http://www.csounds.com/manual/html/outletkid.html outletkid :: Str -> Str -> Sig -> SE () module Csound.Typed.Opcode.RealtimeMIDI -- | Get the current after-touch value for this channel. -- --
-- kaft aftouch [imin] [, imax] ---- -- csound doc: http://www.csounds.com/manual/html/aftouch.html aftouch :: Sig -- | Get the current value of a MIDI channel controller. -- -- Get the current value of a controller and optionally map it onto -- specified range. -- --
-- ival chanctrl ichnl, ictlno [, ilow] [, ihigh] -- kval chanctrl ichnl, ictlno [, ilow] [, ihigh] ---- -- csound doc: http://www.csounds.com/manual/html/chanctrl.html chanctrl :: D -> D -> Sig -- | Allows a floating-point 14-bit MIDI signal scaled with a minimum and a -- maximum range. -- --
-- idest ctrl14 ichan, ictlno1, ictlno2, imin, imax [, ifn] -- kdest ctrl14 ichan, ictlno1, ictlno2, kmin, kmax [, ifn] ---- -- csound doc: http://www.csounds.com/manual/html/ctrl14.html ctrl14 :: D -> D -> D -> D -> D -> Sig -- | Allows a floating-point 21-bit MIDI signal scaled with a minimum and a -- maximum range. -- --
-- idest ctrl21 ichan, ictlno1, ictlno2, ictlno3, imin, imax [, ifn] -- kdest ctrl21 ichan, ictlno1, ictlno2, ictlno3, kmin, kmax [, ifn] ---- -- csound doc: http://www.csounds.com/manual/html/ctrl21.html ctrl21 :: D -> D -> D -> D -> D -> D -> Sig -- | Allows a floating-point 7-bit MIDI signal scaled with a minimum and a -- maximum range. -- --
-- idest ctrl7 ichan, ictlno, imin, imax [, ifn] -- kdest ctrl7 ichan, ictlno, kmin, kmax [, ifn] -- adest ctrl7 ichan, ictlno, kmin, kmax [, ifn] [, icutoff] ---- -- csound doc: http://www.csounds.com/manual/html/ctrl7.html ctrl7 :: D -> D -> D -> D -> Sig -- | Sets the initial values for a set of MIDI controllers. -- --
-- ctrlinit ichnl, ictlno1, ival1 [, ictlno2] [, ival2] [, ictlno3] \ -- [, ival3] [,...ival32] ---- -- csound doc: http://www.csounds.com/manual/html/ctrlinit.html ctrlinit :: [D] -> SE () -- | Initializes the controllers used to create a 14-bit MIDI value. -- --
-- initc14 ichan, ictlno1, ictlno2, ivalue ---- -- csound doc: http://www.csounds.com/manual/html/initc14.html initc14 :: D -> D -> D -> D -> SE () -- | Initializes the controllers used to create a 21-bit MIDI value. -- --
-- initc21 ichan, ictlno1, ictlno2, ictlno3, ivalue ---- -- csound doc: http://www.csounds.com/manual/html/initc21.html initc21 :: D -> D -> D -> D -> D -> SE () -- | Initializes the controller used to create a 7-bit MIDI value. -- -- Initializes MIDI controller ictlno with ivalue -- --
-- initc7 ichan, ictlno, ivalue ---- -- csound doc: http://www.csounds.com/manual/html/initc7.html initc7 :: D -> D -> D -> SE () -- | Assigns a MIDI channel number to a Csound instrument. -- --
-- massign ichnl, insnum[, ireset] -- massign ichnl, "insname"[, ireset] ---- -- csound doc: http://www.csounds.com/manual/html/massign.html massign :: D -> D -> SE () -- | Allows a floating-point 14-bit MIDI signal scaled with a minimum and a -- maximum range. -- --
-- idest midic14 ictlno1, ictlno2, imin, imax [, ifn] -- kdest midic14 ictlno1, ictlno2, kmin, kmax [, ifn] ---- -- csound doc: http://www.csounds.com/manual/html/midic14.html midic14 :: D -> D -> D -> D -> Sig -- | Allows a floating-point 21-bit MIDI signal scaled with a minimum and a -- maximum range. -- --
-- idest midic21 ictlno1, ictlno2, ictlno3, imin, imax [, ifn] -- kdest midic21 ictlno1, ictlno2, ictlno3, kmin, kmax [, ifn] ---- -- csound doc: http://www.csounds.com/manual/html/midic21.html midic21 :: D -> D -> D -> D -> D -> Sig -- | Allows a floating-point 7-bit MIDI signal scaled with a minimum and a -- maximum range. -- --
-- idest midic7 ictlno, imin, imax [, ifn] -- kdest midic7 ictlno, kmin, kmax [, ifn] ---- -- csound doc: http://www.csounds.com/manual/html/midic7.html midic7 :: D -> D -> D -> Sig -- | Get the current value (0-127) of a specified MIDI controller. -- --
-- ival midictrl inum [, imin] [, imax] -- kval midictrl inum [, imin] [, imax] ---- -- csound doc: http://www.csounds.com/manual/html/midictrl.html midictrl :: D -> Sig -- | Get a note number from a MIDI event. -- --
-- ival notnum ---- -- csound doc: http://www.csounds.com/manual/html/notnum.html notnum :: Msg -> D -- | Get the current pitch-bend value for this channel. -- --
-- ibend pchbend [imin] [, imax] -- kbend pchbend [imin] [, imax] ---- -- csound doc: http://www.csounds.com/manual/html/pchbend.html pchbend :: Msg -> Sig -- | Assigns an instrument number to a specified MIDI program. -- -- Assigns an instrument number to a specified (or all) MIDI program(s). -- --
-- pgmassign ipgm, inst[, ichn] -- pgmassign ipgm, "insname"[, ichn] ---- -- csound doc: http://www.csounds.com/manual/html/pgmassign.html pgmassign :: D -> D -> SE () -- | Returns the polyphonic after-touch pressure of the selected note -- number. -- -- polyaft returns the polyphonic pressure of the selected note number, -- optionally mapped to an user-specified range. -- --
-- ires polyaft inote [, ilow] [, ihigh] -- kres polyaft inote [, ilow] [, ihigh] ---- -- csound doc: http://www.csounds.com/manual/html/polyaft.html polyaft :: D -> Sig -- | Get the velocity from a MIDI event. -- --
-- ival veloc [ilow] [, ihigh] ---- -- csound doc: http://www.csounds.com/manual/html/veloc.html veloc :: Msg -> D -- | Sends a Non-Registered Parameter Number to the MIDI OUT port. -- -- Sends a NPRN (Non-Registered Parameter Number) message to the MIDI OUT -- port each time one of the input arguments changes. -- --
-- nrpn kchan, kparmnum, kparmvalue ---- -- csound doc: http://www.csounds.com/manual/html/nrpn.html nrpn :: Sig -> Sig -> Sig -> SE () -- | Sends MIDI aftertouch messages at i-rate. -- --
-- outiat ichn, ivalue, imin, imax ---- -- csound doc: http://www.csounds.com/manual/html/outiat.html outiat :: D -> D -> D -> D -> SE () -- | Sends MIDI controller output at i-rate. -- --
-- outic ichn, inum, ivalue, imin, imax ---- -- csound doc: http://www.csounds.com/manual/html/outic.html outic :: D -> D -> D -> D -> D -> SE () -- | Sends 14-bit MIDI controller output at i-rate. -- --
-- outic14 ichn, imsb, ilsb, ivalue, imin, imax ---- -- csound doc: http://www.csounds.com/manual/html/outic14.html outic14 :: D -> D -> D -> D -> D -> D -> SE () -- | Sends polyphonic MIDI aftertouch messages at i-rate. -- --
-- outipat ichn, inotenum, ivalue, imin, imax ---- -- csound doc: http://www.csounds.com/manual/html/outipat.html outipat :: D -> D -> D -> D -> D -> SE () -- | Sends MIDI pitch-bend messages at i-rate. -- --
-- outipb ichn, ivalue, imin, imax ---- -- csound doc: http://www.csounds.com/manual/html/outipb.html outipb :: D -> D -> D -> D -> SE () -- | Sends MIDI program change messages at i-rate -- --
-- outipc ichn, iprog, imin, imax ---- -- csound doc: http://www.csounds.com/manual/html/outipc.html outipc :: D -> D -> D -> D -> SE () -- | Sends MIDI aftertouch messages at k-rate. -- --
-- outkat kchn, kvalue, kmin, kmax ---- -- csound doc: http://www.csounds.com/manual/html/outkat.html outkat :: Sig -> Sig -> Sig -> Sig -> SE () -- | Sends MIDI controller messages at k-rate. -- --
-- outkc kchn, knum, kvalue, kmin, kmax ---- -- csound doc: http://www.csounds.com/manual/html/outkc.html outkc :: Sig -> Sig -> Sig -> Sig -> Sig -> SE () -- | Sends 14-bit MIDI controller output at k-rate. -- --
-- outkc14 kchn, kmsb, klsb, kvalue, kmin, kmax ---- -- csound doc: http://www.csounds.com/manual/html/outkc14.html outkc14 :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> SE () -- | Sends polyphonic MIDI aftertouch messages at k-rate. -- --
-- outkpat kchn, knotenum, kvalue, kmin, kmax ---- -- csound doc: http://www.csounds.com/manual/html/outkpat.html outkpat :: Sig -> Sig -> Sig -> Sig -> Sig -> SE () -- | Sends MIDI pitch-bend messages at k-rate. -- --
-- outkpb kchn, kvalue, kmin, kmax ---- -- csound doc: http://www.csounds.com/manual/html/outkpb.html outkpb :: Sig -> Sig -> Sig -> Sig -> SE () -- | Sends MIDI program change messages at k-rate. -- --
-- outkpc kchn, kprog, kmin, kmax ---- -- csound doc: http://www.csounds.com/manual/html/outkpc.html outkpc :: Sig -> Sig -> Sig -> Sig -> SE () -- | Get the velocity of the current MIDI event. -- --
-- iamp ampmidi iscal [, ifn] ---- -- csound doc: http://www.csounds.com/manual/html/ampmidi.html ampmidi :: Msg -> D -> D -- | Musically map MIDI velocity to peak amplitude within a specified -- dynamic range in decibels. -- --
-- iamplitude ampmidid ivelocity, idecibels -- kamplitude ampmidid kvelocity, idecibels ---- -- csound doc: http://www.csounds.com/manual/html/ampmidid.html ampmidid :: Msg -> D -> D -> Sig -- | Get the note number of the current MIDI event, expressed in -- cycles-per-second. -- --
-- icps cpsmidi ---- -- csound doc: http://www.csounds.com/manual/html/cpsmidi.html cpsmidi :: Msg -> D -- | Get the note number of the current MIDI event and modify it by the -- current pitch-bend value, express it in cycles-per-second. -- --
-- icps cpsmidib [irange] -- kcps cpsmidib [irange] ---- -- csound doc: http://www.csounds.com/manual/html/cpsmidib.html cpsmidib :: Msg -> Sig -- | Get a MIDI note number (allows customized micro-tuning scales). -- -- This unit is similar to cpsmidi, but allows fully customized -- micro-tuning scales. -- --
-- icps cpstmid ifn ---- -- csound doc: http://www.csounds.com/manual/html/cpstmid.html cpstmid :: Msg -> Tab -> D -- | Get the note number, in octave-point-decimal units, of the current -- MIDI event. -- --
-- ioct octmidi ---- -- csound doc: http://www.csounds.com/manual/html/octmidi.html octmidi :: Msg -> D -- | Get the note number of the current MIDI event and modify it by the -- current pitch-bend value, express it in octave-point-decimal. -- --
-- ioct octmidib [irange] -- koct octmidib [irange] ---- -- csound doc: http://www.csounds.com/manual/html/octmidib.html octmidib :: Msg -> Sig -- | Get the note number of the current MIDI event, expressed in -- pitch-class units. -- --
-- ipch pchmidi ---- -- csound doc: http://www.csounds.com/manual/html/pchmidi.html pchmidi :: Msg -> D -- | Get the note number of the current MIDI event and modify it by the -- current pitch-bend value, express it in pitch-class units. -- --
-- ipch pchmidib [irange] -- kpch pchmidib [irange] ---- -- csound doc: http://www.csounds.com/manual/html/pchmidib.html pchmidib :: Msg -> Sig -- | Returns a generic MIDI message received by the MIDI IN port. -- -- Returns a generic MIDI message received by the MIDI IN port -- --
-- kstatus, kchan, kdata1, kdata2 midiin ---- -- csound doc: http://www.csounds.com/manual/html/midiin.html midiin :: (Sig, Sig, Sig, Sig) -- | Sends a generic MIDI message to the MIDI OUT port. -- --
-- midiout kstatus, kchan, kdata1, kdata2 ---- -- csound doc: http://www.csounds.com/manual/html/midiout.html midiout :: Sig -> Sig -> Sig -> Sig -> SE () -- | Indicates whether a note is in its âreleaseâ stage. -- -- Provides a way of knowing when a note off message for the current note -- is received. Only a noteoff message with the same MIDI note number as -- the one which triggered the note will be reported by release. -- --
-- kflag release ---- -- csound doc: http://www.csounds.com/manual/html/release.html release :: Sig -- | Extend the duration of real-time generated events. -- -- Extend the duration of real-time generated events and handle their -- extra life (Usually for usage along with release instead of linenr, -- linsegr, etc). -- --
-- xtratim iextradur ---- -- csound doc: http://www.csounds.com/manual/html/xtratim.html xtratim :: D -> SE () -- | Generates MIDI note messages at k-rate. -- --
-- midion kchn, knum, kvel ---- -- csound doc: http://www.csounds.com/manual/html/midion.html midion :: Sig -> Sig -> Sig -> SE () -- | Sends noteon and noteoff messages to the MIDI OUT port. -- -- Sends noteon and noteoff messages to the MIDI OUT port when triggered -- by a value different than zero. -- --
-- midion2 kchn, knum, kvel, ktrig ---- -- csound doc: http://www.csounds.com/manual/html/midion2.html midion2 :: Sig -> Sig -> Sig -> Sig -> SE () -- | Sends a stream of the MIDI notes. -- --
-- moscil kchn, knum, kvel, kdur, kpause ---- -- csound doc: http://www.csounds.com/manual/html/moscil.html moscil :: Sig -> Sig -> Sig -> Sig -> Sig -> SE () -- | Send a noteoff message to the MIDI OUT port. -- --
-- noteoff ichn, inum, ivel ---- -- csound doc: http://www.csounds.com/manual/html/noteoff.html noteoff :: D -> D -> D -> SE () -- | Send a noteon message to the MIDI OUT port. -- --
-- noteon ichn, inum, ivel ---- -- csound doc: http://www.csounds.com/manual/html/noteon.html noteon :: D -> D -> D -> SE () -- | Sends a noteon and a noteoff MIDI message both with the same channel, -- number and velocity. -- --
-- noteondur ichn, inum, ivel, idur ---- -- csound doc: http://www.csounds.com/manual/html/noteondur.html noteondur :: D -> D -> D -> D -> SE () -- | Sends a noteon and a noteoff MIDI message both with the same channel, -- number and velocity. -- --
-- noteondur2 ichn, inum, ivel, idur ---- -- csound doc: http://www.csounds.com/manual/html/noteondur2.html noteondur2 :: D -> D -> D -> D -> SE () -- | Gets a MIDI channel's aftertouch value. -- -- midichannelaftertouch is designed to simplify writing instruments that -- can be used interchangeably for either score or MIDI input, and to -- make it easier to adapt instruments originally written for score input -- to work with MIDI input. -- --
-- midichannelaftertouch xchannelaftertouch [, ilow] [, ihigh] ---- -- csound doc: -- http://www.csounds.com/manual/html/midichannelaftertouch.html midichannelaftertouch :: Sig -> SE () -- | Returns the MIDI channel number from which the note was activated. -- -- midichn returns the MIDI channel number (1 - 16) from which the note -- was activated. In the case of score notes, it returns 0. -- --
-- ichn midichn ---- -- csound doc: http://www.csounds.com/manual/html/midichn.html midichn :: D -- | Gets a MIDI control change value. -- -- midicontrolchange is designed to simplify writing instruments that can -- be used interchangeably for either score or MIDI input, and to make it -- easier to adapt instruments originally written for score input to work -- with MIDI input. -- --
-- midicontrolchange xcontroller, xcontrollervalue [, ilow] [, ihigh] ---- -- csound doc: -- http://www.csounds.com/manual/html/midicontrolchange.html midicontrolchange :: Sig -> Sig -> SE () -- | Changes values, depending on MIDI activation. -- -- mididefault is designed to simplify writing instruments that can be -- used interchangeably for either score or MIDI input, and to make it -- easier to adapt instruments originally written for score input to work -- with MIDI input. -- --
-- mididefault xdefault, xvalue ---- -- csound doc: http://www.csounds.com/manual/html/mididefault.html mididefault :: Sig -> Sig -> SE () -- | Gets a MIDI noteoff value. -- -- midinoteoff is designed to simplify writing instruments that can be -- used interchangeably for either score or MIDI input, and to make it -- easier to adapt instruments originally written for score input to work -- with MIDI input. -- --
-- midinoteoff xkey, xvelocity ---- -- csound doc: http://www.csounds.com/manual/html/midinoteoff.html midinoteoff :: Sig -> Sig -> SE () -- | Gets a MIDI note number as a cycles-per-second frequency. -- -- midinoteoncps is designed to simplify writing instruments that can be -- used interchangeably for either score or MIDI input, and to make it -- easier to adapt instruments originally written for score input to work -- with MIDI input. -- --
-- midinoteoncps xcps, xvelocity ---- -- csound doc: -- http://www.csounds.com/manual/html/midinoteoncps.html midinoteoncps :: Sig -> Sig -> SE () -- | Gets a MIDI note number value. -- -- midinoteonkey is designed to simplify writing instruments that can be -- used interchangeably for either score or MIDI input, and to make it -- easier to adapt instruments originally written for score input to work -- with MIDI input. -- --
-- midinoteonkey xkey, xvelocity ---- -- csound doc: -- http://www.csounds.com/manual/html/midinoteonkey.html midinoteonkey :: Sig -> Sig -> SE () -- | Gets a MIDI note number value as octave-point-decimal value. -- -- midinoteonoct is designed to simplify writing instruments that can be -- used interchangeably for either score or MIDI input, and to make it -- easier to adapt instruments originally written for score input to work -- with MIDI input. -- --
-- midinoteonoct xoct, xvelocity ---- -- csound doc: -- http://www.csounds.com/manual/html/midinoteonoct.html midinoteonoct :: Sig -> Sig -> SE () -- | Gets a MIDI note number as a pitch-class value. -- -- midinoteonpch is designed to simplify writing instruments that can be -- used interchangeably for either score or MIDI input, and to make it -- easier to adapt instruments originally written for score input to work -- with MIDI input. -- --
-- midinoteonpch xpch, xvelocity ---- -- csound doc: -- http://www.csounds.com/manual/html/midinoteonpch.html midinoteonpch :: Sig -> Sig -> SE () -- | Gets a MIDI pitchbend value. -- -- midipitchbend is designed to simplify writing instruments that can be -- used interchangeably for either score or MIDI input, and to make it -- easier to adapt instruments originally written for score input to work -- with MIDI input. -- --
-- midipitchbend xpitchbend [, ilow] [, ihigh] ---- -- csound doc: -- http://www.csounds.com/manual/html/midipitchbend.html midipitchbend :: Sig -> SE () -- | Gets a MIDI polyphonic aftertouch value. -- -- midipolyaftertouch is designed to simplify writing instruments that -- can be used interchangeably for either score or MIDI input, and to -- make it easier to adapt instruments originally written for score input -- to work with MIDI input. -- --
-- midipolyaftertouch xpolyaftertouch, xcontrollervalue [, ilow] [, ihigh] ---- -- csound doc: -- http://www.csounds.com/manual/html/midipolyaftertouch.html midipolyaftertouch :: Sig -> Sig -> SE () -- | Gets a MIDI program change value. -- -- midiprogramchange is designed to simplify writing instruments that can -- be used interchangeably for either score or MIDI input, and to make it -- easier to adapt instruments originally written for score input to work -- with MIDI input. -- --
-- midiprogramchange xprogram ---- -- csound doc: -- http://www.csounds.com/manual/html/midiprogramchange.html midiprogramchange :: Sig -> SE () -- | Sends a MIDI CLOCK message. -- --
-- mclock ifreq ---- -- csound doc: http://www.csounds.com/manual/html/mclock.html mclock :: D -> SE () -- | Send system real-time messages to the MIDI OUT port. -- --
-- mrtmsg imsgtype ---- -- csound doc: http://www.csounds.com/manual/html/mrtmsg.html mrtmsg :: D -> SE () module Csound.Typed.Opcode.PitchConverters -- | Calculates a factor to raise/lower a frequency by a given amount of -- cents. -- --
-- cent (x) ---- -- csound doc: http://www.csounds.com/manual/html/cent.html cent :: SigOrD a => a -> a -- | Converts a Midi note number value to cycles-per-second. -- --
-- cpsmidinn (MidiNoteNumber) (init- or control-rate args only) ---- -- csound doc: http://www.csounds.com/manual/html/cpsmidinn.html cpsmidinn :: SigOrD a => a -> a -- | Converts an octave-point-decimal value to cycles-per-second. -- --
-- cpsoct (oct) (no rate restriction) ---- -- csound doc: http://www.csounds.com/manual/html/cpsoct.html cpsoct :: SigOrD a => a -> a -- | Converts a pitch-class value to cycles-per-second. -- --
-- cpspch (pch) (init- or control-rate args only) ---- -- csound doc: http://www.csounds.com/manual/html/cpspch.html cpspch :: SigOrD a => a -> a -- | Calculates a factor to raise/lower a frequency by a given amount of -- octaves. -- --
-- octave (x) ---- -- csound doc: http://www.csounds.com/manual/html/octave.html octave :: SigOrD a => a -> a -- | Converts a cycles-per-second value to octave-point-decimal. -- --
-- octcps (cps) (init- or control-rate args only) ---- -- csound doc: http://www.csounds.com/manual/html/octcps.html octcps :: SigOrD a => a -> a -- | Converts a Midi note number value to octave-point-decimal. -- --
-- octmidinn (MidiNoteNumber) (init- or control-rate args only) ---- -- csound doc: http://www.csounds.com/manual/html/octmidinn.html octmidinn :: SigOrD a => a -> a -- | Converts a pitch-class value to octave-point-decimal. -- --
-- octpch (pch) (init- or control-rate args only) ---- -- csound doc: http://www.csounds.com/manual/html/octpch.html octpch :: SigOrD a => a -> a -- | Converts a Midi note number value to octave point pitch-class units. -- --
-- pchmidinn (MidiNoteNumber) (init- or control-rate args only) ---- -- csound doc: http://www.csounds.com/manual/html/pchmidinn.html pchmidinn :: SigOrD a => a -> a -- | Converts an octave-point-decimal value to pitch-class. -- --
-- pchoct (oct) (init- or control-rate args only) ---- -- csound doc: http://www.csounds.com/manual/html/pchoct.html pchoct :: SigOrD a => a -> a -- | Calculates a factor to raise/lower a frequency by a given amount of -- semitones. -- --
-- semitone (x) ---- -- csound doc: http://www.csounds.com/manual/html/semitone.html semitone :: SigOrD a => a -> a -- | Converts a pitch-class value into cycles-per-second (Hz) for equal -- divisions of the octave. -- --
-- icps cps2pch ipch, iequal ---- -- csound doc: http://www.csounds.com/manual/html/cps2pch.html cps2pch :: D -> D -> D -- | Returns micro-tuning values at k-rate. -- --
-- kcps cpstun ktrig, kindex, kfn ---- -- csound doc: http://www.csounds.com/manual/html/cpstun.html cpstun :: Sig -> Sig -> Tab -> Sig -- | Returns micro-tuning values at init-rate. -- --
-- icps cpstuni index, ifn ---- -- csound doc: http://www.csounds.com/manual/html/cpstuni.html cpstuni :: D -> Tab -> D -- | Converts a pitch-class value into cycles-per-second (Hz) for equal -- divisions of any interval. -- -- Converts a pitch-class value into cycles-per-second (Hz) for equal -- divisions of any interval. There is a restriction of no more than 100 -- equal divisions. -- --
-- icps cpsxpch ipch, iequal, irepeat, ibase ---- -- csound doc: http://www.csounds.com/manual/html/cpsxpch.html cpsxpch :: D -> D -> D -> D -> D module Csound.Typed.Opcode.MathematicalOperations -- | Zeroes a list of audio signals. -- -- clear zeroes a list of audio signals. -- --
-- clear avar1 [, avar2] [, avar3] [...] ---- -- csound doc: http://www.csounds.com/manual/html/clear.html clear :: [Sig] -> SE () -- | Accumulates audio signals. -- -- vincr increments one audio variable with another signal, i.e. it -- accumulates output. -- --
-- vincr accum, aincr ---- -- csound doc: http://www.csounds.com/manual/html/vincr.html vincr :: Sig -> Sig -> SE () -- | Returns the amplitude equivalent of the decibel value x. -- -- Returns the amplitude equivalent of the decibel value x. Thus: -- --
-- ampdb (x) (no rate restriction) ---- -- csound doc: http://www.csounds.com/manual/html/ampdb.html ampdb :: SigOrD a => a -> a -- | Returns the amplitude equivalent (in 16-bit signed integer scale) of -- the full scale decibel (dB FS) value x. -- -- Returns the amplitude equivalent of the full scale decibel (dB FS) -- value x. The logarithmic full scale decibel values will be converted -- to linear 16-bit signed integer values from â32,768 to +32,767. -- --
-- ampdbfs (x) (no rate restriction) ---- -- csound doc: http://www.csounds.com/manual/html/ampdbfs.html ampdbfs :: SigOrD a => a -> a -- | Returns the decibel equivalent of the raw amplitude x. -- --
-- dbamp (x) (init-rate or control-rate args only) ---- -- csound doc: http://www.csounds.com/manual/html/dbamp.html dbamp :: SigOrD a => a -> a -- | Returns the decibel equivalent of the raw amplitude x, relative to -- full scale amplitude. -- -- Returns the decibel equivalent of the raw amplitude x, relative to -- full scale amplitude. Full scale is assumed to be 16 bit. New is -- Csound version 4.10. -- --
-- dbfsamp (x) (init-rate or control-rate args only) ---- -- csound doc: http://www.csounds.com/manual/html/dbfsamp.html dbfsamp :: SigOrD a => a -> a -- | Returns a random number in a bi-polar range. -- --
-- birnd (x) (init- or control-rate only) ---- -- csound doc: http://www.csounds.com/manual/html/birnd.html birnd :: SigOrD a => a -> a -- | Returns a random number in a unipolar range at the rate given by the -- input argument. -- --
-- rnd (x) (init- or control-rate only) ---- -- csound doc: http://www.csounds.com/manual/html/rnd.html rnd :: SigOrD a => a -> a -- | Safely divides two numbers. -- --
-- ares divz xa, xb, ksubst -- ires divz ia, ib, isubst -- kres divz ka, kb, ksubst -- ... divz (ka, kb, ksubst)... (no rate restriction) ---- -- csound doc: http://www.csounds.com/manual/html/divz.html divz :: SigOrD a => a -> a -> a -- | Multiplies and accumulates a- and k-rate signals. -- --
-- ares mac ksig1, asig1 [, ksig2] [, asig2] [, ksig3] [, asig3] [...] ---- -- csound doc: http://www.csounds.com/manual/html/mac.html mac :: [Sig] -> Sig -- | Multiply and accumulate a-rate signals only. -- --
-- ares maca asig1 , asig2 [, asig3] [, asig4] [, asig5] [...] ---- -- csound doc: http://www.csounds.com/manual/html/maca.html maca :: [Sig] -> Sig -- | Efficiently evaluates a polynomial of arbitrary order. -- -- The polynomial opcode calculates a polynomial with a single a-rate -- input variable. The polynomial is a sum of any number of terms in the -- form kn*x^n where kn is the nth coefficient of the expression. These -- coefficients are k-rate values. -- --
-- aout polynomial ain, k0 [, k1 [, k2 [...]]] ---- -- csound doc: http://www.csounds.com/manual/html/polynomial.html polynomial :: Sig -> [Sig] -> Sig -- | Computes one argument to the power of another argument. -- -- Computes xarg to the power of kpow (or ipow) and scales the result by -- inorm. -- --
-- ares pow aarg, kpow [, inorm] -- ires pow iarg, ipow [, inorm] -- kres pow karg, kpow [, inorm] ---- -- csound doc: http://www.csounds.com/manual/html/pow.html pow :: Sig -> Sig -> Sig -- | Multiplies any number of a-rate signals. -- --
-- ares product asig1, asig2 [, asig3] [...] ---- -- csound doc: http://www.csounds.com/manual/html/product.html product' :: [Sig] -> Sig -- | Sums any number of a-rate signals. -- --
-- ares sum asig1 [, asig2] [, asig3] [...] ---- -- csound doc: http://www.csounds.com/manual/html/sum.html sum' :: [Sig] -> Sig -- | Returns an arctangent. -- -- Returns the arctangent of iyix, kykx, or ay/ax. -- --
-- ares taninv2 ay, ax -- ires taninv2 iy, ix -- kres taninv2 ky, kx -- ... taninv2 (ky, kx)... (no rate restriction) ---- -- csound doc: http://www.csounds.com/manual/html/taninv2.html taninv2 :: SigOrD a => a -> a -> a module Csound.Typed.Opcode.FLTK -- | A FLTK container opcode that groups child widgets. -- --
-- FLgroup "label", iwidth, iheight, ix, iy [, iborder] [, image] ---- -- csound doc: http://www.csounds.com/manual/html/FLgroup.html flGroup :: Str -> D -> D -> D -> D -> SE () -- | Marks the end of a group of FLTK child widgets. -- --
-- FLgroupEnd ---- -- csound doc: http://www.csounds.com/manual/html/FLgroupEnd.html flGroupEnd :: SE () -- | Provides the functionality of compressing and aligning FLTK widgets. -- -- FLpack provides the functionality of compressing and aligning widgets. -- --
-- FLpack iwidth, iheight, ix, iy, itype, ispace, iborder ---- -- csound doc: http://www.csounds.com/manual/html/FLpack.html flPack :: D -> D -> D -> D -> D -> D -> D -> SE () -- | Marks the end of a group of compressed or aligned FLTK widgets. -- --
-- FLpackEnd ---- -- csound doc: http://www.csounds.com/manual/html/FLpackEnd.html flPackEnd :: SE () -- | Creates a window that contains FLTK widgets. -- --
-- FLpanel "label", iwidth, iheight [, ix] [, iy] [, iborder] [, ikbdcapture] [, iclose] ---- -- csound doc: http://www.csounds.com/manual/html/FLpanel.html flPanel :: Str -> D -> D -> SE () -- | Marks the end of a group of FLTK widgets contained inside of a window -- (panel). -- --
-- FLpanelEnd ---- -- csound doc: http://www.csounds.com/manual/html/FLpanelEnd.html flPanelEnd :: SE () -- | A FLTK opcode that adds scroll bars to an area. -- -- FLscroll adds scroll bars to an area. -- --
-- FLscroll iwidth, iheight [, ix] [, iy] ---- -- csound doc: http://www.csounds.com/manual/html/FLscroll.html flScroll :: D -> D -> SE () -- | A FLTK opcode that marks the end of an area with scrollbars. -- --
-- FLscrollEnd ---- -- csound doc: http://www.csounds.com/manual/html/FLscrollEnd.html flScrollEnd :: SE () -- | Creates a tabbed FLTK interface. -- -- FLtabs is a âfile card tabsâ interface that is useful to display -- several areas containing widgets in the same windows, alternatively. -- It must be used together with FLgroup, another container that groups -- child widgets. -- --
-- FLtabs iwidth, iheight, ix, iy ---- -- csound doc: http://www.csounds.com/manual/html/FLtabs.html flTabs :: D -> D -> D -> D -> SE () -- | Marks the end of a tabbed FLTK interface. -- --
-- FLtabsEnd ---- -- csound doc: http://www.csounds.com/manual/html/FLtabsEnd.html flTabsEnd :: SE () -- | A FLTK widget opcode that creates a counter. -- -- Allows the user to increase/decrease a value with mouse clicks on a -- corresponding arrow button. -- --
-- kout, ihandle FLcount "label", imin, imax, istep1, istep2, itype, \ -- iwidth, iheight, ix, iy, iopcode [, kp1] [, kp2] [, kp3] [...] [, kpN] ---- -- csound doc: http://www.csounds.com/manual/html/FLcount.html flCount :: Str -> D -> D -> D -> D -> D -> D -> D -> D -> D -> D -> SE (Sig, D) -- | A FLTK opcode that acts like a joystick. -- -- FLjoy is a squared area that allows the user to modify two output -- values at the same time. It acts like a joystick. -- --
-- koutx, kouty, ihandlex, ihandley FLjoy "label", iminx, imaxx, iminy, \ -- imaxy, iexpx, iexpy, idispx, idispy, iwidth, iheight, ix, iy ---- -- csound doc: http://www.csounds.com/manual/html/FLjoy.html flJoy :: Str -> D -> D -> D -> D -> D -> D -> D -> D -> D -> D -> D -> D -> SE (Sig, Sig, D, D) -- | A FLTK widget opcode that creates a knob. -- --
-- kout, ihandle FLknob "label", imin, imax, iexp, itype, idisp, iwidth, \ -- ix, iy [, icursorsize] ---- -- csound doc: http://www.csounds.com/manual/html/FLknob.html flKnob :: Str -> D -> D -> D -> D -> D -> D -> D -> D -> SE (Sig, D) -- | A FLTK widget that creates a transversal knob. -- -- FLroller is a sort of knob, but put transversally. -- --
-- kout, ihandle FLroller "label", imin, imax, istep, iexp, itype, idisp, \ -- iwidth, iheight, ix, iy ---- -- csound doc: http://www.csounds.com/manual/html/FLroller.html flRoller :: Str -> D -> D -> D -> D -> D -> D -> D -> D -> D -> D -> SE (Sig, D) -- | Puts a slider into the corresponding FLTK container. -- -- FLslider puts a slider into the corresponding container. -- --
-- kout, ihandle FLslider "label", imin, imax, iexp, itype, idisp, iwidth, \ -- iheight, ix, iy ---- -- csound doc: http://www.csounds.com/manual/html/FLslider.html flSlider :: Str -> D -> D -> D -> D -> D -> D -> D -> D -> D -> SE (Sig, D) -- | A FLTK widget opcode that creates a textbox. -- -- FLtext allows the user to modify a parameter value by directly typing -- it into a text field. -- --
-- kout, ihandle FLtext "label", imin, imax, istep, itype, iwidth, \ -- iheight, ix, iy ---- -- csound doc: http://www.csounds.com/manual/html/FLtext.html flText :: Str -> D -> D -> D -> D -> D -> D -> D -> D -> SE (Sig, D) -- | A FLTK widget that displays text inside of a box. -- --
-- ihandle FLbox "label", itype, ifont, isize, iwidth, iheight, ix, iy [, image] ---- -- csound doc: http://www.csounds.com/manual/html/FLbox.html flBox :: Str -> D -> D -> D -> D -> D -> D -> D -> SE D -- | A FLTK widget opcode that creates a bank of buttons. -- --
-- kout, ihandle FLbutBank itype, inumx, inumy, iwidth, iheight, ix, iy, \ -- iopcode [, kp1] [, kp2] [, kp3] [, kp4] [, kp5] [....] [, kpN] ---- -- csound doc: http://www.csounds.com/manual/html/FLbutBank.html flButBank :: D -> D -> D -> D -> D -> D -> D -> D -> SE (Sig, D) -- | A FLTK widget opcode that creates a button. -- --
-- kout, ihandle FLbutton "label", ion, ioff, itype, iwidth, iheight, ix, \ -- iy, iopcode [, kp1] [, kp2] [, kp3] [, kp4] [, kp5] [....] [, kpN] ---- -- csound doc: http://www.csounds.com/manual/html/FLbutton.html flButton :: Str -> D -> D -> D -> D -> D -> D -> D -> D -> SE (Sig, D) -- | A FLTK widget opcode that creates a button that will close the panel -- window it is a part of. -- --
-- ihandle FLcloseButton "label", iwidth, iheight, ix, iy ---- -- csound doc: -- http://www.csounds.com/manual/html/FLcloseButton.html flCloseButton :: Str -> D -> D -> D -> D -> SE D -- | A FLTK widget opcode that creates a button that executes a command. -- -- A FLTK widget opcode that creates a button that executes a command. -- Useful for opening up HTML documentation as About text or to start a -- separate program from an FLTK widget interface. -- --
-- ihandle FLexecButton "command", iwidth, iheight, ix, iy ---- -- csound doc: -- http://www.csounds.com/manual/html/FLexecButton.html flExecButton :: Str -> D -> D -> D -> D -> SE D -- | Retrieves a previously stored FLTK snapshot. -- -- Retrieves a previously stored snapshot (in memory), i.e. sets all -- valuator to the corresponding values stored in that snaphot. -- --
-- inumsnap FLgetsnap index [, igroup] ---- -- csound doc: http://www.csounds.com/manual/html/FLgetsnap.html flGetsnap :: D -> SE D -- | Displays a box with a grid useful for visualizing two-dimensional -- Hyper Vectorial Synthesis. -- -- FLhvsBox displays a box with a grid useful for visualizing -- two-dimensional Hyper Vectorial Synthesis. -- --
-- ihandle FLhvsBox inumlinesX, inumlinesY, iwidth, iheight, ix, iy [, image] ---- -- csound doc: http://www.csounds.com/manual/html/FLhvsBox.html flHvsBox :: D -> D -> D -> D -> D -> D -> SE D -- | Sets the cursor position of a previously-declared FLhvsBox widget. -- -- FLhvsBoxSetValue sets the cursor position of a previously-declared -- FLhvsBox widget. -- --
-- FLhvsBoxSetValue kx, ky, ihandle ---- -- csound doc: -- http://www.csounds.com/manual/html/FLhvsBoxSetValue.html flHvsBoxSetValue :: Sig -> Sig -> D -> SE () -- | Reports keys pressed (on alphanumeric keyboard) when an FLTK panel has -- focus. -- -- FLkeyIn informs about the status of a key pressed by the user on the -- alphanumeric keyboard when an FLTK panel has got the focus. -- --
-- kascii FLkeyIn [ifn] ---- -- csound doc: http://www.csounds.com/manual/html/FLkeyIn.html flKeyIn :: SE Sig -- | Loads all snapshots into the memory bank of the current orchestra. -- -- FLloadsnap loads all the snapshots contained in a file into the memory -- bank of the current orchestra. -- --
-- FLloadsnap "filename" [, igroup] ---- -- csound doc: http://www.csounds.com/manual/html/FLloadsnap.html flLoadsnap :: Str -> SE () -- | Returns the mouse position and the state of the three mouse buttons. -- -- FLmouse returns the coordinates of the mouse position within an FLTK -- panel and the state of the three mouse buttons. -- --
-- kx, ky, kb1, kb2, kb3 FLmouse [imode] ---- -- csound doc: http://www.csounds.com/manual/html/FLmouse.html flMouse :: Tuple a => SE a -- | A FLTK opcode that prints a k-rate value at specified intervals. -- -- FLprintk is similar to printk but shows values of a k-rate signal in a -- text field instead of on the console. -- --
-- FLprintk itime, kval, idisp ---- -- csound doc: http://www.csounds.com/manual/html/FLprintk.html flPrintk :: D -> Sig -> D -> SE () -- | A FLTK opcode that prints a new value every time a control-rate -- variable changes. -- -- FLprintk2 is similar to FLprintk but shows a k-rate variable's value -- only when it changes. -- --
-- FLprintk2 kval, idisp ---- -- csound doc: http://www.csounds.com/manual/html/FLprintk2.html flPrintk2 :: Sig -> D -> SE () -- | Starts the FLTK widget thread. -- --
-- FLrun ---- -- csound doc: http://www.csounds.com/manual/html/FLrun.html flRun :: SE () -- | Saves all snapshots currently created into a file. -- -- FLsavesnap saves all snapshots currently created (i.e. the entire -- memory bank) into a file. -- --
-- FLsavesnap "filename" [, igroup] ---- -- csound doc: http://www.csounds.com/manual/html/FLsavesnap.html flSavesnap :: Str -> SE () -- | Stores the current status of all FLTK valuators into a snapshot -- location. -- -- FLsetsnap stores the current status of all valuators present in the -- orchestra into a snapshot location (in memory). -- --
-- inumsnap, inumval FLsetsnap index [, ifn, igroup] ---- -- csound doc: http://www.csounds.com/manual/html/FLsetsnap.html flSetsnap :: D -> SE (D, D) -- | Determines the snapshot group for FL valuators. -- -- FLsetSnapGroup determines the snapshot group of valuators declared -- after it. -- --
-- FLsetSnapGroup igroup ---- -- csound doc: -- http://www.csounds.com/manual/html/FLsetSnapGroup.html flSetSnapGroup :: D -> SE () -- | Sets the value of a FLTK valuator at control-rate. -- -- FLsetVal is almost identical to FLsetVal_i. Except it operates at -- k-rate and it affects the target valuator only when ktrig is set to a -- non-zero value. -- --
-- FLsetVal ktrig, kvalue, ihandle ---- -- csound doc: http://www.csounds.com/manual/html/FLsetVal.html flSetVal :: Sig -> Sig -> D -> SE () -- | Sets the value of a FLTK valuator to a number provided by the user. -- -- FLsetVal_i forces the value of a valuator to a number provided by the -- user. -- --
-- FLsetVal_i ivalue, ihandle ---- -- csound doc: http://www.csounds.com/manual/html/FLsetVal_i.html flSetVal_i :: D -> D -> SE () -- | A FLTK widget containing a bank of horizontal sliders. -- -- FLslidBnk is a widget containing a bank of horizontal sliders. -- --
-- FLslidBnk "names", inumsliders [, ioutable] [, iwidth] [, iheight] [, ix] \ -- [, iy] [, itypetable] [, iexptable] [, istart_index] [, iminmaxtable] ---- -- csound doc: http://www.csounds.com/manual/html/FLslidBnk.html flSlidBnk :: Str -> D -> SE () -- | A FLTK widget containing a bank of horizontal sliders. -- -- FLslidBnk2 is a widget containing a bank of horizontal sliders. -- --
-- FLslidBnk2 "names", inumsliders, ioutable, iconfigtable [,iwidth, iheight, ix, iy, istart_index] ---- -- csound doc: http://www.csounds.com/manual/html/FLslidBnk2.html flSlidBnk2 :: Str -> D -> D -> D -> SE () -- | modify the values of a slider bank. -- -- FLslidBnk2Set modifies the values of a slider bank according to an -- array of values stored in a table. -- --
-- FLslidBnk2Set ihandle, ifn [, istartIndex, istartSlid, inumSlid] ---- -- csound doc: -- http://www.csounds.com/manual/html/FLslidBnk2Set.html flSlidBnk2Set :: D -> Tab -> SE () -- | modify the values of a slider bank. -- -- FLslidBnk2Setk modifies the values of a slider bank according to an -- array of values stored in a table. -- --
-- FLslidBnk2Setk ktrig, ihandle, ifn [, istartIndex, istartSlid, inumSlid] ---- -- csound doc: -- http://www.csounds.com/manual/html/FLslidBnk2Setk.html flSlidBnk2Setk :: Sig -> D -> Tab -> SE () -- | gets the handle of last slider bank created. -- -- FLslidBnkGetHandle gets the handle of last slider bank created. -- --
-- ihandle FLslidBnkGetHandle ---- -- csound doc: -- http://www.csounds.com/manual/html/FLslidBnkGetHandle.html flSlidBnkGetHandle :: SE D -- | modify the values of a slider bank. -- -- FLslidBnkSet modifies the values of a slider bank according to an -- array of values stored in a table. -- --
-- FLslidBnkSet ihandle, ifn [, istartIndex, istartSlid, inumSlid] ---- -- csound doc: -- http://www.csounds.com/manual/html/FLslidBnkSet.html flSlidBnkSet :: D -> Tab -> SE () -- | modify the values of a slider bank. -- -- FLslidBnkSetk modifies the values of a slider bank according to an -- array of values stored in a table. -- --
-- FLslidBnkSetk ktrig, ihandle, ifn [, istartIndex, istartSlid, inumSlid] ---- -- csound doc: -- http://www.csounds.com/manual/html/FLslidBnkSetk.html flSlidBnkSetk :: Sig -> D -> Tab -> SE () -- | Same as the FLrun opcode. -- --
-- FLupdate ---- -- csound doc: http://www.csounds.com/manual/html/FLupdate.html flUpdate :: SE () -- | Shows the current value of a FLTK valuator. -- -- FLvalue shows current the value of a valuator in a text field. -- --
-- ihandle FLvalue "label", iwidth, iheight, ix, iy ---- -- csound doc: http://www.csounds.com/manual/html/FLvalue.html flValue :: Str -> D -> D -> D -> D -> SE D -- | An FLTK widget opcode that creates a virtual keyboard widget. -- -- An FLTK widget opcode that creates a virtual keyboard widget. This -- must be used in conjunction with the virtual midi keyboard driver for -- this to operate correctly. The purpose of this opcode is for making -- demo versions of MIDI orchestras with the virtual keyboard embedded -- within the main window. -- --
-- FLvkeybd "keyboard.map", iwidth, iheight, ix, iy ---- -- csound doc: http://www.csounds.com/manual/html/FLvkeybd.html flVkeybd :: Str -> D -> D -> D -> D -> SE () -- | A FLTK widget containing a bank of vertical sliders. -- -- FLvslidBnk is a widget containing a bank of vertical sliders. -- --
-- FLvslidBnk "names", inumsliders [, ioutable] [, iwidth] [, iheight] [, ix] \ -- [, iy] [, itypetable] [, iexptable] [, istart_index] [, iminmaxtable] ---- -- csound doc: http://www.csounds.com/manual/html/FLvslidBnk.html flVslidBnk :: Str -> D -> SE () -- | A FLTK widget containing a bank of vertical sliders. -- -- FLvslidBnk2 is a widget containing a bank of vertical sliders. -- --
-- FLvslidBnk2 "names", inumsliders, ioutable, iconfigtable [,iwidth, iheight, ix, iy, istart_index] ---- -- csound doc: http://www.csounds.com/manual/html/FLvslidBnk2.html flVslidBnk2 :: Str -> D -> D -> D -> SE () -- | Senses the mouse cursor position in a user-defined area inside an -- FLpanel. -- -- Similar to xyin, sense the mouse cursor position in a user-defined -- area inside an FLpanel. -- --
-- koutx, kouty, kinside FLxyin ioutx_min, ioutx_max, iouty_min, iouty_max, \ -- iwindx_min, iwindx_max, iwindy_min, iwindy_max [, iexpx, iexpy, ioutx, iouty] ---- -- csound doc: http://www.csounds.com/manual/html/FLxyin.html flXyin :: D -> D -> D -> D -> D -> D -> D -> D -> SE (Sig, Sig, Sig) -- | Allows one-dimensional HVS (Hyper-Vectorial Synthesis). -- -- vphaseseg allows one-dimensional HVS (Hyper-Vectorial Synthesis). -- --
-- vphaseseg kphase, ioutab, ielems, itab1,idist1,itab2 \ -- [,idist2,itab3, ... ,idistN-1,itabN] ---- -- csound doc: http://www.csounds.com/manual/html/vphaseseg.html vphaseseg :: Sig -> D -> D -> [D] -> SE () -- | A FLTK opcode that sets the primary colors. -- -- Sets the primary colors to RGB values given by the user. -- --
-- FLcolor ired, igreen, iblue [, ired2, igreen2, iblue2] ---- -- csound doc: http://www.csounds.com/manual/html/FLcolor.html flColor :: D -> D -> D -> SE () -- | A FLTK opcode that sets the secondary (selection) color. -- -- FLcolor2 is the same of FLcolor except it affects the secondary -- (selection) color. -- --
-- FLcolor2 ired, igreen, iblue ---- -- csound doc: http://www.csounds.com/manual/html/FLcolor2.html flColor2 :: D -> D -> D -> SE () -- | Hides the target FLTK widget. -- -- Hides the target FLTK widget, making it invisible. -- --
-- FLhide ihandle ---- -- csound doc: http://www.csounds.com/manual/html/FLhide.html flHide :: D -> SE () -- | A FLTK opcode that modifies the appearance of a text label. -- -- Modifies a set of parameters related to the text label appearence of a -- widget (i.e. size, font, alignment and color of corresponding text). -- --
-- FLlabel isize, ifont, ialign, ired, igreen, iblue ---- -- csound doc: http://www.csounds.com/manual/html/FLlabel.html flLabel :: D -> D -> D -> D -> D -> D -> SE () -- | Sets the text alignment of a label of a FLTK widget. -- -- FLsetAlign sets the text alignment of the label of the target widget. -- --
-- FLsetAlign ialign, ihandle ---- -- csound doc: http://www.csounds.com/manual/html/FLsetAlign.html flSetAlign :: D -> D -> SE () -- | Sets the appearance of a box surrounding a FLTK widget. -- -- FLsetBox sets the appearance of a box surrounding the target widget. -- --
-- FLsetBox itype, ihandle ---- -- csound doc: http://www.csounds.com/manual/html/FLsetBox.html flSetBox :: D -> D -> SE () -- | Sets the primary color of a FLTK widget. -- -- FLsetColor sets the primary color of the target widget. -- --
-- FLsetColor ired, igreen, iblue, ihandle ---- -- csound doc: http://www.csounds.com/manual/html/FLsetColor.html flSetColor :: D -> D -> D -> D -> SE () -- | Sets the secondary (or selection) color of a FLTK widget. -- -- FLsetColor2 sets the secondary (or selection) color of the target -- widget. -- --
-- FLsetColor2 ired, igreen, iblue, ihandle ---- -- csound doc: http://www.csounds.com/manual/html/FLsetColor2.html flSetColor2 :: D -> D -> D -> D -> SE () -- | Sets the font type of a FLTK widget. -- -- FLsetFont sets the font type of the target widget. -- --
-- FLsetFont ifont, ihandle ---- -- csound doc: http://www.csounds.com/manual/html/FLsetFont.html flSetFont :: D -> D -> SE () -- | Sets the position of a FLTK widget. -- -- FLsetPosition sets the position of the target widget according to the -- ix and iy arguments. -- --
-- FLsetPosition ix, iy, ihandle ---- -- csound doc: -- http://www.csounds.com/manual/html/FLsetPosition.html flSetPosition :: D -> D -> D -> SE () -- | Resizes a FLTK widget. -- -- FLsetSize resizes the target widget (not the size of its text) -- according to the iwidth and iheight arguments. -- --
-- FLsetSize iwidth, iheight, ihandle ---- -- csound doc: http://www.csounds.com/manual/html/FLsetSize.html flSetSize :: D -> D -> D -> SE () -- | Sets the label of a FLTK widget. -- -- FLsetText sets the label of the target widget to the double-quoted -- text string provided with the itext argument. -- --
-- FLsetText "itext", ihandle ---- -- csound doc: http://www.csounds.com/manual/html/FLsetText.html flSetText :: Str -> D -> SE () -- | Sets the color of the text label of a FLTK widget. -- -- FLsetTextColor sets the color of the text label of the target widget. -- --
-- FLsetTextColor ired, iblue, igreen, ihandle ---- -- csound doc: -- http://www.csounds.com/manual/html/FLsetTextColor.html flSetTextColor :: D -> D -> D -> D -> SE () -- | Sets the size of the text label of a FLTK widget. -- -- FLsetTextSize sets the size of the text label of the target widget. -- --
-- FLsetTextSize isize, ihandle ---- -- csound doc: -- http://www.csounds.com/manual/html/FLsetTextSize.html flSetTextSize :: D -> D -> SE () -- | Sets some font attributes of the text label of a FLTK widget. -- -- FLsetTextType sets some attributes related to the fonts of the text -- label of the target widget. -- --
-- FLsetTextType itype, ihandle ---- -- csound doc: -- http://www.csounds.com/manual/html/FLsetTextType.html flSetTextType :: D -> D -> SE () -- | Restores the visibility of a previously hidden FLTK widget. -- -- FLshow restores the visibility of a previously hidden widget. -- --
-- FLshow ihandle ---- -- csound doc: http://www.csounds.com/manual/html/FLshow.html flShow :: D -> SE () module Csound.Typed.Opcode.TableControl -- | Deletes function table. -- --
-- ftfree ifno, iwhen ---- -- csound doc: http://www.csounds.com/manual/html/ftfree.html ftfree :: Tab -> D -> SE () -- | Generate a score function table from within the orchestra. -- --
-- gir ftgen ifn, itime, isize, igen, iarga [, iargb ] [...] ---- -- csound doc: http://www.csounds.com/manual/html/ftgen.html ftgen :: Tab -> D -> D -> D -> D -> SE D -- | Generate a score function table from within the orchestra, which is -- deleted at the end of the note. -- -- Generate a score function table from within the orchestra, which is -- optionally deleted at the end of the note. -- --
-- ifno ftgentmp ip1, ip2dummy, isize, igen, iarga, iargb, ... ---- -- csound doc: http://www.csounds.com/manual/html/ftgentmp.html ftgentmp :: D -> D -> D -> D -> D -> [D] -> SE Tab -- | Loads a sound file into memory for use by loscilx -- -- sndload loads a sound file into memory for use by loscilx. -- --
-- sndload Sfname[, ifmt[, ichns[, isr[, ibas[, iamp[, istrt \ -- [, ilpmod[, ilps[, ilpe]]]]]]]]] ---- -- csound doc: http://www.csounds.com/manual/html/sndload.html sndload :: Str -> SE () module Csound.Typed.Opcode.SerialIO -- | Open a serial port. -- -- Open a serial port for arduino. -- --
-- iPort serialBegin SPortName [, ibaudRate] ---- -- csound doc: http://www.csounds.com/manual/html/serialBegin.html serialBegin :: Str -> SE D -- | Close a serial port. -- -- Close a serial port for arduino. -- --
-- serialEnd iPort ---- -- csound doc: http://www.csounds.com/manual/html/serialEnd.html serialEnd :: D -> SE () -- | Flush data from a serial port. -- -- Flush to the screen any bytes (up to 32k) in the input buffer. Note -- that these bytes will be cleared from the buffer. use this opcode -- mainly for debugging messages. If you want to mix debugging and other -- communication messages over the same port, you will need to manually -- parse the data with the serialRead opcode. -- --
-- serialFlush iPort ---- -- csound doc: http://www.csounds.com/manual/html/serialFlush.html serialFlush :: D -> SE () -- | Print data from a serial port. -- -- Print to the screen any bytes (up to 32k) in the input buffer. Note -- that these bytes will be cleared from the buffer. use this opcode -- mainly for debugging messages. If you want to mix debugging and other -- communication messages over the same port, you will need to manually -- parse the data with the serialRead opcode. -- --
-- serialPrint iPort ---- -- csound doc: http://www.csounds.com/manual/html/serialPrint.html serialPrint :: D -> SE () -- | Read data from a serial port. -- -- Read data from a serial port for arduino. -- --
-- kByte serialRead iPort ---- -- csound doc: http://www.csounds.com/manual/html/serialRead.html serialRead :: D -> Sig -- | Write data to a serial port. -- -- Write data to a serial port for arduino. -- --
-- serialWrite iPort, iByte -- serialWrite iPort, kByte -- serialWrite iPort, SBytes ---- -- csound doc: http://www.csounds.com/manual/html/serialWrite.html serialWrite :: D -> D -> SE () -- | Write data to a serial port. -- -- Write data to a serial port for arduino. -- --
-- serialWrite_i iPort, iByte -- serialWrite_i iPort, SBytes ---- -- csound doc: -- http://www.csounds.com/manual/html/serialWrite_i.html serialWrite_i :: D -> D -> SE () module Csound.Typed.Opcode.JackoOpcodes -- | Receives an audio signal from a Jack port. -- -- Receives an audio signal from a Jack audio input port inside this -- instance of Csound, which in turn has received the signal from its -- connected external Jack audio output port. -- --
-- asignal JackoAudioIn ScsoundPortName ---- -- csound doc: -- http://www.csounds.com/manual/html/JackoAudioIn.html jackoAudioIn :: Str -> SE Sig -- | Creates an audio connection from a Jack port to Csound. -- -- In the orchestra header, creates an audio connection from an external -- Jack audio output port to a Jack audio input port inside this instance -- of Csound. -- --
-- JackoAudioInConnect SexternalPortName, ScsoundPortName ---- -- csound doc: -- http://www.csounds.com/manual/html/JackoAudioInConnect.html jackoAudioInConnect :: Str -> Str -> SE () -- | Sends an audio signal to a Jack port. -- -- Sends an audio signal to an internal Jack audio output port, and in -- turn to its connected external Jack audio input port. -- --
-- JackoAudioOut ScsoundPortName, asignal ---- -- csound doc: -- http://www.csounds.com/manual/html/JackoAudioOut.html jackoAudioOut :: Str -> Sig -> SE () -- | Creates an audio connection from Csound to a Jack port. -- -- In the orchestra header, creates an audio connection from a Jack audio -- output port inside this instance of Csound to an external Jack audio -- input port. -- --
-- JackoAudioOutConnect ScsoundPortName, SexternalPortName ---- -- csound doc: -- http://www.csounds.com/manual/html/JackoAudioOutConnect.html jackoAudioOutConnect :: Str -> Str -> SE () -- | Turns Jack's freewheeling mode on or off. -- --
-- JackoFreewheel [ienabled] ---- -- csound doc: -- http://www.csounds.com/manual/html/JackoFreewheel.html jackoFreewheel :: SE () -- | Prints information about the Jack system. -- -- Prints the Jack daemon and client names, the sampling rate and frames -- per period, and all active Jack port names, types, states, and -- connections. -- --
-- JackoInfo ---- -- csound doc: http://www.csounds.com/manual/html/JackoInfo.html jackoInfo :: SE () -- | Initializes Csound as a Jack client. -- -- Initializes this instance of Csound as a Jack client. -- --
-- JackoInit SclientName, ServerName ---- -- csound doc: http://www.csounds.com/manual/html/JackoInit.html jackoInit :: Str -> Str -> SE () -- | Creates a MIDI connection from a Jack port to Csound. -- -- In the orchestra header, creates a MIDI connection from an external -- Jack MIDI output port to this instance of Csound. -- --
-- JackoMidiInConnect SexternalPortName, ScsoundPortName ---- -- csound doc: -- http://www.csounds.com/manual/html/JackoMidiInConnect.html jackoMidiInConnect :: Str -> Str -> SE () -- | Sends a MIDI channel message to a Jack port. -- -- Sends a MIDI channel message to a Jack MIDI output port inside this -- instance of Csound, and in turn to its connected external Jack MIDI -- input port. -- --
-- JackoMidiOut ScsoundPortName, kstatus, kchannel, kdata1[, kdata2] ---- -- csound doc: -- http://www.csounds.com/manual/html/JackoMidiOut.html jackoMidiOut :: Str -> Sig -> Sig -> Sig -> SE () -- | Creates a MIDI connection from Csound to a Jack port. -- -- In the orchestra header, creates a connection from a Jack MIDI output -- port inside this instance of Csound to an external Jack MIDI input -- port. -- --
-- JackoMidiOutConnect ScsoundPortName, SexternalPortName ---- -- csound doc: -- http://www.csounds.com/manual/html/JackoMidiOutConnect.html jackoMidiOutConnect :: Str -> Str -> SE () -- | Sends a MIDI channel message to a Jack port. -- -- Sends a MIDI channel message to a Jack MIDI output port inside this -- instance of Csound, and in turn to its connected external Jack MIDI -- input port. -- --
-- JackoNoteOut ScsoundPortName, kstatus, kchannel, kdata1[, kdata2] ---- -- csound doc: -- http://www.csounds.com/manual/html/JackoNoteOut.html jackoNoteOut :: Str -> Sig -> Sig -> Sig -> SE () -- | Enables or disables all Jack ports. -- -- In the orchestra header, after all Jack connections have been created, -- enables or disables all Jack input and output opcodes inside this -- instance of Csound to read or write data. -- --
-- JackoOn [iactive] ---- -- csound doc: http://www.csounds.com/manual/html/JackoOn.html jackoOn :: SE () -- | Control the Jack transport. -- -- Starts, stops, or repositions the Jack transport. This is useful, -- e.g., for starting an external sequencer playing to send MIDI messages -- to Csound. -- --
-- JackoTransport kcommand, [kposition] ---- -- csound doc: -- http://www.csounds.com/manual/html/JackoTransport.html jackoTransport :: Sig -> SE () module Csound.Typed.Opcode.InstrumentControl -- | Stops one of a number of internal clocks. -- --
-- clockoff inum ---- -- csound doc: http://www.csounds.com/manual/html/clockoff.html clockoff :: D -> SE () -- | Starts one of a number of internal clocks. -- --
-- clockon inum ---- -- csound doc: http://www.csounds.com/manual/html/clockon.html clockon :: D -> SE () -- | Creates a held note. -- -- Causes a finite-duration note to become a âheldâ note -- --
-- ihold ---- -- csound doc: http://www.csounds.com/manual/html/ihold.html ihold :: SE () -- | Enables an instrument to turn itself off. -- --
-- turnoff ---- -- csound doc: http://www.csounds.com/manual/html/turnoff.html turnoff :: SE () -- | Turn off instance(s) of other instruments at performance time. -- --
-- turnoff2 kinsno, kmode, krelease -- ---- -- csound doc: http://www.csounds.com/manual/html/turnoff2.html turnoff2 :: Sig -> Sig -> Sig -> SE () -- | Activate an instrument for an indefinite time. -- --
-- turnon insnum [, itime] ---- -- csound doc: http://www.csounds.com/manual/html/turnon.html turnon :: D -> SE () -- | Generates a score event from an instrument. -- --
-- event "scorechar", kinsnum, kdelay, kdur, [, kp4] [, kp5] [, ...] -- event "scorechar", "insname", kdelay, kdur, [, kp4] [, kp5] [, ...] ---- -- csound doc: http://www.csounds.com/manual/html/event.html event :: Str -> Sig -> Sig -> Sig -> [Sig] -> SE () -- | Generates a score event from an instrument. -- --
-- event_i "scorechar", iinsnum, idelay, idur, [, ip4] [, ip5] [, ...] -- event_i "scorechar", "insname", idelay, idur, [, ip4] [, ip5] [, ...] ---- -- csound doc: http://www.csounds.com/manual/html/event_i.html event_i :: Str -> D -> D -> D -> [D] -> SE () -- | Mutes/unmutes new instances of a given instrument. -- --
-- mute insnum [, iswitch] -- mute "insname" [, iswitch] ---- -- csound doc: http://www.csounds.com/manual/html/mute.html mute :: D -> SE () -- | Read, preprocess and schedule a score from an input string. -- -- Readscore will issue one or more score events. It can handle strings -- in the same conditions as the standard score, including preprocessing -- (carry, sort, ramp, etc). Multi-line strings are accepted, using {{ }} -- to enclose the string. -- --
-- readscore Sin ---- -- csound doc: http://www.csounds.com/manual/html/readscore.html readscore :: Str -> SE () -- | Removes the definition of an instrument. -- -- Removes the definition of an instrument as long as it is not in use. -- --
-- remove insnum ---- -- csound doc: http://www.csounds.com/manual/html/remove.html remove :: D -> SE () -- | Adds a new score event generated by a k-rate trigger. -- --
-- schedkwhen ktrigger, kmintim, kmaxnum, kinsnum, kwhen, kdur \ -- [, ip4] [, ip5] [...] -- schedkwhen ktrigger, kmintim, kmaxnum, "insname", kwhen, kdur \ -- [, ip4] [, ip5] [...] ---- -- csound doc: http://www.csounds.com/manual/html/schedkwhen.html schedkwhen :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> SE () -- | Similar to schedkwhen but uses a named instrument at init-time. -- --
-- schedkwhennamed ktrigger, kmintim, kmaxnum, "name", kwhen, kdur \ -- [, ip4] [, ip5] [...] ---- -- csound doc: -- http://www.csounds.com/manual/html/schedkwhennamed.html schedkwhennamed :: Sig -> Sig -> Sig -> Str -> Sig -> Sig -> SE () -- | Adds a new score event. -- --
-- schedule insnum, iwhen, idur [, ip4] [, ip5] [...] -- schedule "insname", iwhen, idur [, ip4] [, ip5] [...] ---- -- csound doc: http://www.csounds.com/manual/html/schedule.html schedule :: D -> D -> D -> SE () -- | Adds a new score event. -- --
-- schedwhen ktrigger, kinsnum, kwhen, kdur [, ip4] [, ip5] [...] -- schedwhen ktrigger, "insname", kwhen, kdur [, ip4] [, ip5] [...] ---- -- csound doc: http://www.csounds.com/manual/html/schedwhen.html schedwhen :: Sig -> Sig -> Sig -> Sig -> SE () -- | Issues one or more score line events from an instrument. -- -- Scoreline will issue one or more score events, if ktrig is 1 every -- k-period. It can handle strings in the same conditions as the standard -- score. Multi-line strings are accepted, using {{ }} to enclose the -- string. -- --
-- scoreline Sin, ktrig ---- -- csound doc: http://www.csounds.com/manual/html/scoreline.html scoreline :: Str -> Sig -> SE () -- | Issues one or more score line events from an instrument at i-time. -- -- scoreline_i will issue score events at i-time. It can handle strings -- in the same conditions as the standard score. Multi-line strings are -- accepted, using {{ }} to enclose the string. -- --
-- scoreline_i Sin ---- -- csound doc: http://www.csounds.com/manual/html/scoreline_i.html scoreline_i :: Str -> SE () -- | Returns the number of active instances of an instrument. -- --
-- ir active insnum [,iopt] -- ir active Sinsname [,iopt] -- kres active kinsnum [,iopt] ---- -- csound doc: http://www.csounds.com/manual/html/active.html active :: D -> Sig -- | Control allocation of cpu resources on a per-instrument basis, to -- optimize realtime output. -- --
-- cpuprc insnum, ipercent -- cpuprc Sinsname, ipercent ---- -- csound doc: http://www.csounds.com/manual/html/cpuprc.html cpuprc :: D -> D -> SE () -- | Exit Csound as fast as possible, with no cleaning up. -- -- In Csound4 calls an exit function to leave Csound as fast as possible. -- On Csound5 exits back to the driving code. -- --
-- exitnow ---- -- csound doc: http://www.csounds.com/manual/html/exitnow.html exitnow :: SE () -- | Start/stop jack_transport and can optionally relocate the playback -- head. -- --
-- jacktransport icommand [, ilocation] ---- -- csound doc: -- http://www.csounds.com/manual/html/jacktransport.html jacktransport :: D -> SE () -- | Limits the number of allocations of an instrument. -- --
-- maxalloc insnum, icount -- maxalloc Sinsname, icount ---- -- csound doc: http://www.csounds.com/manual/html/maxalloc.html maxalloc :: D -> D -> SE () -- | Creates space for instruments but does not run them. -- --
-- prealloc insnum, icount -- prealloc "insname", icount ---- -- csound doc: http://www.csounds.com/manual/html/prealloc.html prealloc :: D -> D -> SE () -- | Sense on-screen controls. -- -- Sense on-screen controls. Requires Winsound or TCL/TK. -- --
-- kres button knum ---- -- csound doc: http://www.csounds.com/manual/html/button.html button :: Sig -> Sig -- | k-rate signal change detector. -- -- This opcode outputs a trigger signal that informs when any one of its -- k-rate arguments has changed. Useful with valuator widgets or MIDI -- controllers. -- --
-- ktrig changed kvar1 [, kvar2,..., kvarN] ---- -- csound doc: http://www.csounds.com/manual/html/changed.html changed :: [Sig] -> Sig -- | Sense on-screen controls. -- -- Sense on-screen controls. Requires Winsound or TCL/TK. -- --
-- kres checkbox knum ---- -- csound doc: http://www.csounds.com/manual/html/checkbox.html checkbox :: Sig -> Sig -- | Configurable slider controls for realtime user input. -- -- Configurable slider controls for realtime user input. Requires -- Winsound or TCL/TK. control reads a slider's value. -- --
-- kres control knum ---- -- csound doc: http://www.csounds.com/manual/html/control.html control :: Sig -> Sig -- | Envelope follower unit generator. -- --
-- ares follow asig, idt ---- -- csound doc: http://www.csounds.com/manual/html/follow.html follow :: Sig -> D -> Sig -- | Another controllable envelope extractor. -- -- A controllable envelope extractor using the algorithm attributed to -- Jean-Marc Jot. -- --
-- ares follow2 asig, katt, krel ---- -- csound doc: http://www.csounds.com/manual/html/follow2.html follow2 :: Sig -> Sig -> Sig -> Sig -- | Return Csound settings. -- -- Return various configuration settings in Svalue as a string at init -- time. -- --
-- Svalue getcfg iopt ---- -- csound doc: http://www.csounds.com/manual/html/getcfg.html getcfg :: D -> Str -- | Reads data from a joystick controller. -- -- Reads data from a Linux joystick controller -- --
-- kres joystick kdevice ktab ---- -- csound doc: http://www.csounds.com/manual/html/joystick.html joystick :: Sig -> Sig -> Sig -- | Trigger Metronome -- -- Generate a metronomic signal to be used in any circumstance an -- isochronous trigger is needed. -- --
-- ktrig metro kfreq [, initphase] ---- -- csound doc: http://www.csounds.com/manual/html/metro.html metro :: Sig -> Sig -- | Returns the current tempo at k-rate, of either the MIDI file (if -- available) or the score -- --
-- ksig miditempo ---- -- csound doc: http://www.csounds.com/manual/html/miditempo.html miditempo :: Sig -- | Reads data from a P5 Glove controller. -- -- Opens and at control-rate polls a P5 Glove controller. -- --
-- p5gconnect ---- -- csound doc: http://www.csounds.com/manual/html/p5gconnect.html p5gconnect :: SE () -- | Reads data fields from an external P5 Glove. -- -- Reads data fields from a P5 Glove controller. -- --
-- kres p5gdata kcontrol ---- -- csound doc: http://www.csounds.com/manual/html/p5gdata.html p5gdata :: Sig -> Sig -- | Returns the number of pfields belonging to a note event. -- -- pcount returns the number of pfields belonging to a note event. -- --
-- icount pcount ---- -- csound doc: http://www.csounds.com/manual/html/pcount.html pcount :: D -- | Maintains the output equal to the highest absolute value received. -- -- These opcodes maintain the output k-rate variable as the peak absolute -- level so far received. -- --
-- kres peak asig -- kres peak ksig ---- -- csound doc: http://www.csounds.com/manual/html/peak.html peak :: Sig -> Sig -- | Returns the value of a specified pfield. -- -- pindex returns the value of a specified pfield. -- --
-- ivalue pindex ipfieldIndex ---- -- csound doc: http://www.csounds.com/manual/html/pindex.html pindex :: D -> D -- | Tracks the pitch of a signal. -- -- Using the same techniques as spectrum and specptrk, pitch tracks the -- pitch of the signal in octave point decimal form, and amplitude in dB. -- --
-- koct, kamp pitch asig, iupdte, ilo, ihi, idbthresh [, ifrqs] [, iconf] \ -- [, istrt] [, iocts] [, iq] [, inptls] [, irolloff] [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/pitch.html pitch :: Sig -> D -> D -> D -> D -> (Sig, Sig) -- | Follows the pitch of a signal based on the AMDF method. -- -- Follows the pitch of a signal based on the AMDF method (Average -- Magnitude Difference Function). Outputs pitch and amplitude tracking -- signals. The method is quite fast and should run in realtime. This -- technique usually works best for monophonic signals. -- --
-- kcps, krms pitchamdf asig, imincps, imaxcps [, icps] [, imedi] \ -- [, idowns] [, iexcps] [, irmsmedi] ---- -- csound doc: http://www.csounds.com/manual/html/pitchamdf.html pitchamdf :: Sig -> D -> D -> (Sig, Sig) -- | Tracks the pitch of a signal. -- -- plltrack, a pitch tracker based on a phase-locked loop algorithm, -- described in Zolzer, U, Sankarababu, S.V. and Moller, S, "PLL-based -- Pitch Detection and Tracking for Audio Signals. Proc. of IIH-MSP -- 2012". -- --
-- acps, alock plltrack asig, kd [, kloopf, kloopq, klf, khf, kthresh] ---- -- csound doc: http://www.csounds.com/manual/html/plltrack.html plltrack :: Sig -> Sig -> (Sig, Sig) -- | Tracks the pitch of a signal. -- -- ptrack takes an input signal, splits it into ihopsize blocks and using -- a STFT method, extracts an estimated pitch for its fundamental -- frequency as well as estimating the total amplitude of the signal in -- dB, relative to full-scale (0dB). The method implies an analysis -- window size of 2*ihopsize samples (overlaping by 1/2 window), which -- has to be a power-of-two, between 128 and 8192 (hopsizes between 64 -- and 4096). Smaller windows will give better time precision, but worse -- frequency accuracy (esp. in low fundamentals).This opcode is based on -- an original algorithm by M. Puckette. -- --
-- kcps, kamp ptrack asig, ihopsize[,ipeaks] ---- -- csound doc: http://www.csounds.com/manual/html/ptrack.html ptrack :: Sig -> D -> (Sig, Sig) -- | Rewinds the playback position of the current score performance. -- -- Rewinds the playback position of the current score performance.. -- --
-- rewindscore ---- -- csound doc: http://www.csounds.com/manual/html/rewindscore.html rewindscore :: SE () -- | Determines the root-mean-square amplitude of an audio signal. -- -- Determines the root-mean-square amplitude of an audio signal. It -- low-pass filters the actual value, to average in the manner of a VU -- meter. -- --
-- kres rms asig [, ihp] [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/rms.html rms :: Sig -> Sig -- | Returns the ASCII code of a key that has been pressed. -- -- Returns the ASCII code of a key that has been pressed, or -1 if no key -- has been pressed. -- --
-- kres[, kkeydown] sensekey ---- -- csound doc: http://www.csounds.com/manual/html/sensekey.html sensekey :: Tuple a => a -- | Generates a trigger signal according to the values stored in a table. -- --
-- ktrig_out seqtime ktime_unit, kstart, kloop, kinitndx, kfn_times ---- -- csound doc: http://www.csounds.com/manual/html/seqtime.html seqtime :: Sig -> Sig -> Sig -> Sig -> Tab -> Sig -- | Generates a trigger signal according to the values stored in a table. -- --
-- ktrig_out seqtime2 ktrig_in, ktime_unit, kstart, kloop, kinitndx, kfn_times ---- -- csound doc: http://www.csounds.com/manual/html/seqtime2.html seqtime2 :: Sig -> Sig -> Sig -> Sig -> Sig -> Tab -> Sig -- | Configurable slider controls for realtime user input. -- -- Configurable slider controls for realtime user input. Requires -- Winsound or TCL/TK. setctrl sets a slider to a specific value, or sets -- a minimum or maximum range. -- --
-- setctrl inum, ival, itype ---- -- csound doc: http://www.csounds.com/manual/html/setctrl.html setctrl :: D -> D -> D -> SE () -- | Split a trigger signal -- -- splitrig splits a trigger signal (i.e. a timed sequence of -- control-rate impulses) into several channels following a structure -- designed by the user. -- --
-- splitrig ktrig, kndx, imaxtics, ifn, kout1 [,kout2,...,koutN] ---- -- csound doc: http://www.csounds.com/manual/html/splitrig.html splitrig :: Sig -> Sig -> D -> Tab -> [Sig] -> SE () -- | Estimate the tempo of beat patterns in a control signal. -- --
-- ktemp tempest kin, iprd, imindur, imemdur, ihp, ithresh, ihtim, ixfdbak, \ -- istartempo, ifn [, idisprd] [, itweek] ---- -- csound doc: http://www.csounds.com/manual/html/tempest.html tempest :: Sig -> D -> D -> D -> D -> D -> D -> D -> D -> Tab -> Sig -- | Apply tempo control to an uninterpreted score. -- --
-- tempo ktempo, istartempo ---- -- csound doc: http://www.csounds.com/manual/html/tempo.html tempo :: Sig -> D -> SE () -- | Reads the current value of the tempo. -- --
-- kres tempoval ---- -- csound doc: http://www.csounds.com/manual/html/tempoval.html tempoval :: Sig -- | Time Variant Sequencer -- -- An event-sequencer in which time can be controlled by a time-pointer. -- Sequence data are stored into a table. -- --
-- ktrig timedseq ktimpnt, ifn, kp1 [,kp2, kp3, ...,kpN] ---- -- csound doc: http://www.csounds.com/manual/html/timedseq.html timedseq :: Sig -> Tab -> [Sig] -> Sig -- | Informs when a krate signal crosses a threshold. -- --
-- kout trigger ksig, kthreshold, kmode ---- -- csound doc: http://www.csounds.com/manual/html/trigger.html trigger :: Sig -> Sig -> Sig -> Sig -- | Accepts a trigger signal as input and outputs a group of values. -- --
-- trigseq ktrig_in, kstart, kloop, kinitndx, kfn_values, kout1 [, kout2] [...] ---- -- csound doc: http://www.csounds.com/manual/html/trigseq.html trigseq :: Sig -> Sig -> Sig -> Sig -> Tab -> [Sig] -> SE () -- | Reads data from a number of external Nintendo Wiimote controllers. -- -- Opens and at control-rate polls up to four external Nintendo Wiimote -- controllers. -- --
-- ires wiiconnect [itimeout, imaxnum] ---- -- csound doc: http://www.csounds.com/manual/html/wiiconnect.html wiiconnect :: D -- | Reads data fields from a number of external Nintendo Wiimote -- controllers. -- -- Reads data fields from upto four external Nintendo Wiimote -- controllers. -- --
-- kres wiidata kcontrol[, knum] ---- -- csound doc: http://www.csounds.com/manual/html/wiidata.html wiidata :: Sig -> Sig -- | Sets scaling and range limits for certain Wiimote fields. -- --
-- wiirange icontrol, iminimum, imaximum[, inum] ---- -- csound doc: http://www.csounds.com/manual/html/wiirange.html wiirange :: D -> D -> D -> SE () -- | Sends data to one of a number of external Nintendo Wiimote -- controllers. -- --
-- kres wiisend kcontrol, kvalue[, knum] ---- -- csound doc: http://www.csounds.com/manual/html/wiisend.html wiisend :: Sig -> Sig -> Sig -- | Sense the cursor position in an output window -- -- Sense the cursor position in an output window. When xyin is called the -- position of the mouse within the output window is used to reply to the -- request. This simple mechanism does mean that only one xyin can be -- used accurately at once. The position of the mouse is reported in the -- output window. -- --
-- kx, ky xyin iprd, ixmin, ixmax, iymin, iymax [, ixinit] [, iyinit] ---- -- csound doc: http://www.csounds.com/manual/html/xyin.html xyin :: D -> D -> D -> D -> D -> (Sig, Sig) -- | Pops values from the global stack. -- --
-- xval1, [xval2, ... , xval31] pop -- ival1, [ival2, ... , ival31] pop ---- -- csound doc: http://www.csounds.com/manual/html/pop.html pop :: Tuple a => a -- | Pops an f-sig frame from the global stack. -- --
-- fsig pop_f ---- -- csound doc: http://www.csounds.com/manual/html/pop_f.html pop_f :: Spec -- | Pushes a value into the global stack. -- --
-- push xval1, [xval2, ... , xval31] -- push ival1, [ival2, ... , ival31] ---- -- csound doc: http://www.csounds.com/manual/html/push.html push :: [Sig] -> SE () -- | Pushes an f-sig frame into the global stack. -- --
-- push_f fsig ---- -- csound doc: http://www.csounds.com/manual/html/push_f.html push_f :: Spec -> SE () -- | Initializes the stack. -- -- Initializes and sets the size of the global stack. -- --
-- stack iStackSize ---- -- csound doc: http://www.csounds.com/manual/html/stack.html stack :: D -> SE () -- | Creates and runs a numbered instrument instance. -- -- Creates an instance of another instrument and is used as if it were an -- opcode. -- --
-- a1, [...] [, a8] subinstr instrnum [, p4] [, p5] [...] -- a1, [...] [, a8] subinstr "insname" [, p4] [, p5] [...] ---- -- csound doc: http://www.csounds.com/manual/html/subinstr.html subinstr :: Tuple a => D -> [D] -> a -- | Creates and runs a numbered instrument instance at init-time. -- -- Same as subinstr, but init-time only and has no output arguments. -- --
-- subinstrinit instrnum [, p4] [, p5] [...] -- subinstrinit "insname" [, p4] [, p5] [...] ---- -- csound doc: -- http://www.csounds.com/manual/html/subinstrinit.html subinstrinit :: D -> [D] -> SE () -- | Returns the number seconds since a base date. -- -- Returns the number seconds since a base date, using the operating -- system's clock. The base is 1 January 1970 for Csound using doubles, -- and 1 January 2010 for versions using floats. -- --
-- ir date ---- -- csound doc: http://www.csounds.com/manual/html/date.html date :: D -- | Returns as a string the date and time specified. -- --
-- Sir dates [ itime] ---- -- csound doc: http://www.csounds.com/manual/html/dates.html dates :: Str -- | Reads the value of an internal clock. -- --
-- ir readclock inum ---- -- csound doc: http://www.csounds.com/manual/html/readclock.html readclock :: D -> D -- | Read the real time clock from the operating system. -- -- Read the real-time clock from the operating system. -- --
-- ires rtclock -- kres rtclock ---- -- csound doc: http://www.csounds.com/manual/html/rtclock.html rtclock :: Sig -- | Read absolute time in k-rate cycles. -- -- Read absolute time, in k-rate cycles, since the start of an instance -- of an instrument. Called at both i-time as well as k-time. -- --
-- kres timeinstk ---- -- csound doc: http://www.csounds.com/manual/html/timeinstk.html timeinstk :: Sig -- | Read absolute time in seconds. -- -- Read absolute time, in seconds, since the start of an instance of an -- instrument. -- --
-- kres timeinsts ---- -- csound doc: http://www.csounds.com/manual/html/timeinsts.html timeinsts :: Sig -- | Read absolute time in k-rate cycles. -- -- Read absolute time, in k-rate cycles, since the start of the -- performance. -- --
-- ires timek -- kres timek ---- -- csound doc: http://www.csounds.com/manual/html/timek.html timek :: SE Sig -- | Read absolute time in seconds. -- -- Read absolute time, in seconds, since the start of the performance. -- --
-- ires times -- kres times ---- -- csound doc: http://www.csounds.com/manual/html/times.html times :: SE Sig module Csound.Typed.Opcode.SignalModifiers -- | Adjust one audio signal according to the values of another. -- -- The rms power of asig can be interrogated, set, or adjusted to match -- that of a comparator signal. -- --
-- ares balance asig, acomp [, ihp] [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/balance.html balance :: Sig -> Sig -> Sig -- | Clips a signal to a predefined limit. -- -- Clips an a-rate signal to a predefined limit, in a âsoftâ manner, -- using one of three methods. -- --
-- ares clip asig, imeth, ilimit [, iarg] ---- -- csound doc: http://www.csounds.com/manual/html/clip.html clip :: Sig -> D -> D -> Sig -- | Compress, limit, expand, duck or gate an audio signal. -- -- This unit functions as an audio compressor, limiter, expander, or -- noise gate, using either soft-knee or hard-knee mapping, and with -- dynamically variable performance characteristics. It takes two audio -- input signals, aasig and acsig, the first of which is modified by a -- running analysis of the second. Both signals can be the same, or the -- first can be modified by a different controlling signal. -- --
-- ar compress aasig, acsig, kthresh, kloknee, khiknee, kratio, katt, krel, ilook ---- -- csound doc: http://www.csounds.com/manual/html/compress.html compress :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> D -> Sig -- | A dynamic compressor/expander. -- -- This opcode dynamically modifies a gain value applied to the input -- sound ain by comparing its power level to a given threshold level. The -- signal will be compressed/expanded with different factors regarding -- that it is over or under the threshold. -- --
-- ares dam asig, kthreshold, icomp1, icomp2, irtime, iftime ---- -- csound doc: http://www.csounds.com/manual/html/dam.html dam :: Sig -> Sig -> D -> D -> D -> D -> Sig -- | Adjusts the amplitude audio signal according to a root-mean-square -- value. -- --
-- ares gain asig, krms [, ihp] [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/gain.html gain :: Sig -> Sig -> Sig -- | Convolves a signal and an impulse response. -- -- Output is the convolution of signal ain and the impulse response -- contained in ifilcod. If more than one output signal is supplied, each -- will be convolved with the same impulse response. Note that it is -- considerably more efficient to use one instance of the operator when -- processing a mono input to create stereo, or quad, outputs. -- --
-- ar1 [, ar2] [, ar3] [, ar4] convolve ain, ifilcod [, ichannel] ---- -- csound doc: http://www.csounds.com/manual/html/convolve.html convolve :: Tuple a => Sig -> Str -> a -- | Cross synthesis using FFT's. -- -- This is an implementation of cross synthesis using FFT's. -- --
-- ares cross2 ain1, ain2, isize, ioverlap, iwin, kbias ---- -- csound doc: http://www.csounds.com/manual/html/cross2.html cross2 :: Sig -> Sig -> D -> D -> D -> Sig -> Sig -- | A direct convolution opcode. -- --
-- ares dconv asig, isize, ifn ---- -- csound doc: http://www.csounds.com/manual/html/dconv.html dconv :: Sig -> D -> Tab -> Sig -- | Low latency multichannel convolution, using a function table as -- impulse response source. -- -- Low latency multichannel convolution, using a function table as -- impulse response source. The algorithm is to split the impulse -- response to partitions of length determined by the iplen parameter, -- and delay and mix partitions so that the original, full length impulse -- response is reconstructed without gaps. The output delay (latency) is -- iplen samples, and does not depend on the control rate, unlike in the -- case of other convolve opcodes. -- --
-- a1[, a2[, a3[, ... a8]]] ftconv ain, ift, iplen[, iskipsamples \ -- [, iirlen[, iskipinit]]] ---- -- csound doc: http://www.csounds.com/manual/html/ftconv.html ftconv :: Tuple a => Sig -> D -> D -> a -- | Morphs between multiple ftables as specified in a list. -- -- Uses an index into a table of ftable numbers to morph between adjacent -- tables in the list.This morphed function is written into the table -- referenced by iresfn on every k-cycle. -- --
-- ftmorf kftndx, iftfn, iresfn ---- -- csound doc: http://www.csounds.com/manual/html/ftmorf.html ftmorf :: Sig -> Tab -> Tab -> SE () -- | Convolution based on a uniformly partitioned overlap-save algorithm -- -- Convolution based on a uniformly partitioned overlap-save algorithm. -- Compared to the convolve opcode, pconvolve has these benefits: -- --
-- ar1 [, ar2] [, ar3] [, ar4] pconvolve ain, ifilcod [, ipartitionsize, ichannel] ---- -- csound doc: http://www.csounds.com/manual/html/pconvolve.html pconvolve :: Tuple a => Sig -> Str -> a -- | Delays an input signal by some time interval. -- -- A signal can be read from or written into a delay path, or it can be -- automatically delayed by some time interval. -- --
-- ares delay asig, idlt [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/delay.html delay :: Sig -> D -> Sig -- | Delays an input signal by one sample. -- --
-- ares delay1 asig [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/delay1.html delay1 :: Sig -> Sig -- | Delays an input signal by some time interval. -- -- k-rate delay opcodes -- --
-- kr delayk ksig, idel[, imode] ---- -- csound doc: http://www.csounds.com/manual/html/delayk.html delayk :: Sig -> D -> Sig -- | Delays an input signal by some time interval. -- -- k-rate delay opcodes -- --
-- kr vdel_k ksig, kdel, imdel[, imode] ---- -- csound doc: http://www.csounds.com/manual/html/delayk.html vdel_k :: Sig -> Sig -> D -> Sig -- | Reads from an automatically established digital delay line. -- --
-- ares delayr idlt [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/delayr.html delayr :: D -> SE Sig -- | Writes the audio signal to a digital delay line. -- --
-- delayw asig ---- -- csound doc: http://www.csounds.com/manual/html/delayw.html delayw :: Sig -> SE () -- | Taps a delay line at variable offset times. -- -- Tap a delay line at variable offset times. -- --
-- ares deltap kdlt ---- -- csound doc: http://www.csounds.com/manual/html/deltap.html deltap :: Sig -> SE Sig -- | Taps a delay line at variable offset times, uses cubic interpolation. -- --
-- ares deltap3 xdlt ---- -- csound doc: http://www.csounds.com/manual/html/deltap3.html deltap3 :: Sig -> SE Sig -- | Taps a delay line at variable offset times, uses interpolation. -- --
-- ares deltapi xdlt ---- -- csound doc: http://www.csounds.com/manual/html/deltapi.html deltapi :: Sig -> SE Sig -- | Taps a delay line at variable offset times. -- -- Tap a delay line at variable offset times. -- --
-- ares deltapn xnumsamps ---- -- csound doc: http://www.csounds.com/manual/html/deltapn.html deltapn :: Sig -> Sig -- | Read from or write to a delay line with interpolation. -- -- deltapx is similar to deltapi or deltap3. However, it allows higher -- quality interpolation. This opcode can read from and write to a -- delayr/delayw delay line with interpolation. -- --
-- aout deltapx adel, iwsize ---- -- csound doc: http://www.csounds.com/manual/html/deltapx.html deltapx :: Sig -> D -> SE Sig -- | Mixes the input signal to a delay line. -- -- deltapxw mixes the input signal to a delay line. This opcode can be -- mixed with reading units (deltap, deltapn, deltapi, deltap3, and -- deltapx) in any order; the actual delay time is the difference of the -- read and write time. This opcode can read from and write to a -- delayr/delayw delay line with interpolation. -- --
-- deltapxw ain, adel, iwsize ---- -- csound doc: http://www.csounds.com/manual/html/deltapxw.html deltapxw :: Sig -> Sig -> D -> SE () -- | Multitap delay line implementation. -- --
-- ares multitap asig [, itime1, igain1] [, itime2, igain2] [...] ---- -- csound doc: http://www.csounds.com/manual/html/multitap.html multitap :: Sig -> [D] -> Sig -- | An interpolating variable time delay. -- -- This is an interpolating variable time delay, it is not very different -- from the existing implementation (deltapi), it is only easier to use. -- --
-- ares vdelay asig, adel, imaxdel [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/vdelay.html vdelay :: Sig -> Sig -> D -> Sig -- | A variable time delay with cubic interpolation. -- -- vdelay3 is experimental. It is the same as vdelay except that it uses -- cubic interpolation. (New in Version 3.50.) -- --
-- ares vdelay3 asig, adel, imaxdel [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/vdelay3.html vdelay3 :: Sig -> Sig -> D -> Sig -- | A variable delay opcode with high quality interpolation. -- --
-- aout vdelayx ain, adl, imd, iws [, ist] ---- -- csound doc: http://www.csounds.com/manual/html/vdelayx.html vdelayx :: Sig -> Sig -> D -> D -> Sig -- | A 4-channel variable delay opcode with high quality interpolation. -- --
-- aout1, aout2, aout3, aout4 vdelayxq ain1, ain2, ain3, ain4, adl, imd, iws [, ist] ---- -- csound doc: http://www.csounds.com/manual/html/vdelayxq.html vdelayxq :: Sig -> Sig -> Sig -> Sig -> Sig -> D -> D -> (Sig, Sig, Sig, Sig) -- | A stereo variable delay opcode with high quality interpolation. -- --
-- aout1, aout2 vdelayxs ain1, ain2, adl, imd, iws [, ist] ---- -- csound doc: http://www.csounds.com/manual/html/vdelayxs.html vdelayxs :: Sig -> Sig -> Sig -> D -> D -> (Sig, Sig) -- | Variable delay opcodes with high quality interpolation. -- --
-- aout vdelayxw ain, adl, imd, iws [, ist] ---- -- csound doc: http://www.csounds.com/manual/html/vdelayxw.html vdelayxw :: Sig -> Sig -> D -> D -> Sig -- | Variable delay opcodes with high quality interpolation. -- --
-- aout1, aout2, aout3, aout4 vdelayxwq ain1, ain2, ain3, ain4, adl, \ -- imd, iws [, ist] ---- -- csound doc: http://www.csounds.com/manual/html/vdelayxwq.html vdelayxwq :: Sig -> Sig -> Sig -> Sig -> Sig -> D -> D -> (Sig, Sig, Sig, Sig) -- | Variable delay opcodes with high quality interpolation. -- --
-- aout1, aout2 vdelayxws ain1, ain2, adl, imd, iws [, ist] ---- -- csound doc: http://www.csounds.com/manual/html/vdelayxws.html vdelayxws :: Sig -> Sig -> Sig -> D -> D -> (Sig, Sig) -- | Deprecated. Decodes an ambisonic B format signal. -- -- Decodes an ambisonic B format signal into loudspeaker specific -- signals. Note that this opcode is deprecated as it is inaccurate, and -- is replaced by the much better opcode bformdec1 which replicates all -- the important features. -- --
-- ao1, ao2 bformdec isetup, aw, ax, ay, az [, ar, as, at, au, av \ -- [, abk, al, am, an, ao, ap, aq]] -- ao1, ao2, ao3, ao4 bformdec isetup, aw, ax, ay, az [, ar, as, at, \ -- au, av [, abk, al, am, an, ao, ap, aq]] -- ao1, ao2, ao3, ao4, ao5 bformdec isetup, aw, ax, ay, az [, ar, as, \ -- at, au, av [, abk, al, am, an, ao, ap, aq]] -- ao1, ao2, ao3, ao4, ao5, ao6, ao7, ao8 bformdec isetup, aw, ax, ay, az \ -- [, ar, as, at, au, av [, abk, al, am, an, ao, ap, aq]]] ---- -- csound doc: http://www.csounds.com/manual/html/bformdec.html bformdec :: Tuple a => D -> Sig -> Sig -> Sig -> Sig -> a -- | Decodes an ambisonic B format signal -- -- Decodes an ambisonic B format signal into loudspeaker specific -- signals. -- --
-- ao1, ao2 bformdec1 isetup, aw, ax, ay, az [, ar, as, at, au, av \ -- [, abk, al, am, an, ao, ap, aq]] -- ao1, ao2, ao3, ao4 bformdec1 isetup, aw, ax, ay, az [, ar, as, at, \ -- au, av [, abk, al, am, an, ao, ap, aq]] -- ao1, ao2, ao3, ao4, ao5 bformdec1 isetup, aw, ax, ay, az [, ar, as, \ -- at, au, av [, abk, al, am, an, ao, ap, aq]] -- ao1, ao2, ao3, ao4, ao5, ao6, ao7, ao8 bformdec1 isetup, aw, ax, ay, az \ -- [, ar, as, at, au, av [, abk, al, am, an, ao, ap, aq]]] ---- -- csound doc: http://www.csounds.com/manual/html/bformdec1.html bformdec1 :: Tuple a => D -> Sig -> Sig -> Sig -> Sig -> a -- | Deprecated. Codes a signal into the ambisonic B format. -- -- Codes a signal into the ambisonic B format. Note that this opcode is -- deprecated as it is inaccurate, and is replaced by the much better -- opcode bformenc1 which replicates all the important features; also -- note that the gain arguments are not available in bformenc1. -- --
-- aw, ax, ay, az bformenc asig, kalpha, kbeta, kord0, kord1 -- aw, ax, ay, az, ar, as, at, au, av bformenc asig, kalpha, kbeta, \ -- kord0, kord1 , kord2 -- aw, ax, ay, az, ar, as, at, au, av, ak, al, am, an, ao, ap, aq bformenc \ -- asig, kalpha, kbeta, kord0, kord1, kord2, kord3 ---- -- csound doc: http://www.csounds.com/manual/html/bformenc.html bformenc :: Tuple a => Sig -> Sig -> Sig -> Sig -> Sig -> a -- | Codes a signal into the ambisonic B format. -- -- Codes a signal into the ambisonic B format -- --
-- aw, ax, ay, az bformenc1 asig, kalpha, kbeta -- aw, ax, ay, az, ar, as, at, au, av bformenc1 asig, kalpha, kbeta -- aw, ax, ay, az, ar, as, at, au, av, ak, al, am, an, ao, ap, aq bformenc1 \ -- asig, kalpha, kbeta ---- -- csound doc: http://www.csounds.com/manual/html/bformenc1.html bformenc1 :: Tuple a => Sig -> Sig -> Sig -> a -- | Generates 3D binaural audio with high-fidelity early reflections in a -- parametric room using a Phase Truncation algorithm. -- -- This opcode essentially nests the hrtfmove opcode in an image model -- for a user-definable shoebox-shaped room. A default room can be -- selected, or advanced room parameters can be used. Room surfaces can -- be controlled with high and low-frequency absorption coefficients and -- gain factors of a three-band equaliser. -- --
-- aleft, aright, irt60low, irt60high, imfp hrtfearly asrc, ksrcx, ksrcy, ksrcz, klstnrx, klstnry, klstnrz, \ -- ifilel, ifiler, idefroom [,ifade, isr, iorder, ithreed, kheadrot, iroomx, iroomy, iroomz, iwallhigh, \ -- iwalllow, iwallgain1, iwallgain2, iwallgain3, ifloorhigh, ifloorlow, ifloorgain1, ifloorgain2, \ -- ifloorgain3, iceilinghigh, iceilinglow, iceilinggain1, iceilinggain2, iceilinggain3] ---- -- csound doc: http://www.csounds.com/manual/html/hrtfearly.html hrtfearly :: Tuple a => Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> D -> D -> D -> a -- | Generates dynamic 3d binaural audio for headphones using magnitude -- interpolation and phase truncation. -- -- This opcode takes a source signal and spatialises it in the 3 -- dimensional space around a listener by convolving the source with -- stored head related transfer function (HRTF) based filters. -- --
-- aleft, aright hrtfmove asrc, kAz, kElev, ifilel, ifiler [, imode, ifade, isr] ---- -- csound doc: http://www.csounds.com/manual/html/hrtfmove.html hrtfmove :: Sig -> Sig -> Sig -> D -> D -> (Sig, Sig) -- | Generates dynamic 3d binaural audio for headphones using a Woodworth -- based spherical head model with improved low frequency phase accuracy. -- -- This opcode takes a source signal and spatialises it in the 3 -- dimensional space around a listener using head related transfer -- function (HRTF) based filters. -- --
-- aleft, aright hrtfmove2 asrc, kAz, kElev, ifilel, ifiler [,ioverlap, iradius, isr] ---- -- csound doc: http://www.csounds.com/manual/html/hrtfmove2.html hrtfmove2 :: Sig -> Sig -> Sig -> D -> D -> (Sig, Sig) -- | A binaural, dynamic FDN based diffuse-field reverberator. The opcode -- works independently as an efficient, flexible reverberator. -- -- A frequency-dependent, efficient reverberant field is created based on -- low and high frequency desired reverb times. The opcode is designed to -- work with hrtfearly, ideally using its outputs as inputs. However, -- hrtfreverb can be used as a standalone tool. Stability is enforced. -- --
-- aleft, aright, idel hrtfreverb asrc, ilowrt60, ihighrt60, ifilel, ifiler [,isr, imfp, iorder] ---- -- csound doc: http://www.csounds.com/manual/html/hrtfreverb.html hrtfreverb :: Sig -> D -> D -> D -> D -> (Sig, Sig, D) -- | Generates static 3d binaural audio for headphones using a Woodworth -- based spherical head model with improved low frequency phase accuracy. -- -- This opcode takes a source signal and spatialises it in the 3 -- dimensional space around a listener using head related transfer -- function (HRTF) based filters. It produces a static output (azimuth -- and elevation parameters are i-rate), because a static source allows -- much more efficient processing than hrtfmove and hrtfmove2,. -- --
-- aleft, aright hrtfstat asrc, iAz, iElev, ifilel, ifiler [,iradius, isr] -- ---- -- csound doc: http://www.csounds.com/manual/html/hrtfstat.html hrtfstat :: Sig -> D -> D -> D -> D -> (Sig, Sig) -- | Distributes the audio signals of a previous locsig opcode. -- -- locsend depends upon the existence of a previously defined locsig. The -- number of output signals must match the number in the previous locsig. -- The output signals from locsend are derived from the values given for -- distance and reverb in the locsig and are ready to be sent to local or -- global reverb units (see example below). The reverb amount and the -- balance between the 2 or 4 channels are calculated in the same way as -- described in the Dodge book (an essential text!). -- --
-- a1, a2 locsend -- a1, a2, a3, a4 locsend ---- -- csound doc: http://www.csounds.com/manual/html/locsend.html locsend :: (Sig, Sig, Sig, Sig) -- | Takes an input signal and distributes between 2 or 4 channels. -- -- locsig takes an input signal and distributes it among 2 or 4 channels -- using values in degrees to calculate the balance between adjacent -- channels. It also takes arguments for distance (used to attenuate -- signals that are to sound as if they are some distance further than -- the loudspeaker itself), and for the amount the signal that will be -- sent to reverberators. This unit is based upon the example in the -- Charles Dodge/Thomas Jerse book, Computer Music, page 320. -- --
-- a1, a2 locsig asig, kdegree, kdistance, kreverbsend -- a1, a2, a3, a4 locsig asig, kdegree, kdistance, kreverbsend ---- -- csound doc: http://www.csounds.com/manual/html/locsig.html locsig :: Sig -> Sig -> Sig -> Sig -> (Sig, Sig, Sig, Sig) -- | Distribute an audio signal amongst four channels. -- -- Distribute an audio signal amongst four channels with localization -- control. -- --
-- a1, a2, a3, a4 pan asig, kx, ky, ifn [, imode] [, ioffset] ---- -- csound doc: http://www.csounds.com/manual/html/pan.html pan :: Sig -> Sig -> Sig -> Tab -> (Sig, Sig, Sig, Sig) -- | Distribute an audio signal across two channels. -- -- Distribute an audio signal across two channels with a choice of -- methods. -- --
-- a1, a2 pan2 asig, xp [, imode] ---- -- csound doc: http://www.csounds.com/manual/html/pan2.html pan2 :: Sig -> Sig -> (Sig, Sig) -- | Distributes an input signal among 4 channels using cartesian -- coordinates. -- -- space takes an input signal and distributes it among 4 channels using -- Cartesian xy coordinates to calculate the balance of the outputs. The -- xy coordinates can be defined in a separate text file and accessed -- through a Function statement in the score using Gen28, or they can be -- specified using the optional kx, ky arguments. The advantages to the -- former are: -- --
-- a1, a2, a3, a4 space asig, ifn, ktime, kreverbsend, kx, ky ---- -- csound doc: http://www.csounds.com/manual/html/space.html space :: Sig -> Tab -> Sig -> Sig -> Sig -> Sig -> (Sig, Sig, Sig, Sig) -- | Positions the input sound in a 3D space and allows moving the sound at -- k-rate. -- -- This opcode positions the input sound in a 3D space, with optional -- simulation of room acoustics, in various output formats. spat3d allows -- moving the sound at k-rate (this movement is interpolated internally -- to eliminate "zipper noise" if sr not equal to kr). -- --
-- aW, aX, aY, aZ spat3d ain, kX, kY, kZ, idist, ift, imode, imdel, iovr [, istor] ---- -- csound doc: http://www.csounds.com/manual/html/spat3d.html spat3d :: Sig -> Sig -> Sig -> Sig -> D -> D -> D -> D -> D -> (Sig, Sig, Sig, Sig) -- | Positions the input sound in a 3D space with the sound source position -- set at i-time. -- -- This opcode positions the input sound in a 3D space, with optional -- simulation of room acoustics, in various output formats. With spat3di, -- sound source position is set at i-time. -- --
-- aW, aX, aY, aZ spat3di ain, iX, iY, iZ, idist, ift, imode [, istor] ---- -- csound doc: http://www.csounds.com/manual/html/spat3di.html spat3di :: Sig -> D -> D -> D -> D -> D -> D -> (Sig, Sig, Sig, Sig) -- | Can be used to render an impulse response for a 3D space at i-time. -- -- This opcode positions the input sound in a 3D space, with optional -- simulation of room acoustics, in various output formats. spat3dt can -- be used to render the impulse response at i-time, storing output in a -- function table, suitable for convolution. -- --
-- spat3dt ioutft, iX, iY, iZ, idist, ift, imode, irlen [, iftnocl] ---- -- csound doc: http://www.csounds.com/manual/html/spat3dt.html spat3dt :: D -> D -> D -> D -> D -> D -> D -> D -> SE () -- | Calculates distance values from xy coordinates. -- -- spdist uses the same xy data as space, also either from a text file -- using Gen28 or from x and y arguments given to the unit directly. The -- purpose of this unit is to make available the values for distance that -- are calculated from the xy coordinates. -- --
-- k1 spdist ifn, ktime, kx, ky ---- -- csound doc: http://www.csounds.com/manual/html/spdist.html spdist :: Tab -> Sig -> Sig -> Sig -> Sig -- | Generates output signals based on a previously defined space opcode. -- -- spsend depends upon the existence of a previously defined space. The -- output signals from spsend are derived from the values given for xy -- and reverb in the space and are ready to be sent to local or global -- reverb units (see example below). -- --
-- a1, a2, a3, a4 spsend ---- -- csound doc: http://www.csounds.com/manual/html/spsend.html spsend :: (Sig, Sig, Sig, Sig) -- | Distributes an audio signal among many channels. -- -- Distributes an audio signal amongmany channels, up to 64. -- --
-- ar1[, ar2...] vbap asig, kazim [, -- kelev] [, kspread] [, ilayout] ---- -- csound doc: http://www.csounds.com/manual/html/vbap.html vbap :: Tuple a => Sig -> Sig -> a -- | Distributes an audio signal among 16 channels. -- --
-- ar1, ..., ar16 vbap16 asig, kazim [, kelev] [, kspread] ---- -- csound doc: http://www.csounds.com/manual/html/vbap16.html vbap16 :: Tuple a => Sig -> Sig -> a -- | Distribute an audio signal among 16 channels with moving virtual -- sources. -- --
-- ar1, ..., ar16 vbap16move asig, idur, ispread, ifldnum, ifld1 \ -- [, ifld2] [...] ---- -- csound doc: http://www.csounds.com/manual/html/vbap16move.html vbap16move :: Tuple a => Sig -> D -> D -> D -> [D] -> a -- | Distributes an audio signal among 4 channels. -- --
-- ar1, ar2, ar3, ar4 vbap4 asig, kazim [, kelev] [, kspread] ---- -- csound doc: http://www.csounds.com/manual/html/vbap4.html vbap4 :: Sig -> Sig -> (Sig, Sig, Sig, Sig) -- | Distributes an audio signal among 4 channels with moving virtual -- sources. -- --
-- ar1, ar2, ar3, ar4 vbap4move asig, idur, ispread, ifldnum, ifld1 \ -- [, ifld2] [...] ---- -- csound doc: http://www.csounds.com/manual/html/vbap4move.html vbap4move :: Tuple a => Sig -> D -> D -> D -> [D] -> a -- | Distributes an audio signal among 8 channels. -- --
-- ar1, ..., ar8 vbap8 asig, kazim [, kelev] [, kspread] ---- -- csound doc: http://www.csounds.com/manual/html/vbap8.html vbap8 :: Tuple a => Sig -> Sig -> a -- | Distributes an audio signal among 8 channels with moving virtual -- sources. -- --
-- ar1, ..., ar8 vbap8move asig, idur, ispread, ifldnum, ifld1 \ -- [, ifld2] [...] ---- -- csound doc: http://www.csounds.com/manual/html/vbap8move.html vbap8move :: Tuple a => Sig -> D -> D -> D -> [D] -> a -- | Calculates the gains for a sound location between multiple channels. -- -- Calculates the gains for a sound location for up to 64. -- --
-- k1[, k2...] vbapg kazim [,kelev] [, kspread] [, ilayout] ---- -- csound doc: http://www.csounds.com/manual/html/vbapg.html vbapg :: Tuple a => Sig -> a -- | Configures VBAP output according to loudspeaker parameters. -- --
-- vbaplsinit idim, ilsnum [, idir1] [, idir2] [...] [, idir32] ---- -- csound doc: http://www.csounds.com/manual/html/vbaplsinit.html vbaplsinit :: D -> D -> SE () -- | Distributes an audio signal among many channels with moving virtual -- sources. -- -- Distributes an audio signal among upto 64 channels with moving virtual -- sources. -- --
-- ar1[, ar2...] vbapmove asig, idur, ispread, ifldnum, ifld1 \ -- [, ifld2] [...] ---- -- csound doc: http://www.csounds.com/manual/html/vbapmove.html vbapmove :: Tuple a => Sig -> D -> D -> D -> [D] -> a -- | Writes a multi-channel audio signal to a ZAK array. -- --
-- vbapz inumchnls, istartndx, asig, kazim [, kelev] [, kspread] ---- -- csound doc: http://www.csounds.com/manual/html/vbapz.html vbapz :: D -> D -> Sig -> Sig -> SE () -- | Writes a multi-channel audio signal to a ZAK array with moving virtual -- sources. -- --
-- vbapzmove inumchnls, istartndx, asig, idur, ispread, ifldnum, ifld1, \ -- ifld2, [...] ---- -- csound doc: http://www.csounds.com/manual/html/vbapzmove.html vbapzmove :: Sig -> D -> D -> D -> [D] -> SE () -- | Reverberates an input signal with a flat frequency response. -- --
-- ares alpass asig, krvt, ilpt [, iskip] [, insmps] ---- -- csound doc: http://www.csounds.com/manual/html/alpass.html alpass :: Sig -> Sig -> D -> Sig -- | A physical model reverberator. -- -- babo stands for ball-within-the-box. It is a physical model -- reverberator based on the paper by Davide Rocchesso "The Ball within -- the Box: a sound-processing metaphor", Computer Music Journal, Vol 19, -- N.4, pp.45-47, Winter 1995. -- --
-- a1, a2 babo asig, ksrcx, ksrcy, ksrcz, irx, iry, irz [, idiff] [, ifno] ---- -- csound doc: http://www.csounds.com/manual/html/babo.html babo :: Sig -> Sig -> Sig -> Sig -> D -> D -> D -> (Sig, Sig) -- | Reverberates an input signal with a âcoloredâ frequency response. -- --
-- ares comb asig, krvt, ilpt [, iskip] [, insmps] ---- -- csound doc: http://www.csounds.com/manual/html/comb.html comb :: Sig -> Sig -> D -> Sig -- | Reverberates an input signal with a âcoloredâ frequency response. -- -- Reverberates an input signal with a âcoloredâ frequency response -- with a FIR filter. -- --
-- ares combinv asig, krvt, ilpt [, iskip] [, insmps] ---- -- csound doc: http://www.csounds.com/manual/html/combinv.html combinv :: Sig -> Sig -> D -> Sig -- | Opcode version of Jezar's Freeverb -- -- freeverb is a stereo reverb unit based on Jezar's public domain C++ -- sources, composed of eight parallel comb filters on both channels, -- followed by four allpass units in series. The filters on the right -- channel are slightly detuned compared to the left channel in order to -- create a stereo effect. -- --
-- aoutL, aoutR freeverb ainL, ainR, kRoomSize, kHFDamp[, iSRate[, iSkip]] ---- -- csound doc: http://www.csounds.com/manual/html/freeverb.html freeverb :: Sig -> Sig -> Sig -> Sig -> (Sig, Sig) -- | Three different nested all-pass filters. -- -- Three different nested all-pass filters, useful for implementing -- reverbs. -- --
-- ares nestedap asig, imode, imaxdel, idel1, igain1 [, idel2] [, igain2] \ -- [, idel3] [, igain3] [, istor] ---- -- csound doc: http://www.csounds.com/manual/html/nestedap.html nestedap :: Sig -> D -> D -> D -> D -> Sig -- | A reverberator consisting of 6 parallel comb-lowpass filters. -- -- This is a reverberator consisting of 6 parallel comb-lowpass filters -- being fed into a series of 5 allpass filters. nreverb replaces reverb2 -- (version 3.48) and so both opcodes are identical. -- --
-- ares nreverb asig, ktime, khdif [, iskip] [,inumCombs] [, ifnCombs] \ -- [, inumAlpas] [, ifnAlpas] ---- -- csound doc: http://www.csounds.com/manual/html/nreverb.html nreverb :: Sig -> Sig -> Sig -> Sig -- | Models the reverberation of a metal plate. -- -- Models the reverberation of a rectangular metal plate with settable -- physical characteristics when excited by audio signal(s). -- --
-- a1[, a2, ...] platerev itabexcite. itabouts, kbndry, iaspect, istiff, idecay, iloss, aexcite1[, aexcite2, ...] ---- -- csound doc: http://www.csounds.com/manual/html/platerev.html platerev :: Tuple a => D -> D -> Sig -> D -> D -> D -> D -> [Sig] -> a -- | Reverberates an input signal with a ânatural roomâ frequency -- response. -- --
-- ares reverb asig, krvt [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/reverb.html reverb :: Sig -> Sig -> Sig -- | Same as the nreverb opcode. -- --
-- ares reverb2 asig, ktime, khdif [, iskip] [,inumCombs] \ -- [, ifnCombs] [, inumAlpas] [, ifnAlpas] ---- -- csound doc: http://www.csounds.com/manual/html/reverb2.html reverb2 :: Sig -> Sig -> Sig -> Sig -- | 8 delay line stereo FDN reverb, based on work by Sean Costello -- -- 8 delay line stereo FDN reverb, with feedback matrix based upon -- physical modeling scattering junction of 8 lossless waveguides of -- equal characteristic impedance. Based on Csound orchestra version by -- Sean Costello. -- --
-- aoutL, aoutR reverbsc ainL, ainR, kfblvl, kfco[, israte[, ipitchm[, iskip]]] ---- -- csound doc: http://www.csounds.com/manual/html/reverbsc.html reverbsc :: Sig -> Sig -> Sig -> Sig -> (Sig, Sig) -- | Variably reverberates an input signal with a flat frequency response. -- --
-- ares valpass asig, krvt, xlpt, imaxlpt [, iskip] [, insmps] ---- -- csound doc: http://www.csounds.com/manual/html/valpass.html valpass :: Sig -> Sig -> Sig -> D -> Sig -- | Variably reverberates an input signal with a âcoloredâ frequency -- response. -- --
-- ares vcomb asig, krvt, xlpt, imaxlpt [, iskip] [, insmps] ---- -- csound doc: http://www.csounds.com/manual/html/vcomb.html vcomb :: Sig -> Sig -> Sig -> D -> Sig -- | Mixes low level noise to a list of a-rate signals -- -- Mixes low level (~1e-20 for floats, and ~1e-56 for doubles) noise to a -- list of a-rate signals. Can be used before IIR filters and reverbs to -- avoid denormalized numbers which may otherwise result in significantly -- increased CPU usage. -- --
-- denorm a1[, a2[, a3[, ... ]]] ---- -- csound doc: http://www.csounds.com/manual/html/denorm.html denorm :: [Sig] -> SE () -- | Modify a signal by differentiation. -- --
-- ares diff asig [, iskip] -- kres diff ksig [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/diff.html diff :: Sig -> Sig -- | Modify a signal by down-sampling. -- --
-- kres downsamp asig [, iwlen] ---- -- csound doc: http://www.csounds.com/manual/html/downsamp.html downsamp :: Sig -> Sig -- | Adds artificial foldover to an audio signal. -- --
-- ares fold asig, kincr ---- -- csound doc: http://www.csounds.com/manual/html/fold.html fold :: Sig -> Sig -> Sig -- | Modify a signal by integration. -- --
-- ares integ asig [, iskip] -- kres integ ksig [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/integ.html integ :: Sig -> Sig -- | Converts a control signal to an audio signal using linear -- interpolation. -- --
-- ares interp ksig [, iskip] [, imode] ---- -- csound doc: http://www.csounds.com/manual/html/interp.html interp :: Sig -> Sig -- | Calculates the weighted mean value of two input signals. -- -- Calculates the weighted mean value (i.e. linear interpolation) of two -- input signals -- --
-- ares ntrpol asig1, asig2, kpoint [, imin] [, imax] -- ires ntrpol isig1, isig2, ipoint [, imin] [, imax] -- kres ntrpol ksig1, ksig2, kpoint [, imin] [, imax] ---- -- csound doc: http://www.csounds.com/manual/html/ntrpol.html ntrpol :: Sig -> Sig -> Sig -> Sig -- | Performs a sample-and-hold operation on its input. -- --
-- ares samphold asig, agate [, ival] [, ivstor] -- kres samphold ksig, kgate [, ival] [, ivstor] ---- -- csound doc: http://www.csounds.com/manual/html/samphold.html samphold :: Sig -> Sig -> Sig -- | Modify a signal by up-sampling. -- --
-- ares upsamp ksig ---- -- csound doc: http://www.csounds.com/manual/html/upsamp.html upsamp :: Sig -> Sig -- | Access values of the current buffer of an a-rate variable by indexing. -- -- Access values of the current buffer of an a-rate variable by indexing. -- Useful for doing sample-by-sample manipulation at k-rate without using -- setksmps 1. -- --
-- kval vaget kndx, avar ---- -- csound doc: http://www.csounds.com/manual/html/vaget.html vaget :: Sig -> Sig -> Sig -- | Write value of into the current buffer of an a-rate variable by index. -- -- Write values into the current buffer of an a-rate variable at the -- given index. Useful for doing sample-by-sample manipulation at k-rate -- without using setksmps 1. -- --
-- vaset kval, kndx, avar ---- -- csound doc: http://www.csounds.com/manual/html/vaset.html vaset :: Sig -> Sig -> Sig -> SE () -- | Sets the lower and upper limits of the value it processes. -- --
-- ares limit asig, klow, khigh -- ires limit isig, ilow, ihigh -- kres limit ksig, klow, khigh ---- -- csound doc: http://www.csounds.com/manual/html/limit.html limit :: Sig -> Sig -> Sig -> Sig -- | Reflects the signal that exceeds the low and high thresholds. -- --
-- ares mirror asig, klow, khigh -- ires mirror isig, ilow, ihigh -- kres mirror ksig, klow, khigh ---- -- csound doc: http://www.csounds.com/manual/html/mirror.html mirror :: Sig -> Sig -> Sig -> Sig -- | Wraps-around the signal that exceeds the low and high thresholds. -- --
-- ares wrap asig, klow, khigh -- ires wrap isig, ilow, ihigh -- kres wrap ksig, klow, khigh ---- -- csound doc: http://www.csounds.com/manual/html/wrap.html wrap :: Sig -> Sig -> Sig -> Sig -- | Distort an audio signal via waveshaping and optional clipping. -- --
-- ar distort asig, kdist, ifn[, ihp, istor] ---- -- csound doc: http://www.csounds.com/manual/html/distort.html distort :: Sig -> Sig -> Tab -> Sig -- | Modified hyperbolic tangent distortion. -- -- Implementation of modified hyperbolic tangent distortion. distort1 can -- be used to generate wave shaping distortion based on a modification of -- the tanh function. -- --
-- ares distort1 asig, kpregain, kpostgain, kshape1, kshape2[, imode] ---- -- csound doc: http://www.csounds.com/manual/html/distort1.html distort1 :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -- | A user controlled flanger. -- --
-- ares flanger asig, adel, kfeedback [, imaxd] ---- -- csound doc: http://www.csounds.com/manual/html/flanger.html flanger :: Sig -> Sig -> Sig -> Sig -- | Analyze an audio input and generate harmonizing voices in synchrony. -- --
-- ares harmon asig, kestfrq, kmaxvar, kgenfreq1, kgenfreq2, imode, \ -- iminfrq, iprd ---- -- csound doc: http://www.csounds.com/manual/html/harmon.html harmon :: Sig -> Sig -> Sig -> Sig -> Sig -> D -> D -> D -> Sig -- | Analyze an audio input and generate harmonizing voices in synchrony -- with formants preserved. -- -- Generate harmonizing voices with formants preserved. -- --
-- ares harmon2 asig, koct, kfrq1, kfrq2, icpsmode, ilowest[, ipolarity] ---- -- csound doc: http://www.csounds.com/manual/html/harmon2.html harmon2 :: Sig -> Sig -> Sig -> Sig -> D -> D -> Sig -- | Analyze an audio input and generate harmonizing voices in synchrony -- with formants preserved. -- -- Generate harmonizing voices with formants preserved. -- --
-- ares harmon3 asig, koct, kfrq1, \ -- kfrq2, kfrq3, icpsmode, ilowest[, ipolarity] ---- -- csound doc: http://www.csounds.com/manual/html/harmon2.html harmon3 :: Sig -> Sig -> Sig -> Sig -> Sig -> D -> D -> Sig -- | Analyze an audio input and generate harmonizing voices in synchrony -- with formants preserved. -- -- Generate harmonizing voices with formants preserved. -- --
-- ares harmon4 asig, koct, kfrq1, \ -- kfrq2, kfrq3, kfrq4, icpsmode, ilowest[, ipolarity] ---- -- csound doc: http://www.csounds.com/manual/html/harmon2.html harmon4 :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> D -> D -> Sig -- | First-order allpass filters arranged in a series. -- -- An implementation of iord number of first-order allpass filters in -- series. -- --
-- ares phaser1 asig, kfreq, kord, kfeedback [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/phaser1.html phaser1 :: Sig -> Sig -> Sig -> Sig -> Sig -- | Second-order allpass filters arranged in a series. -- -- An implementation of iord number of second-order allpass filters in -- series. -- --
-- ares phaser2 asig, kfreq, kq, kord, kmode, ksep, kfeedback ---- -- csound doc: http://www.csounds.com/manual/html/phaser2.html phaser2 :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -- | A hi-pass filter whose transfer functions are the complements of the -- tone opcode. -- --
-- ares atone asig, khp [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/atone.html atone :: Sig -> Sig -> Sig -- | Emulates a stack of filters using the atone opcode. -- -- atonex is equivalent to a filter consisting of more layers of atone -- with the same arguments, serially connected. Using a stack of a larger -- number of filters allows a sharper cutoff. They are faster than using -- a larger number instances in a Csound orchestra of the old opcodes, -- because only one initialization and k- cycle are needed at time and -- the audio loop falls entirely inside the cache memory of processor. -- --
-- ares atonex asig, khp [, inumlayer] [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/atonex.html atonex :: Sig -> Sig -> Sig -- | A sweepable general purpose biquadratic digital filter. -- --
-- ares biquad asig, kb0, kb1, kb2, ka0, ka1, ka2 [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/biquad.html biquad :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -- | A sweepable general purpose biquadratic digital filter with a-rate -- parameters. -- -- A sweepable general purpose biquadratic digital filter. -- --
-- ares biquada asig, ab0, ab1, ab2, aa0, aa1, aa2 [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/biquada.html biquada :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -- | Same as the butterbp opcode. -- --
-- ares butbp asig, kfreq, kband [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/butbp.html butbp :: Sig -> Sig -> Sig -> Sig -- | Same as the butterbr opcode. -- --
-- ares butbr asig, kfreq, kband [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/butbr.html butbr :: Sig -> Sig -> Sig -> Sig -- | Same as the butterhp opcode. -- --
-- ares buthp asig, kfreq [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/buthp.html buthp :: Sig -> Sig -> Sig -- | Same as the butterlp opcode. -- --
-- ares butlp asig, kfreq [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/butlp.html butlp :: Sig -> Sig -> Sig -- | A band-pass Butterworth filter. -- -- Implementation of a second-order band-pass Butterworth filter. This -- opcode can also be written as butbp. -- --
-- ares butterbp asig, kfreq, kband [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/butterbp.html butterbp :: Sig -> Sig -> Sig -> Sig -- | A band-reject Butterworth filter. -- -- Implementation of a second-order band-reject Butterworth filter. This -- opcode can also be written as butbr. -- --
-- ares butterbr asig, kfreq, kband [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/butterbr.html butterbr :: Sig -> Sig -> Sig -> Sig -- | A high-pass Butterworth filter. -- -- Implementation of second-order high-pass Butterworth filter. This -- opcode can also be written as buthp. -- --
-- ares butterhp asig, kfreq [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/butterhp.html butterhp :: Sig -> Sig -> Sig -- | A low-pass Butterworth filter. -- -- Implementation of a second-order low-pass Butterworth filter. This -- opcode can also be written as butlp. -- --
-- ares butterlp asig, kfreq [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/butterlp.html butterlp :: Sig -> Sig -> Sig -- | Implements low-pass and high-pass filters of different styles. -- -- Implements the classical standard analog filter types: low-pass and -- high-pass. They are implemented with the four classical kinds of -- filters: Butterworth, Chebyshev Type I, Chebyshev Type II, and -- Elliptical. The number of poles may be any even number from 2 to 80. -- --
-- ares clfilt asig, kfreq, itype, inpol [, ikind] [, ipbr] [, isba] [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/clfilt.html clfilt :: Sig -> Sig -> D -> D -> Sig -- | A fast and robust method for approximating sound propagation, -- achieving convincing Doppler shifts without having to solve equations. -- -- A fast and robust method for approximating sound propagation, -- achieving convincing Doppler shifts without having to solve equations. -- The method computes frequency shifts based on reading an input delay -- line at a delay time computed from the distance between source and mic -- and the speed of sound. One instance of the opcode is required for -- each dimension of space through which the sound source moves. If the -- source sound moves at a constant speed from in front of the -- microphone, through the microphone, to behind the microphone, then the -- output will be frequency shifted above the source frequency at a -- constant frequency while the source approaches, then discontinuously -- will be shifted below the source frequency at a constant frequency as -- the source recedes from the microphone. If the source sound moves at a -- constant speed through a point to one side of the microphone, then the -- rate of change of position will not be constant, and the familiar -- Doppler frequency shift typical of a siren or engine approaching and -- receding along a road beside a listener will be heard. -- --
-- ashifted doppler asource, ksourceposition, kmicposition [, isoundspeed, ifiltercutoff] ---- -- csound doc: http://www.csounds.com/manual/html/doppler.html doppler :: Sig -> Sig -> Sig -> Sig -- | A filter that simulates a mass-spring-damper system -- -- Filters the incoming signal with the specified resonance frequency and -- quality factor. It can also be seen as a signal generator for high -- quality factor, with an impulse for the excitation. You can combine -- several modes to built complex instruments such as bells or guitar -- tables. -- --
-- aout mode ain, kfreq, kQ [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/mode.html mode :: Sig -> Sig -> Sig -> Sig -- | A first-order recursive low-pass filter with variable frequency -- response. -- --
-- ares tone asig, khp [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/tone.html tone :: Sig -> Sig -> Sig -- | Emulates a stack of filters using the tone opcode. -- -- tonex is equivalent to a filter consisting of more layers of tone with -- the same arguments, serially connected. Using a stack of a larger -- number of filters allows a sharper cutoff. They are faster than using -- a larger number instances in a Csound orchestra of the old opcodes, -- because only one initialization and k- cycle are needed at time and -- the audio loop falls entirely inside the cache memory of processor. -- --
-- ares tonex asig, khp [, inumlayer] [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/tonex.html tonex :: Sig -> Sig -> Sig -- | A notch filter whose transfer functions are the complements of the -- reson opcode. -- --
-- ares areson asig, kcf, kbw [, iscl] [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/areson.html areson :: Sig -> Sig -> Sig -> Sig -- | A second-order multi-mode filter. -- --
-- ares bqrez asig, xfco, xres [, imode] [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/bqrez.html bqrez :: Sig -> Sig -> Sig -> Sig -- | A resonant lowpass filter. -- -- Implementation of a resonant second-order lowpass filter. -- --
-- ares lowpass2 asig, kcf, kq [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/lowpass2.html lowpass2 :: Sig -> Sig -> Sig -> Sig -- | Another resonant lowpass filter. -- -- lowres is a resonant lowpass filter. -- --
-- ares lowres asig, kcutoff, kresonance [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/lowres.html lowres :: Sig -> Sig -> Sig -> Sig -- | Simulates layers of serially connected resonant lowpass filters. -- -- lowresx is equivalent to more layers of lowres with the same arguments -- serially connected. -- --
-- ares lowresx asig, kcutoff, kresonance [, inumlayer] [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/lowresx.html lowresx :: Sig -> Sig -> Sig -> Sig -- | A 3-pole sweepable resonant lowpass filter. -- -- Implementation of a 3 pole sweepable resonant lowpass filter. -- --
-- ares lpf18 asig, kfco, kres, kdist [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/lpf18.html lpf18 :: Sig -> Sig -> Sig -> Sig -> Sig -- | Moog ladder lowpass filter. -- -- Moogladder is an new digital implementation of the Moog ladder filter -- based on the work of Antti Huovilainen, described in the paper -- "Non-Linear Digital Implementation of the Moog Ladder Filter" -- (Proceedings of DaFX04, Univ of Napoli). This implementation is -- probably a more accurate digital representation of the original -- analogue filter. -- --
-- asig moogladder ain, kcf, kres[, istor] ---- -- csound doc: http://www.csounds.com/manual/html/moogladder.html moogladder :: Sig -> Sig -> Sig -> Sig -- | A digital emulation of the Moog diode ladder filter configuration. -- --
-- ares moogvcf asig, xfco, xres [,iscale, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/moogvcf.html moogvcf :: Sig -> Sig -> Sig -> Sig -- | A digital emulation of the Moog diode ladder filter configuration. -- --
-- ares moogvcf2 asig, xfco, xres [,iscale, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/moogvcf2.html moogvcf2 :: Sig -> Sig -> Sig -> Sig -- | A second-order resonant filter. -- --
-- ares reson asig, kcf, kbw [, iscl] [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/reson.html reson :: Sig -> Sig -> Sig -> Sig -- | A bandpass filter with variable frequency response. -- -- Implementations of a second-order, two-pole two-zero bandpass filter -- with variable frequency response. -- --
-- ares resonr asig, kcf, kbw [, iscl] [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/resonr.html resonr :: Sig -> Sig -> Sig -> Sig -- | Emulates a stack of filters using the reson opcode. -- -- resonx is equivalent to a filters consisting of more layers of reson -- with the same arguments, serially connected. Using a stack of a larger -- number of filters allows a sharper cutoff. They are faster than using -- a larger number instances in a Csound orchestra of the old opcodes, -- because only one initialization and k- cycle are needed at time and -- the audio loop falls entirely inside the cache memory of processor. -- --
-- ares resonx asig, kcf, kbw [, inumlayer] [, iscl] [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/resonx.html resonx :: Sig -> Sig -> Sig -> Sig -- | A bank of second-order bandpass filters, connected in parallel. -- --
-- ares resony asig, kbf, kbw, inum, ksep [, isepmode] [, iscl] [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/resony.html resony :: Sig -> Sig -> Sig -> D -> Sig -> Sig -- | A bandpass filter with variable frequency response. -- -- Implementations of a second-order, two-pole two-zero bandpass filter -- with variable frequency response. -- --
-- ares resonz asig, kcf, kbw [, iscl] [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/resonz.html resonz :: Sig -> Sig -> Sig -> Sig -- | A resonant low-pass filter. -- --
-- ares rezzy asig, xfco, xres [, imode, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/rezzy.html rezzy :: Sig -> Sig -> Sig -> Sig -- | State-variable filter. -- -- Statevar is a new digital implementation of the analogue -- state-variable filter. This filter has four simultaneous outputs: -- high-pass, low-pass, band-pass and band-reject. This filter uses -- oversampling for sharper resonance (default: 3 times oversampling). It -- includes a resonance limiter that prevents the filter from getting -- unstable. -- --
-- ahp,alp,abp,abr statevar ain, kcf, kq [, iosamps, istor] ---- -- csound doc: http://www.csounds.com/manual/html/statevar.html statevar :: Sig -> Sig -> Sig -> (Sig, Sig, Sig, Sig) -- | A resonant second order filter, with simultaneous lowpass, highpass -- and bandpass outputs. -- -- Implementation of a resonant second order filter, with simultaneous -- lowpass, highpass and bandpass outputs. -- --
-- alow, ahigh, aband svfilter asig, kcf, kq [, iscl] ---- -- csound doc: http://www.csounds.com/manual/html/svfilter.html svfilter :: Sig -> Sig -> Sig -> (Sig, Sig, Sig) -- | Models some of the filter characteristics of a Roland TB303 -- voltage-controlled filter. -- -- This opcode attempts to model some of the filter characteristics of a -- Roland TB303 voltage-controlled filter. Euler's method is used to -- approximate the system, rather than traditional filter methods. Cutoff -- frequency, Q, and distortion are all coupled. Empirical methods were -- used to try to unentwine, but frequency is only approximate as a -- result. Future fixes for some problems with this opcode may break -- existing orchestras relying on this version of tbvcf. -- --
-- ares tbvcf asig, xfco, xres, kdist, kasym [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/tbvcf.html tbvcf :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -- | A bank of filters in which the cutoff frequency can be separated under -- user control. -- -- A bank of filters in which the cutoff frequency can be separated under -- user control -- --
-- ares vlowres asig, kfco, kres, iord, ksep ---- -- csound doc: http://www.csounds.com/manual/html/vlowres.html vlowres :: Sig -> Sig -> Sig -> D -> Sig -> Sig -- | A notch filter whose transfer functions are the complements of the -- reson opcode. -- --
-- kres aresonk ksig, kcf, kbw [, iscl] [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/aresonk.html aresonk :: Sig -> Sig -> Sig -> Sig -- | A hi-pass filter whose transfer functions are the complements of the -- tonek opcode. -- --
-- kres atonek ksig, khp [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/atonek.html atonek :: Sig -> Sig -> Sig -- | Generate glissandos starting from a control signal. -- --
-- kres lineto ksig, ktime ---- -- csound doc: http://www.csounds.com/manual/html/lineto.html lineto :: Sig -> Sig -> Sig -- | Applies portamento to a step-valued control signal. -- --
-- kres port ksig, ihtim [, isig] ---- -- csound doc: http://www.csounds.com/manual/html/port.html port :: Sig -> D -> Sig -- | Applies portamento to a step-valued control signal. -- --
-- kres portk ksig, khtim [, isig] ---- -- csound doc: http://www.csounds.com/manual/html/portk.html portk :: Sig -> Sig -> Sig -- | A second-order resonant filter. -- --
-- kres resonk ksig, kcf, kbw [, iscl] [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/resonk.html resonk :: Sig -> Sig -> Sig -> Sig -- | Control signal resonant filter stack. -- -- resonxk is equivalent to a group of resonk filters, with the same -- arguments, serially connected. Using a stack of a larger number of -- filters allows a sharper cutoff. -- --
-- kres resonxk ksig, kcf, kbw[, inumlayer, iscl, istor] ---- -- csound doc: http://www.csounds.com/manual/html/resonxk.html resonxk :: Sig -> Sig -> Sig -> Sig -- | Generate glissandos starting from a control signal. -- -- Generate glissandos starting from a control signal with a trigger. -- --
-- kres tlineto ksig, ktime, ktrig ---- -- csound doc: http://www.csounds.com/manual/html/tlineto.html tlineto :: Sig -> Sig -> Sig -> Sig -- | A first-order recursive low-pass filter with variable frequency -- response. -- --
-- kres tonek ksig, khp [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/tonek.html tonek :: Sig -> Sig -> Sig -- | A DC blocking filter. -- -- Implements the DC blocking filter -- --
-- ares dcblock ain [, igain] ---- -- csound doc: http://www.csounds.com/manual/html/dcblock.html dcblock :: Sig -> Sig -- | A DC blocking filter. -- -- Implements a DC blocking filter with improved DC attenuation. -- --
-- ares dcblock2 ain [, iorder] [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/dcblock2.html dcblock2 :: Sig -> Sig -- | Equalizer filter -- -- The opcode eqfil is a 2nd order tunable equalisation filter based on -- Regalia and Mitra design ("Tunable Digital Frequency Response -- Equalization Filters", IEEE Trans. on Ac., Sp. and Sig Proc., 35 (1), -- 1987). It provides a peak/notch filter for building parametric/graphic -- equalisers. -- --
-- asig eqfil ain, kcf, kbw, kgain[, istor] ---- -- csound doc: http://www.csounds.com/manual/html/eqfil.html eqfil :: Sig -> Sig -> Sig -> Sig -> Sig -- | Performs filtering using a transposed form-II digital filter lattice -- with no time-varying control. -- -- General purpose custom filter with no time-varying pole control. The -- filter coefficients implement the following difference equation: -- --
-- ares filter2 asig, iM, iN, ib0, ib1, ..., ibM, ia1, ia2, ..., iaN -- kres filter2 ksig, iM, iN, ib0, ib1, ..., ibM, ia1, ia2, ..., iaN ---- -- csound doc: http://www.csounds.com/manual/html/filter2.html filter2 :: Sig -> D -> D -> [D] -> Sig -- | Formant filter. -- -- Fofilter generates a stream of overlapping sinewave grains, when fed -- with a pulse train. Each grain is the impulse response of a -- combination of two BP filters. The grains are defined by their attack -- time (determining the skirtwidth of the formant region at -60dB) and -- decay time (-6dB bandwidth). Overlapping will occur when 1/freq < -- decay, but, unlike FOF, there is no upper limit on the number of -- overlaps. The original idea for this opcode came from J McCartney's -- formlet class in SuperCollider, but this is possibly implemented -- differently(?). -- --
-- asig fofilter ain, kcf, kris, kdec[, istor] ---- -- csound doc: http://www.csounds.com/manual/html/fofilter.html fofilter :: Sig -> Sig -> Sig -> Sig -> Sig -- | A Hilbert transformer. -- -- An IIR implementation of a Hilbert transformer. -- --
-- ar1, ar2 hilbert asig ---- -- csound doc: http://www.csounds.com/manual/html/hilbert.html hilbert :: Sig -> (Sig, Sig) -- | A filter with a non-linear effect. -- -- Implements the filter: -- --
-- ares nlfilt ain, ka, kb, kd, kC, kL ---- -- csound doc: http://www.csounds.com/manual/html/nlfilt.html nlfilt :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -- | A filter with a non-linear effect and blowup protection. -- -- Implements the filter: -- --
-- ares nlfilt2 ain, ka, kb, kd, kC, kL ---- -- csound doc: http://www.csounds.com/manual/html/nlfilt2.html nlfilt2 :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -- | Implementation of Zoelzer's parametric equalizer filters. -- -- Implementation of Zoelzer's parametric equalizer filters, with some -- modifications by the author. -- --
-- ares pareq asig, kc, kv, kq [, imode] [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/pareq.html pareq :: Sig -> Sig -> Sig -> Sig -> Sig -- | Parametric equalizer and filter opcode with 7 filter types, based on -- algorithm by Robert Bristow-Johnson. -- -- Parametric equalizer and filter opcode with 7 filter types, based on -- algorithm by Robert Bristow-Johnson. -- --
-- ar rbjeq asig, kfco, klvl, kQ, kS[, imode] ---- -- csound doc: http://www.csounds.com/manual/html/rbjeq.html rbjeq :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -- | Performs filtering using a transposed form-II digital filter lattice -- with radial pole-shearing and angular pole-warping. -- -- General purpose custom filter with time-varying pole control. The -- filter coefficients implement the following difference equation: -- --
-- ares zfilter2 asig, kdamp, kfreq, iM, iN, ib0, ib1, ..., ibM, \ -- ia1,ia2, ..., iaN ---- -- csound doc: http://www.csounds.com/manual/html/zfilter2.html zfilter2 :: Sig -> Sig -> Sig -> D -> D -> [D] -> Sig -- | A simple waveguide model consisting of one delay-line and one -- first-order lowpass filter. -- --
-- ares wguide1 asig, xfreq, kcutoff, kfeedback ---- -- csound doc: http://www.csounds.com/manual/html/wguide1.html wguide1 :: Sig -> Sig -> Sig -> Sig -> Sig -- | A model of beaten plate consisting of two parallel delay-lines and two -- first-order lowpass filters. -- --
-- ares wguide2 asig, xfreq1, xfreq2, kcutoff1, kcutoff2, \ -- kfeedback1, kfeedback2 ---- -- csound doc: http://www.csounds.com/manual/html/wguide2.html wguide2 :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -- | Efficiently evaluates the sum of Chebyshev polynomials of arbitrary -- order. -- -- The chebyshevpoly opcode calculates the value of a polynomial -- expression with a single a-rate input variable that is made up of a -- linear combination of the first N Chebyshev polynomials of the first -- kind. Each Chebyshev polynomial, Tn(x), is weighted by a k-rate -- coefficient, kn, so that the opcode is calculating a sum of any number -- of terms in the form kn*Tn(x). Thus, the chebyshevpoly opcode allows -- for the waveshaping of an audio signal with a dynamic transfer -- function that gives precise control over the harmonic content of the -- output. -- --
-- aout chebyshevpoly ain, k0 [, k1 [, k2 [...]]] ---- -- csound doc: -- http://www.csounds.com/manual/html/chebyshevpoly.html chebyshevpoly :: Sig -> [Sig] -> Sig -- | Performs linear clipping on an audio signal or a phasor. -- -- The pdclip opcode allows a percentage of the input range of a signal -- to be clipped to fullscale. It is similar to simply multiplying the -- signal and limiting the range of the result, but pdclip allows you to -- think about how much of the signal range is being distorted instead of -- the scalar factor and has a offset parameter for assymetric clipping -- of the signal range. pdclip is also useful for remapping phasors for -- phase distortion synthesis. -- --
-- aout pdclip ain, kWidth, kCenter [, ibipolar [, ifullscale]] ---- -- csound doc: http://www.csounds.com/manual/html/pdclip.html pdclip :: Sig -> Sig -> Sig -> Sig -- | Distorts a phasor for reading the two halves of a table at different -- rates. -- -- The pdhalf opcode is designed to emulate the "classic" phase -- distortion synthesis method of the Casio CZ-series of synthesizers -- from the mid-1980's. This technique reads the first and second halves -- of a function table at different rates in order to warp the waveform. -- For example, pdhalf can smoothly transform a sine wave into something -- approximating the shape of a saw wave. -- --
-- aout pdhalf ain, kShapeAmount [, ibipolar [, ifullscale]] ---- -- csound doc: http://www.csounds.com/manual/html/pdhalf.html pdhalf :: Sig -> Sig -> Sig -- | Distorts a phasor for reading two unequal portions of a table in equal -- periods. -- -- The pdhalfy opcode is a variation on the phase distortion synthesis -- method of the pdhalf opcode. It is useful for distorting a phasor in -- order to read two unequal portions of a table in the same number of -- samples. -- --
-- aout pdhalfy ain, kShapeAmount [, ibipolar [, ifullscale]] ---- -- csound doc: http://www.csounds.com/manual/html/pdhalfy.html pdhalfy :: Sig -> Sig -> Sig -- | Waveshapes a signal by raising it to a variable exponent. -- -- The powershape opcode raises an input signal to a power with pre- and -- post-scaling of the signal so that the output will be in a predictable -- range. It also processes negative inputs in a symmetrical way to -- positive inputs, calculating a dynamic transfer function that is -- useful for waveshaping. -- --
-- aout powershape ain, kShapeAmount [, ifullscale] ---- -- csound doc: http://www.csounds.com/manual/html/powershape.html powershape :: Sig -> Sig -> Sig -- | Produces a signal that is the maximum of any number of input signals. -- -- The max opcode takes any number of a-rate or k-rate signals as input -- (all of the same rate), and outputs a signal at the same rate that is -- the maximum of all of the inputs. For a-rate signals, the inputs are -- compared one sample at a time (i.e. max does not scan an entire ksmps -- period of a signal for its local maximum as the max_k opcode does). -- --
-- amax max ain1, ain2 [, ain3] [, ain4] [...] -- kmax max kin1, kin2 [, kin3] [, kin4] [...] ---- -- csound doc: http://www.csounds.com/manual/html/max.html max' :: [Sig] -> Sig -- | Local maximum (or minimum) value of an incoming asig signal -- -- max_k outputs the local maximum (or minimum) value of the incoming -- asig signal, checked in the time interval between ktrig has become -- true twice. -- --
-- knumkout max_k asig, ktrig, itype ---- -- csound doc: http://www.csounds.com/manual/html/max_k.html max_k :: Sig -> Sig -> D -> Sig -- | Produces a signal that is the maximum of the absolute values of any -- number of input signals. -- -- The maxabs opcode takes any number of a-rate or k-rate signals as -- input (all of the same rate), and outputs a signal at the same rate -- that is the maximum of all of the inputs. It is identical to the max -- opcode except that it takes the absolute value of each input before -- comparing them. Therefore, the output is always non-negative. For -- a-rate signals, the inputs are compared one sample at a time (i.e. -- maxabs does not scan an entire ksmps period of a signal for its local -- maximum as the max_k opcode does). -- --
-- amax maxabs ain1, ain2 [, ain3] [, ain4] [...] -- kmax maxabs kin1, kin2 [, kin3] [, kin4] [...] ---- -- csound doc: http://www.csounds.com/manual/html/maxabs.html maxabs :: [Sig] -> Sig -- | Accumulates the maximum of the absolute values of audio signals. -- -- maxabsaccum compares two audio-rate variables and stores the maximum -- of their absolute values into the first. -- --
-- maxabsaccum aAccumulator, aInput ---- -- csound doc: http://www.csounds.com/manual/html/maxabsaccum.html maxabsaccum :: Sig -> Sig -> SE () -- | Accumulates the maximum value of audio signals. -- -- maxaccum compares two audio-rate variables and stores the maximum -- value between them into the first. -- --
-- maxaccum aAccumulator, aInput ---- -- csound doc: http://www.csounds.com/manual/html/maxaccum.html maxaccum :: Sig -> Sig -> SE () -- | Produces a signal that is the minimum of any number of input signals. -- -- The min opcode takes any number of a-rate or k-rate signals as input -- (all of the same rate), and outputs a signal at the same rate that is -- the minimum of all of the inputs. For a-rate signals, the inputs are -- compared one sample at a time (i.e. min does not scan an entire ksmps -- period of a signal for its local minimum as the max_k opcode does). -- --
-- amin min ain1, ain2 [, ain3] [, ain4] [...] -- kmin min kin1, kin2 [, kin3] [, kin4] [...] ---- -- csound doc: http://www.csounds.com/manual/html/min.html min' :: [Sig] -> Sig -- | Produces a signal that is the minimum of the absolute values of any -- number of input signals. -- -- The minabs opcode takes any number of a-rate or k-rate signals as -- input (all of the same rate), and outputs a signal at the same rate -- that is the minimum of all of the inputs. It is identical to the min -- opcode except that it takes the absolute value of each input before -- comparing them. Therefore, the output is always non-negative. For -- a-rate signals, the inputs are compared one sample at a time (i.e. -- minabs does not scan an entire ksmps period of a signal for its local -- minimum as the max_k opcode does). -- --
-- amin minabs ain1, ain2 [, ain3] [, ain4] [...] -- kmin minabs kin1, kin2 [, kin3] [, kin4] [...] ---- -- csound doc: http://www.csounds.com/manual/html/minabs.html minabs :: [Sig] -> Sig -- | Accumulates the minimum of the absolute values of audio signals. -- -- minabsaccum compares two audio-rate variables and stores the minimum -- of their absolute values into the first. -- --
-- minabsaccum aAccumulator, aInput ---- -- csound doc: http://www.csounds.com/manual/html/minabsaccum.html minabsaccum :: Sig -> Sig -> SE () -- | Accumulates the minimum value of audio signals. -- -- minaccum compares two audio-rate variables and stores the minimum -- value between them into the first. -- --
-- minaccum aAccumulator, aInput ---- -- csound doc: http://www.csounds.com/manual/html/minaccum.html minaccum :: Sig -> Sig -> SE () module Csound.Typed.Opcode.SignalIO -- | Periodically writes an orchestra control-signal value to an external -- file. -- -- Periodically writes an orchestra control-signal value to a named -- external file in a specific format. -- --
-- dumpk ksig, ifilname, iformat, iprd ---- -- csound doc: http://www.csounds.com/manual/html/dumpk.html dumpk :: Sig -> Str -> D -> D -> SE () -- | Periodically writes two orchestra control-signal values to an external -- file. -- -- Periodically writes two orchestra control-signal values to a named -- external file in a specific format. -- --
-- dumpk2 ksig1, ksig2, ifilname, iformat, iprd ---- -- csound doc: http://www.csounds.com/manual/html/dumpk2.html dumpk2 :: Sig -> Sig -> Str -> D -> D -> SE () -- | Periodically writes three orchestra control-signal values to an -- external file. -- -- Periodically writes three orchestra control-signal values to a named -- external file in a specific format. -- --
-- dumpk3 ksig1, ksig2, ksig3, ifilname, iformat, iprd ---- -- csound doc: http://www.csounds.com/manual/html/dumpk3.html dumpk3 :: Sig -> Sig -> Sig -> Str -> D -> D -> SE () -- | Periodically writes four orchestra control-signal values to an -- external file. -- -- Periodically writes four orchestra control-signal values to a named -- external file in a specific format. -- --
-- dumpk4 ksig1, ksig2, ksig3, ksig4, ifilname, iformat, iprd ---- -- csound doc: http://www.csounds.com/manual/html/dumpk4.html dumpk4 :: Sig -> Sig -> Sig -> Sig -> Str -> D -> D -> SE () -- | Closes a previously opened file. -- -- ficlose can be used to close a file which was opened with fiopen. -- --
-- ficlose ihandle -- ficlose Sfilename ---- -- csound doc: http://www.csounds.com/manual/html/ficlose.html ficlose :: D -> SE () -- | Read signals from a file at a-rate. -- --
-- fin ifilename, iskipframes, iformat, ain1 [, ain2] [, ain3] [,...] ---- -- csound doc: http://www.csounds.com/manual/html/fin.html fin :: Str -> D -> D -> [Sig] -> SE () -- | Read signals from a file at i-rate. -- --
-- fini ifilename, iskipframes, iformat, in1 [, in2] [, in3] [, ...] ---- -- csound doc: http://www.csounds.com/manual/html/fini.html fini :: Str -> D -> D -> [D] -> SE () -- | Read signals from a file at k-rate. -- --
-- fink ifilename, iskipframes, iformat, kin1 [, kin2] [, kin3] [,...] ---- -- csound doc: http://www.csounds.com/manual/html/fink.html fink :: Str -> D -> D -> [Sig] -> SE () -- | Opens a file in a specific mode. -- -- fiopen can be used to open a file in one of the specified modes. -- --
-- ihandle fiopen ifilename, imode ---- -- csound doc: http://www.csounds.com/manual/html/fiopen.html fiopen :: Str -> D -> SE D -- | Outputs a-rate signals to an arbitrary number of channels. -- -- fout outputs N a-rate signals to a specified file of N channels. -- --
-- fout ifilename, iformat, aout1 [, aout2, aout3,...,aoutN] ---- -- csound doc: http://www.csounds.com/manual/html/fout.html fout :: Str -> D -> [Sig] -> SE () -- | Outputs i-rate signals of an arbitrary number of channels to a -- specified file. -- -- fouti output N i-rate signals to a specified file of N channels. -- --
-- fouti ihandle, iformat, iflag, iout1 [, iout2, iout3,....,ioutN] ---- -- csound doc: http://www.csounds.com/manual/html/fouti.html fouti :: Str -> D -> D -> [D] -> SE () -- | Outputs i-rate signals from an arbitrary number of channels to a -- specified file. -- -- foutir output N i-rate signals to a specified file of N channels. -- --
-- foutir ihandle, iformat, iflag, iout1 [, iout2, iout3,....,ioutN] ---- -- csound doc: http://www.csounds.com/manual/html/foutir.html foutir :: Str -> D -> D -> [D] -> SE () -- | Outputs k-rate signals of an arbitrary number of channels to a -- specified file, in raw (headerless) format. -- -- foutk outputs N k-rate signals to a specified file of N channels. -- --
-- foutk ifilename, iformat, kout1 [, kout2, kout3,....,koutN] ---- -- csound doc: http://www.csounds.com/manual/html/foutk.html foutk :: Str -> D -> [Sig] -> SE () -- | Similar to printks but prints to a file. -- --
-- fprintks "filename", "string", [, kval1] [, kval2] [...] ---- -- csound doc: http://www.csounds.com/manual/html/fprintks.html fprintks :: Str -> Str -> [Sig] -> SE () -- | Similar to prints but prints to a file. -- --
-- fprints "filename", "string" [, ival1] [, ival2] [...] ---- -- csound doc: http://www.csounds.com/manual/html/fprints.html fprints :: Str -> Str -> [D] -> SE () -- | Periodically reads an orchestra control-signal value from an external -- file. -- -- Periodically reads an orchestra control-signal value from a named -- external file in a specific format. -- --
-- kres readk ifilname, iformat, iprd ---- -- csound doc: http://www.csounds.com/manual/html/readk.html readk :: Str -> D -> D -> Sig -- | Periodically reads two orchestra control-signal values from an -- external file. -- --
-- kr1, kr2 readk2 ifilname, iformat, iprd ---- -- csound doc: http://www.csounds.com/manual/html/readk2.html readk2 :: Str -> D -> D -> (Sig, Sig) -- | Periodically reads three orchestra control-signal values from an -- external file. -- --
-- kr1, kr2, kr3 readk3 ifilname, iformat, iprd ---- -- csound doc: http://www.csounds.com/manual/html/readk3.html readk3 :: Str -> D -> D -> (Sig, Sig, Sig) -- | Periodically reads four orchestra control-signal values from an -- external file. -- --
-- kr1, kr2, kr3, kr4 readk4 ifilname, iformat, iprd ---- -- csound doc: http://www.csounds.com/manual/html/readk4.html readk4 :: Str -> D -> D -> (Sig, Sig, Sig, Sig) -- | Deprecated. Reads audio data from an external device or stream and can -- alter its pitch. -- --
-- ar1 [, ar2 [, ar3 [, ... arN]]] diskin ifilcod, kpitch [, iskiptim] \ -- [, iwraparound] [, iformat] [, iskipinit] ---- -- csound doc: http://www.csounds.com/manual/html/diskin.html diskin :: Tuple a => Str -> Sig -> a -- | Reads audio data from a file, and can alter its pitch using one of -- several available interpolation types, as well as convert the sample -- rate to match the orchestra sr setting. -- -- Reads audio data from a file, and can alter its pitch using one of -- several available interpolation types, as well as convert the sample -- rate to match the orchestra sr setting. diskin2 can also read -- multichannel files with any number of channels in the range 1 to 24 in -- versions before 5.14, and 40 after. . diskin2 allows more control and -- higher sound quality than diskin, but there is also the disadvantage -- of higher CPU usage. -- --
-- a1[, a2[, ... aN]] diskin2 ifilcod, kpitch[, iskiptim \ -- [, iwrap[, iformat [, iwsize[, ibufsize[, iskipinit]]]]]] ---- -- csound doc: http://www.csounds.com/manual/html/diskin2.html diskin2 :: Tuple a => Str -> Sig -> a -- | Reads mono audio data from an external device or stream. -- --
-- ar1 in ---- -- csound doc: http://www.csounds.com/manual/html/in.html in' :: Sig -- | Reads a 32-channel audio signal from an external device or stream. -- --
-- ar1, ar2, ar3, ar4, ar5, ar6, ar7, ar8, ar9, ar10, ar11, ar12, ar13, ar14, \ -- ar15, ar16, ar17, ar18, ar19, ar20, ar21, ar22, ar23, ar24, ar25, ar26, \ -- ar27, ar28, ar29, ar30, ar31, ar32 in32 ---- -- csound doc: http://www.csounds.com/manual/html/in32.html in32 :: Tuple a => a -- | Reads from numbered channels in an external audio signal or stream. -- --
-- ain1[, ...] inch kchan1[,...] ---- -- csound doc: http://www.csounds.com/manual/html/inch.html inch :: Tuple a => [Sig] -> a -- | Reads six-channel audio data from an external device or stream. -- --
-- ar1, ar2, ar3, ar4, ar5, ar6 inh ---- -- csound doc: http://www.csounds.com/manual/html/inh.html inh :: Tuple a => a -- | Reads eight-channel audio data from an external device or stream. -- --
-- ar1, ar2, ar3, ar4, ar5, ar6, ar7, ar8 ino ---- -- csound doc: http://www.csounds.com/manual/html/ino.html ino :: Tuple a => a -- | Reads quad audio data from an external device or stream. -- --
-- ar1, ar2, ar3, a4 inq ---- -- csound doc: http://www.csounds.com/manual/html/inq.html inq :: (Sig, Sig, Sig, Sig) -- | Allow input from a range of adjacent audio channels from the audio -- input device -- -- inrg reads audio from a range of adjacent audio channels from the -- audio input device. -- --
-- inrg kstart, ain1 [,ain2, ain3, ..., ainN] ---- -- csound doc: http://www.csounds.com/manual/html/inrg.html inrg :: Sig -> [Sig] -> SE () -- | Reads stereo audio data from an external device or stream. -- --
-- ar1, ar2 ins ---- -- csound doc: http://www.csounds.com/manual/html/ins.html ins :: (Sig, Sig) -- | Reads a k-rate signal from a user-defined channel. -- -- Reads a k-rate signal or string from a user-defined channel. -- --
-- kvalue invalue "channel name" -- Sname invalue "channel name" ---- -- csound doc: http://www.csounds.com/manual/html/invalue.html invalue :: Str -> Str -- | Reads a 16-channel audio signal from an external device or stream. -- --
-- ar1, ar2, ar3, ar4, ar5, ar6, ar7, ar8, ar9, ar10, ar11, ar12, \ -- ar13, ar14, ar15, ar16 inx ---- -- csound doc: http://www.csounds.com/manual/html/inx.html inx :: Tuple a => a -- | Reads multi-channel audio samples into a ZAK array from an external -- device or stream. -- --
-- inz ksig1 ---- -- csound doc: http://www.csounds.com/manual/html/inz.html inz :: Sig -> SE () -- | Reads stereo audio data from an external MP3 file. -- --
-- ar1, ar2 mp3in ifilcod[, iskptim, iformat, iskipinit, ibufsize] ---- -- csound doc: http://www.csounds.com/manual/html/mp3in.html mp3in :: Str -> (Sig, Sig) -- | Reads audio data from an external device or stream. -- -- Reads audio data from an external device or stream. Up to 24 channels -- may be read before v5.14, extended to 40 in later versions. -- --
-- ar1[, ar2[, ar3[, ... a24]]] soundin ifilcod [, iskptim] [, iformat] \ -- [, iskipinit] [, ibufsize] ---- -- csound doc: http://www.csounds.com/manual/html/soundin.html soundin :: Tuple a => Str -> a -- | A MIDI delay opcode. -- --
-- mdelay kstatus, kchan, kd1, kd2, kdelay ---- -- csound doc: http://www.csounds.com/manual/html/mdelay.html mdelay :: Sig -> Sig -> Sig -> Sig -> Sig -> SE () -- | Returns the audio spout frame. -- -- Returns the audio spout frame (if active), otherwise it returns zero. -- --
-- aout1 [,aout2 ... aoutX] monitor ---- -- csound doc: http://www.csounds.com/manual/html/monitor.html monitor :: Tuple a => a -- | Writes mono audio data to an external device or stream. -- --
-- out asig ---- -- csound doc: http://www.csounds.com/manual/html/out.html out :: Sig -> SE () -- | Writes 32-channel audio data to an external device or stream. -- --
-- out32 asig1, asig2, asig3, asig4, asig5, asig6, asig7, asig8, asig10, \ -- asig11, asig12, asig13, asig14, asig15, asig16, asig17, asig18, \ -- asig19, asig20, asig21, asig22, asig23, asig24, asig25, asig26, \ -- asig27, asig28, asig29, asig30, asig31, asig32 ---- -- csound doc: http://www.csounds.com/manual/html/out32.html out32 :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> SE () -- | Writes audio data with an arbitrary number of channels to an external -- device or stream. -- --
-- outc asig1 [, asig2] [...] ---- -- csound doc: http://www.csounds.com/manual/html/outc.html outc :: [Sig] -> SE () -- | Writes multi-channel audio data, with user-controllable channels, to -- an external device or stream. -- --
-- outch kchan1, asig1 [, kchan2] [, asig2] [...] ---- -- csound doc: http://www.csounds.com/manual/html/outch.html outch :: Sig -> [Sig] -> SE () -- | Writes 6-channel audio data to an external device or stream. -- --
-- outh asig1, asig2, asig3, asig4, asig5, asig6 ---- -- csound doc: http://www.csounds.com/manual/html/outh.html outh :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> SE () -- | Writes 8-channel audio data to an external device or stream. -- --
-- outo asig1, asig2, asig3, asig4, asig5, asig6, asig7, asig8 ---- -- csound doc: http://www.csounds.com/manual/html/outo.html outo :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> SE () -- | Writes 4-channel audio data to an external device or stream. -- --
-- outq asig1, asig2, asig3, asig4 ---- -- csound doc: http://www.csounds.com/manual/html/outq.html outq :: Sig -> Sig -> Sig -> Sig -> SE () -- | Writes samples to quad channel 1 of an external device or stream. -- --
-- outq1 asig ---- -- csound doc: http://www.csounds.com/manual/html/outq1.html outq1 :: Sig -> SE () -- | Writes samples to quad channel 2 of an external device or stream. -- --
-- outq2 asig ---- -- csound doc: http://www.csounds.com/manual/html/outq2.html outq2 :: Sig -> SE () -- | Writes samples to quad channel 3 of an external device or stream. -- --
-- outq3 asig ---- -- csound doc: http://www.csounds.com/manual/html/outq3.html outq3 :: Sig -> SE () -- | Writes samples to quad channel 4 of an external device or stream. -- --
-- outq4 asig ---- -- csound doc: http://www.csounds.com/manual/html/outq4.html outq4 :: Sig -> SE () -- | Allow output to a range of adjacent audio channels on the audio output -- device -- -- outrg outputs audio to a range of adjacent audio channels on the audio -- output device. -- --
-- outrg kstart, aout1 [,aout2, aout3, ..., aoutN] ---- -- csound doc: http://www.csounds.com/manual/html/outrg.html outrg :: Sig -> [Sig] -> SE () -- | Writes stereo audio data to an external device or stream. -- --
-- outs asig1, asig2 ---- -- csound doc: http://www.csounds.com/manual/html/outs.html outs :: Sig -> Sig -> SE () -- | Writes samples to stereo channel 1 of an external device or stream. -- --
-- outs1 asig ---- -- csound doc: http://www.csounds.com/manual/html/outs1.html outs1 :: Sig -> SE () -- | Writes samples to stereo channel 2 of an external device or stream. -- --
-- outs2 asig ---- -- csound doc: http://www.csounds.com/manual/html/outs2.html outs2 :: Sig -> SE () -- | Sends a k-rate signal or string to a user-defined channel. -- --
-- outvalue "channel name", kvalue -- outvalue "channel name", "string" ---- -- csound doc: http://www.csounds.com/manual/html/outvalue.html outvalue :: Str -> Sig -> SE () -- | Writes 16-channel audio data to an external device or stream. -- --
-- outx asig1, asig2, asig3, asig4, asig5, asig6, asig7, asig8, \ -- asig9, asig10, asig11, asig12, asig13, asig14, asig15, asig16 ---- -- csound doc: http://www.csounds.com/manual/html/outx.html outx :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> SE () -- | Writes multi-channel audio data from a ZAK array to an external device -- or stream. -- --
-- outz ksig1 ---- -- csound doc: http://www.csounds.com/manual/html/outz.html outz :: Sig -> SE () -- | Deprecated. Writes audio output to a disk file. -- -- The usage of soundout is discouraged. Please use fout instead. -- --
-- soundout asig1, ifilcod [, iformat] ---- -- csound doc: http://www.csounds.com/manual/html/soundout.html soundout :: Sig -> Str -> SE () -- | Deprecated. Writes audio output to a disk file. -- -- The usage of soundouts is discouraged. Please use fout instead. -- --
-- soundouts asigl, asigr, ifilcod [, iformat] ---- -- csound doc: http://www.csounds.com/manual/html/soundouts.html soundouts :: Sig -> Sig -> Str -> SE () -- | Reads data from the software bus -- -- Reads data from a channel of the inward software bus. -- --
-- kval chani kchan -- aval chani kchan ---- -- csound doc: http://www.csounds.com/manual/html/chani.html chani :: Sig -> SE Sig -- | Send data to the outwards software bus -- -- Send data to a channel of the outward software bus. -- --
-- chano kval, kchan -- chano aval, kchan ---- -- csound doc: http://www.csounds.com/manual/html/chano.html chano :: Sig -> Sig -> SE () -- | Declare a channel of the named software bus. -- -- Declare a channel of the named software bus, with setting optional -- parameters in the case of a control channel. If the channel does not -- exist yet, it is created, with an inital value of zero or empty -- string. Otherwise, the type (control, audio, or string) of the -- existing channel must match the declaration, or an init error occurs. -- The input/output mode of an existing channel is updated so that it -- becomes the bitwise OR of the previous and the newly specified value. -- --
-- chn_k Sname, imode[, itype, idflt, imin, ima, ix, iy, iwidth, iheight, Sattributes] ---- -- csound doc: http://www.csounds.com/manual/html/chn.html chn_k :: Str -> D -> SE () -- | Declare a channel of the named software bus. -- -- Declare a channel of the named software bus, with setting optional -- parameters in the case of a control channel. If the channel does not -- exist yet, it is created, with an inital value of zero or empty -- string. Otherwise, the type (control, audio, or string) of the -- existing channel must match the declaration, or an init error occurs. -- The input/output mode of an existing channel is updated so that it -- becomes the bitwise OR of the previous and the newly specified value. -- --
-- chn_a Sname, imode ---- -- csound doc: http://www.csounds.com/manual/html/chn.html chn_a :: Str -> D -> SE () -- | Declare a channel of the named software bus. -- -- Declare a channel of the named software bus, with setting optional -- parameters in the case of a control channel. If the channel does not -- exist yet, it is created, with an inital value of zero or empty -- string. Otherwise, the type (control, audio, or string) of the -- existing channel must match the declaration, or an init error occurs. -- The input/output mode of an existing channel is updated so that it -- becomes the bitwise OR of the previous and the newly specified value. -- --
-- chn_S Sname, imode ---- -- csound doc: http://www.csounds.com/manual/html/chn.html chn_S :: Str -> D -> SE () -- | Clears an audio output channel of the named software bus. -- -- Clears an audio channel of the named software bus to zero. Implies -- declaring the channel with imode=2 (see also chn_a). -- --
-- chnclear Sname ---- -- csound doc: http://www.csounds.com/manual/html/chnclear.html chnclear :: Str -> SE () -- | Export a global variable as a channel of the bus. -- -- Export a global variable as a channel of the bus; the channel should -- not already exist, otherwise an init error occurs. This opcode is -- normally called from the orchestra header, and allows the host -- application to read or write orchestra variables directly, without -- having to use chnget or chnset to copy data. -- --
-- gival chnexport Sname, imode[, itype, idflt, imin, imax] -- gkval chnexport Sname, imode[, itype, idflt, imin, imax] -- gaval chnexport Sname, imode -- gSval chnexport Sname, imode ---- -- csound doc: http://www.csounds.com/manual/html/chnexport.html chnexport :: Str -> D -> Str -- | Reads data from the software bus. -- -- Reads data from a channel of the inward named software bus. Implies -- declaring the channel with imode=1 (see also chn_k, chn_a, and chn_S). -- --
-- ival chnget Sname -- kval chnget Sname -- aval chnget Sname -- Sval chnget Sname ---- -- csound doc: http://www.csounds.com/manual/html/chnget.html chnget :: Str -> SE Str -- | Writes audio data to the named software bus, mixing to the previous -- output. -- -- Adds an audio signal to a channel of the named software bus. Implies -- declaring the channel with imode=2 (see also chn_a). -- --
-- chnmix aval, Sname ---- -- csound doc: http://www.csounds.com/manual/html/chnmix.html chnmix :: Sig -> Str -> SE () -- | Query parameters of a channel. -- -- Query parameters of a channel (if it does not exist, all returned -- values are zero). -- --
-- itype, imode, ictltype, idflt, imin, imax chnparams ---- -- csound doc: http://www.csounds.com/manual/html/chnparams.html chnparams :: Tuple a => a -- | Recieves data from the software bus. -- -- Receives data from a channel of the inward named software bus. Implies -- declaring the channel with imode=1 (see also chn_k, chn_a, and chn_S). -- Note that chnsendchnrecv (which in Csound6 work identically to -- invalueoutvalue) are usually used for the callback-based -- communication between Csound and an external host. Use the -- chnset/chnget opcodes for sending and receiving data inside Csound. -- --
-- ival chnrecv Sname -- kval chnrecv Sname -- aval chnrecv Sname -- Sval chnrecv Sname ---- -- csound doc: http://www.csounds.com/manual/html/chnrecv.html chnrecv :: Str -> SE Str -- | Sends data via the named software bus. -- -- Send to a channel of the named software bus. Implies declaring the -- channel with imode=2 (see also chn_k, chn_a, and chn_S). Note that -- chnsendchnrecv (which in Csound6 work identically to -- invalueoutvalue) are usually used for the callback-based -- communication between Csound and an external host. Use the -- chnset/chnget opcodes for sending and receiving data inside Csound. -- --
-- chnsend ival, Sname -- chnsend kval, Sname -- chnsend aval, Sname -- chnsend Sval, Sname ---- -- csound doc: http://www.csounds.com/manual/html/chnsend.html chnsend :: D -> Str -> SE () -- | Writes data to the named software bus. -- -- Write to a channel of the named software bus. Implies declaring the -- channel with imod=2 (see also chn_k, chn_a, and chn_S). -- --
-- chnset ival, Sname -- chnset kval, Sname -- chnset aval, Sname -- chnset Sval, Sname ---- -- csound doc: http://www.csounds.com/manual/html/chnset.html chnset :: D -> Str -> SE () -- | Sets the local ksmps value in an instrument or user-defined opcode -- block -- -- Sets the local ksmps value in an instrument or user-defined opcode -- block. -- --
-- setksmps iksmps ---- -- csound doc: http://www.csounds.com/manual/html/setksmps.html setksmps :: D -> SE () -- | Passes variables to a user-defined opcode block, -- -- The xin and xout opcodes copy variables to and from the opcode -- definition, allowing communication with the calling instrument. -- --
-- xinarg1 [, xinarg2] ... [xinargN] xin ---- -- csound doc: http://www.csounds.com/manual/html/xin.html xin :: Tuple a => a -- | Retrieves variables from a user-defined opcode block, -- -- The xin and xout opcodes copy variables to and from the opcode -- definition, allowing communication with the calling instrument. -- --
-- xout xoutarg1 [, xoutarg2] ... [, xoutargN] ---- -- csound doc: http://www.csounds.com/manual/html/xout.html xout :: [Sig] -> SE () -- | Displays the Fourier Transform of an audio or control signal. -- -- These units will print orchestra init-values, or produce graphic -- display of orchestra control signals and audio signals. Uses X11 -- windows if enabled, else (or if -g flag is set) displays are -- approximated in ASCII characters. -- --
-- dispfft xsig, iprd, iwsiz [, iwtyp] [, idbout] [, iwtflg] ---- -- csound doc: http://www.csounds.com/manual/html/dispfft.html dispfft :: Sig -> D -> D -> SE () -- | Displays the audio or control signals as an amplitude vs. time graph. -- -- These units will print orchestra init-values, or produce graphic -- display of orchestra control signals and audio signals. Uses X11 -- windows if enabled, else (or if -g flag is set) displays are -- approximated in ASCII characters. -- --
-- display xsig, iprd [, inprds] [, iwtflg] ---- -- csound doc: http://www.csounds.com/manual/html/display.html display :: Sig -> D -> SE () -- | Allows text to be displayed from instruments like sliders -- -- Allows text to be displayed from instruments like sliders etc. (only -- on Unix and Windows at present) -- --
-- flashtxt iwhich, String ---- -- csound doc: http://www.csounds.com/manual/html/flashtxt.html flashtxt :: D -> Str -> SE () -- | Displays the values init (i-rate) variables. -- -- These units will print orchestra init-values. -- --
-- print iarg [, iarg1] [, iarg2] [...] ---- -- csound doc: http://www.csounds.com/manual/html/print.html print' :: [D] -> SE () -- | printf-style formatted output -- -- printf and printf_i write formatted output, similarly to the C -- function printf(). printf_i runs at i-time only, while printf runs -- both at initialization and performance time. -- --
-- printf_i Sfmt, itrig, [iarg1[, iarg2[, ... ]]] ---- -- csound doc: http://www.csounds.com/manual/html/printf.html printf_i :: Str -> D -> [D] -> SE () -- | printf-style formatted output -- -- printf and printf_i write formatted output, similarly to the C -- function printf(). printf_i runs at i-time only, while printf runs -- both at initialization and performance time. -- --
-- printf Sfmt, ktrig, [xarg1[, xarg2[, ... ]]] ---- -- csound doc: http://www.csounds.com/manual/html/printf.html printf :: Str -> Sig -> [Sig] -> SE () -- | Prints one k-rate value at specified intervals. -- --
-- printk itime, kval [, ispace] ---- -- csound doc: http://www.csounds.com/manual/html/printk.html printk :: D -> Sig -> SE () -- | Prints a new value every time a control variable changes. -- --
-- printk2 kvar [, inumspaces] ---- -- csound doc: http://www.csounds.com/manual/html/printk2.html printk2 :: Sig -> SE () -- | Prints at k-rate using a printf() style syntax. -- --
-- printks "string", itime [, kval1] [, kval2] [...] ---- -- csound doc: http://www.csounds.com/manual/html/printks.html printks :: Str -> D -> [Sig] -> SE () -- | Prints at init-time using a printf() style syntax. -- --
-- prints "string" [, kval1] [, kval2] [...] ---- -- csound doc: http://www.csounds.com/manual/html/prints.html prints :: Str -> [Sig] -> SE () -- | Returns the number of bits in each sample in a sound file. -- --
-- ir filebit ifilcod [, iallowraw] ---- -- csound doc: http://www.csounds.com/manual/html/filebit.html filebit :: Str -> D -- | Returns the length of a sound file. -- --
-- ir filelen ifilcod, [iallowraw] ---- -- csound doc: http://www.csounds.com/manual/html/filelen.html filelen :: Str -> D -- | Returns the number of channels in a sound file. -- --
-- ir filenchnls ifilcod [, iallowraw] ---- -- csound doc: http://www.csounds.com/manual/html/filenchnls.html filenchnls :: Str -> D -- | Returns the peak absolute value of a sound file. -- --
-- ir filepeak ifilcod [, ichnl] ---- -- csound doc: http://www.csounds.com/manual/html/filepeak.html filepeak :: Str -> D -- | Returns the sample rate of a sound file. -- --
-- ir filesr ifilcod [, iallowraw] ---- -- csound doc: http://www.csounds.com/manual/html/filesr.html filesr :: Str -> D -- | Checks that a file can be used. -- -- Returns 1 if the sound file is valid, or 0 if not. -- --
-- ir filevalid ifilcod ---- -- csound doc: http://www.csounds.com/manual/html/filevalid.html filevalid :: Str -> D -- | Returns the length of an MP3 sound file. -- --
-- ir mp3len ifilcod ---- -- csound doc: http://www.csounds.com/manual/html/mp3len.html mp3len :: Str -> D module Csound.Typed.Opcode.SignalGenerators -- | Output is an additive set of individually controlled sinusoids, using -- an oscillator bank. -- --
-- ares adsyn kamod, kfmod, ksmod, ifilcod ---- -- csound doc: http://www.csounds.com/manual/html/adsyn.html adsyn :: Sig -> Sig -> Sig -> Str -> Sig -- | Performs additive synthesis with an arbitrary number of partials, not -- necessarily harmonic. -- --
-- ares adsynt kamp, kcps, iwfn, ifreqfn, iampfn, icnt [, iphs] ---- -- csound doc: http://www.csounds.com/manual/html/adsynt.html adsynt :: Sig -> Sig -> Tab -> Tab -> Tab -> D -> Sig -- | Performs additive synthesis with an arbitrary number of partials -not -- necessarily harmonic- with interpolation. -- -- Performs additive synthesis with an arbitrary number of partials, not -- necessarily harmonic. (see adsynt for detailed manual) -- --
-- ar adsynt2 kamp, kcps, iwfn, ifreqfn, iampfn, icnt [, iphs] ---- -- csound doc: http://www.csounds.com/manual/html/adsynt2.html adsynt2 :: Sig -> Sig -> Tab -> Tab -> Tab -> D -> Sig -- | An oscillator which takes tonality and brightness as arguments. -- -- An oscillator which takes tonality and brightness as arguments, -- relative to a base frequency. -- --
-- ares hsboscil kamp, ktone, kbrite, ibasfreq, iwfn, ioctfn \ -- [, ioctcnt] [, iphs] ---- -- csound doc: http://www.csounds.com/manual/html/hsboscil.html hsboscil :: Sig -> Sig -> Sig -> D -> Tab -> Tab -> Sig -- | A low frequency oscillator of various shapes. -- --
-- kres lfo kamp, kcps [, itype] -- ares lfo kamp, kcps [, itype] ---- -- csound doc: http://www.csounds.com/manual/html/lfo.html lfo :: Sig -> Sig -> Sig -- | Mixes the output of any number of oscillators. -- -- This unit generator mixes the output of any number of oscillators. The -- frequency, phase, and amplitude of each oscillator can be modulated by -- two LFOs (all oscillators have a separate set of LFOs, with different -- phase and frequency); additionally, the output of each oscillator can -- be filtered through an optional parametric equalizer (also controlled -- by the LFOs). This opcode is most useful for rendering ensemble -- (strings, choir, etc.) instruments. -- --
-- ares oscbnk kcps, kamd, kfmd, kpmd, iovrlap, iseed, kl1minf, kl1maxf, \ -- kl2minf, kl2maxf, ilfomode, keqminf, keqmaxf, keqminl, keqmaxl, \ -- keqminq, keqmaxq, ieqmode, kfn [, il1fn] [, il2fn] [, ieqffn] \ -- [, ieqlfn] [, ieqqfn] [, itabl] [, ioutfn] ---- -- csound doc: http://www.csounds.com/manual/html/oscbnk.html oscbnk :: Sig -> Sig -> Sig -> Sig -> D -> D -> Sig -> Sig -> Sig -> Sig -> D -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> D -> Tab -> Sig -- | A simple oscillator. -- -- oscil reads table ifn sequentially and repeatedly at a frequency xcps. -- The amplitude is scaled by xamp. -- --
-- ares oscil xamp, xcps [, ifn, iphs] -- kres oscil kamp, kcps [, ifn, iphs] ---- -- csound doc: http://www.csounds.com/manual/html/oscil.html oscil :: Sig -> Sig -> Tab -> Sig -- | A simple oscillator with cubic interpolation. -- -- oscil3 reads table ifn sequentially and repeatedly at a frequency -- xcps. The amplitude is scaled by xamp. Cubic interpolation is applied -- for table look up from internal phase values. -- --
-- ares oscil3 xamp, xcps [, ifn, iphs] -- kres oscil3 kamp, kcps [, ifn, iphs] ---- -- csound doc: http://www.csounds.com/manual/html/oscil3.html oscil3 :: Sig -> Sig -> Tab -> Sig -- | A simple oscillator with linear interpolation. -- -- oscili reads table ifn sequentially and repeatedly at a frequency -- xcps. The amplitude is scaled by xamp. Linear interpolation is applied -- for table look up from internal phase values. -- --
-- ares oscili xamp, xcps, ifn [, iphs] -- kres oscili kamp, kcps, ifn [, iphs] ---- -- csound doc: http://www.csounds.com/manual/html/oscili.html oscili :: Sig -> Sig -> Tab -> Sig -- | A linearly interpolated oscillator that allows changing the table -- number at k-rate. -- -- oscilikt is very similar to oscili, but allows changing the table -- number at k-rate. It is slightly slower than oscili (especially with -- high control rate), although also more accurate as it uses a 31-bit -- phase accumulator, as opposed to the 24-bit one used by oscili. -- --
-- ares oscilikt xamp, xcps, kfn [, iphs] [, istor] -- kres oscilikt kamp, kcps, kfn [, iphs] [, istor] ---- -- csound doc: http://www.csounds.com/manual/html/oscilikt.html oscilikt :: Sig -> Sig -> Tab -> Sig -- | A linearly interpolated oscillator that allows allows phase -- modulation. -- -- osciliktp allows phase modulation (which is actually implemented as -- k-rate frequency modulation, by differentiating phase input). The -- disadvantage is that there is no amplitude control, and frequency can -- be varied only at the control-rate. This opcode can be faster or -- slower than oscilikt, depending on the control-rate. -- --
-- ares osciliktp kcps, kfn, kphs [, istor] ---- -- csound doc: http://www.csounds.com/manual/html/osciliktp.html osciliktp :: Sig -> Tab -> Sig -> Sig -- | A linearly interpolated oscillator with sync status that allows -- changing the table number at k-rate. -- -- oscilikts is the same as oscilikt. Except it has a sync input that can -- be used to re-initialize the oscillator to a k-rate phase value. It is -- slower than oscilikt and osciliktp. -- --
-- ares oscilikts xamp, xcps, kfn, async, kphs [, istor] ---- -- csound doc: http://www.csounds.com/manual/html/oscilikts.html oscilikts :: Sig -> Sig -> Tab -> Sig -> Sig -> Sig -- | Accesses table values at a user-defined frequency. -- -- Accesses table values at a user-defined frequency. This opcode can -- also be written as oscilx. -- --
-- ares osciln kamp, ifrq, ifn, itimes ---- -- csound doc: http://www.csounds.com/manual/html/osciln.html osciln :: Sig -> D -> Tab -> D -> Sig -- | A simple, fast sine oscillator -- -- Simple, fast sine oscillator, that uses only one multiply, and two add -- operations to generate one sample of output, and does not require a -- function table. -- --
-- ares oscils iamp, icps, iphs [, iflg] ---- -- csound doc: http://www.csounds.com/manual/html/oscils.html oscils :: D -> D -> D -> Sig -- | High precision oscillator. -- --
-- ares poscil aamp, acps [, ifn, iphs] -- ares poscil aamp, kcps [, ifn, iphs] -- ares poscil kamp, acps [, ifn, iphs] -- ares poscil kamp, kcps [, ifn, iphs] -- ires poscil kamp, kcps [, ifn, iphs] -- kres poscil kamp, kcps [, ifn, iphs] ---- -- csound doc: http://www.csounds.com/manual/html/poscil.html poscil :: Sig -> Sig -> Tab -> Sig -- | High precision oscillator with cubic interpolation. -- --
-- ares poscil3 aamp, acps [, ifn, iphs] -- ares poscil3 aamp, kcps [, ifn, iphs] -- ares poscil3 kamp, acps [, ifn, iphs] -- ares poscil3 kamp, kcps [, ifn, iphs] -- ires poscil3 kamp, kcps [, ifn, iphs] -- kres poscil3 kamp, kcps [, ifn, iphs] ---- -- csound doc: http://www.csounds.com/manual/html/poscil3.html poscil3 :: Sig -> Sig -> Tab -> Sig -- | Easier-to-use user-controllable vibrato. -- --
-- kout vibr kAverageAmp, kAverageFreq, ifn ---- -- csound doc: http://www.csounds.com/manual/html/vibr.html vibr :: Sig -> Sig -> Tab -> Sig -- | Generates a natural-sounding user-controllable vibrato. -- --
-- kout vibrato kAverageAmp, kAverageFreq, kRandAmountAmp, kRandAmountFreq, kAmpMinRate, kAmpMaxRate, kcpsMinRate, kcpsMaxRate, ifn [, iphs ---- -- csound doc: http://www.csounds.com/manual/html/vibrato.html vibrato :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Tab -> Sig -- | Output is a set of harmonically related sine partials. -- --
-- ares buzz xamp, xcps, knh, ifn [, iphs] ---- -- csound doc: http://www.csounds.com/manual/html/buzz.html buzz :: Sig -> Sig -> Sig -> Tab -> Sig -- | Output is a set of harmonically related cosine partials. -- --
-- ares gbuzz xamp, xcps, knh, klh, kmul, ifn [, iphs] ---- -- csound doc: http://www.csounds.com/manual/html/gbuzz.html gbuzz :: Sig -> Sig -> Sig -> Sig -> Sig -> Tab -> Sig -- | Generates a set of impulses. -- -- Generates a set of impulses of amplitude kamp separated by kintvl -- seconds (or samples if kintvl is negative). The first impulse is -- generated after a delay of ioffset seconds. -- --
-- ares mpulse kamp, kintvl [, ioffset] ---- -- csound doc: http://www.csounds.com/manual/html/mpulse.html mpulse :: Sig -> Sig -> Sig -- | Implementation of a band limited, analog modeled oscillator. -- -- Implementation of a band limited, analog modeled oscillator, based on -- integration of band limited impulses. vco can be used to simulate a -- variety of analog wave forms. -- --
-- ares vco xamp, xcps, iwave, kpw [, ifn] [, imaxd] [, ileak] [, inyx] \ -- [, iphs] [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/vco.html vco :: Sig -> Sig -> D -> Sig -> Sig -- | Implementation of a band-limited oscillator using pre-calculated -- tables. -- -- vco2 is similar to vco. But the implementation uses pre-calculated -- tables of band-limited waveforms (see also GEN30) rather than -- integrating impulses. This opcode can be faster than vco (especially -- if a low control-rate is used) and also allows better sound quality. -- Additionally, there are more waveforms and oscillator phase can be -- modulated at k-rate. The disadvantage is increased memory usage. For -- more details about vco2 tables, see also vco2init and vco2ft. -- --
-- ares vco2 kamp, kcps [, imode] [, kpw] [, kphs] [, inyx] ---- -- csound doc: http://www.csounds.com/manual/html/vco2.html vco2 :: Sig -> Sig -> Sig -- | Returns a table number at k-time for a given oscillator frequency and -- wavform. -- -- vco2ft returns the function table number to be used for generating the -- specified waveform at a given frequency. This function table number -- can be used by any Csound opcode that generates a signal by reading -- function tables (like oscilikt). The tables must be calculated by -- vco2init before vco2ft is called and shared as Csound ftables -- (ibasfn). -- --
-- kfn vco2ft kcps, iwave [, inyx] ---- -- csound doc: http://www.csounds.com/manual/html/vco2ft.html vco2ft :: Sig -> D -> Tab -- | Returns a table number at i-time for a given oscillator frequency and -- wavform. -- -- vco2ift is the same as vco2ft, but works at i-time. It is suitable for -- use with opcodes that expect an i-rate table number (for example, -- oscili). -- --
-- ifn vco2ift icps, iwave [, inyx] ---- -- csound doc: http://www.csounds.com/manual/html/vco2ift.html vco2ift :: D -> D -> Tab -- | Calculates tables for use by vco2 opcode. -- -- vco2init calculates tables for use by vco2 opcode. Optionally, it is -- also possible to access these tables as standard Csound function -- tables. In this case, vco2ft can be used to find the correct table -- number for a given oscillator frequency. -- --
-- ifn vco2init iwave [, ibasfn] [, ipmul] [, iminsiz] [, imaxsiz] [, isrcft] ---- -- csound doc: http://www.csounds.com/manual/html/vco2init.html vco2init :: D -> SE Tab -- | Two mutually frequency and/or phase modulated oscillators. -- -- Two oscillators, mutually frequency and/or phase modulated by each -- other. -- --
-- a1, a2 crossfm xfrq1, xfrq2, xndx1, xndx2, kcps, ifn1, ifn2 [, iphs1] [, iphs2] ---- -- csound doc: http://www.csounds.com/manual/html/crossfm.html crossfm :: Sig -> Sig -> Sig -> Sig -> Sig -> Tab -> Tab -> (Sig, Sig) -- | Two mutually frequency and/or phase modulated oscillators. -- -- Two oscillators, mutually frequency and/or phase modulated by each -- other. -- --
-- a1, a2 crossfmi xfrq1, xfrq2, xndx1, xndx2, kcps, ifn1, ifn2 [, iphs1] [, iphs2] ---- -- csound doc: http://www.csounds.com/manual/html/crossfm.html crossfmi :: Sig -> Sig -> Sig -> Sig -> Sig -> Tab -> Tab -> (Sig, Sig) -- | Two mutually frequency and/or phase modulated oscillators. -- -- Two oscillators, mutually frequency and/or phase modulated by each -- other. -- --
-- a1, a2 crosspm xfrq1, xfrq2, xndx1, xndx2, kcps, ifn1, ifn2 [, iphs1] [, iphs2] ---- -- csound doc: http://www.csounds.com/manual/html/crossfm.html crosspm :: Sig -> Sig -> Sig -> Sig -> Sig -> Tab -> Tab -> (Sig, Sig) -- | Two mutually frequency and/or phase modulated oscillators. -- -- Two oscillators, mutually frequency and/or phase modulated by each -- other. -- --
-- a1, a2 crosspmi xfrq1, xfrq2, xndx1, xndx2, kcps, ifn1, ifn2 [, iphs1] [, iphs2] ---- -- csound doc: http://www.csounds.com/manual/html/crossfm.html crosspmi :: Sig -> Sig -> Sig -> Sig -> Sig -> Tab -> Tab -> (Sig, Sig) -- | Two mutually frequency and/or phase modulated oscillators. -- -- Two oscillators, mutually frequency and/or phase modulated by each -- other. -- --
-- a1, a2 crossfmpm xfrq1, xfrq2, xndx1, xndx2, kcps, ifn1, ifn2 [, iphs1] [, iphs2] ---- -- csound doc: http://www.csounds.com/manual/html/crossfm.html crossfmpm :: Sig -> Sig -> Sig -> Sig -> Sig -> Tab -> Tab -> (Sig, Sig) -- | Two mutually frequency and/or phase modulated oscillators. -- -- Two oscillators, mutually frequency and/or phase modulated by each -- other. -- --
-- a1, a2 crossfmpmi xfrq1, xfrq2, xndx1, xndx2, kcps, ifn1, ifn2 [, iphs1] [, iphs2] ---- -- csound doc: http://www.csounds.com/manual/html/crossfm.html crossfmpmi :: Sig -> Sig -> Sig -> Sig -> Sig -> Tab -> Tab -> (Sig, Sig) -- | Uses FM synthesis to create a Hammond B3 organ sound. -- -- Uses FM synthesis to create a Hammond B3 organ sound. It comes from a -- family of FM sounds, all using 4 basic oscillators and various -- architectures, as used in the TX81Z synthesizer. -- --
-- ares fmb3 kamp, kfreq, kc1, kc2, kvdepth, kvrate[, ifn1, ifn2, ifn3, \ -- ifn4, ivfn] ---- -- csound doc: http://www.csounds.com/manual/html/fmb3.html fmb3 :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -- | Uses FM synthesis to create a tublar bell sound. -- -- Uses FM synthesis to create a tublar bell sound. It comes from a -- family of FM sounds, all using 4 basic oscillators and various -- architectures, as used in the TX81Z synthesizer. -- --
-- ares fmbell kamp, kfreq, kc1, kc2, kvdepth, kvrate[, ifn1, ifn2, ifn3, \ -- ifn4, ivfn, isus] ---- -- csound doc: http://www.csounds.com/manual/html/fmbell.html fmbell :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -- | Uses FM synthesis to create a âHeavy Metalâ sound. -- -- Uses FM synthesis to create a âHeavy Metalâ sound. It comes from a -- family of FM sounds, all using 4 basic oscillators and various -- architectures, as used in the TX81Z synthesizer. -- --
-- ares fmmetal kamp, kfreq, kc1, kc2, kvdepth, kvrate, ifn1, ifn2, ifn3, \ -- ifn4, ivfn ---- -- csound doc: http://www.csounds.com/manual/html/fmmetal.html fmmetal :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Tab -> Tab -> Tab -> Tab -> Tab -> Sig -- | Uses FM synthesis to create a percussive flute sound. -- -- Uses FM synthesis to create a percussive flute sound. It comes from a -- family of FM sounds, all using 4 basic oscillators and various -- architectures, as used in the TX81Z synthesizer. -- --
-- ares fmpercfl kamp, kfreq, kc1, kc2, kvdepth, kvrate[, ifn1, ifn2, \ -- ifn3, ifn4, ivfn] ---- -- csound doc: http://www.csounds.com/manual/html/fmpercfl.html fmpercfl :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -- | Uses FM synthesis to create a Fender Rhodes electric piano sound. -- -- Uses FM synthesis to create a Fender Rhodes electric piano sound. It -- comes from a family of FM sounds, all using 4 basic oscillators and -- various architectures, as used in the TX81Z synthesizer. -- --
-- ares fmrhode kamp, kfreq, kc1, kc2, kvdepth, kvrate, ifn1, ifn2, \ -- ifn3, ifn4, ivfn ---- -- csound doc: http://www.csounds.com/manual/html/fmrhode.html fmrhode :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Tab -> Tab -> Tab -> Tab -> Tab -> Sig -- | FM Singing Voice Synthesis -- --
-- ares fmvoice kamp, kfreq, kvowel, ktilt, kvibamt, kvibrate[, ifn1, \ -- ifn2, ifn3, ifn4, ivibfn] ---- -- csound doc: http://www.csounds.com/manual/html/fmvoice.html fmvoice :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -- | Uses FM synthesis to create a Wurlitzer electric piano sound. -- -- Uses FM synthesis to create a Wurlitzer electric piano sound. It comes -- from a family of FM sounds, all using 4 basic oscillators and various -- architectures, as used in the TX81Z synthesizer. -- --
-- ares fmwurlie kamp, kfreq, kc1, kc2, kvdepth, kvrate, ifn1, ifn2, ifn3, \ -- ifn4, ivfn ---- -- csound doc: http://www.csounds.com/manual/html/fmwurlie.html fmwurlie :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Tab -> Tab -> Tab -> Tab -> Tab -> Sig -- | A basic frequency modulated oscillator. -- --
-- ares foscil xamp, kcps, xcar, xmod, kndx, ifn [, iphs] ---- -- csound doc: http://www.csounds.com/manual/html/foscil.html foscil :: Sig -> Sig -> Sig -> Sig -> Sig -> Tab -> Sig -- | Basic frequency modulated oscillator with linear interpolation. -- --
-- ares foscili xamp, kcps, xcar, xmod, kndx, ifn [, iphs] ---- -- csound doc: http://www.csounds.com/manual/html/foscili.html foscili :: Sig -> Sig -> Sig -> Sig -> Sig -> Tab -> Sig -- | Synchronous granular synthesis, using a soundfile as source. -- -- diskgrain implements synchronous granular synthesis. The source sound -- for the grains is obtained by reading a soundfile containing the -- samples of the source waveform. -- --
-- asig diskgrain Sfname, kamp, kfreq, kpitch, kgrsize, kprate, \ -- ifun, iolaps [,imaxgrsize , ioffset] ---- -- csound doc: http://www.csounds.com/manual/html/diskgrain.html diskgrain :: Str -> Sig -> Sig -> Sig -> Sig -> Sig -> D -> D -> Sig -- | Produces sinusoid bursts useful for formant and granular synthesis. -- -- Audio output is a succession of sinusoid bursts initiated at frequency -- xfund with a spectral peak at xform. For xfund above 25 Hz these -- bursts produce a speech-like formant with spectral characteristics -- determined by the k-input parameters. For lower fundamentals this -- generator provides a special form of granular synthesis. -- --
-- ares fof xamp, xfund, xform, koct, kband, kris, kdur, kdec, iolaps, \ -- ifna, ifnb, itotdur [, iphs] [, ifmode] [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/fof.html fof :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> D -> Tab -> Tab -> D -> Sig -- | Produces sinusoid bursts including k-rate incremental indexing with -- each successive burst. -- -- Audio output is a succession of sinusoid bursts initiated at frequency -- xfund with a spectral peak at xform. For xfund above 25 Hz these -- bursts produce a speech-like formant with spectral characteristics -- determined by the k-input parameters. For lower fundamentals this -- generator provides a special form of granular synthesis. -- --
-- ares fof2 xamp, xfund, xform, koct, kband, kris, kdur, kdec, iolaps, \ -- ifna, ifnb, itotdur, kphs, kgliss [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/fof2.html fof2 :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> D -> Tab -> Tab -> D -> Sig -> Sig -> Sig -- | Audio output is a succession of grains derived from data in a stored -- function table -- -- Audio output is a succession of grains derived from data in a stored -- function table ifna. The local envelope of these grains and their -- timing is based on the model of fof synthesis and permits detailed -- control of the granular synthesis. -- --
-- ares fog xamp, xdens, xtrans, aspd, koct, kband, kris, kdur, kdec, \ -- iolaps, ifna, ifnb, itotdur [, iphs] [, itmode] [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/fog.html fog :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> D -> Tab -> Tab -> D -> Sig -- | Generates granular synthesis textures. -- --
-- ares grain xamp, xpitch, xdens, kampoff, kpitchoff, kgdur, igfn, \ -- iwfn, imgdur [, igrnd] ---- -- csound doc: http://www.csounds.com/manual/html/grain.html grain :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Tab -> Tab -> D -> Sig -- | Easy-to-use granular synthesis texture generator. -- -- Generate granular synthesis textures. grain2 is simpler to use, but -- grain3 offers more control. -- --
-- ares grain2 kcps, kfmd, kgdur, iovrlp, kfn, iwfn [, irpow] \ -- [, iseed] [, imode] ---- -- csound doc: http://www.csounds.com/manual/html/grain2.html grain2 :: Sig -> Sig -> Sig -> D -> Tab -> Tab -> Sig -- | Generate granular synthesis textures with more user control. -- -- Generate granular synthesis textures. grain2 is simpler to use but -- grain3 offers more control. -- --
-- ares grain3 kcps, kphs, kfmd, kpmd, kgdur, kdens, imaxovr, kfn, iwfn, \ -- kfrpow, kprpow [, iseed] [, imode] ---- -- csound doc: http://www.csounds.com/manual/html/grain3.html grain3 :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> D -> Tab -> Tab -> Sig -> Sig -> Sig -- | A more complex granular synthesis texture generator. -- -- The granule unit generator is more complex than grain, but does add -- new possibilities. -- --
-- ares granule xamp, ivoice, iratio, imode, ithd, ifn, ipshift, igskip, \ -- igskip_os, ilength, kgap, igap_os, kgsize, igsize_os, iatt, idec \ -- [, iseed] [, ipitch1] [, ipitch2] [, ipitch3] [, ipitch4] [, ifnenv] ---- -- csound doc: http://www.csounds.com/manual/html/granule.html granule :: Sig -> D -> D -> D -> D -> Tab -> D -> D -> D -> D -> Sig -> D -> Sig -> D -> D -> D -> Sig -- | Granular synthesizer with "per grain" control over many of its -- parameters. Has a sync input to sychronize its internal grain -- scheduler clock to an external clock source. -- -- partikkel was conceived after reading Curtis Roads' book -- Microsound, and the goal was to create an opcode that was -- capable of all time-domain varieties of granular synthesis described -- in this book. The idea being that most of the techniques only differ -- in parameter values, and by having a single opcode that can do all -- varieties of granular synthesis makes it possible to interpolate -- between techniques. Granular synthesis is sometimes dubbed particle -- synthesis, and it was thought apt to name the opcode partikkel to -- distinguish it from other granular opcodes. -- --
-- a1 [, a2, a3, a4, a5, a6, a7, a8] partikkel agrainfreq, \ -- kdistribution, idisttab, async, kenv2amt, ienv2tab, ienv_attack, \ -- ienv_decay, ksustain_amount, ka_d_ratio, kduration, kamp, igainmasks, \ -- kwavfreq, ksweepshape, iwavfreqstarttab, iwavfreqendtab, awavfm, \ -- ifmamptab, kfmenv, icosine, ktraincps, knumpartials, kchroma, \ -- ichannelmasks, krandommask, kwaveform1, kwaveform2, kwaveform3, \ -- kwaveform4, iwaveamptab, asamplepos1, asamplepos2, asamplepos3, \ -- asamplepos4, kwavekey1, kwavekey2, kwavekey3, kwavekey4, imax_grains \ -- [, iopcode_id] ---- -- csound doc: http://www.csounds.com/manual/html/partikkel.html partikkel :: Tuple a => Sig -> Sig -> D -> Sig -> Sig -> D -> D -> D -> Sig -> Sig -> Sig -> Sig -> D -> Sig -> Sig -> D -> D -> Sig -> D -> Sig -> D -> Sig -> Sig -> Sig -> D -> Sig -> Sig -> Sig -> Sig -> Sig -> D -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> D -> a -- | Outputs partikkel's grain scheduler clock pulse and phase to -- synchronize several instances of the partikkel opcode to the same -- clock source. -- -- partikkelsync is an opcode for outputting partikkel's grain scheduler -- clock pulse and phase. partikkelsync's output can be used to -- synchronize other instances of the partikkel opcode to the same clock. -- --
-- async [,aphase] partikkelsync iopcode_id ---- -- csound doc: -- http://www.csounds.com/manual/html/partikkelsync.html partikkelsync :: Tuple a => D -> a -- | Reads a mono sound sample from a table and applies time-stretching -- and/or pitch modification. -- -- sndwarp reads sound samples from a table and applies time-stretching -- and/or pitch modification. Time and frequency modification are -- independent from one another. For example, a sound can be stretched in -- time while raising the pitch! -- --
-- ares [, ac] sndwarp xamp, xtimewarp, xresample, ifn1, ibeg, iwsize, \ -- irandw, ioverlap, ifn2, itimemode ---- -- csound doc: http://www.csounds.com/manual/html/sndwarp.html sndwarp :: Tuple a => Sig -> Sig -> Sig -> Tab -> D -> D -> D -> D -> Tab -> D -> a -- | Reads a stereo sound sample from a table and applies time-stretching -- and/or pitch modification. -- -- sndwarpst reads stereo sound samples from a table and applies -- time-stretching and/or pitch modification. Time and frequency -- modification are independent from one another. For example, a sound -- can be stretched in time while raising the pitch! -- --
-- ar1, ar2 [,ac1] [, ac2] sndwarpst xamp, xtimewarp, xresample, ifn1, \ -- ibeg, iwsize, irandw, ioverlap, ifn2, itimemode ---- -- csound doc: http://www.csounds.com/manual/html/sndwarpst.html sndwarpst :: Tuple a => Sig -> Sig -> Sig -> Tab -> D -> D -> D -> D -> Tab -> D -> a -- | Synchronous granular synthesis. -- -- syncgrain implements synchronous granular synthesis. The source sound -- for the grains is obtained by reading a function table containing the -- samples of the source waveform. For sampled-sound sources, GEN01 is -- used. syncgrain will accept deferred allocation tables. -- --
-- asig syncgrain kamp, kfreq, kpitch, kgrsize, kprate, ifun1, \ -- ifun2, iolaps ---- -- csound doc: http://www.csounds.com/manual/html/syncgrain.html syncgrain :: Sig -> Sig -> Sig -> Sig -> Sig -> D -> D -> D -> Sig -- | Synchronous granular synthesis. -- -- syncloop is a variation on syncgrain, which implements synchronous -- granular synthesis. syncloop adds loop start and end points and an -- optional start position. Loop start and end control grain start -- positions, so the actual grains can go beyond the loop points (if the -- loop points are not at the extremes of the table), enabling seamless -- crossfading. For more information on the granular synthesis process, -- check the syncgrain manual page. -- --
-- asig syncloop kamp, kfreq, kpitch, kgrsize, kprate, klstart, \ -- klend, ifun1, ifun2, iolaps[,istart, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/syncloop.html syncloop :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> D -> D -> D -> Sig -- | Simple vocal simulation based on glottal pulses with formant -- characteristics. -- -- This opcode produces a simple vocal simulation based on glottal pulses -- with formant characteristics. Output is a series of sound events, -- where each event is composed of a burst of squared sine pulses -- followed by silence. The VOSIM (VOcal SIMulation) synthesis method was -- developed by Kaegi and Tempelaars in the 1970's. -- --
-- ar vosim kamp, kFund, kForm, kDecay, kPulseCount, kPulseFactor, ifn [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/vosim.html vosim :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Tab -> Sig -- | Allows one-dimensional Hyper Vectorial Synthesis (HVS) controlled by -- externally-updated k-variables. -- -- hvs1 allows one-dimensional Hyper Vectorial Synthesis (HVS) controlled -- by externally-updated k-variables. -- --
-- hvs1 kx, inumParms, inumPointsX, iOutTab, iPositionsTab, iSnapTab [, iConfigTab] ---- -- csound doc: http://www.csounds.com/manual/html/hvs1.html hvs1 :: Sig -> D -> D -> D -> D -> D -> SE () -- | Allows two-dimensional Hyper Vectorial Synthesis (HVS) controlled by -- externally-updated k-variables. -- -- hvs2 allows two-dimensional Hyper Vectorial Synthesis (HVS) controlled -- by externally-updated k-variables. -- --
-- hvs2 kx, ky, inumParms, inumPointsX, inumPointsY, iOutTab, iPositionsTab, iSnapTab [, iConfigTab] ---- -- csound doc: http://www.csounds.com/manual/html/hvs2.html hvs2 :: Sig -> Sig -> D -> D -> D -> D -> D -> D -> SE () -- | Allows three-dimensional Hyper Vectorial Synthesis (HVS) controlled by -- externally-updated k-variables. -- -- hvs3 allows three-dimensional Hyper Vectorial Synthesis (HVS) -- controlled by externally-updated k-variables. -- --
-- hvs3 kx, ky, kz, inumParms, inumPointsX, inumPointsY, inumPointsZ, iOutTab, iPositionsTab, iSnapTab [, iConfigTab] ---- -- csound doc: http://www.csounds.com/manual/html/hvs3.html hvs3 :: Sig -> Sig -> Sig -> D -> D -> D -> D -> D -> D -> D -> SE () -- | Trace a series of line segments between specified points with cosine -- interpolation. -- --
-- ares cosseg ia, idur1, ib [, idur2] [, ic] [...] -- kres cosseg ia, idur1, ib [, idur2] [, ic] [...] ---- -- csound doc: http://www.csounds.com/manual/html/cosseg.html cosseg :: [D] -> Sig -- | Trace a series of line segments between specified absolute points with -- cosine interpolation. -- --
-- ares cossegb ia, itim1, ib [, itim2] [, ic] [...] -- kres cossegb ia, itim1, ib [, itim2] [, ic] [...] ---- -- csound doc: http://www.csounds.com/manual/html/cossegb.html cossegb :: [D] -> Sig -- | Trace a series of line segments between specified points with cosine -- interpolation, including a release segment. -- --
-- ares cossegr ia, idur1, ib [, idur2] [, ic] [...], irel, iz -- kres cossegr ia, idur1, ib [, idur2] [, ic] [...], irel, iz ---- -- csound doc: http://www.csounds.com/manual/html/cossegr.html cossegr :: [D] -> D -> D -> Sig -- | This opcode implements a formula for generating a normalised -- exponential curve in range 0 - 1. It is based on the Max / MSP work of -- Eric Singer (c) 1994. -- -- Generates an exponential curve in range 0 to 1 of arbitrary steepness. -- Steepness index equal to or lower than 1.0 will result in Not-a-Number -- errors and cause unstable behavior. -- --
-- kout expcurve kindex, ksteepness ---- -- csound doc: http://www.csounds.com/manual/html/expcurve.html expcurve :: Sig -> Sig -> Sig -- | Trace an exponential curve between specified points. -- --
-- ares expon ia, idur, ib -- kres expon ia, idur, ib ---- -- csound doc: http://www.csounds.com/manual/html/expon.html expon :: D -> D -> D -> Sig -- | Trace a series of exponential segments between specified points. -- --
-- ares expseg ia, idur1, ib [, idur2] [, ic] [...] -- kres expseg ia, idur1, ib [, idur2] [, ic] [...] ---- -- csound doc: http://www.csounds.com/manual/html/expseg.html expseg :: [D] -> Sig -- | An exponential segment generator operating at a-rate. -- -- An exponential segment generator operating at a-rate. This unit is -- almost identical to expseg, but more precise when defining segments -- with very short durations (i.e., in a percussive attack phase) at -- audio rate. -- --
-- ares expsega ia, idur1, ib [, idur2] [, ic] [...] ---- -- csound doc: http://www.csounds.com/manual/html/expsega.html expsega :: [D] -> Sig -- | Trace a series of exponential segments between specified absolute -- points. -- --
-- ares expsegb ia, itim1, ib [, itim2] [, ic] [...] -- kres expsegb ia, itim1, ib [, itim2] [, ic] [...] ---- -- csound doc: http://www.csounds.com/manual/html/expsegb.html expsegb :: [D] -> Sig -- | An exponential segment generator operating at a-rate with absolute -- times. -- -- An exponential segment generator operating at a-rate. This unit is -- almost identical to expsegb, but more precise when defining segments -- with very short durations (i.e., in a percussive attack phase) at -- audio rate. -- --
-- ares expsegba ia, itim1, ib [, itim2] [, ic] [...] ---- -- csound doc: http://www.csounds.com/manual/html/expsegba.html expsegba :: D -> D -> D -> Sig -- | Trace a series of exponential segments between specified points -- including a release segment. -- --
-- ares expsegr ia, idur1, ib [, idur2] [, ic] [...], irel, iz -- kres expsegr ia, idur1, ib [, idur2] [, ic] [...], irel, iz ---- -- csound doc: http://www.csounds.com/manual/html/expsegr.html expsegr :: [D] -> D -> D -> Sig -- | An implementation of a logarithmic gain curve which is similar to the -- gainslider~ object from Cycling 74 Max / MSP. -- -- This opcode is intended for use to multiply by an audio signal to give -- a console mixer like feel. There is no bounds in the source code so -- you can for example give higher than 127 values for extra amplitude -- but possibly clipped audio. -- --
-- kout gainslider kindex ---- -- csound doc: http://www.csounds.com/manual/html/gainslider.html gainslider :: Sig -> Sig -- | A jitter-spline generator. -- --
-- ares jspline xamp, kcpsMin, kcpsMax -- kres jspline kamp, kcpsMin, kcpsMax ---- -- csound doc: http://www.csounds.com/manual/html/jspline.html jspline :: Sig -> Sig -> Sig -> SE Sig -- | Trace a straight line between specified points. -- --
-- ares line ia, idur, ib -- kres line ia, idur, ib ---- -- csound doc: http://www.csounds.com/manual/html/line.html line :: D -> D -> D -> Sig -- | Trace a series of line segments between specified points. -- --
-- ares linseg ia, idur1, ib [, idur2] [, ic] [...] -- kres linseg ia, idur1, ib [, idur2] [, ic] [...] ---- -- csound doc: http://www.csounds.com/manual/html/linseg.html linseg :: [D] -> Sig -- | Trace a series of line segments between specified absolute points. -- --
-- ares linsegb ia, itim1, ib [, itim2] [, ic] [...] -- kres linsegb ia, itim1, ib [, itim2] [, ic] [...] ---- -- csound doc: http://www.csounds.com/manual/html/linsegb.html linsegb :: [D] -> Sig -- | Trace a series of line segments between specified points including a -- release segment. -- --
-- ares linsegr ia, idur1, ib [, idur2] [, ic] [...], irel, iz -- kres linsegr ia, idur1, ib [, idur2] [, ic] [...], irel, iz ---- -- csound doc: http://www.csounds.com/manual/html/linsegr.html linsegr :: [D] -> D -> D -> Sig -- | This opcode implements a formula for generating a normalised -- logarithmic curve in range 0 - 1. It is based on the Max / MSP work of -- Eric Singer (c) 1994. -- -- Generates a logarithmic curve in range 0 to 1 of arbitrary steepness. -- Steepness index equal to or lower than 1.0 will result in Not-a-Number -- errors and cause unstable behavior. -- --
-- kout logcurve kindex, ksteepness ---- -- csound doc: http://www.csounds.com/manual/html/logcurve.html logcurve :: Sig -> Sig -> Sig -- | Generate control signal consisting of linear segments delimited by two -- or more specified points. -- -- Generate control signal consisting of linear segments delimited by two -- or more specified points. The entire envelope is looped at kfreq rate. -- Each parameter can be varied at k-rate. -- --
-- ksig loopseg kfreq, ktrig, iphase, ktime0, kvalue0 [, ktime1] [, kvalue1] \ -- [, ktime2] [, kvalue2] [...] ---- -- csound doc: http://www.csounds.com/manual/html/loopseg.html loopseg :: Sig -> Sig -> D -> [Sig] -> Sig -- | Control signals based on linear segments. -- -- Generate control signal consisiting of linear segments delimited by -- two or more specified points. The entire envelope can be looped at -- time-variant rate. Each segment coordinate can also be varied at -- k-rate. -- --
-- ksig loopsegp kphase, kvalue0, kdur0, kvalue1 \ -- [, kdur1, ... , kdurN-1, kvalueN] ---- -- csound doc: http://www.csounds.com/manual/html/loopsegp.html loopsegp :: Sig -> [Sig] -> Sig -- | Generate control signal consisting of exponential or linear segments -- delimited by two or more specified points. -- -- Generate control signal consisting of controllable exponential -- segments or linear segments delimited by two or more specified points. -- The entire envelope is looped at kfreq rate. Each parameter can be -- varied at k-rate. -- --
-- ksig looptseg kfreq, ktrig, ktime0, kvalue0, ktype0, [, ktime1] [, kvalue1] [,ktype1] \ -- [, ktime2] [, kvalue2] [,ktype2] [...][, ktimeN] [, kvalueN] ---- -- csound doc: http://www.csounds.com/manual/html/looptseg.html looptseg :: Sig -> Sig -> [Sig] -> Sig -- | Generate control signal consisting of exponential segments delimited -- by two or more specified points. -- -- Generate control signal consisting of exponential segments delimited -- by two or more specified points. The entire envelope is looped at -- kfreq rate. Each parameter can be varied at k-rate. -- --
-- ksig loopxseg kfreq, ktrig, iphase, ktime0, kvalue0 [, ktime1] [, kvalue1] \ -- [, ktime2] [, kvalue2] [...] ---- -- csound doc: http://www.csounds.com/manual/html/loopxseg.html loopxseg :: Sig -> Sig -> D -> [Sig] -> Sig -- | Generate control signal consisting of held segments. -- -- Generate control signal consisting of held segments delimited by two -- or more specified points. The entire envelope is looped at kfreq rate. -- Each parameter can be varied at k-rate. -- --
-- ksig lpshold kfreq, ktrig, iphase, ktime0, kvalue0 [, ktime1] [, kvalue1] [, ktime2] [, kvalue2] [...] ---- -- csound doc: http://www.csounds.com/manual/html/lpshold.html lpshold :: Sig -> Sig -> D -> [Sig] -> Sig -- | Control signals based on held segments. -- -- Generate control signal consisiting of held segments delimited by two -- or more specified points. The entire envelope can be looped at -- time-variant rate. Each segment coordinate can also be varied at -- k-rate. -- --
-- ksig lpsholdp kphase, ktrig, ktime0, kvalue0 [, ktime1] [, kvalue1] \ -- [, ktime2] [, kvalue2] [...] ---- -- csound doc: http://www.csounds.com/manual/html/lpsholdp.html lpsholdp :: Sig -> Sig -> [Sig] -> Sig -- | Generate random spline curves. -- --
-- ares rspline xrangeMin, xrangeMax, kcpsMin, kcpsMax -- kres rspline krangeMin, krangeMax, kcpsMin, kcpsMax ---- -- csound doc: http://www.csounds.com/manual/html/rspline.html rspline :: Sig -> Sig -> Sig -> Sig -> SE Sig -- | Arbitrary signal scaling. -- -- Scales incoming value to user-definable range. Similar to scale object -- found in popular dataflow languages. -- --
-- kscl scale kinput, kmax, kmin ---- -- csound doc: http://www.csounds.com/manual/html/scale.html scale :: Sig -> Sig -> Sig -> Sig -- | Constructs a user-definable envelope. -- --
-- ares transeg ia, idur, itype, ib [, idur2] [, itype] [, ic] ... -- kres transeg ia, idur, itype, ib [, idur2] [, itype] [, ic] ... ---- -- csound doc: http://www.csounds.com/manual/html/transeg.html transeg :: [D] -> Sig -- | Constructs a user-definable envelope in absolute time. -- --
-- ares transegb ia, itim, itype, ib [, itim2] [, itype] [, ic] ... -- kres transegb ia, itim, itype, ib [, itim2] [, itype] [, ic] ... ---- -- csound doc: http://www.csounds.com/manual/html/transegb.html transegb :: [D] -> Sig -- | Constructs a user-definable envelope with extended release segment. -- -- Constructs a user-definable envelope. It is the same as transeg, with -- an extended release segment. -- --
-- ares transegr ia, idur, itype, ib [, idur2] [, itype] [, ic] ... -- kres transegr ia, idur, itype, ib [, idur2] [, itype] [, ic] ... ---- -- csound doc: http://www.csounds.com/manual/html/transegr.html transegr :: [D] -> D -> D -> Sig -- | Calculates the classical ADSR envelope using linear segments. -- --
-- ares adsr iatt, idec, islev, irel [, idel] -- kres adsr iatt, idec, islev, irel [, idel] ---- -- csound doc: http://www.csounds.com/manual/html/adsr.html adsr :: D -> D -> D -> D -> Sig -- | Applies an envelope consisting of 3 segments. -- -- envlpx -- apply an envelope consisting of 3 segments: -- --
-- ares envlpx xamp, irise, idur, idec, ifn, iatss, iatdec [, ixmod] -- kres envlpx kamp, irise, idur, idec, ifn, iatss, iatdec [, ixmod] ---- -- csound doc: http://www.csounds.com/manual/html/envlpx.html envlpx :: Sig -> D -> D -> D -> Tab -> D -> D -> Sig -- | The envlpx opcode with a final release segment. -- -- envlpxr is the same as envlpx except that the final segment is entered -- only on sensing a MIDI note release. The note is then extended by the -- decay time. -- --
-- ares envlpxr xamp, irise, idec, ifn, iatss, iatdec [, ixmod] [,irind] -- kres envlpxr kamp, irise, idec, ifn, iatss, iatdec [, ixmod] [,irind] ---- -- csound doc: http://www.csounds.com/manual/html/envlpxr.html envlpxr :: Sig -> D -> D -> Tab -> D -> D -> Sig -- | Applies a straight line rise and decay pattern to an input amp signal. -- -- linen -- apply a straight line rise and decay pattern to an input amp -- signal. -- --
-- ares linen xamp, irise, idur, idec -- kres linen kamp, irise, idur, idec ---- -- csound doc: http://www.csounds.com/manual/html/linen.html linen :: Sig -> D -> D -> D -> Sig -- | The linen opcode extended with a final release segment. -- -- linenr -- same as linen except that the final segment is entered only -- on sensing a MIDI note release. The note is then extended by the decay -- time. -- --
-- ares linenr xamp, irise, idec, iatdec -- kres linenr kamp, irise, idec, iatdec ---- -- csound doc: http://www.csounds.com/manual/html/linenr.html linenr :: Sig -> D -> D -> D -> Sig -- | Calculates the classical ADSR envelope using the linsegr mechanism. -- --
-- ares madsr iatt, idec, islev, irel [, idel] [, ireltim] -- kres madsr iatt, idec, islev, irel [, idel] [, ireltim] ---- -- csound doc: http://www.csounds.com/manual/html/madsr.html madsr :: D -> D -> D -> D -> Sig -- | Calculates the classical ADSR envelope using the expsegr mechanism. -- --
-- ares mxadsr iatt, idec, islev, irel [, idel] [, ireltim] -- kres mxadsr iatt, idec, islev, irel [, idel] [, ireltim] ---- -- csound doc: http://www.csounds.com/manual/html/mxadsr.html mxadsr :: D -> D -> D -> D -> Sig -- | Calculates the classical ADSR envelope. -- -- Calculates the classical ADSR envelope -- --
-- ares xadsr iatt, idec, islev, irel [, idel] -- kres xadsr iatt, idec, islev, irel [, idel] ---- -- csound doc: http://www.csounds.com/manual/html/xadsr.html xadsr :: D -> D -> D -> D -> Sig -- | Semi-physical model of a bamboo sound. -- -- bamboo is a semi-physical model of a bamboo sound. It is one of the -- PhISEM percussion opcodes. PhISEM (Physically Informed Stochastic -- Event Modeling) is an algorithmic approach for simulating collisions -- of multiple independent sound producing objects. -- --
-- ares bamboo kamp, idettack [, inum] [, idamp] [, imaxshake] [, ifreq] \ -- [, ifreq1] [, ifreq2] ---- -- csound doc: http://www.csounds.com/manual/html/bamboo.html bamboo :: Sig -> D -> Sig -- | Creates a tone similar to a struck metal bar. -- -- Audio output is a tone similar to a struck metal bar, using a physical -- model developed from solving the partial differential equation. There -- are controls over the boundary conditions as well as the bar -- characteristics. -- --
-- ares barmodel kbcL, kbcR, iK, ib, kscan, iT30, ipos, ivel, iwid ---- -- csound doc: http://www.csounds.com/manual/html/barmodel.html barmodel :: Sig -> Sig -> D -> D -> Sig -> D -> D -> D -> D -> Sig -- | Semi-physical model of a cabasa sound. -- -- cabasa is a semi-physical model of a cabasa sound. It is one of the -- PhISEM percussion opcodes. PhISEM (Physically Informed Stochastic -- Event Modeling) is an algorithmic approach for simulating collisions -- of multiple independent sound producing objects. -- --
-- ares cabasa iamp, idettack [, inum] [, idamp] [, imaxshake] ---- -- csound doc: http://www.csounds.com/manual/html/cabasa.html cabasa :: D -> D -> Sig -- | Simulates Chua's oscillator, an LRC oscillator with an active -- resistor, proved capable of bifurcation and chaotic attractors, with -- k-rate control of circuit elements. -- --
-- aI3, aV2, aV1 chuap kL, kR0, kC1, kG, kGa, kGb, kE, kC2, iI3, iV2, iV1, ktime_step ---- -- csound doc: http://www.csounds.com/manual/html/chuap.html chuap :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> D -> D -> D -> Sig -> (Sig, Sig, Sig) -- | Semi-physical model of a crunch sound. -- -- crunch is a semi-physical model of a crunch sound. It is one of the -- PhISEM percussion opcodes. PhISEM (Physically Informed Stochastic -- Event Modeling) is an algorithmic approach for simulating collisions -- of multiple independent sound producing objects. -- --
-- ares crunch iamp, idettack [, inum] [, idamp] [, imaxshake] ---- -- csound doc: http://www.csounds.com/manual/html/crunch.html crunch :: D -> D -> Sig -- | Semi-physical model of a water drop. -- -- dripwater is a semi-physical model of a water drop. It is one of the -- PhISEM percussion opcodes. PhISEM (Physically Informed Stochastic -- Event Modeling) is an algorithmic approach for simulating collisions -- of multiple independent sound producing objects. -- --
-- ares dripwater kamp, idettack [, inum] [, idamp] [, imaxshake] [, ifreq] \ -- [, ifreq1] [, ifreq2] ---- -- csound doc: http://www.csounds.com/manual/html/dripwater.html dripwater :: Sig -> D -> Sig -- | Dynamic stochastic approach to waveform synthesis conceived by Iannis -- Xenakis. -- -- Implementation of the Génération Dynamique Stochastique (GENDYN), a -- dynamic stochastic approach to waveform synthesis conceived by Iannis -- Xenakis. -- --
-- ares gendy kamp, kampdist, kdurdist, kadpar, kddpar, kminfreq, kmaxfreq, \ -- kampscl, kdurscl [, initcps] [, knum] -- kres gendy kamp, kampdist, kdurdist, kadpar, kddpar, kminfreq, kmaxfreq, \ -- kampscl, kdurscl [, initcps] [, knum] ---- -- csound doc: http://www.csounds.com/manual/html/gendy.html gendy :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -- | Dynamic stochastic approach to waveform synthesis using cubic -- interpolation. -- -- Implementation with cubic interpolation of the Génération Dynamique -- Stochastique (GENDYN), a dynamic stochastic approach to waveform -- synthesis conceived by Iannis Xenakis. -- --
-- ares gendyc kamp, kampdist, kdurdist, kadpar, kddpar, kminfreq, kmaxfreq, \ -- kampscl, kdurscl [, initcps] [, knum] -- kres gendyc kamp, kampdist, kdurdist, kadpar, kddpar, kminfreq, kmaxfreq, \ -- kampscl, kdurscl [, initcps] [, knum] ---- -- csound doc: http://www.csounds.com/manual/html/gendyc.html gendyc :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -- | Variation of the dynamic stochastic approach to waveform synthesis -- conceived by Iannis Xenakis. -- -- gendyx (gendy eXtended) is an implementation of the Génération -- Dynamique Stochastique (GENDYN), a dynamic stochastic approach to -- waveform synthesis conceived by Iannis Xenakis, using curves instead -- of segments. -- --
-- ares gendyx kamp, kampdist, kdurdist, kadpar, kddpar, kminfreq, kmaxfreq, \ -- kampscl, kdurscl, kcurveup, kcurvedown [, initcps] [, knum] -- kres gendyx kamp, kampdist, kdurdist, kadpar, kddpar, kminfreq, kmaxfreq, \ -- kampscl, kdurscl, kcurveup, kcurvedown [, initcps] [, knum] ---- -- csound doc: http://www.csounds.com/manual/html/gendyx.html gendyx :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -- | Audio output is a tone related to the striking of a cow bell or -- similar. -- -- Audio output is a tone related to the striking of a cow bell or -- similar. The method is a physical model developed from Perry Cook, but -- re-coded for Csound. -- --
-- ares gogobel kamp, kfreq, ihrd, ipos, imp, kvibf, kvamp, ivfn ---- -- csound doc: http://www.csounds.com/manual/html/gogobel.html gogobel :: Sig -> Sig -> D -> D -> D -> Sig -> Sig -> Tab -> Sig -- | Semi-physical model of a guiro sound. -- -- guiro is a semi-physical model of a guiro sound. It is one of the -- PhISEM percussion opcodes. PhISEM (Physically Informed Stochastic -- Event Modeling) is an algorithmic approach for simulating collisions -- of multiple independent sound producing objects. -- --
-- ares guiro kamp, idettack [, inum] [, idamp] [, imaxshake] [, ifreq] [, ifreq1] ---- -- csound doc: http://www.csounds.com/manual/html/guiro.html guiro :: Sig -> D -> Sig -- | Implements the Lorenz system of equations. -- -- Implements the Lorenz system of equations. The Lorenz system is a -- chaotic-dynamic system which was originally used to simulate the -- motion of a particle in convection currents and simplified weather -- systems. Small differences in initial conditions rapidly lead to -- diverging values. This is sometimes expressed as the butterfly effect. -- If a butterfly flaps its wings in Australia, it will have an effect on -- the weather in Alaska. This system is one of the milestones in the -- development of chaos theory. It is useful as a chaotic audio source or -- as a low frequency modulation source. -- --
-- ax, ay, az lorenz ksv, krv, kbv, kh, ix, iy, iz, iskip [, iskipinit] ---- -- csound doc: http://www.csounds.com/manual/html/lorenz.html lorenz :: Sig -> Sig -> Sig -> Sig -> D -> D -> D -> D -> (Sig, Sig, Sig) -- | Mandelbrot set -- -- Returns the number of iterations corresponding to a given point of -- complex plane by applying the Mandelbrot set formula. -- --
-- kiter, koutrig mandel ktrig, kx, ky, kmaxIter ---- -- csound doc: http://www.csounds.com/manual/html/mandel.html mandel :: Sig -> Sig -> Sig -> Sig -> (Sig, Sig) -- | An emulation of a mandolin. -- --
-- ares mandol kamp, kfreq, kpluck, kdetune, kgain, ksize, ifn [, iminfreq] ---- -- csound doc: http://www.csounds.com/manual/html/mandol.html mandol :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Tab -> Sig -- | Physical model related to the striking of a wooden block. -- -- Audio output is a tone related to the striking of a wooden block as -- found in a marimba. The method is a physical model developed from -- Perry Cook but re-coded for Csound. -- --
-- ares marimba kamp, kfreq, ihrd, ipos, imp, kvibf, kvamp, ivibfn, idec \ -- [, idoubles] [, itriples] ---- -- csound doc: http://www.csounds.com/manual/html/marimba.html marimba :: Sig -> Sig -> D -> D -> D -> Sig -> Sig -> Tab -> D -> Sig -- | An emulation of a mini-Moog synthesizer. -- --
-- ares moog kamp, kfreq, kfiltq, kfiltrate, kvibf, kvamp, iafn, iwfn, ivfn ---- -- csound doc: http://www.csounds.com/manual/html/moog.html moog :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Tab -> Tab -> Tab -> Sig -- | Simulates a planet orbiting in a binary star system. -- -- planet simulates a planet orbiting in a binary star system. The -- outputs are the x, y and z coordinates of the orbiting planet. It is -- possible for the planet to achieve escape velocity by a close -- encounter with a star. This makes this system somewhat unstable. -- --
-- ax, ay, az planet kmass1, kmass2, ksep, ix, iy, iz, ivx, ivy, ivz, idelta \ -- [, ifriction] [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/planet.html planet :: Sig -> Sig -> Sig -> D -> D -> D -> D -> D -> D -> D -> (Sig, Sig, Sig) -- | Creates a tone similar to a piano string prepared in a Cageian -- fashion. -- -- Audio output is a tone similar to a piano string, prepared with a -- number of rubbers and rattles. The method uses a physical model -- developed from solving the partial differential equation. -- --
-- ares prepiano ifreq, iNS, iD, iK, \ -- iT30,iB, kbcl, kbcr, imass, ifreq, iinit, ipos, ivel, isfreq, \ -- isspread[, irattles, irubbers] -- al,ar prepiano ifreq, iNS, iD, iK, \ -- iT30,iB, kbcl, kbcr, imass, ifreq, iinit, ipos, ivel, isfreq, \ -- isspread[, irattles, irubbers] ---- -- csound doc: http://www.csounds.com/manual/html/prepiano.html prepiano :: D -> D -> D -> D -> D -> D -> Sig -> Sig -> D -> D -> D -> D -> D -> D -> D -> (Sig, Sig) -- | Semi-physical model of a sandpaper sound. -- -- sandpaper is a semi-physical model of a sandpaper sound. It is one of -- the PhISEM percussion opcodes. PhISEM (Physically Informed Stochastic -- Event Modeling) is an algorithmic approach for simulating collisions -- of multiple independent sound producing objects. -- --
-- ares sandpaper iamp, idettack [, inum] [, idamp] [, imaxshake] ---- -- csound doc: http://www.csounds.com/manual/html/sandpaper.html sandpaper :: D -> D -> Sig -- | Semi-physical model of a sekere sound. -- -- sekere is a semi-physical model of a sekere sound. It is one of the -- PhISEM percussion opcodes. PhISEM (Physically Informed Stochastic -- Event Modeling) is an algorithmic approach for simulating collisions -- of multiple independent sound producing objects. -- --
-- ares sekere iamp, idettack [, inum] [, idamp] [, imaxshake] ---- -- csound doc: http://www.csounds.com/manual/html/sekere.html sekere :: D -> D -> Sig -- | Sounds like the shaking of a maraca or similar gourd instrument. -- -- Audio output is a tone related to the shaking of a maraca or similar -- gourd instrument. The method is a physically inspired model developed -- from Perry Cook, but re-coded for Csound. -- --
-- ares shaker kamp, kfreq, kbeans, kdamp, ktimes [, idecay] ---- -- csound doc: http://www.csounds.com/manual/html/shaker.html shaker :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -- | Semi-physical model of a sleighbell sound. -- -- sleighbells is a semi-physical model of a sleighbell sound. It is one -- of the PhISEM percussion opcodes. PhISEM (Physically Informed -- Stochastic Event Modeling) is an algorithmic approach for simulating -- collisions of multiple independent sound producing objects. -- --
-- ares sleighbells kamp, idettack [, inum] [, idamp] [, imaxshake] [, ifreq] \ -- [, ifreq1] [, ifreq2] ---- -- csound doc: http://www.csounds.com/manual/html/sleighbells.html sleighbells :: Sig -> D -> Sig -- | Semi-physical model of a stick sound. -- -- stix is a semi-physical model of a stick sound. It is one of the -- PhISEM percussion opcodes. PhISEM (Physically Informed Stochastic -- Event Modeling) is an algorithmic approach for simulating collisions -- of multiple independent sound producing objects. -- --
-- ares stix iamp, idettack [, inum] [, idamp] [, imaxshake] ---- -- csound doc: http://www.csounds.com/manual/html/stix.html stix :: D -> D -> Sig -- | Semi-physical model of a tambourine sound. -- -- tambourine is a semi-physical model of a tambourine sound. It is one -- of the PhISEM percussion opcodes. PhISEM (Physically Informed -- Stochastic Event Modeling) is an algorithmic approach for simulating -- collisions of multiple independent sound producing objects. -- --
-- ares tambourine kamp, idettack [, inum] [, idamp] [, imaxshake] [, ifreq] \ -- [, ifreq1] [, ifreq2] ---- -- csound doc: http://www.csounds.com/manual/html/tambourine.html tambourine :: Sig -> D -> Sig -- | Physical model related to the striking of a metal block. -- -- Audio output is a tone related to the striking of a metal block as -- found in a vibraphone. The method is a physical model developed from -- Perry Cook, but re-coded for Csound. -- --
-- ares vibes kamp, kfreq, ihrd, ipos, imp, kvibf, kvamp, ivibfn, idec ---- -- csound doc: http://www.csounds.com/manual/html/vibes.html vibes :: Sig -> Sig -> D -> D -> D -> Sig -> Sig -> Tab -> D -> Sig -- | An emulation of a human voice. -- --
-- ares voice kamp, kfreq, kphoneme, kform, kvibf, kvamp, ifn, ivfn ---- -- csound doc: http://www.csounds.com/manual/html/voice.html voice :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Tab -> Tab -> Sig -- | Produce a normalized moving phase value. -- --
-- ares phasor xcps [, iphs] -- kres phasor kcps [, iphs] ---- -- csound doc: http://www.csounds.com/manual/html/phasor.html phasor :: Sig -> Sig -- | Produce an arbitrary number of normalized moving phase values. -- -- Produce an arbitrary number of normalized moving phase values, -- accessable by an index. -- --
-- ares phasorbnk xcps, kndx, icnt [, iphs] -- kres phasorbnk kcps, kndx, icnt [, iphs] ---- -- csound doc: http://www.csounds.com/manual/html/phasorbnk.html phasorbnk :: Sig -> Sig -> D -> Sig -- | Produces a normalized moving phase value with sync input and output. -- -- Produces a moving phase value between zero and one and an extra -- impulse output ("sync out") whenever its phase value crosses or is -- reset to zero. The phase can be reset at any time by an impulse on the -- "sync in" parameter. -- --
-- aphase, asyncout syncphasor xcps, asyncin, [, iphs] ---- -- csound doc: http://www.csounds.com/manual/html/syncphasor.html syncphasor :: Sig -> Sig -> (Sig, Sig) -- | Beta distribution random number generator (positive values only). -- -- Beta distribution random number generator (positive values only). This -- is an x-class noise generator. -- --
-- ares betarand krange, kalpha, kbeta -- ires betarand krange, kalpha, kbeta -- kres betarand krange, kalpha, kbeta ---- -- csound doc: http://www.csounds.com/manual/html/betarand.html betarand :: SigOrD a => a -> a -> a -> SE a -- | Exponential distribution random number generator. -- -- Exponential distribution random number generator. This is an x-class -- noise generator. -- --
-- ares bexprnd krange -- ires bexprnd krange -- kres bexprnd krange ---- -- csound doc: http://www.csounds.com/manual/html/bexprnd.html bexprnd :: SigOrD a => a -> SE a -- | Cauchy distribution random number generator. -- -- Cauchy distribution random number generator. This is an x-class noise -- generator. -- --
-- ares cauchy kalpha -- ires cauchy kalpha -- kres cauchy kalpha ---- -- csound doc: http://www.csounds.com/manual/html/cauchy.html cauchy :: SigOrD a => a -> SE a -- | Cauchy distribution random number generator with interpolation. -- -- Cauchy distribution random number generator with controlled -- interpolation between values. This is an x-class noise generator. -- --
-- ares cauchyi klambda, xamp, xcps -- ires cauchyi klambda, xamp, xcps -- kres cauchyi klambda, xamp, xcps ---- -- csound doc: http://www.csounds.com/manual/html/cauchyi.html cauchyi :: SigOrD a => a -> a -> a -> SE a -- | Continuous USER-defined-distribution RaNDom generator. -- --
-- aout cuserrnd kmin, kmax, ktableNum -- iout cuserrnd imin, imax, itableNum -- kout cuserrnd kmin, kmax, ktableNum ---- -- csound doc: http://www.csounds.com/manual/html/cuserrnd.html cuserrnd :: SigOrD a => a -> a -> a -> SE a -- | Discrete USER-defined-distribution RaNDom generator. -- --
-- aout duserrnd ktableNum -- iout duserrnd itableNum -- kout duserrnd ktableNum ---- -- csound doc: http://www.csounds.com/manual/html/duserrnd.html duserrnd :: SigOrD a => a -> SE a -- | Random impulses. -- -- Generates random impulses from 0 to 1. -- --
-- ares dust kamp, kdensity -- kres dust kamp, kdensity ---- -- csound doc: http://www.csounds.com/manual/html/dust.html dust :: Sig -> Sig -> SE Sig -- | Random impulses. -- -- Generates random impulses from -1 to 1. -- --
-- ares dust2 kamp, kdensity -- kres dust2 kamp, kdensity ---- -- csound doc: http://www.csounds.com/manual/html/dust2.html dust2 :: Sig -> Sig -> SE Sig -- | Exponential distribution random number generator (positive values -- only). -- -- Exponential distribution random number generator (positive values -- only). This is an x-class noise generator. -- --
-- ares exprand klambda -- ires exprand klambda -- kres exprand klambda ---- -- csound doc: http://www.csounds.com/manual/html/exprand.html exprand :: SigOrD a => a -> SE a -- | Exponential distribution random number generator with interpolation -- (positive values only). -- -- Exponential distribution random number generator with controlled -- interpolation between values (positive values only). This is an -- x-class noise generator. -- --
-- ares exprandi klambda, xamp, xcps -- ires exprandi klambda, xamp, xcps -- kres exprandi klambda, xamp, xcps ---- -- csound doc: http://www.csounds.com/manual/html/exprandi.html exprandi :: SigOrD a => a -> a -> a -> SE a -- | A fractal noise generator. -- -- A fractal noise generator implemented as a white noise filtered by a -- cascade of 15 first-order filters. -- --
-- ares fractalnoise kamp, kbeta ---- -- csound doc: -- http://www.csounds.com/manual/html/fractalnoise.html fractalnoise :: Sig -> Sig -> SE Sig -- | Gaussian distribution random number generator. -- -- Gaussian distribution random number generator. This is an x-class -- noise generator. -- --
-- ares gauss krange -- ires gauss krange -- kres gauss krange ---- -- csound doc: http://www.csounds.com/manual/html/gauss.html gauss :: Sig -> SE Sig -- | Gaussian distribution random number generator with interpolation. -- -- Gaussian distribution random number generator with controlled -- interpolation between values. This is an x-class noise generator. -- --
-- ares gaussi krange, xamp, xcps -- ires gaussi krange, xamp, xcps -- kres gaussi krange, xamp, xcps ---- -- csound doc: http://www.csounds.com/manual/html/gaussi.html gaussi :: SigOrD a => a -> a -> a -> SE a -- | Random impulses around a certain frequency. -- -- Generates random impulses around a certain frequency. -- --
-- ares gausstrig kamp, kcps, kdev [, imode] -- kres gausstrig kamp, kcps, kdev [, imode] ---- -- csound doc: http://www.csounds.com/manual/html/gausstrig.html gausstrig :: Sig -> Sig -> Sig -> SE Sig -- | Generates a segmented line whose segments are randomly generated. -- --
-- kout jitter kamp, kcpsMin, kcpsMax ---- -- csound doc: http://www.csounds.com/manual/html/jitter.html jitter :: Sig -> Sig -> Sig -> SE Sig -- | Generates a segmented line with user-controllable random segments. -- --
-- kout jitter2 ktotamp, kamp1, kcps1, kamp2, kcps2, kamp3, kcps3 ---- -- csound doc: http://www.csounds.com/manual/html/jitter2.html jitter2 :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> SE Sig -- | Linear distribution random number generator (positive values only). -- -- Linear distribution random number generator (positive values only). -- This is an x-class noise generator. -- --
-- ares linrand krange -- ires linrand krange -- kres linrand krange ---- -- csound doc: http://www.csounds.com/manual/html/linrand.html linrand :: SigOrD a => a -> SE a -- | A white noise generator with an IIR lowpass filter. -- --
-- ares noise xamp, kbeta ---- -- csound doc: http://www.csounds.com/manual/html/noise.html noise :: Sig -> Sig -> SE Sig -- | Cauchy distribution random number generator (positive values only). -- -- Cauchy distribution random number generator (positive values only). -- This is an x-class noise generator. -- --
-- ares pcauchy kalpha -- ires pcauchy kalpha -- kres pcauchy kalpha ---- -- csound doc: http://www.csounds.com/manual/html/pcauchy.html pcauchy :: SigOrD a => a -> SE a -- | Generates approximate pink noise. -- -- Generates approximate pink noise (-3dB/oct response) by one of two -- different methods: -- --
-- ares pinkish xin [, imethod] [, inumbands] [, iseed] [, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/pinkish.html pinkish :: Sig -> SE Sig -- | Poisson distribution random number generator (positive values only). -- -- Poisson distribution random number generator (positive values only). -- This is an x-class noise generator. -- --
-- ares poisson klambda -- ires poisson klambda -- kres poisson klambda ---- -- csound doc: http://www.csounds.com/manual/html/poisson.html poisson :: SigOrD a => a -> SE a -- | Generates a controlled random number series. -- -- Output is a controlled random number series between -amp and +amp -- --
-- ares rand xamp [, iseed] [, isel] [, ioffset] -- kres rand xamp [, iseed] [, isel] [, ioffset] ---- -- csound doc: http://www.csounds.com/manual/html/rand.html rand :: Sig -> SE Sig -- | Generates random numbers and holds them for a period of time. -- --
-- ares randh xamp, xcps [, iseed] [, isize] [, ioffset] -- kres randh kamp, kcps [, iseed] [, isize] [, ioffset] ---- -- csound doc: http://www.csounds.com/manual/html/randh.html randh :: Sig -> Sig -> SE Sig -- | Generates a controlled random number series with interpolation between -- each new number. -- --
-- ares randi xamp, xcps [, iseed] [, isize] [, ioffset] -- kres randi kamp, kcps [, iseed] [, isize] [, ioffset] ---- -- csound doc: http://www.csounds.com/manual/html/randi.html randi :: Sig -> Sig -> SE Sig -- | Generates a controlled pseudo-random number series between min and max -- values. -- -- Generates is a controlled pseudo-random number series between min and -- max values. -- --
-- ares random kmin, kmax -- ires random imin, imax -- kres random kmin, kmax ---- -- csound doc: http://www.csounds.com/manual/html/random.html random :: SigOrD a => a -> a -> SE a -- | Generates random numbers with a user-defined limit and holds them for -- a period of time. -- --
-- ares randomh kmin, kmax, xcps [,imode] [,ifirstval] -- kres randomh kmin, kmax, kcps [,imode] [,ifirstval] ---- -- csound doc: http://www.csounds.com/manual/html/randomh.html randomh :: Sig -> Sig -> Sig -> SE Sig -- | Generates a user-controlled random number series with interpolation -- between each new number. -- --
-- ares randomi kmin, kmax, xcps [,imode] [,ifirstval] -- kres randomi kmin, kmax, kcps [,imode] [,ifirstval] ---- -- csound doc: http://www.csounds.com/manual/html/randomi.html randomi :: Sig -> Sig -> Sig -> SE Sig -- | 31-bit bipolar random opcodes with controllable distribution. -- -- 31-bit bipolar random opcodes with controllable distribution. These -- units are portable, i.e. using the same seed value will generate the -- same random sequence on all systems. The distribution of generated -- random numbers can be varied at k-rate. -- --
-- ax rnd31 kscl, krpow [, iseed] -- ix rnd31 iscl, irpow [, iseed] -- kx rnd31 kscl, krpow [, iseed] ---- -- csound doc: http://www.csounds.com/manual/html/rnd31.html rnd31 :: SigOrD a => a -> a -> SE a -- | Sets the global seed value. -- -- Sets the global seed value for all x-class noise generators, as well -- as other opcodes that use a random call, such as grain. -- --
-- seed ival ---- -- csound doc: http://www.csounds.com/manual/html/seed.html seed :: D -> SE () -- | Generates a controlled pseudo-random number series between min and max -- values according to a trigger. -- -- Generates a controlled pseudo-random number series between min and max -- values at k-rate whenever the trigger parameter is different to 0. -- --
-- kout trandom ktrig, kmin, kmax ---- -- csound doc: http://www.csounds.com/manual/html/trandom.html trandom :: Sig -> Sig -> Sig -> SE Sig -- | Triangular distribution random number generator -- -- Triangular distribution random number generator. This is an x-class -- noise generator. -- --
-- ares trirand krange -- ires trirand krange -- kres trirand krange ---- -- csound doc: http://www.csounds.com/manual/html/trirand.html trirand :: SigOrD a => a -> SE a -- | Uniform distribution random number generator (positive values only). -- -- Uniform distribution random number generator (positive values only). -- This is an x-class noise generator. -- --
-- ares unirand krange -- ires unirand krange -- kres unirand krange ---- -- csound doc: http://www.csounds.com/manual/html/unirand.html unirand :: SigOrD a => a -> SE a -- | truly random opcodes with controllable range. -- -- truly random opcodes with controllable range. These units are for -- Linux only and use devurandom to construct Csound random values -- --
-- ax urandom [imin, imax] -- ix urandom [imin, imax] -- kx urandom [imin, imax] ---- -- csound doc: http://www.csounds.com/manual/html/urandom.html urandom :: SigOrD a => SE a -- | A discrete user-defined-distribution random generator that can be used -- as a function. -- --
-- aout = urd (ktableNum) -- iout = urd (itableNum) -- kout = urd (ktableNum) ---- -- csound doc: http://www.csounds.com/manual/html/urd.html urd :: SigOrD a => a -> SE a -- | Weibull distribution random number generator (positive values only). -- -- Weibull distribution random number generator (positive values only). -- This is an x-class noise generator -- --
-- ares weibull ksigma, ktau -- ires weibull ksigma, ktau -- kres weibull ksigma, ktau ---- -- csound doc: http://www.csounds.com/manual/html/weibull.html weibull :: SigOrD a => a -> a -> SE a -- | Generates breakbeat-style cut-ups of a mono audio stream. -- -- The BreakBeat Cutter automatically generates cut-ups of a source audio -- stream in the style of drum and bass/jungle breakbeat manipulations. -- There are two versions, for mono (bbcutm) or stereo (bbcuts) sources. -- Whilst originally based on breakbeat cutting, the opcode can be -- applied to any type of source audio. -- --
-- a1 bbcutm asource, ibps, isubdiv, ibarlength, iphrasebars, inumrepeats \ -- [, istutterspeed] [, istutterchance] [, ienvchoice ] ---- -- csound doc: http://www.csounds.com/manual/html/bbcutm.html bbcutm :: Sig -> D -> D -> D -> D -> D -> Sig -- | Generates breakbeat-style cut-ups of a stereo audio stream. -- -- The BreakBeat Cutter automatically generates cut-ups of a source audio -- stream in the style of drum and bass/jungle breakbeat manipulations. -- There are two versions, for mono (bbcutm) or stereo (bbcuts) sources. -- Whilst originally based on breakbeat cutting, the opcode can be -- applied to any type of source audio. -- --
-- a1,a2 bbcuts asource1, asource2, ibps, isubdiv, ibarlength, iphrasebars, \ -- inumrepeats [, istutterspeed] [, istutterchance] [, ienvchoice] ---- -- csound doc: http://www.csounds.com/manual/html/bbcuts.html bbcuts :: Sig -> Sig -> D -> D -> D -> D -> D -> (Sig, Sig) -- | Function-table-based crossfading looper. -- -- This opcode reads audio from a function table and plays it back in a -- loop with user-defined start time, duration and crossfade time. It -- also allows the pitch of the loop to be controlled, including reversed -- playback. It accepts non-power-of-two tables, such as -- deferred-allocation GEN01 tables. -- --
-- asig flooper kamp, kpitch, istart, idur, ifad, ifn ---- -- csound doc: http://www.csounds.com/manual/html/flooper.html flooper :: Sig -> Sig -> D -> D -> D -> Tab -> Sig -- | Function-table-based crossfading looper. -- -- This opcode implements a crossfading looper with variable loop -- parameters and three looping modes, optionally using a table for its -- crossfade shape. It accepts non-power-of-two tables for its source -- sounds, such as deferred-allocation GEN01 tables. -- --
-- asig flooper2 kamp, kpitch, kloopstart, kloopend, kcrossfade, ifn \ -- [, istart, imode, ifenv, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/flooper2.html flooper2 :: Sig -> Sig -> Sig -> Sig -> Sig -> Tab -> Sig -- | Collects all audio from all Fluidsynth engines in a performance -- --
-- aleft, aright fluidAllOut ---- -- csound doc: http://www.csounds.com/manual/html/fluidAllOut.html fluidAllOut :: (Sig, Sig) -- | Sends a MIDI controller data message to fluid. -- -- Sends a MIDI controller data (MIDI controller number and value to use) -- message to a fluid engine by number on the user specified MIDI channel -- number. -- --
-- fluidCCi iEngineNumber, iChannelNumber, iControllerNumber, iValue ---- -- csound doc: http://www.csounds.com/manual/html/fluidCCi.html fluidCCi :: D -> D -> D -> D -> SE () -- | Sends a MIDI controller data message to fluid. -- -- Sends a MIDI controller data (MIDI controller number and value to use) -- message to a fluid engine by number on the user specified MIDI channel -- number. -- --
-- fluidCCk iEngineNumber, iChannelNumber, iControllerNumber, kValue ---- -- csound doc: http://www.csounds.com/manual/html/fluidCCk.html fluidCCk :: D -> D -> D -> Sig -> SE () -- | Sends MIDI note on, note off, and other messages to a SoundFont -- preset. -- -- The fluid opcodes provide a simple Csound opcode wrapper around Peter -- Hanappe's Fluidsynth SoundFont2 synthesizer. This implementation -- accepts any MIDI note on, note off, controller, pitch bend, or program -- change message at k-rate. Maximum polyphony is 4096 simultaneously -- sounding voices. Any number of SoundFonts may be loaded and played -- simultaneously. -- --
-- fluidControl ienginenum, kstatus, kchannel, kdata1, kdata2 ---- -- csound doc: -- http://www.csounds.com/manual/html/fluidControl.html fluidControl :: D -> Sig -> Sig -> Sig -> Sig -> SE () -- | Instantiates a fluidsynth engine. -- -- Instantiates a fluidsynth engine, and returns ienginenum to identify -- the engine. ienginenum is passed to other other opcodes for loading -- and playing SoundFonts and gathering the generated sound. -- --
-- ienginenum fluidEngine [iReverbEnabled] [, iChorusEnabled] [,iNumChannels] [, iPolyphony] ---- -- csound doc: http://www.csounds.com/manual/html/fluidEngine.html fluidEngine :: D -- | Loads a SoundFont into a fluidEngine, optionally listing SoundFont -- contents. -- -- Loads a SoundFont into an instance of a fluidEngine, optionally -- listing banks and presets for SoundFont. -- --
-- isfnum fluidLoad soundfont, ienginenum[, ilistpresets] ---- -- csound doc: http://www.csounds.com/manual/html/fluidLoad.html fluidLoad :: D -> D -> Tab -- | Plays a note on a channel in a fluidSynth engine. -- -- Plays a note at imidikey pitch and imidivel velocity on ichannelnum -- channel of number ienginenum fluidEngine. -- --
-- fluidNote ienginenum, ichannelnum, imidikey, imidivel ---- -- csound doc: http://www.csounds.com/manual/html/fluidNote.html fluidNote :: D -> D -> D -> D -> SE () -- | Outputs sound from a given fluidEngine -- -- Outputs the sound from a fluidEngine. -- --
-- aleft, aright fluidOut ienginenum ---- -- csound doc: http://www.csounds.com/manual/html/fluidOut.html fluidOut :: D -> (Sig, Sig) -- | Assigns a preset from a SoundFont to a channel on a fluidEngine. -- --
-- fluidProgramSelect ienginenum, ichannelnum, isfnum, ibanknum, ipresetnum ---- -- csound doc: -- http://www.csounds.com/manual/html/fluidProgramSelect.html fluidProgramSelect :: D -> D -> Tab -> D -> D -> SE () -- | Set interpolation method for channel in Fluid Engine -- -- Set interpolation method for channel in Fluid Engine. Lower order -- interpolation methods will render faster at lower fidelity while -- higher order interpolation methods will render slower at higher -- fidelity. Default interpolation for a channel is 4th order -- interpolation. -- --
-- fluidSetInterpMethod ienginenum, ichannelnum, iInterpMethod ---- -- csound doc: -- http://www.csounds.com/manual/html/fluidSetInterpMethod.html fluidSetInterpMethod :: D -> D -> D -> SE () -- | Read sampled sound from a table. -- -- Read sampled sound (mono or stereo) from a table, with optional -- sustain and release looping. -- --
-- ar1 [,ar2] loscil xamp, kcps, ifn [, ibas] [, imod1] [, ibeg1] [, iend1] \ -- [, imod2] [, ibeg2] [, iend2] ---- -- csound doc: http://www.csounds.com/manual/html/loscil.html loscil :: Tuple a => Sig -> Sig -> Tab -> a -- | Read sampled sound from a table using cubic interpolation. -- -- Read sampled sound (mono or stereo) from a table, with optional -- sustain and release looping, using cubic interpolation. -- --
-- ar1 [,ar2] loscil3 xamp, kcps, ifn [, ibas] [, imod1] [, ibeg1] [, iend1] \ -- [, imod2] [, ibeg2] [, iend2] ---- -- csound doc: http://www.csounds.com/manual/html/loscil3.html loscil3 :: Tuple a => Sig -> Sig -> Tab -> a -- | Loop oscillator. -- -- This file is currently a stub, but the syntax should be correct. -- --
-- ar1 [, ar2, ar3, ar4, ar5, ar6, ar7, ar8, ar9, ar10, ar11, ar12, ar13, ar14, \ -- ar15, ar16] loscilx xamp, kcps, ifn \ -- [, iwsize, ibas, istrt, imod1, ibeg1, iend1] ---- -- csound doc: http://www.csounds.com/manual/html/loscilx.html loscilx :: Tuple a => Sig -> Sig -> Tab -> a -- | Generates a table index for sample playback -- -- This opcode can be used to generate table index for sample playback -- (e.g. tablexkt). -- --
-- ares lphasor xtrns [, ilps] [, ilpe] [, imode] [, istrt] [, istor] ---- -- csound doc: http://www.csounds.com/manual/html/lphasor.html lphasor :: Sig -> Sig -- | Read sampled sound from a table with looping and high precision. -- -- Read sampled sound (mono or stereo) from a table, with looping, and -- high precision. -- --
-- ares lposcil kamp, kfreqratio, kloop, kend, ifn [, iphs] ---- -- csound doc: http://www.csounds.com/manual/html/lposcil.html lposcil :: Sig -> Sig -> Sig -> Sig -> Tab -> Sig -- | Read sampled sound from a table with high precision and cubic -- interpolation. -- -- Read sampled sound (mono or stereo) from a table, with looping, and -- high precision. lposcil3 uses cubic interpolation. -- --
-- ares lposcil3 kamp, kfreqratio, kloop, kend, ifn [, iphs] ---- -- csound doc: http://www.csounds.com/manual/html/lposcil3.html lposcil3 :: Sig -> Sig -> Sig -> Sig -> Tab -> Sig -- | Read sampled sound from a table with looping and high precision. -- -- lposcila reads sampled sound from a table with looping and high -- precision. -- --
-- ar lposcila aamp, kfreqratio, kloop, kend, ift [,iphs] ---- -- csound doc: http://www.csounds.com/manual/html/lposcila.html lposcila :: Sig -> Sig -> Sig -> Sig -> D -> Sig -- | Read stereo sampled sound from a table with looping and high -- precision. -- -- lposcilsa reads stereo sampled sound from a table with looping and -- high precision. -- --
-- ar1, ar2 lposcilsa aamp, kfreqratio, kloop, kend, ift [,iphs] ---- -- csound doc: http://www.csounds.com/manual/html/lposcilsa.html lposcilsa :: Sig -> Sig -> Sig -> Sig -> D -> (Sig, Sig) -- | Read stereo sampled sound from a table with looping and high -- precision. -- -- lposcilsa2 reads stereo sampled sound from a table with looping and -- high precision. -- --
-- ar1, ar2 lposcilsa2 aamp, kfreqratio, kloop, kend, ift [,iphs] ---- -- csound doc: http://www.csounds.com/manual/html/lposcilsa2.html lposcilsa2 :: Sig -> Sig -> Sig -> Sig -> D -> (Sig, Sig) -- | Prints a list of all instruments of a previously loaded SoundFont2 -- (SF2) file. -- -- Prints a list of all instruments of a previously loaded SoundFont2 -- (SF2) sample file. These opcodes allow management the sample-structure -- of SF2 files. In order to understand the usage of these opcodes, the -- user must have some knowledge of the SF2 format, so a brief -- description of this format can be found in the SoundFont2 File Format -- Appendix. -- --
-- sfilist ifilhandle ---- -- csound doc: http://www.csounds.com/manual/html/sfilist.html sfilist :: Sf -> SE () -- | Plays a SoundFont2 (SF2) sample instrument, generating a stereo sound. -- -- Plays a SoundFont2 (SF2) sample instrument, generating a stereo sound. -- These opcodes allow management the sample-structure of SF2 files. In -- order to understand the usage of these opcodes, the user must have -- some knowledge of the SF2 format, so a brief description of this -- format can be found in the SoundFont2 File Format Appendix. -- --
-- ar1, ar2 sfinstr ivel, inotenum, xamp, xfreq, instrnum, ifilhandle \ -- [, iflag] [, ioffset] ---- -- csound doc: http://www.csounds.com/manual/html/sfinstr.html sfinstr :: D -> D -> Sig -> Sig -> D -> Sf -> (Sig, Sig) -- | Plays a SoundFont2 (SF2) sample instrument, generating a stereo sound -- with cubic interpolation. -- -- Plays a SoundFont2 (SF2) sample instrument, generating a stereo sound -- with cubic interpolation. These opcodes allow management the -- sample-structure of SF2 files. In order to understand the usage of -- these opcodes, the user must have some knowledge of the SF2 format, so -- a brief description of this format can be found in the SoundFont2 File -- Format Appendix. -- --
-- ar1, ar2 sfinstr3 ivel, inotenum, xamp, xfreq, instrnum, ifilhandle \ -- [, iflag] [, ioffset] ---- -- csound doc: http://www.csounds.com/manual/html/sfinstr3.html sfinstr3 :: D -> D -> Sig -> Sig -> D -> Sf -> (Sig, Sig) -- | Plays a SoundFont2 (SF2) sample instrument, generating a mono sound -- with cubic interpolation. -- -- Plays a SoundFont2 (SF2) sample instrument, generating a mono sound -- with cubic interpolation. These opcodes allow management the -- sample-structure of SF2 files. In order to understand the usage of -- these opcodes, the user must have some knowledge of the SF2 format, so -- a brief description of this format can be found in the SoundFont2 File -- Format Appendix. -- --
-- ares sfinstr3m ivel, inotenum, xamp, xfreq, instrnum, ifilhandle \ -- [, iflag] [, ioffset] ---- -- csound doc: http://www.csounds.com/manual/html/sfinstr3m.html sfinstr3m :: D -> D -> Sig -> Sig -> D -> Sf -> Sig -- | Plays a SoundFont2 (SF2) sample instrument, generating a mono sound. -- -- Plays a SoundFont2 (SF2) sample instrument, generating a mono sound. -- These opcodes allow management the sample-structure of SF2 files. In -- order to understand the usage of these opcodes, the user must have -- some knowledge of the SF2 format, so a brief description of this -- format can be found in the SoundFont2 File Format Appendix. -- --
-- ares sfinstrm ivel, inotenum, xamp, xfreq, instrnum, ifilhandle \ -- [, iflag] [, ioffset] ---- -- csound doc: http://www.csounds.com/manual/html/sfinstrm.html sfinstrm :: D -> D -> Sig -> Sig -> D -> Sf -> Sig -- | Loads an entire SoundFont2 (SF2) sample file into memory. -- -- Loads an entire SoundFont2 (SF2) sample file into memory. These -- opcodes allow management the sample-structure of SF2 files. In order -- to understand the usage of these opcodes, the user must have some -- knowledge of the SF2 format, so a brief description of this format can -- be found in the SoundFont2 File Format Appendix. -- --
-- ir sfload "filename" ---- -- csound doc: http://www.csounds.com/manual/html/sfload.html sfload :: Str -> D -- | Plays a SoundFont2 (SF2) sample preset, generating a stereo sound, -- with user-defined time-varying crossfade looping. -- -- Plays a SoundFont2 (SF2) sample preset, generating a stereo sound, -- similarly to sfplay. Unlike that opcode, though, it ignores the -- looping points set in the SF2 file and substitutes them for a -- user-defined crossfade loop. It is a cross between sfplay and -- flooper2. -- --
-- ar1, ar2 sflooper ivel, inotenum, kamp, kpitch, ipreindex, kloopstart, kloopend, kcrossfade \ -- [, istart, imode, ifenv, iskip] ---- -- csound doc: http://www.csounds.com/manual/html/sflooper.html sflooper :: D -> D -> Sig -> Sig -> Sf -> Sig -> Sig -> Sig -> (Sig, Sig) -- | Assigns all presets of a SoundFont2 (SF2) sample file to a sequence of -- progressive index numbers. -- -- Assigns all presets of a previously loaded SoundFont2 (SF2) sample -- file to a sequence of progressive index numbers. These opcodes allow -- management the sample-structure of SF2 files. In order to understand -- the usage of these opcodes, the user must have some knowledge of the -- SF2 format, so a brief description of this format can be found in the -- SoundFont2 File Format Appendix. -- --
-- sfpassign istartindex, ifilhandle[, imsgs] ---- -- csound doc: http://www.csounds.com/manual/html/sfpassign.html sfpassign :: D -> Sf -> SE () -- | Plays a SoundFont2 (SF2) sample preset, generating a stereo sound. -- -- Plays a SoundFont2 (SF2) sample preset, generating a stereo sound. -- These opcodes allow management the sample-structure of SF2 files. In -- order to understand the usage of these opcodes, the user must have -- some knowledge of the SF2 format, so a brief description of this -- format can be found in the SoundFont2 File Format Appendix. -- --
-- ar1, ar2 sfplay ivel, inotenum, xamp, xfreq, ipreindex [, iflag] [, ioffset] [, ienv] ---- -- csound doc: http://www.csounds.com/manual/html/sfplay.html sfplay :: D -> D -> Sig -> Sig -> Sf -> (Sig, Sig) -- | Plays a SoundFont2 (SF2) sample preset, generating a stereo sound with -- cubic interpolation. -- -- Plays a SoundFont2 (SF2) sample preset, generating a stereo sound with -- cubic interpolation. These opcodes allow management the -- sample-structure of SF2 files. In order to understand the usage of -- these opcodes, the user must have some knowledge of the SF2 format, so -- a brief description of this format can be found in the SoundFont2 File -- Format Appendix. -- --
-- ar1, ar2 sfplay3 ivel, inotenum, xamp, xfreq, ipreindex [, iflag] [, ioffset] [, ienv] ---- -- csound doc: http://www.csounds.com/manual/html/sfplay3.html sfplay3 :: D -> D -> Sig -> Sig -> Sf -> (Sig, Sig) -- | Plays a SoundFont2 (SF2) sample preset, generating a mono sound with -- cubic interpolation. -- -- Plays a SoundFont2 (SF2) sample preset, generating a mono sound with -- cubic interpolation. These opcodes allow management the -- sample-structure of SF2 files. In order to understand the usage of -- these opcodes, the user must have some knowledge of the SF2 format, so -- a brief description of this format can be found in the SoundFont2 File -- Format Appendix. -- --
-- ares sfplay3m ivel, inotenum, xamp, xfreq, ipreindex [, iflag] [, ioffset] [, ienv] ---- -- csound doc: http://www.csounds.com/manual/html/sfplay3m.html sfplay3m :: D -> D -> Sig -> Sig -> Sf -> Sig -- | Plays a SoundFont2 (SF2) sample preset, generating a mono sound. -- -- Plays a SoundFont2 (SF2) sample preset, generating a mono sound. These -- opcodes allow management the sample-structure of SF2 files. In order -- to understand the usage of these opcodes, the user must have some -- knowledge of the SF2 format, so a brief description of this format can -- be found in the SoundFont2 File Format Appendix. -- --
-- ares sfplaym ivel, inotenum, xamp, xfreq, ipreindex [, iflag] [, ioffset] [, ienv] ---- -- csound doc: http://www.csounds.com/manual/html/sfplaym.html sfplaym :: D -> D -> Sig -> Sig -> Sf -> Sig -- | Prints a list of all presets of a SoundFont2 (SF2) sample file. -- -- Prints a list of all presets of a previously loaded SoundFont2 (SF2) -- sample file. These opcodes allow management the sample-structure of -- SF2 files. In order to understand the usage of these opcodes, the user -- must have some knowledge of the SF2 format, so a brief description of -- this format can be found in the SoundFont2 File Format Appendix. -- --
-- sfplist ifilhandle ---- -- csound doc: http://www.csounds.com/manual/html/sfplist.html sfplist :: Sf -> SE () -- | Assigns an existing preset of a SoundFont2 (SF2) sample file to an -- index number. -- -- Assigns an existing preset of a previously loaded SoundFont2 (SF2) -- sample file to an index number. These opcodes allow management the -- sample-structure of SF2 files. In order to understand the usage of -- these opcodes, the user must have some knowledge of the SF2 format, so -- a brief description of this format can be found in the SoundFont2 File -- Format Appendix. -- --
-- ir sfpreset iprog, ibank, ifilhandle, ipreindex ---- -- csound doc: http://www.csounds.com/manual/html/sfpreset.html sfpreset :: D -> D -> Sf -> Sf -> D -- | A sound looper with pitch control. -- -- This opcode records input audio and plays it back in a loop with -- user-defined duration and crossfade time. It also allows the pitch of -- the loop to be controlled, including reversed playback. -- --
-- asig, krec sndloop ain, kpitch, ktrig, idur, ifad ---- -- csound doc: http://www.csounds.com/manual/html/sndloop.html sndloop :: Sig -> Sig -> Sig -> D -> D -> (Sig, Sig) -- | A simple time stretch by repeating cycles. -- --
-- ares waveset ain, krep [, ilen] ---- -- csound doc: http://www.csounds.com/manual/html/waveset.html waveset :: Sig -> Sig -> Sig -- | Copies from one table to another with a gain control. -- -- This is is a variant of tablecopy, copying from one table to another, -- starting at ipos, and with a gain control. The number of points copied -- is determined by the length of the source. Other points are not -- changed. This opcode can be used to âhitâ a string in the scanned -- synthesis code. -- --
-- scanhammer isrc, idst, ipos, imult ---- -- csound doc: http://www.csounds.com/manual/html/scanhammer.html scanhammer :: D -> D -> D -> D -> SE () -- | Generate audio output using scanned synthesis. -- --
-- ares scans kamp, kfreq, ifn, id [, iorder] ---- -- csound doc: http://www.csounds.com/manual/html/scans.html scans :: Sig -> Sig -> Tab -> D -> Sig -- | A simpler scanned synthesis implementation. -- -- A simpler scanned synthesis implementation. This is an implementation -- of a circular string scanned using external tables. This opcode will -- allow direct modification and reading of values with the table -- opcodes. -- --
-- aout scantable kamp, kpch, ipos, imass, istiff, idamp, ivel ---- -- csound doc: http://www.csounds.com/manual/html/scantable.html scantable :: Sig -> Sig -> D -> D -> D -> D -> D -> Sig -- | Compute the waveform and the wavetable for use in scanned synthesis. -- --
-- scanu init, irate, ifnvel, ifnmass, ifnstif, ifncentr, ifndamp, kmass, \ -- kstif, kcentr, kdamp, ileft, iright, kpos, kstrngth, ain, idisp, id ---- -- csound doc: http://www.csounds.com/manual/html/scanu.html scanu :: D -> D -> Tab -> Tab -> Tab -> Tab -> Tab -> Sig -> Sig -> Sig -> Sig -> D -> D -> Sig -> Sig -> Sig -> D -> D -> SE () -- | Allows the position and velocity of a node in a scanned process to be -- read. -- --
-- kpos, kvel xscanmap iscan, kamp, kvamp [, iwhich] ---- -- csound doc: http://www.csounds.com/manual/html/xscanmap.html xscanmap :: D -> Sig -> Sig -> (Sig, Sig) -- | Fast scanned synthesis waveform and the wavetable generator. -- -- Experimental version of scans. Allows much larger matrices and is -- faster and smaller but removes some (unused?) flexibility. If liked, -- it will replace the older opcode as it is syntax compatible but -- extended. -- --
-- ares xscans kamp, kfreq, ifntraj, id [, iorder] ---- -- csound doc: http://www.csounds.com/manual/html/xscans.html xscans :: Sig -> Sig -> Tab -> D -> Sig -- | Allows the position and velocity of a node in a scanned process to be -- read. -- --
-- xscansmap kpos, kvel, iscan, kamp, kvamp [, iwhich] ---- -- csound doc: http://www.csounds.com/manual/html/xscansmap.html xscansmap :: Sig -> Sig -> D -> Sig -> Sig -> SE () -- | Compute the waveform and the wavetable for use in scanned synthesis. -- -- Experimental version of scanu. Allows much larger matrices and is -- faster and smaller but removes some (unused?) flexibility. If liked, -- it will replace the older opcode as it is syntax compatible but -- extended. -- --
-- xscanu init, irate, ifnvel, ifnmass, ifnstif, ifncentr, ifndamp, kmass, \ -- kstif, kcentr, kdamp, ileft, iright, kpos, kstrngth, ain, idisp, id ---- -- csound doc: http://www.csounds.com/manual/html/xscanu.html xscanu :: D -> D -> Tab -> Tab -> Tab -> Tab -> Tab -> Sig -> Sig -> Sig -> Sig -> D -> D -> Sig -> Sig -> Sig -> D -> D -> SE () -- | STKBandedWG uses banded waveguide techniques to model a variety of -- sounds. -- -- This opcode uses banded waveguide techniques to model a variety of -- sounds, including bowed bars, glasses, and bowls. -- --
-- asignal STKBandedWG ifrequency, iamplitude, [kpress, kv1[, kmot, kv2[, klfo, kv3[, klfodepth, kv4[, kvel, kv5[, kstrk, kv6[, kinstr, kv7]]]]]]] ---- -- csound doc: http://www.csounds.com/manual/html/STKBandedWG.html stkBandedWG :: D -> D -> Sig -- | STK Hammond-oid organ-like FM synthesis instrument. -- --
-- asignal STKBeeThree ifrequency, iamplitude, [kop4, kv1[, kop3, kv2[, klfo, kv3[, klfodepth, kv4[, kadsr, kv5]]]]] ---- -- csound doc: http://www.csounds.com/manual/html/STKBeeThree.html stkBeeThree :: D -> D -> Sig -- | STKBlowBotl uses a helmholtz resonator (biquad filter) with a -- polynomial jet excitation. -- -- This opcode implements a helmholtz resonator (biquad filter) with a -- polynomial jet excitation (a la Cook). -- --
-- asignal STKBlowBotl ifrequency, iamplitude, [knoise, kv1[, klfo, kv2[, klfodepth, kv3[, kvol, kv4]]]] ---- -- csound doc: http://www.csounds.com/manual/html/STKBlowBotl.html stkBlowBotl :: D -> D -> Sig -- | STK clarinet physical model with one register hole and one tonehole. -- -- This opcode is based on the clarinet model, with the addition of a -- two-port register hole and a three-port dynamic tonehole -- implementation. -- --
-- asignal STKBlowHole ifrequency, iamplitude, [kreed, kv1[, knoise, kv2[, khole, kv3[, kreg, kv4[, kbreath, kv5]]]]] ---- -- csound doc: http://www.csounds.com/manual/html/STKBlowHole.html stkBlowHole :: D -> D -> Sig -- | STKBowed is a bowed string instrument. -- -- STKBowed is a bowed string instrument, using a waveguide model. -- --
-- asignal STKBowed ifrequency, iamplitude, [kpress, kv1[, kpos, kv2[, klfo, kv3[, klfodepth, kv4[, kvol, kv5]]]]] ---- -- csound doc: http://www.csounds.com/manual/html/STKBowed.html stkBowed :: D -> D -> Sig -- | STKBrass is a simple brass instrument. -- -- STKBrass uses a simple brass instrument waveguide model, a la Cook. -- --
-- asignal STKBrass ifrequency, iamplitude, [klip, kv1[, kslide, kv2[, klfo, kv3[, klfodepth, kv4[, kvol, kv5]]]]] ---- -- csound doc: http://www.csounds.com/manual/html/STKBrass.html stkBrass :: D -> D -> Sig -- | STKClarinet uses a simple clarinet physical model. -- --
-- asignal STKClarinet ifrequency, iamplitude, [kstiff, kv1[, knoise, kv2[, klfo, kv3[, klfodepth, kv4[, kbreath, kv5]]]]] ---- -- csound doc: http://www.csounds.com/manual/html/STKClarinet.html stkClarinet :: D -> D -> Sig -- | STKDrummer is a drum sampling synthesizer. -- -- STKDrummer is a drum sampling synthesizer using raw waves and one-pole -- filters, The drum rawwave files are sampled at 22050 Hz, but will be -- appropriately interpolated for other sample rates. -- --
-- asignal STKDrummer ifrequency, iamplitude ---- -- csound doc: http://www.csounds.com/manual/html/STKDrummer.html stkDrummer :: D -> D -> Sig -- | STKFMVoices is a singing FM synthesis instrument. -- -- STKFMVoices is a singing FM synthesis instrument. It has 3 carriers -- and a common modulator, also referred to as algorithm 6 of the TX81Z. -- --
-- asignal STKFMVoices ifrequency, iamplitude, [kvowel, kv1[, kspec, kv2[, klfo, kv3[, klfodepth, kv4[, kadsr, kv5]]]]] ---- -- csound doc: http://www.csounds.com/manual/html/STKFMVoices.html stkFMVoices :: D -> D -> Sig -- | STKFlute uses a simple flute physical model. -- -- STKFlute uses a simple flute physical model. The jet model uses a -- polynomial, a la Cook. -- --
-- asignal STKFlute ifrequency, iamplitude, [kjet, kv1[, knoise, kv2[, klfo, kv3[, klfodepth, kv4[, kbreath, kv5]]]]] ---- -- csound doc: http://www.csounds.com/manual/html/STKFlute.html stkFlute :: D -> D -> Sig -- | STKHevyMetl produces metal sounds. -- -- STKHevyMetl produces metal sounds, using FM synthesis. It uses 3 -- cascade operators with feedback modulation, also referred to as -- algorithm 3 of the TX81Z. -- --
-- asignal STKHevyMetl ifrequency, iamplitude, [kmod, kv1[, kcross, kv2[, klfo, kv3[, klfodepth, kv4[, kadsr, kv5]]]]] ---- -- csound doc: http://www.csounds.com/manual/html/STKHevyMetl.html stkHevyMetl :: D -> D -> Sig -- | STKMandolin produces mamdolin-like sounds. -- -- STKMandolin produces mamdolin-like sounds, using "commuted synthesis" -- techniques to model a mandolin instrument. -- --
-- asignal STKMandolin ifrequency, iamplitude, [kbody, kv1[, kpos, kv2[, ksus, kv3[, kdetune, kv4[, kmic, kv5]]]]] ---- -- csound doc: http://www.csounds.com/manual/html/STKMandolin.html stkMandolin :: D -> D -> Sig -- | STKModalBar is a resonant bar instrument. -- -- This opcode is a resonant bar instrument.It has a number of different -- struck bar instruments. -- --
-- asignal STKModalBar ifrequency, iamplitude, [khard, kv1[, kpos, kv2[, klfo, kv3[, klfodepth, kv4[, kmix, kv5[, kvol, kv6[, kinstr, kv7]]]]]]] ---- -- csound doc: http://www.csounds.com/manual/html/STKModalBar.html stkModalBar :: D -> D -> Sig -- | STKMoog produces moog-like swept filter sounds. -- -- STKMoog produces moog-like swept filter sounds, using one attack wave, -- one looped wave, and an ADSR envelope and adds two sweepable formant -- filters. -- --
-- asignal STKMoog ifrequency, iamplitude, [kq, kv1[, krate, kv2[, klfo, kv3[, klfodepth, kv4[, kvol, kv5]]]]] ---- -- csound doc: http://www.csounds.com/manual/html/STKMoog.html stkMoog :: D -> D -> Sig -- | STKPercFlut is a percussive flute FM synthesis instrument. -- -- STKPercFlut is a percussive flute FM synthesis instrument. The -- instrument uses an algorithm like the algorithm 4 of the TX81Z. -- --
-- asignal STKPercFlut ifrequency, iamplitude, [kmod, kv1[, kcross, kv2[, klfo, kv3[, klfodepth, kv4[, kadsr, kv5]]]]] ---- -- csound doc: http://www.csounds.com/manual/html/STKPercFlut.html stkPercFlut :: D -> D -> Sig -- | STKPlucked uses a plucked string physical model. -- -- STKPlucked uses a plucked string physical model based on the -- Karplus-Strong algorithm. -- --
-- asignal STKPlucked ifrequency, iamplitude ---- -- csound doc: http://www.csounds.com/manual/html/STKPlucked.html stkPlucked :: D -> D -> Sig -- | STKResonate is a noise driven formant filter. -- -- STKResonate is a noise driven formant filter. This instrument contains -- a noise source, which excites a biquad resonance filter, with volume -- controlled by an ADSR. -- --
-- asignal STKResonate ifrequency, iamplitude, [kfreq, kv1[, kpole, kv2[, knotch, kv3[, kzero, kv4[, kenv, kv5]]]]] ---- -- csound doc: http://www.csounds.com/manual/html/STKResonate.html stkResonate :: D -> D -> Sig -- | STK Fender Rhodes-like electric piano FM synthesis instrument. -- --
-- asignal STKRhodey ifrequency, iamplitude, [kmod, kv1[, kcross, kv2[, klfo, kv3[, klfodepth, kv4[, kadsr, kv5]]]]] ---- -- csound doc: http://www.csounds.com/manual/html/STKRhodey.html stkRhodey :: D -> D -> Sig -- | STKSaxofony is a faux conical bore reed instrument. -- -- STKSaxofony is a faux conical bore reed instrument. This opcode uses a -- "hybrid" digital waveguide instrument that can generate a variety of -- wind-like sounds. It has also been referred to as the "blowed string" -- model. The waveguide section is essentially that of a string, with one -- rigid and one lossy termination. The non-linear function is a reed -- table. The string can be "blown" at any point between the -- terminations, though just as with strings, it is impossible to excite -- the system at either end. If the excitation is placed at the string -- mid-point, the sound is that of a clarinet. At points closer to the -- "bridge", the sound is closer to that of a saxophone. -- --
-- asignal STKSaxofony ifrequency, iamplitude, [kstiff, kv1[, kapert, kv2[, kblow, kv3[, knoise, kv4[, klfo, kv5[, klfodepth, kv6[, kbreath, kv7]]]]]]] ---- -- csound doc: http://www.csounds.com/manual/html/STKSaxofony.html stkSaxofony :: D -> D -> Sig -- | STKShakers is an instrument that simulates environmental sounds or -- collisions of multiple independent sound producing objects. -- -- STKShakers are a set of PhISEM and PhOLIES instruments: PhISEM -- (Physically Informed Stochastic Event Modeling) is an algorithmic -- approach for simulating collisions of multiple independent sound -- producing objects. It can simulate a Maraca, Sekere, Cabasa, Bamboo -- Wind Chimes, Water Drops, Tambourine, Sleighbells, and a Guiro. On -- http://soundlab.cs.princeton.edu/research/controllers/shakers/ -- PhOLIES (Physically-Oriented Library of Imitated Environmental Sounds) -- there is a similar approach for the synthesis of environmental sounds. -- It simulates of breaking sticks, crunchy snow (or not), a wrench, -- sandpaper, and more.. -- --
-- asignal STKShakers ifrequency, iamplitude, [kenerg, kv1[, kdecay, kv2[, kshake, kv3[, knum, kv4[, kres, kv5[, kinstr, kv6]]]]]] ---- -- csound doc: http://www.csounds.com/manual/html/STKShakers.html stkShakers :: D -> D -> Sig -- | STKSimple is a wavetable/noise instrument. -- -- STKSimple is a wavetable/noise instrument. It combines a looped wave, -- a noise source, a biquad resonance filter, a one-pole filter, and an -- ADSR envelope to create some interesting sounds. -- --
-- asignal STKSimple ifrequency, iamplitude, [kpos, kv1[, kcross, kv2[, kenv, kv3[, kgain, kv4]]]] ---- -- csound doc: http://www.csounds.com/manual/html/STKSimple.html stkSimple :: D -> D -> Sig -- | STKSitar uses a plucked string physical model. -- -- STKSitar uses a plucked string physical model based on the -- Karplus-Strong algorithm. -- --
-- asignal STKSitar ifrequency, iamplitude ---- -- csound doc: http://www.csounds.com/manual/html/STKSitar.html stkSitar :: D -> D -> Sig -- | STKStifKarp is a plucked stiff string instrument. -- -- STKStifKarp is a plucked stiff string instrument. It a simple plucked -- string algorithm (Karplus Strong) with enhancements, including string -- stiffness and pluck position controls. The stiffness is modeled with -- allpass filters. -- --
-- asignal STKStifKarp ifrequency, iamplitude, [kpos, kv1[, ksus, kv2[, kstretch, kv3]]] ---- -- csound doc: http://www.csounds.com/manual/html/STKStifKarp.html stkStifKarp :: D -> D -> Sig -- | STKTubeBell is a tubular bell (orchestral chime) FM synthesis -- instrument. -- -- STKTubeBell is a tubular bell (orchestral chime) FM synthesis -- instrument. It uses two simple FM Pairs summed together, also referred -- to as algorithm 5 of the TX81Z. -- --
-- asignal STKTubeBell ifrequency, iamplitude, [kmod, kv1[, kcross, kv2[, klfo, kv3[, klfodepth, kv4[, kadsr, kv5]]]]] ---- -- csound doc: http://www.csounds.com/manual/html/STKTubeBell.html stkTubeBell :: D -> D -> Sig -- | STKVoicForm is a four formant synthesis instrument. -- -- STKVoicForm is a four formant synthesis instrument. This instrument -- contains an excitation singing wavetable (looping wave with random and -- periodic vibrato, smoothing on frequency, etc.), excitation noise, and -- four sweepable complex resonances. Measured formant data is included, -- and enough data is there to support either parallel or cascade -- synthesis. In the floating point case cascade synthesis is the most -- natural so that's what you'll find here. -- --
-- asignal STKVoicForm ifrequency, iamplitude, [kmix, kv1[, ksel, kv2[, klfo, kv3[, klfodepth, kv4[, kloud, kv5]]]]] ---- -- csound doc: http://www.csounds.com/manual/html/STKVoicForm.html stkVoicForm :: D -> D -> Sig -- | STKWhistle produces whistle sounds. -- -- STKWhistle produces (police) whistle sounds. It uses a hybrid -- physical/spectral model of a police whistle (a la Cook). -- --
-- asignal STKWhistle ifrequency, iamplitude, [kmod, kv1[, knoise, kv2[, kfipfreq, kv3[, kfipgain, kv4[, kvol, kv5]]]]] ---- -- csound doc: http://www.csounds.com/manual/html/STKWhistle.html stkWhistle :: D -> D -> Sig -- | STKWurley simulates a Wurlitzer electric piano FM synthesis -- instrument. -- -- STKWurley simulates a Wurlitzer electric piano FM synthesis -- instrument. It uses two simple FM Pairs summed together, also referred -- to as algorithm 5 of the TX81Z. -- --
-- asignal STKWurley ifrequency, iamplitude, [kmod, kv1[, kcross, kv2[, klfo, kv3[, klfodepth, kv4[, kadsr, kv5]]]]] ---- -- csound doc: http://www.csounds.com/manual/html/STKWurley.html stkWurley :: D -> D -> Sig -- | Accesses table values by incremental sampling. -- --
-- kres oscil1 idel, kamp, idur [, ifn] ---- -- csound doc: http://www.csounds.com/manual/html/oscil1.html oscil1 :: D -> Sig -> D -> Sig -- | Accesses table values by incremental sampling with linear -- interpolation. -- --
-- kres oscil1i idel, kamp, idur [, ifn] ---- -- csound doc: http://www.csounds.com/manual/html/oscil1i.html oscil1i :: D -> Sig -> D -> Sig -- | Accesses table values by direct indexing. -- --
-- ares ptable andx, ifn [, ixmode] [, ixoff] [, iwrap] -- ires ptable indx, ifn [, ixmode] [, ixoff] [, iwrap] -- kres ptable kndx, ifn [, ixmode] [, ixoff] [, iwrap] ---- -- csound doc: http://www.csounds.com/manual/html/ptable.html ptable :: Sig -> Tab -> Sig -- | Accesses table values by direct indexing with cubic interpolation. -- --
-- ares ptable3 andx, ifn [, ixmode] [, ixoff] [, iwrap] -- ires ptable3 indx, ifn [, ixmode] [, ixoff] [, iwrap] -- kres ptable3 kndx, ifn [, ixmode] [, ixoff] [, iwrap] ---- -- csound doc: http://www.csounds.com/manual/html/ptable3.html ptable3 :: Sig -> Tab -> Sig -- | Accesses table values by direct indexing with linear interpolation. -- --
-- ares ptablei andx, ifn [, ixmode] [, ixoff] [, iwrap] -- ires ptablei indx, ifn [, ixmode] [, ixoff] [, iwrap] -- kres ptablei kndx, ifn [, ixmode] [, ixoff] [, iwrap] ---- -- csound doc: http://www.csounds.com/manual/html/ptablei.html ptablei :: Sig -> Tab -> Sig -- | Fast table opcodes. -- -- Fast table opcodes. Faster than table and tablew because don't allow -- wrap-around and limit and don't check index validity. Have been -- implemented in order to provide fast access to arrays. Support -- non-power of two tables (can be generated by any GEN function by -- giving a negative length value). -- --
-- ir tab_i indx, ifn[, ixmode] ---- -- csound doc: http://www.csounds.com/manual/html/tab.html tab_i :: D -> Tab -> D -- | Fast table opcodes. -- -- Fast table opcodes. Faster than table and tablew because don't allow -- wrap-around and limit and don't check index validity. Have been -- implemented in order to provide fast access to arrays. Support -- non-power of two tables (can be generated by any GEN function by -- giving a negative length value). -- --
-- kr tab kndx, ifn[, ixmode] -- ar tab xndx, ifn[, ixmode] ---- -- csound doc: http://www.csounds.com/manual/html/tab.html tab :: Sig -> Tab -> Sig -- | Fast table opcodes. -- -- Fast table opcodes. Faster than table and tablew because don't allow -- wrap-around and limit and don't check index validity. Have been -- implemented in order to provide fast access to arrays. Support -- non-power of two tables (can be generated by any GEN function by -- giving a negative length value). -- --
-- tabw_i isig, indx, ifn [,ixmode] ---- -- csound doc: http://www.csounds.com/manual/html/tab.html tabw_i :: D -> D -> Tab -> SE () -- | Fast table opcodes. -- -- Fast table opcodes. Faster than table and tablew because don't allow -- wrap-around and limit and don't check index validity. Have been -- implemented in order to provide fast access to arrays. Support -- non-power of two tables (can be generated by any GEN function by -- giving a negative length value). -- --
-- tabw ksig, kndx, ifn [,ixmode] -- tabw asig, andx, ifn [,ixmode] ---- -- csound doc: http://www.csounds.com/manual/html/tab.html tabw :: Sig -> Sig -> Tab -> SE () -- | Accesses table values by direct indexing. -- --
-- ares table andx, ifn [, ixmode] [, ixoff] [, iwrap] -- ires table indx, ifn [, ixmode] [, ixoff] [, iwrap] -- kres table kndx, ifn [, ixmode] [, ixoff] [, iwrap] ---- -- csound doc: http://www.csounds.com/manual/html/table.html table :: SigOrD a => a -> Tab -> a -- | Accesses table values by direct indexing with cubic interpolation. -- --
-- ares table3 andx, ifn [, ixmode] [, ixoff] [, iwrap] -- ires table3 indx, ifn [, ixmode] [, ixoff] [, iwrap] -- kres table3 kndx, ifn [, ixmode] [, ixoff] [, iwrap] ---- -- csound doc: http://www.csounds.com/manual/html/table3.html table3 :: SigOrD a => a -> Tab -> a -- | Accesses table values by direct indexing with linear interpolation. -- --
-- ares tablei andx, ifn [, ixmode] [, ixoff] [, iwrap] -- ires tablei indx, ifn [, ixmode] [, ixoff] [, iwrap] -- kres tablei kndx, ifn [, ixmode] [, ixoff] [, iwrap] ---- -- csound doc: http://www.csounds.com/manual/html/tablei.html tablei :: SigOrD a => a -> Tab -> a -- | A simple wave-terrain synthesis opcode. -- --
-- aout wterrain kamp, kpch, k_xcenter, k_ycenter, k_xradius, k_yradius, \ -- itabx, itaby ---- -- csound doc: http://www.csounds.com/manual/html/wterrain.html wterrain :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> D -> D -> Sig -- | Produces a naturally decaying plucked string or drum sound. -- -- Audio output is a naturally decaying plucked string or drum sound -- based on the Karplus-Strong algorithms. -- --
-- ares pluck kamp, kcps, icps, ifn, imeth [, iparm1] [, iparm2] ---- -- csound doc: http://www.csounds.com/manual/html/pluck.html pluck :: Sig -> Sig -> D -> Tab -> D -> Sig -- | Physical model of the plucked string. -- -- repluck is an implementation of the physical model of the plucked -- string. A user can control the pluck point, the pickup point, the -- filter, and an additional audio signal, axcite. axcite is used to -- excite the string. Based on the Karplus-Strong algorithm. -- --
-- ares repluck iplk, kamp, icps, kpick, krefl, axcite ---- -- csound doc: http://www.csounds.com/manual/html/repluck.html repluck :: D -> Sig -> D -> Sig -> Sig -> Sig -> Sig -- | A string resonator with variable fundamental frequency. -- -- An audio signal is modified by a string resonator with variable -- fundamental frequency. -- --
-- ares streson asig, kfr, ifdbgain ---- -- csound doc: http://www.csounds.com/manual/html/streson.html streson :: Sig -> Sig -> D -> Sig -- | Creates a tone similar to a bowed string. -- -- Audio output is a tone similar to a bowed string, using a physical -- model developed from Perry Cook, but re-coded for Csound. -- --
-- ares wgbow kamp, kfreq, kpres, krat, kvibf, kvamp, ifn [, iminfreq] ---- -- csound doc: http://www.csounds.com/manual/html/wgbow.html wgbow :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -> Tab -> Sig -- | A physical model of a bowed bar. -- -- A physical model of a bowed bar, belonging to the Perry Cook family of -- waveguide instruments. -- --
-- ares wgbowedbar kamp, kfreq, kpos, kbowpres, kgain [, iconst] [, itvel] \ -- [, ibowpos] [, ilow] ---- -- csound doc: http://www.csounds.com/manual/html/wgbowedbar.html wgbowedbar :: Sig -> Sig -> Sig -> Sig -> Sig -> Sig -- | Creates a tone related to a brass instrument. -- -- Audio output is a tone related to a brass instrument, using a physical -- model developed from Perry Cook, but re-coded for Csound. -- --
-- ares wgbrass kamp, kfreq, ktens, iatt, kvibf, kvamp, ifn [, iminfreq] ---- -- csound doc: http://www.csounds.com/manual/html/wgbrass.html wgbrass :: Sig -> Sig -> Sig -> D -> Sig -> Sig -> Tab -> Sig -- | Creates a tone similar to a clarinet. -- -- Audio output is a tone similar to a clarinet, using a physical model -- developed from Perry Cook, but re-coded for Csound. -- --
-- ares wgclar kamp, kfreq, kstiff, iatt, idetk, kngain, kvibf, kvamp, ifn \ -- [, iminfreq] ---- -- csound doc: http://www.csounds.com/manual/html/wgclar.html wgclar :: Sig -> Sig -> Sig -> D -> D -> Sig -> Sig -> Sig -> Tab -> Sig -- | Creates a tone similar to a flute. -- -- Audio output is a tone similar to a flute, using a physical model -- developed from Perry Cook, but re-coded for Csound. -- --
-- ares wgflute kamp, kfreq, kjet, iatt, idetk, kngain, kvibf, kvamp, ifn \ -- [, iminfreq] [, ijetrf] [, iendrf] ---- -- csound doc: http://www.csounds.com/manual/html/wgflute.html wgflute :: Sig -> Sig -> Sig -> D -> D -> Sig -> Sig -> Sig -> Tab -> Sig -- | A high fidelity simulation of a plucked string. -- -- A high fidelity simulation of a plucked string, using interpolating -- delay-lines. -- --
-- ares wgpluck icps, iamp, kpick, iplk, idamp, ifilt, axcite ---- -- csound doc: http://www.csounds.com/manual/html/wgpluck.html wgpluck :: D -> D -> Sig -> D -> D -> D -> Sig -> Sig -- | Physical model of the plucked string. -- -- wgpluck2 is an implementation of the physical model of the plucked -- string, with control over the pluck point, the pickup point and the -- filter. Based on the Karplus-Strong algorithm. -- --
-- ares wgpluck2 iplk, kamp, icps, kpick, krefl ---- -- csound doc: http://www.csounds.com/manual/html/wgpluck2.html wgpluck2 :: D -> Sig -> D -> Sig -> Sig -> Sig module Csound.Typed.Opcode