pouët.net

Javascript YM and MOD replay routine (webkit / chrome only for now)

category: code [glöplog]
 
the YM player : http://codef.santo.fr/jsYMplayer-EarlyAlpha/
and
the MOD player : http://codef.santo.fr/jsMODplayer-EarlyAlpha/

there is also some nice javascript demo shit at http://www.wab.com (please use chrome !! )
added on the 2011-11-18 09:58:27 by alonetrio alonetrio
FUCK YEAH \o/
added on the 2011-11-18 10:08:26 by rez rez
Rocking! :D
added on the 2011-11-18 10:19:31 by indigo indigo
p01 : The one you talk about one is #old #slow #bad_coded AND flashbased....etc.. ;)
added on the 2011-11-18 10:28:52 by alonetrio alonetrio
this is awesome :D
added on the 2011-11-18 10:35:14 by bill bill
Awesome stuff! :)
We need a SID player too.
added on the 2011-11-18 10:49:13 by rrrola rrrola
The tunes on wab.com sound pretty good!

#bad_coded you say ?
http://code.google.com/p/codef/source/browse/trunk/extras/_base64.js
http://code.google.com/p/codef/source/browse/trunk/extras/_dataType.js

Why don't you use btoa(), atob() and TypeArrays ? That will give you #good_coded and #fast

IINM Gasman's one was using Firefox' Audio API wit fall back in Flash.
added on the 2011-11-18 10:51:35 by p01 p01
WebSID quick (and dirty) port of JSidplay from the Jac64 distribution from circa September 2009.
added on the 2011-11-18 10:54:47 by p01 p01
p01: I'm a big fan of gasman work, but as he said himself, his modplayer is a little bit old and doesn't work very well, especially compared to this new one :)

thank for the link to WebSID, in a near future I will be able to play all chiptune.com content directly from the website :D
added on the 2011-11-18 11:29:44 by rez rez
p01 : thx for your btoa() and atob() advices, i was not aware of these functions. I will fix my ugly code...
added on the 2011-11-18 11:46:57 by alonetrio alonetrio
s/TypeArrays/TypedArrays
added on the 2011-11-18 11:55:48 by p01 p01
this stutters and screws up on 1.6 gigahertz, which i admit is slow but should be capable of doing what a stock model amiga had no problems doing

nice effort i guess, but so far for part zillion in the "hey it runs in a browser" jackass festival.
added on the 2011-11-18 13:32:47 by superplek superplek
No dynamic audio on Opera
No dynamic audio on Safari
No dynamic audio on IE
Dynamic Audio on Chrome with API A
Dynamic Audio on Firefox with API B

Can we say that dynamic audio is possible on the web with no plugins?

IMHO No.
Rez:
Quote:
in a near future I will be able to play all chiptune.com content directly from the website :D

Looking forward to that!
added on the 2011-11-18 15:57:49 by ara ara
@the situation: it's le very strange since the ym and mod replay works very fine and do not consume much CPU (less than 5%) on my 2.13GHz MacBook Air...
added on the 2011-11-18 16:28:13 by rez rez

login