How to generate a song on Matlab?
Ältere Kommentare anzeigen
I have to make a song on Matlab and then set up sine waves that correspond to the notes on the scale. The notes are CFDGCEAmCFGC. can someone help me with this?
Akzeptierte Antwort
Weitere Antworten (2)
zeeshan ali
am 1 Mär. 2020
0 Stimmen
fs = 1e4; % sampling frequency
t = 1:1/fs:5; % time signal
freq = 261.6; % note frequency in Hz (middle C)
y = sin(2*pi*freq*t); % create sine wave
player = audioplayer(y, fs); % create audio player object
play(player); % play the sound
Micah Audrey
am 26 Jan. 2024
0 Stimmen
CAN SOMEONE REPLICATE THE SONG KISS THE RAIN USING MATLAB PLS
Kategorien
Mehr zu Audio and Video Data finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!