Replies: 1 comment 1 reply
-
|
Hi and welcome! About portaudio I have no answer, but you can also use jack wtih Pyo and that should be stable. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I want to first state that I'm pretty new to Github, programming, and just all of this stuff in general! So please be patient with me.
I recently purchased a Raspberry Pi 5 to use as the brain of an interactive audio installation. In short, I'm planning on using hall-effect sensors (Via GPIO pins) that detect the presence of a block containing a magnet. When a block is placed, it triggers looped playback of an audio file. When a block is removed, that audio file stops playing.
Currently I'm just trying to build a prototype, and am just getting my head around the RasPi, Linux, IDE workflow, etc.
- It seems pyo uses portaudio. How stable is portaudio?
I read some things that imply portaudio has some issues with jitter/stability. My installation needs to run reliably for 6+ hours, so stability is paramount for my needs.
- What method is recommended for creating a master clock, and syncing audio playback to this master clock?
I need to ensure that playback only starts on a downbeat, no matter at what point in time the sensor was triggered - thus the need for a master clock. Currently I'm thinking phasor and tableread will be necessary. Any pointers here?
Note: I don't require time-stretching or anything of the sort. All audio files will natively be the same tempo.
Any advice is massively appreciated. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions