A Python DSP module written in C
Questions tagged [pyo]
37 questions
0
votes
1 answer
Play 2+ sine waves together in python with pyo
I would like to play 2, 3 or more sine waves in python for 5 seconds. I know how to write a .au or .wav file that could do this, but now I would like to play directly to the sound card. I know how to do this with 1 sine wave using pyo, but now I…

LucasBr
- 461
- 1
- 7
- 19
0
votes
0 answers
No audio generated when controlling parametric EQ with OSC
I am currently working on a Python project where I have implemented a parametric equalizer controlled by an OSC (Open Sound Control) interface. Below is the code snippet of the Eq class responsible for handling the equalizer functionality:
class…

Riccardo Cataldi
- 3
- 1
0
votes
0 answers
Pyo: best way to trigger samples at specific BPM?
I am trying to use Pyo (python module for sound synthesis) to create a track however I am having a hard time understanding how samples are triggered. If, for example, I wish to play a specific sample at 120 bpm, in sync with other synthesizers is…
0
votes
0 answers
Is it possible to phase shift a saw wave in Pyo?
For the sine() function in pyo, you can use the 'phase' argument to phase shift the sine wave, which can also be used to make triangle waves.
I am generating saw waves using the LFO() generator, however there is no way to offset the phase for these.…

Useless Lol
- 1
- 1
0
votes
1 answer
Can't reproduce audio file using python pyo library
I'm testing pyo library and I can't reproduce any audio file. Here's the sample code:
from pyo import *
s = Server().boot()
path = SNDS_PATH + r"/05.Black Alien - Take Ten"
sf = SfPlayer(path, speed=[1, 0.995], loop=True,…

Victor Oliveira
- 1
- 2
0
votes
1 answer
Using Multiple Input Devices in Python Audio Processing (Pyo)
TLDR: Is there a way to mix multiple input devices' audio streams in real-time in Python (ideally with Pyo)?
I'm trying to use Pyo to combine audio streams from multiple microphones (or virtual microphones, e.g., Loopback devices) into one output…

jmindel
- 465
- 1
- 7
- 16
0
votes
1 answer
Pyo Python DSP Module Won't Deploy to Heroku
So I'm trying to put up a demo of a django project on Heroku that runs fine locally and loads when I uninstall the package Pyo, but it throws an OSerror when I reinstall it (OSError at /
Exception Value:…

Kevin Dublin
- 1
- 2
0
votes
0 answers
Can't import pyo: ImportError: DLL load failed: The specified module could not be found
I'm trying to import pyo in python3.7 and I'm not getting any results. This is what happens when I try to run the command:
>>> import pyo
Traceback (most recent call last):
File "", line 1, in
File…

Marc Baltes
- 33
- 1
- 3
0
votes
0 answers
Cannot import python module pyo
I'm trying to import pyo for this project I'm working on but this is the output I get when I try to do so:
Python 3.7.6 (tags/v3.7.6:43364a7ae0, Dec 19 2019, 00:42:30) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or…

Marc Baltes
- 33
- 1
- 3
0
votes
1 answer
Microphone Input with Pyo Python
I'm currently creating a small Program with Python and pyo that should use the microphone input as a source and then add several effects and filters provided by pyo. I couldn't find anything in the docs, is there a way to use the microphone input as…

Domi
- 1
- 1
0
votes
1 answer
Error installing pyo module
Using Python 3.5.3 on Windows 10.
I am trying to install the pyo 0.8.6 module but I simply can't.
Firstly, I tried by using the installer provide by AJAX SOUND STUDIO pyo_0.8.6_py3.5_setup.exe, but gave me the next error every time I import the…

YoomarXD
- 105
- 1
- 10
0
votes
1 answer
Python-Pyo None-Type error
I'm trying to run the following code,
but I'm getting a None-Type error:
from pyo import *
import random
s = Server().boot()
s.start()
fr = SigTo(value=200, time=0.5, init=200)
a = SineLoop(freq=fr, feedback=0.08, mul=.3).out()
def new_freq():
…

H. Schmidt
- 1
- 3
0
votes
1 answer
Changing preferences from Pyo to Pygame in Psychopy
I am trying to change the preferences of audiolib from Pyo to Pygame in Psychopy but it does not seem to work.
from psychopy import prefs, sound
prefs.general['audioLib'] = ['pygame']
.
.
.
sound1 = sound.Sound('name.wav')
sound1.play()
It keeps…

TYL
- 1,577
- 20
- 33
0
votes
1 answer
Pyo - How to Play two Sound Files read from RAM Sequentially?
I have two sound files of the same length that I want to play sequentially. Specifically, I want the first file to play three times, and the second file to play once.
I can achieve this through a SfPlayer and a TrigFunc, but I'm under the impression…

Matthew Moisen
- 16,701
- 27
- 128
- 231
0
votes
1 answer
Psychopy Pyo Custom Audio
I am having difficulty playing a custom audio file through Psychopy. I am getting a message saying:
AttributeError: No audio API found. Try installing pyo 0.6.8+, or pygame 1.8+
I tried to install the pyo API but still could not get it to work or…

Alex
- 1