How to create a sound like this?
Show older comments
Hello people. I'm new to this forum, and I need help on that: How could I create this sound? I have a reference image that could help:

7 Comments
Image Analyst
on 22 Feb 2025
The image didn't come through. Try again. Why don't you just record the sound from the video. Windows snip and sketch program will let you do that.
Augusto
on 22 Feb 2025
Star Strider
on 22 Feb 2025
An hour later, still nothing ...
Sam Chak
on 22 Feb 2025
Great. Do you want to remake the identical audio waves? Or, just want to find the frequency spectrum and apply the redshift filter to somewhat mimic the Doppler effect?
Image Analyst
on 22 Feb 2025
Why do you need to create it with MATLAB code rather than just record it from an existing video or download a similar sound? Go here to search for similar sounds:
Augusto
on 25 Feb 2025
Answers (1)
Firstt, look to see what their spectrograms reveal —
uz = unzip('examples.zip')
for k = 1:numel(uz)
fn = strrep(string(uz{k}), "_", "\_");
[wavvec,Fs] = audioread(uz{k});
figure
tiledlayout(2,1)
nexttile
pspectrum(wavvec(:,1),Fs,'spectrogram')
colormap(turbo)
title("Left Channel")
nexttile
pspectrum(wavvec(:,2),Fs,'spectrogram')
colormap(turbo)
title("Right Channel")
sgtitle(fn)
end
for k = 1:numel(uz)
fn = strrep(string(uz{k}), "_", "\_");
[wavvec,Fs] = audioread(uz{k});
figure
tiledlayout(2,1)
nexttile
[sp,fp,tp] = pspectrum(wavvec(:,1),Fs,'spectrogram');
waterfall(fp,tp,sp')
set(gca,XDir="reverse",View=[60 60], ZScale='log')
colormap(turbo)
ylabel("Time (s)")
xlabel("Frequency (Hz)")
title("Left Channel")
nexttile
[sp,fp,tp] = pspectrum(wavvec(:,2),Fs,'spectrogram');
waterfall(fp,tp,sp')
set(gca,XDir="reverse",View=[60 60], ZScale='log')
colormap(turbo)
ylabel("Time (s)")
xlabel("Frequency (Hz)")
title("Right Channel")
sgtitle(fn)
end
These are going to be a challenge to synthesize. I’ll give it some thought.
.
Categories
Find more on Audio and Video Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


