SynthLab SDK
pcmsample.h File Reference

See also Designing Software Synthesizers in C++ 2nd Ed. by Will Pirkle. More...

#include "stdint.h"
#include <string>
#include <iostream>
#include <map>

Go to the source code of this file.

Classes

struct  SynthLab::RIFF_CHUNK
 
struct  SynthLab::WAVE_FILE_HEADER
 
struct  SynthLab::WAVEFORMATEX_WP
 
struct  SynthLab::WAVE_SAMPLE
 
union  SynthLab::UWaveData
 
class  SynthLab::PCMSample
 Opens a WAV file and extracts contents into a floating point buffer, regardless of original datatypes in file. After parsing the file, use const float* getSampleBuffer() to acces the read-only buffer of data. The following types are supported: More...
 
struct  SynthLab::convertUpper
 
class  SynthLab::WaveFolder
 Opens a folder full of WAV files and gleans information about the files to prep them for parsing and having their sample guts extracted. This object can figure out MIDI unity note numbers from the WAV file names (e.g. Dagga_A#4.wav). This object is used to parse folders of samples to build patches for sample based synths. More...
 

Detailed Description

See also Designing Software Synthesizers in C++ 2nd Ed. by Will Pirkle.

Author
Will Pirkle
Date
20-April-2021