Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: On demand file playback with effects #343

Closed
rhythminbytes opened this issue Jun 22, 2024 · 3 comments
Closed

Question: On demand file playback with effects #343

rhythminbytes opened this issue Jun 22, 2024 · 3 comments

Comments

@rhythminbytes
Copy link

rhythminbytes commented Jun 22, 2024

Hi Peter,

Is it possible to take audio files, process them chunk by chunk, and play the chunks back contiguously through your speakers. I'm thinking about an application like the pads on a sampler/drum machine where you hit a button and the sample just plays with effects, but is chunked so it doesn't totally have to be loaded into memory.

@rhythminbytes rhythminbytes changed the title On demand file playback with effects Question: On demand file playback with effects Jun 22, 2024
@psobot
Copy link
Member

psobot commented Jun 25, 2024

Hi @rhythminbytes!

This is not yet possible with just Pedalboard, as it doesn't support passing live audio I/O to and from Python. You can use pyAudio at the moment - there are a couple incomplete examples in our GitHub issues so far (see #190 (comment) and #288 (comment), for example).

This is something that others have tried to add (see #317) but which isn't quite ready to be merged just yet. If you're willing and interested in contributing, feel free to try implementing the approach in that PR (#317 (comment)).

@psobot psobot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 25, 2024
@rhythminbytes
Copy link
Author

Thanks Peter!

@0xdevalias
Copy link

FYI, #317 was superseded by #363, which will be released with Pedalboard v0.9.12:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants