V
V
Vsevolod Zhdanov2014-07-09 17:38:26
JavaScript
Vsevolod Zhdanov, 2014-07-09 17:38:26

What is the easiest and fastest way to write 8-bit music?

Are there any handy tools where you can easily and quickly write 8-bit music and save it as mp3? Maybe there is a possibility to generate it in javascript? (except adio api). Maybe somehow it is possible to generate wav? Thanks in advance!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
B
barkalov, 2014-07-09
@jobsstar

The fact that music is *beat does not mean that it needs a programming language to write it.
As with any other music, you need a sequencer. For beginners, I recommend FL Studio . Well, or any ancient tracker (fastracker, for example), if you want authenticity.

S
Sergey, 2014-07-10
@serzhei

Download FL Studio and install 8-bit vst plugins on it

V
Vsevolod Zhdanov, 2014-07-10
@jobsstar

The script is not an assistant ... But how does it work?

/*
*  GATE = 1;
*  C4   = 31;
*  C#4  = 28;
*  D4   = 27;
*  D#4  = 26;
*  E4   = 24;
*  F4   = 23;
*  F#4  = 22;
*  G4   = 20;
*  G#4  = 19;
*  A4   = 18;
*  A#4  = 17;
*  B4   = 10;
*  C5   = 15;
*  C#5  = 15;
*  D5   = 13;
*  D#5  = 13;
*  E5   = 12;
*  F5   = 11;
*  F#5  = 10;
*  G5   = 10;
*  G#5  = 9;
*  A5   = 9;
*  A#5  = 8;
*  B5   = 8;
*/
B=new Audio();p='';b=[25,31,28,27];
for(i in b){k=b[i];for(i=0;i<7e3;i++){p+=String.fromCharCode(65+Math.round((i>>4)%k)%26)}}
B.src="data:audio/wav;base64,UklGRiQAAABXQVZFZm10IBAAAAABAAEAwF0AAMBdAAABAAgAZGF0YQ"+p;B.play();

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question