Update bytebeat_play.py

This commit is contained in:
m5rcel { Marcel }
2025-11-15 21:23:41 +01:00
committed by GitHub
parent a3978b2530
commit 6371ac170e

View File

@@ -1,4 +1,3 @@
#!/usr/bin/env python3
from __future__ import annotations from __future__ import annotations
import ast,argparse,math,sys,wave,struct,subprocess,tempfile,os,platform import ast,argparse,math,sys,wave,struct,subprocess,tempfile,os,platform
from typing import Callable,Iterator,Tuple,List,Union,TYPE_CHECKING,Any from typing import Callable,Iterator,Tuple,List,Union,TYPE_CHECKING,Any
@@ -160,3 +159,4 @@ def main()->None:
try:_P._pr(bf,a.duration,a.sr,a.tstart) try:_P._pr(bf,a.duration,a.sr,a.tstart)
except Exception as e:print(f"\n{_C.RED}{_C.B}✗ Playback error:{_C.R} {e}");sys.exit(1) except Exception as e:print(f"\n{_C.RED}{_C.B}✗ Playback error:{_C.R} {e}");sys.exit(1)
if __name__=='__main__':main() if __name__=='__main__':main()