CoderDunn Posted April 25, 2006 Share Posted April 25, 2006 (edited) Here is a fun little script I made trying to make music with the Beep function. I made 6 songs already as examples. To write a song: First create your song file (text file) with a .AutSong extension. Each note is separated with pipe "|". A note has 3 parts. For example: AN1 1 The A is the note name, "N" stands for natural. Also, "S" is for sharp and "B" is for flat. Next is the 1, it's to tell for example what "A" note to play, because in music it goes A - G then starts over at A again. Finally, the last number is how many beats long the note is. White spaces are ignored, so AN11 and AN1 1 is the same thing. Open Notes Staff.txt for the note numbers. 0.25 = 16th note 0.5 = 8th note 1 = quarter note 1.5 = dotted quarter note 2 = Half note 4 = whole note etc... So a example song is: AN1 1|BN1 0.5|CN1 0.5|DN1 2 You can do a rest like "rest 1". The 1 is again the counts to wait. Lets see some of your masterpieces! Hallman AutoIt_Music.zip Edited April 25, 2006 by Hallman Link to comment Share on other sites More sharing options...
spyrorocks Posted April 25, 2006 Share Posted April 25, 2006 ooooooooooo, you beat me to this idea! I was going to do the same thing, just with a gui window with a piano so you can click the little keys on the piano to record/play a song..... [center] My Projects: Online AutoIt Compiler - AutoForum - AutoGuestbook - AutoIt Web-based Auto Installer - Pure AutoIt Zipping Functions - ConfuseGen - MindReader - P2PChat[/center] Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted April 25, 2006 Share Posted April 25, 2006 (edited) u were both beat to it http://www.autoitscript.com/forum/index.ph...7&hljeesh hall u just spittin out files, ur like coding 25/7 if thats even possible Edited April 25, 2006 by thatsgreat2345 Link to comment Share on other sites More sharing options...
ConsultingJoe Posted April 25, 2006 Share Posted April 25, 2006 Wow, this is kick ass, it would be cool if there was a way to covert mp3s to this. Check out ConsultingJoe.com Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted April 25, 2006 Share Posted April 25, 2006 well u can. instead of mp3 id say a midi so you can convert it into sheet music Link to comment Share on other sites More sharing options...
Busti Posted April 25, 2006 Share Posted April 25, 2006 why beep is not working on my computer? My UDF's : Startet on : 06.06.2006_CaseSearchOrReplaceStr();~> Searches OR Replaces a String,;~> With or Without Casesensivity Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted April 25, 2006 Share Posted April 25, 2006 (edited) its probaly disabled in the reg go to run and type regedit, then go here [HKEY_CURRENT_USER\Control Panel\Sound] and then ull see beep change it to yes Edited April 25, 2006 by thatsgreat2345 Link to comment Share on other sites More sharing options...
Busti Posted April 25, 2006 Share Posted April 25, 2006 ok i'll test My UDF's : Startet on : 06.06.2006_CaseSearchOrReplaceStr();~> Searches OR Replaces a String,;~> With or Without Casesensivity Link to comment Share on other sites More sharing options...
CoderDunn Posted April 25, 2006 Author Share Posted April 25, 2006 Thx guys really wasn't that hard. And I do find that makin scripts is more fun that playing games most of the time. Link to comment Share on other sites More sharing options...
ConsultingJoe Posted April 25, 2006 Share Posted April 25, 2006 well u can. instead of mp3 id say a midi so you can convert it into sheet musichow do you do that, you probly just download one right? would it be this format? Check out ConsultingJoe.com Link to comment Share on other sites More sharing options...
slightly_abnormal Posted April 25, 2006 Share Posted April 25, 2006 yeahh cool Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted April 25, 2006 Share Posted April 25, 2006 yeah to tell the truth this summer im actualy making a sheet music writing program so should be a fun lil project Link to comment Share on other sites More sharing options...
jvanegmond Posted April 26, 2006 Share Posted April 26, 2006 (edited) It would be ever cooler if you could make a scanner play a song like Fur EliseKinda like this: http://video.google.com/videoplay?docid=-6...scanner&pl=true Edited April 26, 2006 by Manadar github.com/jvanegmond Link to comment Share on other sites More sharing options...
b1t5tR3@m Posted April 26, 2006 Share Posted April 26, 2006 For you 80's buffs... GN1 0.5|GN1 0.5|GN2 0.5|GN2 0.5|GN1 0.5|Rest 0.5|GN2 0.5|Rest 0.5|GN1 0.5|Rest 0.5|GN2 0.5|Rest 0.5|GN1 0.5|GN1 0.5|GN2 0.5|GN2 0.5|GN1 0.5|GN1 0.5|GN2 0.5|GN2 0.5|GN1 0.5|Rest 0.5|GN2 0.5|Rest 0.5|CN1 2|BB0 0.5|CN1 0.5|BB0 1 150 BPM Link to comment Share on other sites More sharing options...
Busti Posted April 26, 2006 Share Posted April 26, 2006 doesnt work 4 me ;( My UDF's : Startet on : 06.06.2006_CaseSearchOrReplaceStr();~> Searches OR Replaces a String,;~> With or Without Casesensivity Link to comment Share on other sites More sharing options...
b1t5tR3@m Posted April 26, 2006 Share Posted April 26, 2006 You need to save this with an .AutSong extension.... (first post), to play with Autoit Music Link to comment Share on other sites More sharing options...
Busti Posted April 26, 2006 Share Posted April 26, 2006 You need to save this with an .AutSong extension.... (first post), to play with Autoit Musicthats not the problem, i cant hear the beep command My UDF's : Startet on : 06.06.2006_CaseSearchOrReplaceStr();~> Searches OR Replaces a String,;~> With or Without Casesensivity Link to comment Share on other sites More sharing options...
ConsultingJoe Posted April 26, 2006 Share Posted April 26, 2006 thats not the problem, i cant hear the beep command you may not have an internal speaker, check it Check out ConsultingJoe.com Link to comment Share on other sites More sharing options...
RazerM Posted April 26, 2006 Share Posted April 26, 2006 i like this. very good My Programs:AInstall - Create a standalone installer for your programUnit Converter - Converts Length, Area, Volume, Weight, Temperature and Pressure to different unitsBinary Clock - Hours, minutes and seconds have 10 columns each to display timeAutoIt Editor - Code Editor with Syntax Highlighting.Laserix Editor & Player - Create, Edit and Play Laserix LevelsLyric Syncer - Create and use Synchronised Lyrics.Connect 4 - 2 Player Connect 4 Game (Local or Online!, Formatted Chat!!)MD5, SHA-1, SHA-256, Tiger and Whirlpool Hash Finder - Dictionary and Brute Force FindCool Text Client - Create Rendered ImageMy UDF's:GUI Enhance - Enhance your GUIs visually.IDEA File Encryption - Encrypt and decrypt files easily! File Rename - Rename files easilyRC4 Text Encryption - Encrypt text using the RC4 AlgorithmPrime Number - Check if a number is primeString Remove - remove lots of strings at onceProgress Bar - made easySound UDF - Play, Pause, Resume, Seek and Stop. Link to comment Share on other sites More sharing options...
CoderDunn Posted April 26, 2006 Author Share Posted April 26, 2006 i like this. very goodThanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now