From 53f5da1473ffef960698edf411c6130f765977f3 Mon Sep 17 00:00:00 2001 From: gesellkammer Date: Thu, 11 Jul 2024 01:41:52 +0200 Subject: [PATCH] fix test --- csoundengine/__init__.py | 1 + csoundengine/csoundlib.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) 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)