Skip to content

Can't get the constructor to work for some reason? #66

Description

@Meehdrescher

The constructor is:

var sg = new SpectrogramGenerator(sampleRate, fftSize: 2048, stepSize: 512, maxFreq: sampleRate / 2);

Should be the correct amount, type and order of arguments for the constructor since I copied it from the readme, however I am greeted with the following error message:

SpectrogramGeneratorScript.cs(29,36): error CS1503: Argument 2: cannot convert from 'int' to 'bool'

How do I resolve this? Is it a skill issue on my end or a problem with the library?

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