Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

how to read wav file in C++

int channel = 0;
int numSamples = audioFile.getNumSamplesPerChannel();

for (int i = 0; i < numSamples; i++)
{
	double currentSample = audioFile.samples[channel][i];
}
Source by cplusplus.com #
 
PREVIOUS NEXT
Tagged: #read #wav #file
ADD COMMENT
Topic
Name
6+2 =