6/1/2023 0 Comments Comverse infosys codec![]() > AudioFormatData - ^ The raw representation of the Audio Format. putAudioFormat :: AudioFormat - ^ The audio format you wish to convert. This function is useful if you are planning on writing out your WAVE - data and sharing it. ![]() lookup key audioFormatMap defaultValue = UnknownFormat key - | A conversion function from a known AudioFormat to it's representation as - AudioFormatData. getAudioFormat key = fromMaybe defaultValue possibleKey where possibleKey = M. > AudioFormat - ^ The actual AudioFormat as understood by wavy. type AudioFormatData = Word16 - | Extracts the actual AudioFormat from the raw AudioFormatData getAudioFormat :: AudioFormatData - ^ The raw audio format data, likely taken from the header of a WAVE file. Map as M - | A representation of the AudioFormatData as seen in the Format Section in the header - of a WAVE file. ), getAudioFormat, putAudioFormat, prettyShowAudioFormat ) where import Data. AudioFormats ( AudioFormatData, AudioFormat (. We provide a number of helper functions to make the - AudioFormat easier to understand. The encoding that was used is saved in the Format - Chunk of the WAVE file and this module is responsible for making that one piece of data - easier to understand and deal with. ![]() It - can contain everytihng from raw PCM data (which this library uses as it's base - encoding) to a development encoding. } - | The Data section of WAVE files can contain many different types of encoded data.
0 Comments
Leave a Reply. |