How to pulse soundcard digital output on sound start/stop #223
Replies: 1 comment 2 replies
-
|
Hi @rachelmcassidy! Unfortunately, some of the registers on the SoundCard were planned during development but not implemented. There is a PR to clean up unused registers in the firmware and update the Bonsai interface at harp-tech/device.soundcard#20 and harp-tech/device.soundcard#28, but those might take a while to make it into a release. Practically, I think the only digital output configuration that might work in the current firmware and interface is You can use
|
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am referring to the registers in https://harp-tech.org/api/Harp.SoundCard.html to set the behavior of my soundcard digital outputs. My goal is to generate a brief TTL pulse on sound onset and sound offset, but I'm having a few problems controlling it:
HighWhenSound, this works as expected. However, when I try to overwrite this configuration using any of the otherDigitalOutputConfigurationoptions, it still goes high when the sound is on. If I reset the soundcard using the bootloader or by powering on and off, this does not reset the configuration.Pulse100MsWhenStart, nothing happens. What is the intended behavior of this setting? Should it go high for 100 ms when the sound starts, or does this mean something else?PulseDO,OutputSet,OutputClear,OutputToggle,OutputState. Do these only work with certain digital output configuration payloads? What is the correct input for these nodes in Bonsai?Thanks for your help!
Rachel
Beta Was this translation helpful? Give feedback.
All reactions