MELODY

Plays a melody in 2-letter code.
ダウンロード: 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
カテゴリ
Help Center および MATLAB AnswersAudio 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