Doküman >> Creating Music on MATLAB? (13311 Okunma)
Tam Metin: | |
On my previous article told that I would add the codes of my "3 Octave Music Player Project". The codes can be downloaded from here, but you need a password to download the file. The code is licensed under GNU, so you need to obey GNU license and include my name if you would like to use it in any of your work. You can contact me via the top menu or add a comment below to get your password (If site language is Turkish, click on the top-right link to change into English). Here is the usage of the Music Player:
***3 Octave Note Player for MATLAB***
This program is free software: you can redistribute it and/or modify This program is distributed in the hope that it will be useful, You should have received a copy of the GNU General Public License v1.0 by Volkan Gezer *Quick Start Guide: a) Files required: musicplay.m - Main function file b) Usage 0) Change MATLAB active directory to this directory. 1) Enter left and right hand notes in a char array using space between notes. *Notes should be entered as follows: NoteLetter[Sharp(#)symbol]OctaveNumber. Example: C#4 D5 * Since notes will be inside a char array, they should follow the rule below: *** Square brackets are optional, but single quotes are obligatory! Example: i=['C#4 D5']; * For neat coding, you may want to go to next line. To go to next line, close single quote Example: j=['C4 D3 G5 D4 D4 E4 A4' ... After writing notes for both left and right hand (see below (3) if you have no notes for left hand) At least two arguments (rightHandNotes, leftHandNotes) should be given so that others will get 3) If you have no notes for leftHandNotes: * You should create a silent note using x=['N0'] and playFromLeft argument should be zero. *** This will bypass playing from left hand notes.
Execute: run('./twinkletwinklelittlestar_regular.m') - for Twinkle Twinkle Little Star
c) Troubleshooting: Here are some problems that you may experience and their solutions: 1) Subscript indices must either be real positive integers or logicals. - The first note at first line | |
Dil: | |
English (EN) | |
Eklenme Tarihi: | |
12.02.2013 18:11:08 | |
Ekleyen: | |
Volkan Gezer | |
Etiketler: | |
matlab music player, playing music on matlab, matlab fun, matlab playing notes, matlab create music |
Yorum: #1 | ^ | |
Başlık: | student | |
Yorum: | I would like the script for Adele please Answer: Thank you for the message. I sent you the password via e-mail. |
|
Ekleyen: | Tom Dixon (Eklenme: 27.04.2017 22:28:05) | |
Yorum: #2 | ^ | |
Başlık: | Student | |
Yorum: | If you dont mind. Please to guve me some script of some songs for my reference or basis Answer: Sent by e-mail. |
|
Ekleyen: | Lance Nichol Canaveral (Eklenme: 09.10.2018 06:54:47) | |
Yorum: #3 | ^ | |
Başlık: | I would like it for educational purposes | |
Yorum: | Im working on MATLAB at school, were making sounds as you did for SLY. thx Answer: The password was sent by e-mail. |
|
Ekleyen: | Lebouli (Eklenme: 19.12.2018 10:53:38) | |
Sayfa Başı