Cecilia offers some special sound information functions that are very useful for the development of modules that require to know beforehand the duration or size of a sound to be processed.
[sinfo <name of sound> info]
[findgenSize number]findgenSize is useful in the score for finding the power-of-2 size greater than the frame number of a given sound. If the cec_filein object named source was used to select a sound of 456818 sample frames, the following statement encountered in the score:
f12 0 [findgenSize [sinfo source frames]] -1 "[source]" 0 0 0would return:
f12 0 524288 -1 "[source]" 0 0 0