linear-predictive-speech-synth/func/ms_to_samples.m

3 lines
104 B
Mathematica
Raw Normal View History

function samples = ms_to_samples(time_in, sample_freq)
samples = (time_in / 1000) * sample_freq;
end