Wed, 28 Aug 2019 19:53:19 +0200
Started with the stubs for CircuitPython.
# -*- coding: utf-8 -*- # Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de> # """ Module containing stubs for API generation of the 'audiocore' module. """ class Mixer(): def __init__(self, channel_count=2, buffer_size=1024): pass def deinit(self): pass def play(self, sample, *, voice=0, loop=False): pass def stop_voice(self, voice=0): pass @property def playing(self): pass @property def sample_rate(self): pass class RawSample(): def __init__(self, buffer, *, channel_count=1, sample_rate=8000): pass def deinit(self): pass @property def sample_rate(self): pass class WaveFile(): def __init__(self, file, buffer=None): pass def deinit(self): pass @property def sample_rate(self): pass @property def bits_per_sample(self): pass @property def channel_count(self): pass