/* BufFiCt1 - creates a gen01 function table from a mono soundfile DESCRIPTION Creates a gen01 function table from a mono soundfile. This is nothing else than a simplification of creating the same with a ftgen statement. Use BufFiCtNd to create a non-deferred function table from a soundfile SYNTAX ift BufFiCt1 Sfilenam [, iftnum [, inorm]] INITIALIZATION Sfilenam - file name or path as string iftnum - if zero (which is also the default), the number of the function table is given by Csound. Any other positive integer will represent the function table, but the user must take care of not using a number twice inorm - if zero, the table is not normalized. This is also the default, while any other number creates a normalized table ift - output table number CREDITS joachim heintz 2010 */ opcode BufFiCt1, i, Soo Sfilenam, iftnum, inorm xin igen = (inorm == 0 ? -1 : 1) ift ftgen iftnum, 0, 0, igen, Sfilenam, 0, 0, 1 xout ift endop