New answers tagged

3

In order to facilitate an answer (sound - D Cord): Import["D_vbr.mp3", "Elements"] Fs = Import["D_vbr.mp3", "SampleRate"] data = Import["D_vbr.mp3", "Data"]; {nChannel, nSamples} = Dimensions[data] Py = Fourier[data[[1, All]]]; nUniquePts = Ceiling[(nSamples + 1)/2]; Py = Py[[Range[1, nUniquePts]]]; Py = 2 (Abs[Py]/nSamples)^2; Py[[1]] = Py[[1]]/2; f = (...


5

An echo can be added by convolving the waveform with an appropriate impulse response. You can find many real recorded impulse responses at http://www.echothief.com/ Download the package and extract it. Then we can do something like this: echo = Import["~/Downloads/EchoThiefImpulseResponseLibrary/Miscellaneous/ConvocationMall.wav"] (* import from ...


3

The idea is to delay the sound (sometimes also reduce its amplitude) and add it to your original signal. Assuming that Import["yourWavfile.wav", "Elements"] yields: {AudioChannels,AudioEncoding,Data,SampledSoundList,SampleRate,Sound} the duration (in seconds) of your sound file is the length of your Data over the SampleRate (e.g. 20000). Thus to delay ...



Top 50 recent answers are included