Application.music#

Most important part of the dopy app lmao

Attributes#

Classes#

DJ

There can only be one DJ object created throughout the entire program.

Module Contents#

Application.music.logger#
Application.music.BUFFER_SIZE = 20#
Application.music.BLOCK_SIZE = 2048#
class Application.music.DJ(visualiser=None)#

There can only be one DJ object created throughout the entire program. DJ can play local files without blocking the calling thread

audio_buffer#
visualiser = None#
fft#
stream = None#
callback(outdata: numpy.ndarray, frames: int, time: cffi.backend_ctypes.CTypesData, status: sounddevice.CallbackFlags)#
file_reader(path)#
compute_fft(data)#
audio_buffer_setup_from_file(path)#
finished_callback()#
play(path)#
stop()#