belangeo / pyo

Python DSP module

Home Page:http://ajaxsoundstudio.com/software/pyo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SfPlayer doesn't work

Manu197-pn opened this issue · comments

I do not succeed in using SfPlayer. When I run the example or any other program I get the following error.
I am using Mac OS 12.6. Python 3.1
It is working when loading the file in ram and reading the table.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/Users/emmanuel/PycharmProjects/pythonProject2/venv/lib/python3.10/site-packages/pyo/examples/04-soundfiles/01-read-from-disk.py", line 24, in
sf = SfPlayer(path, speed=[1, 0.995], loop=True, mul=0.4).out()
File "/Users/emmanuel/PycharmProjects/pythonProject2/venv/lib/python3.10/site-packages/pyo/lib/players.py", line 118, in init
SfPlayer_base(
SystemError: <class '_pyo.SfPlayer_base'> returned a result with an exception set

Can you print the path variable and verify if "transparent.aif" is in the given directory?