<CsoundSynthesizer><CsOptions></CsOptions><CsInstruments>sr=44100ksmps=128nchnls=20dbfs=1.0; Example file tab2array/*tab2array: copy a slice of a table to an arraykout[] tab2array ifn, kstart=0, kend=0, kstep=1iout[] tab2array ifn, istart=0, iend=0, istep=1ifn: the table index to copy fromstart: the index to start copying fromend: the end index to stop copying. This is NOT inclusive. 0=end of tablestep: how many elements to skip*/instr1ifnftgentmp0,0,-13,-2,0,1,2,3,4,5,6,7,8,9,10,11,12; copy everything at i-time, similar to copyf2array, but no need; to predefine the arrayislice[]tab2arrayifnprintarrayislice,"","islice"; copy the slice [1::2] to an array, at k-timekslice[]tab2arrayifn,1,0,2printarraykslice,1,"","kslice"; copy into a predefined array. If the number of elements to copy; excede the capacity of the array, the array is enlarged kxs[]init3kxstab2arrayifn,0,10printarraykxs,1,"","kxs"turnoffendin</CsInstruments><CsScore>i100.1</CsScore></CsoundSynthesizer>