csound-expression-0.3.2: Csound combinator library

CsoundExpr.Opcodes.Sigio.FileIO

Description

File Input and Output

Synopsis

Documentation

fiopen :: Irate -> Irate -> IrateSource

  • opcode : fiopen
  • syntax :
   ihandle fiopen ifilename, imode
  • description :

fiopen can be used to open a file in one of the specified modes.

ficloseI :: Irate -> SignalOutSource

  • opcode : ficlose
  • syntax :
   ficlose ihandle
   ficlose Sfilename
  • description :

ficlose can be used to close a file which was opened with fiopen.

ficloseS :: String -> SignalOutSource

  • opcode : ficlose
  • syntax :
   ficlose ihandle
   ficlose Sfilename
  • description :

ficlose can be used to close a file which was opened with fiopen.

dumpk :: K k0 => k0 -> Irate -> Irate -> Irate -> SignalOutSource

  • opcode : dumpk
  • syntax :
   dumpk ksig, ifilname, iformat, iprd
  • description :

Periodically writes an orchestra control-signal value to a named external file in a specific format.

dumpk2 :: (K k0, K k1) => k0 -> k1 -> Irate -> Irate -> Irate -> SignalOutSource

  • opcode : dumpk2
  • syntax :
   dumpk2 ksig1, ksig2, ifilname, iformat, iprd
  • description :

Periodically writes two orchestra control-signal values to a named external file in a specific format.

dumpk3 :: (K k0, K k1, K k2) => k0 -> k1 -> k2 -> Irate -> Irate -> Irate -> SignalOutSource

  • opcode : dumpk3
  • syntax :
   dumpk3 ksig1, ksig2, ksig3, ifilname, iformat, iprd
  • description :

Periodically writes three orchestra control-signal values to a named external file in a specific format.

dumpk4 :: (K k0, K k1, K k2, K k3) => k0 -> k1 -> k2 -> k3 -> Irate -> Irate -> Irate -> SignalOutSource

  • opcode : dumpk4
  • syntax :
   dumpk4 ksig1, ksig2, ksig3, ksig4, ifilname, iformat, iprd
  • description :

Periodically writes four orchestra control-signal values to a named external file in a specific format.

fout :: String -> Irate -> [Arate] -> SignalOutSource

  • opcode : fout
  • syntax :
   fout ifilename, iformat, aout1 [, aout2, aout3,...,aoutN]
  • description :

fout outputs N a-rate signals to a specified file of N channels.

fouti :: Irate -> Irate -> Irate -> [Irate] -> SignalOutSource

  • opcode : fouti
  • syntax :
   fouti ihandle, iformat, iflag, iout1 [, iout2, iout3,....,ioutN]
  • description :

fouti output N i-rate signals to a specified file of N channels.

foutir :: Irate -> Irate -> Irate -> [Irate] -> SignalOutSource

  • opcode : foutir
  • syntax :
   foutir ihandle, iformat, iflag, iout1 [, iout2, iout3,....,ioutN]
  • description :

foutir output N i-rate signals to a specified file of N channels.

foutk :: K k0 => String -> Irate -> [k0] -> SignalOutSource

  • opcode : foutk
  • syntax :
   foutk ifilename, iformat, kout1 [, kout2, kout3,....,koutN]
  • description :

foutk outputs N k-rate signals to a specified file of N channels.

readk :: Irate -> Irate -> Irate -> KrateSource

  • opcode : readk
  • syntax :
   kres readk ifilname, iformat, iprd
  • description :

Periodically reads an orchestra control-signal value from a named external file in a specific format.

readk2 :: Irate -> Irate -> Irate -> MultiOutSource

  • opcode : readk2
  • syntax :
   kr1, kr2 readk2 ifilname, iformat, iprd
  • description :

Periodically reads two orchestra control-signal values from an external file.

readk3 :: Irate -> Irate -> Irate -> MultiOutSource

  • opcode : readk3
  • syntax :
   kr1, kr2, kr3 readk3 ifilname, iformat, iprd
  • description :

Periodically reads three orchestra control-signal values from an external file.

readk4 :: Irate -> Irate -> Irate -> MultiOutSource

  • opcode : readk4
  • syntax :
   kr1, kr2, kr3, kr4 readk4 ifilname, iformat, iprd
  • description :

Periodically reads four orchestra control-signal values from an external file.

fin :: String -> Irate -> Irate -> [Arate] -> SignalOutSource

  • opcode : fin
  • syntax :
   fin ifilename, iskipframes, iformat, ain1 [, ain2] [, ain3] [,...]
  • description :

Read signals from a file at a-rate.

fini :: String -> Irate -> Irate -> [Irate] -> SignalOutSource

  • opcode : fini
  • syntax :
   fini ifilename, iskipframes, iformat, in1 [, in2] [, in3] [,...]
  • description :

Read signals from a file at i-rate.

fink :: K k0 => String -> Irate -> Irate -> [k0] -> SignalOutSource

  • opcode : fink
  • syntax :
   fink ifilename, iskipframes, iformat, kin1 [, kin2] [, kin3] [,...]
  • description :

Read signals from a file at k-rate.

clear :: [Arate] -> SignalOutSource

  • opcode : clear
  • syntax :
   clear avar1 [, avar2] [, avar3] [...]
  • description :

clear zeroes a list of audio signals.

vincr :: Arate -> Arate -> SignalOutSource

  • opcode : vincr
  • syntax :
   vincr accum, aincr
  • description :

vincr increments one audio variable with another signal, i.e. it accumulates output.

fprints :: String -> String -> [Irate] -> SignalOutSource

  • opcode : fprints
  • syntax :
   fprints "filename", "string" [, ival1] [, ival2] [...]
  • description :

Similar to prints but prints to a file.

fprintks :: K k0 => String -> String -> [k0] -> SignalOutSource

  • opcode : fprintks
  • syntax :
   fprintks "filename", "string", [, kval1] [, kval2] [...]
  • description :

Similar to printks but prints to a file.