diff --git a/csoundengine/__init__.py b/csoundengine/__init__.py index 01d732d..7b36b33 100644 --- a/csoundengine/__init__.py +++ b/csoundengine/__init__.py @@ -116,6 +116,7 @@ from .offline import OfflineSession as OfflineSession from .synth import SynthGroup as SynthGroup from .event import Event +from . import instr from . import tools from . import busproxy from . import schedevent diff --git a/csoundengine/csoundlib.py b/csoundengine/csoundlib.py index 4ee0c63..e2c20fa 100755 --- a/csoundengine/csoundlib.py +++ b/csoundengine/csoundlib.py @@ -118,7 +118,6 @@ def compressionBitrateToQuality(bitrate: int, fmt='ogg') -> float: bitrate: the bitrate in kb/s, oneof 64, 80, 96, 128, 160, 192, 224, 256, 320, 500 fmt: the encoding format (ogg at the moment) """ - compressionQualityToBitrate(quality=0.5, fmt='foo') if fmt == 'ogg': bitrates = [64, 80, 96, 128, 128, 160, 192, 224, 256, 320, 500] idx = emlib.misc.nearest_index(bitrate, bitrates)