Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
gesellkammer committed Jul 10, 2024
1 parent 89f0c52 commit 53f5da1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions csoundengine/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion csoundengine/csoundlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 53f5da1

Please sign in to comment.