Harp Soundcard Bonsai Workflow #158
Unanswered
Max-Cao-1011
asked this question in
Q&A
Replies: 0 comments
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.
-
Hello,
We recently purchased a Harp soundcard and amplifier, and we encountered a few issues while setting up the system with Bonsai:
Bonsai Workflow for Sound Playback: I understand the team is currently working on improving documentation, but I was wondering if any existing Bonsai workflow examples are available for uploading and triggering sound playback via the soundcard. I’ve been using AudioReader (Audio) and UpdateSoundWaveform (Harp.SoundCard) to load audio files from the computer to the soundcard. However, playback only seems to function correctly if the entire sound fits within a single buffer (set in AudioReader), which is limiting for longer audio files. At the moment, I’m uploading audio directly via the soundcard software and triggering playback through Bonsai, but ideally we’d like to manage the entire process within Bonsai.
Double Buffering for Long Sound Files: Is there a recommended method for achieving double buffering with the Harp system? For future experiments, we may need to play files that exceed the internal memory of the soundcard. We’d like to know whether there’s a way to load audio into alternating buffers—so one plays while the other is being filled—to ensure seamless playback.
Any guidance or examples you can share would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions