Use the info~ object to report the information in a file read into a buffer~ object in response to a . If the information is not present, it will be 0. info~ does not require that the audio be turned on in order to work. Looping and tuning information is found in AIFF files.
Common Box Attributes
Most of the information reported by info~ is taken from the audio file most recently read into the associated buffer~. If this information is not present, only the sampling rate is sent out the left outlet. No output occurs for any item that's missing from the sound file.
Out left outlet: The sampling rate of the sample.
Out 3rd outlet: Sustain loop start, in milliseconds.
Out 4th outlet: Sustain loop end, in milliseconds.
Out 5th outlet: Release loop start, in milliseconds.
Out 6th outlet: Release loop end, in milliseconds.
Out 7th outlet: Total time of the associated buffer~ object, in milliseconds.
Out 8th outlet: Name of the most recently read audio file.
Out 9th outlet: Number of channels for the most recently read audio file.
Out 2nd outlet: Instrument information about the sample, as follows:
1. The MIDI pitch of the sample.
2. The detuning from the original MIDI note number of the sample, in pitch bend units.
3. The lowest MIDI note number to use when playing this sample.
4. The highest MIDI note number to use when playing this sample.
5. The lowest MIDI velocity to use when playing this sample.
6. The highest MIDI velocity to use when playing this sample.
7. The gain of the sample (0-127).
|Spectral Processing||Spectral Processing|
|Sound Processing Techniques||Sound Processing Techniques|
|MSP Sampling Tutorial 3: Playback with Loops||MSP Sampling Tutorial 3: Playback with Loops|
|MSP MIDI Tutorial 3: MIDI Sampler||MSP MIDI Tutorial 3: MIDI Sampler|