Replies: 2 comments 2 replies
-
|
Not spam! important discussion! I was waiting for this day where we would have to implement multichannel sound ;) Have to run to a seminar in a sec, but this actually was initially implemented, but I took it out in an act of haste because i was having indexing/shape problems and always knew it would need to be returned to. The relevant lines are here: And then you just need to handle iterating over the multiple out ports, detecting if eg. there is a mismatch in number of outports and the dimensionality of the audio data (eg. if two channels of audio data are given and two output channels are activated, split audio data to each... vs. if one channel of audio data is given and two output channels are activated, copy it to both...) I am slammed with like |
Beta Was this translation helpful? Give feedback.
-
|
Ok with these tips it's just about working now! let's talk again after Thursday |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Sorry for the discussion spam today ... Is it currently supported to play a sound only from the left (or right) audio channel? I can get it to play out of both, but not out of just one.
This line suggests that this is not currently supported with jack server
https://github.com/wehr-lab/autopilot/blob/043fb6cf7c8642d4169be0823c773b358b2c4984/autopilot/stim/sound/jackclient.py#L234
Is it supported with pyo_server? I briefly attempted to switch to pyo but had some "Pyo built without Jack support" issue. Not sure if it will be easier to get jack or pyo going here. I know there's other issues with pyo anyway.
Beta Was this translation helpful? Give feedback.
All reactions