Use Non-Frames Version Previous Page Next Page
Appendix: DirectCsound

loscil2

  ar1     loscil2   xamp, kcps, ifn[, ibas[, imod1, ibeg1, iend1[, imod2, ibeg2, iend2]]]
  [,ar2]

Description

Read a sampled sound (mono or stereo) from a table of 16-bit integer samples, with optional sustain and release looping. Uses 16-bit integer table (see GEN 22).

Initialization

See loscil for details.

Performance

See loscil for details.

N.B. This opcode is almost identical to loscil, the only difference is that loscil2 uses a 16-bit integer function table (see GEN 22) for storing samples, increasing realtime performance and reducing sample memory consumption by half.

WARNING! You must use only GEN 22 for this opcode to operate correctly!



Use Non-Frames Version Previous Page Next Page
Appendix: DirectCsound