class_docstr: MPEG audio file decoder using the MAD library.
class_docstr_tok: ["MPEG","audio","file","decoder","using","the","MAD","library","."]
docstr: The number of channels.
docstr_tok: ["The","number","of","channels","."]
code: def channels(self):
      """The number of channels."""
      if self.mf.mode() == mad.MODE_SINGLE_CHANNEL:
          return 1
      elif self.mf.mode() in (
          mad.MODE_DUAL_CHANNEL,
          mad.MODE_JOINT_STEREO,
          mad.MODE_STEREO,
      ):
          return 2
      else:
          # Other mode?
          return 2
  
file_path: audioread/audioread/maddec.py
imports: import mad
  from .None import DecodeError
  from .base import AudioFile
label_desc: Use image node_id 6 for calling the MadAudioFile obj's underlying member method code with example usage: obj.channels() and returns: int, int, int