10-26-2006 10:28 AM
10-26-2006 02:18 PM
I found this older forum thread:
"If you really need to have the data at 44.1 kS/s (for example, to output to a standard audio file) try using the "Resample Waveforms" VI in LabVIEW under the "Signal Processing >> Waveform Conditioning" pallette. On this VI you need to choose the interpolation mode; you should choose either "Spline" or "FIR". Don't use "Linear". "
The VI that I am using is a SV Toolkit standard item with no editing.
Does the reply infer that LabVIEW will always shift a 50 kS/s sample to a 44.1 kHz Audio RIFF unless you interpolate and resample; that can't be right why not just write to 50 kHz RIFF?
10-27-2006 07:18 AM - edited 10-27-2006 07:18 AM
The input
The output
Message Edited by Midlothian on 10-27-2006 07:22 AM
Message Edited by Midlothian on 10-27-2006 07:26 AM
10-27-2006 12:58 PM
I have tested the resampling method and this fails to correct the problem.
It is as if the Signal Conditioning resampling input "dt" is adjusting to maintain the original time x-axis.
The DAQmx remains 50,000 kS/s based and all Audio Wav vi's and the sub-vi's are 44,100 kHz based with no obvious method of correcting the mis-match.
I have raised an NI problem report by telephone and asked for urgent work-around and eventually a new release of the corrected SVXMPLS WAV Recorder (DAQmx).vi .
11-08-2006 03:09 AM