Skip to content

Wav files are distorted when format is MuLaw #392

@Blackburn29

Description

@Blackburn29

There appears to be an encoding issue with MuLaw. When playing back a generated tone, the audio is severely distorted. If the file is encoded in PCM then audio is fine.

Ex:

var waveFile = new WaveFile(SampleRate.Hz8000, BitsPerSample.Bits8, DataChannels.Mono, WaveFormat.MuLaw);
DTMF.Generate(waveFile, TouchTone.GetTouchTones("1234567890"), 0.25D);
...

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