On Monday 29 May 2006 00:18, Art Hunkins wrote: > 1) Get nsamp to work with deferred-size ftables; Done. nsamp() now returns the number of sample frames in a table loaded with GEN01. Note that it differs from ftlen(), for example with a stereo sound file of 10000 samples, ftlen() would return 19999 (i.e. a total of 20000 mono samples, not including a guard point), but nsamp() returns 10000. Also, currently nsamp() will return 0 if the table was not loaded with GEN01; it is not clear from the documentation how the function should behave in this case, so I kept what seemed to be the intended behavior of the code. > 2) When looping is requested in loscil (and loscil3), and no looping data is > specified in the opcode, default the sustain loop to the length of the > entire sample. Example (that works the same as the above code): > a1, a2 loscil 10000, 1, 1, 1, 1 This is also implemented now.