Use the mc.sfrecord~ object to record and save multi-channel MSP output as an audio file.
Sets the number of channels to record via the one multi-channel inlet. The maximum number of channels is 64, and the default is 1. The audio file created will have the same number of channels as this argument. Whether you can actually record the maximum number of channels is dependent on the speed of your processor and hard disk.
An optional second argument sets the buffer size. The defult value is 20160.
Common Box Attributes
Recording may also stop spontaneously if there is an error, such as running out of space on your hard disk.
: 8-bit integer
: 16-bit integer
: 24-bit integer
: 32-bit integer
: 32-bit floating-point
: 64-bit floating-point
: 8-bit "mu"-law encoding
: 8-bit a-law encoding
The optional second argument, a 0 or 1, specifies whether or not byte-swapping should be used, which is only useful when writing a 'raw' audio file.
The time, in milliseconds, since recording of the file began. If recording has stopped, the signal value will remain at the length of the last recording until a new recording is started.
|MSP Sampling Tutorial 6: Record and Play Audio Files||MSP Sampling Tutorial 6: Record and Play Audio Files|