ftsrTable Control:Table Queriesftsrftsr
Returns the sampling-rate of a stored function table.
Description
Returns the sampling-rate of a stored function table.
Syntaxftsr(x) (init-rate args only)Performance
Returns the sampling-rate of a GEN01 generated table. The sampling-rate is determined from the header of the original file. If the original file has no header or the table was not created by these GEN01, ftsr returns 0. New in Csound version 3.49.
Examples
Here is an example of the ftsr opcode. It uses the file ftsr.csd.
Example of the ftsr opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.
its output should lines like these:
sampling-rate of table number 1 = 44100
sampling-rate of table number 2 = 22050
sampling-rate of table number 3 = 44100
sampling-rate of table number 4 = 44100
See alsoTable Control:Table QueriesCreditsAuthor: &namegabriel;ItalyOctober 1998