class library: SynthDef - lazy implementation of removeUGen
[supercollider.git] / HelpSource / Classes / BufChannels.schelp
blobafe66ce8d9448bbaeea44d05ba7c8d4be3db043c
1 class:: BufChannels
2 summary:: Current number of channels of soundfile in buffer.
3 related:: Classes/BufDur, Classes/BufFrames, Classes/BufRateScale, Classes/BufSampleRate, Classes/BufSamples
4 categories::  UGens>Buffer>Info
6 Description::
7 Get the current number of channels of soundfile.
9 classmethods::
11 method::kr, ir
13 argument::bufnum
14 Buffer index.
16 returns:: the current number of channels.
18 discussion::
19 warning::
20 The  code::.ir::  method is not the safest choice.
21 Since a buffer can be reallocated at any time, using
22 code::.ir::  will not track the changes. Use code::.kr:: instead.