(self, args)
return self._values.new_integer().from_int(self._voice_queue[voice].tones_waiting())
PLAY function: get length of music queue.
PLAY function: get length of music queue.
PLAY function : get length of music queue .
def play_fn_(self, args):
        """PLAY function: get length of music queue."""
        voice = values.to_int(next(args))
        list(args)
        error.range_check(0, 255, voice)
        if not(self._multivoice and voice in (1, 2)):
            voice = 0
        return self._values.new_integer().from_int(self._voice_queue[voice].tones_waiting())
def play_fn_ ( self , args ) : voice = values . to_int ( next ( args ) ) list ( args ) error . range_check ( 0 , 255 , voice ) if not ( self . _multivoice and voice in ( 1 , 2 ) ) : voice = 0 return self . _values . new_integer ( ) . from_int ( self . _voice_queue [ voice ] . tones_waiting ( ) )