Thanks to visit codestin.com
Credit goes to github.com

Skip to content

mglInstallSound #88

@CoreyPlate

Description

@CoreyPlate

mglInstallSound does not seem to work

The following example code from the help documentation was attempted:

           samplesPerSecond = 22000;
           t = 0:2*pi/(samplesPerSecond-1):2*pi;
           amplitude = 0.2;
           waveform(1,:) = amplitude * sin(440*t);
           waveform(2,:) = amplitude * sin(t*5*440/4);
           s = mglInstallSound(waveform,samplesPerSecond);
           mglPlaySound(s);

It returned the following error:

           (mglInstallSound) Failure to install sound waveform - giving up

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions