This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-10-17 23:08:56

ohaiderstudios
Scratcher
Registered: 2010-10-31
Posts: 100+

AudioJS - MIDI sounds for JavaScript!

http://rookwood101.tk/topicrate.php?id=78110&ret=image

KEEP IN MIND THIS IS A WORK IN PROGRESS!

So my friend and I were discussing the possibility of a way to play musical notes in JavaScript...and it turned into this project. Feel free to adapt and use this in any way you want!

Link to demo: http://www.mediafire.com/?df3b4f93jhu3g55
Remember to extract the contents of the ZIP file before running test.html

This is just a demo, so there are no notes to play yet, just an annoying horse whinny  tongue

CREDITS
Programming: Me
Sound: My Friend

This is licensed under the MIT License, feel free to expand on our work.

CHECK BACK LATER FOR UPDATES!

Last edited by ohaiderstudios (2011-10-17 23:47:29)


Fork Clamor on GitHub!

Offline

 

#2 2011-10-18 10:39:08

rookwood101
Scratcher
Registered: 2011-07-29
Posts: 500+

Re: AudioJS - MIDI sounds for JavaScript!

I fail to see how this is midi.
Although, I can see what you're trying to do, and it may work. Good luck!
also, mp3 sounds do not work in all browsers, I suggest wav.


http://i.imgur.com/zeIZW.png

Offline

 

#3 2011-10-18 11:23:23

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: AudioJS - MIDI sounds for JavaScript!

I check it later.  smile
Have you seen this before: speak.js {demo}

Offline

 

#4 2011-10-18 18:50:37

ohaiderstudios
Scratcher
Registered: 2010-10-31
Posts: 100+

Re: AudioJS - MIDI sounds for JavaScript!

rookwood101 wrote:

I fail to see how this is midi.
Although, I can see what you're trying to do, and it may work. Good luck!
also, mp3 sounds do not work in all browsers, I suggest wav.

1. It's not MIDI yet...just wait.
2. Yes, if the HTML5 audio tag supports it, the final version will be in WAV.


Fork Clamor on GitHub!

Offline

 

#5 2011-10-18 18:55:52

ohaiderstudios
Scratcher
Registered: 2010-10-31
Posts: 100+

Re: AudioJS - MIDI sounds for JavaScript!

ProgrammingFreak wrote:

I check it later.  smile
Have you seen this before: speak.js {demo}

Pretty cool!  big_smile


Fork Clamor on GitHub!

Offline

 

#6 2011-10-19 11:20:35

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: AudioJS - MIDI sounds for JavaScript!

ohaiderstudios wrote:

ProgrammingFreak wrote:

I check it later.  smile
Have you seen this before: speak.js {demo}

Pretty cool!  big_smile

Yeah, I going to make a funny troll/rage/meme website for it.  big_smile

Offline

 

#7 2011-10-19 22:46:29

ohaiderstudios
Scratcher
Registered: 2010-10-31
Posts: 100+

Re: AudioJS - MIDI sounds for JavaScript!

ProgrammingFreak wrote:

ohaiderstudios wrote:

ProgrammingFreak wrote:

I check it later.  smile
Have you seen this before: speak.js {demo}

Pretty cool!  big_smile

Yeah, I going to make a funny troll/rage/meme website for it.  big_smile

Unfortunately, it messes stuff up some times, but it's still pretty epic.


Fork Clamor on GitHub!

Offline

 

#8 2011-10-22 00:52:38

ohaiderstudios
Scratcher
Registered: 2010-10-31
Posts: 100+

Re: AudioJS - MIDI sounds for JavaScript!

right now I'm waiting for my friend to send me all the piano notes as WAV files...


Fork Clamor on GitHub!

Offline

 

#9 2011-10-22 16:04:37

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: AudioJS - MIDI sounds for JavaScript!

ohaiderstudios wrote:

right now I'm waiting for my friend to send me all the piano notes as WAV files...

Couldn't you just google them? I'm sure they have a database of piano notes somewhere...

Offline

 

#10 2011-10-22 16:30:10

ohaiderstudios
Scratcher
Registered: 2010-10-31
Posts: 100+

Re: AudioJS - MIDI sounds for JavaScript!

this is going to be completely homemade...I think it's a pride issue with me... tongue


Fork Clamor on GitHub!

Offline

 

#11 2011-10-22 17:57:17

Pecola1
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: AudioJS - MIDI sounds for JavaScript!

ProgrammingFreak wrote:

I check it later.  smile
Have you seen this before: speak.js {demo}

Cool! I wonder..... I'm going to try something...


If you are reading this, please read to the end, because if you don't you won't know what's at the end. Don't just skip to the end though otherwise you won't be able to read the middle, which is most important. Now you must be wondering why you just read all that, the reason is you may have not noticed something, read it again and see if you notice it this time  smile

Offline

 

Board footer