Skip to content

Dropping trials with rtmixer backend #496

@tomstoll

Description

@tomstoll

We've been dropping trials occasionally when delivering our sounds and triggers through the sound card (using the rtmixer backend). No sounds or triggers are sent. A recent experiment we were piloting that had tens of thousands of 100 ms long trials made the problem more obvious. Less than 1% of trials are dropped and it's not a big issue for that experiment, but losing a trial in experiments with fewer trials could be pretty annoying. We ran another test with 540 one second long trials and we dropped two trials.

We were using the rtmixer backend to play sounds and triggers through the sound card. We haven't tried the pyglet backend but I could see if it'll work with our setup. In a test with the sounddevice backend I'm working on (#494), we dropped zero trials (out of 7200, all one second long).

Not sure where the problem is exactly, maybe something to do with loading the buffer if the computer is under load? I can try some type of stress test while running an experiment and see if that forces trials to drop (with any backend).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions