2.5K 次下载
更新时间
2004/11/11
无许可证
Just a New Year joke:
a MATLAB note player:
a melody can be represented as a column of notes, e.g.
>>gam=[
'do'
're'
'mi'
'fa'
'so'
'la'
'ci'
'd2'
];
>>Z=melody(gam,2);
Z is input for sound:
>>sound(Z/2)
By default MELODY plays russian Xmas song "Elochka" with freq. factor 3, e.g.
>>melody;
引用格式
Vassili Pastushenko (2024). MELODY (https://www.mathworks.com/matlabcentral/fileexchange/6217-melody), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R10
兼容任何版本
平台兼容性
Windows macOS Linux类别
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > Audio and Video Data >
在 Help Center 和 MATLAB Answers 中查找有关 Audio and Video Data 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |