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

Adding 2 channel (stereo) audio delivery to FlyVR #21

Open
davidt0x opened this issue Feb 8, 2022 · 1 comment
Open

Adding 2 channel (stereo) audio delivery to FlyVR #21

davidt0x opened this issue Feb 8, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@davidt0x
Copy link
Contributor

davidt0x commented Feb 8, 2022

Adding 2 channel (stereo) audio delivery to FlyVR. This involves modifying soundserver mostly on the backend side. This shouldn't be too difficult. I think the stimulus code already handles mixing multiple signals into one buffer for sending to the device. This was working for the DAQ previously at least. There is a question of what the user interface for specifying multiple channels should be? Should stimulus entries have an optional channel field?

@davidt0x davidt0x added the enhancement New feature or request label Feb 8, 2022
@davidt0x davidt0x self-assigned this Feb 8, 2022
@mwangq
Copy link

mwangq commented Feb 9, 2022

hardware: a pair of earbuds plugged into the sound card

Example of why we want 2 channel (stereo) audio: the male fly moves around during courtship, so I might want that song to also "move" from left earbud to right earbud (so, one playlist item, with different sound on each earbud). A second example is simply testing for neural responses that come from the left, or from the right (so these would be separate playlist items; maybe even the exact same playlist item, but played only thru one earbud speaker).

I wonder if a good solution is for the user to always provide 2 columns of audio data (left earbud, right earbud). I like your idea of having an optional channel field (channel 1, channel 2, or both).

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

No branches or pull requests

2 participants