Skip to content

Make SoundStimulus.samples always 2D? #141

Description

@YannickJadoul

The way SoundStimulus.__init__ works, SoundStimulus.samples will be an array with different dimensions whether it's mono (1D) or stereo (2D).

Is that something we want? Or would it make more sense to always convert it to a 2D array, and just have the number of columns (shape[1]) determine whether it's mono or stereo?

Also see #139 (comment).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions