Introduction: Resample a .wav audio file to produce a new file with a different sampling frequency
Usage: Select the audio .wav file of interest, enter the name of the resampled audio .wav file to be created as well as the new sampling frequency in Hz, and then run the VI.
Details: The VI is based on the built-in "Rational Resample" subVI. The for-loop structure enables this VI to handle multi-channel .wav files, even those that have more than two channels. The bit depth of the input audio is maintained in the output file.
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
@edoering wrote:
Introduction: Resample a .wav audio file to produce a new file with a different sampling frequency
Usage: Select the audio .wav file of interest, enter the name of the resampled audio .wav file to be created as well as the new sampling frequency in Hz, and then run the VI.
Details: The VI is based on the built-in "Rational Resample" subVI. The for-loop structure enables this VI to handle multi-channel .wav files, even those that have more than two channels. The bit depth of the input audio is maintained in the output file.
@edoering wrote:
Introduction: Resample a .wav audio file to produce a new file with a different sampling frequency
Usage: Select the audio .wav file of interest, enter the name of the resampled audio .wav file to be created as well as the new sampling frequency in Hz, and then run the VI.
Details: The VI is based on the built-in "Rational Resample" subVI. The for-loop structure enables this VI to handle multi-channel .wav files, even those that have more than two channels. The bit depth of the input audio is maintained in the output file.
How do I use rational resampler in Measurement Studio (C#) ?