• A Great friend to the HardForum with a great kid that he is trying to get a scholorship to continue his schooling. Please give hime a vote! Only 24 hours left! Thanks.
    If you have an VOTE FOR KEENAN!

Strudel.cc - Make music with Javascript

atarumoroboshi18

Limp Gawd
Joined
Nov 9, 2013
Messages
474
Strudel.cc

Not necessarily a game, but a very cool in-browser program called Strudel.cc which allows you to create instrumental music using Javascript. This took me off guard because people are making some pretty amazing music using just programming. It's insanely customizable and loaded with all sorts of beats and sounds and functions that you can make some basic or spectacular music right in your browser.
 
javascript and a rando .cc site, seems sus to me...
I mean it works though:

Code:
setcps(0.45)

stack(
  // Soft piano chords - the harmonic foundation
  note("<[c3 eb3 g3] [f3 ab3 c4] [bb2 d3 f3] [g2 bb2 d3]>/2")
    .sound("gm_piano")
    .gain(0.35)
    .room(0.5)
    .lpf(2000),

  // Gentle harp arpeggios dancing above
  note("<c4 eb4 g4 c5 eb5 g5 c6> [~ ~] [f4 ab4 c5 f5] [~]")
    .sound("harp")
    .gain(0.25)
    .delay(0.25, 0.2, 0.5)
    .room(0.6),

  // Warm bowed vibraphone - the singing melody
  note("<g3~ eb4~ c4~ bb3~>/2")
    .sound("vibraphone_bowed")
    .gain(0.3)
    .room(0.45)
    .lpf(1200),

  // Soft string ensemble - lush background pad
  note("<c2 g2 eb3 bb2>")
    .sound("gm_string_ensemble_1")
    .gain(0.2)
    .attack(0.3)
    .release(0.8)
    .room(0.7),

  // Gentle percussion - just texture, not driving beat
  s("[~ shaker_small] [~ ~] [~ shaker_small] [~ ~]")
    .gain(0.15)
    .room(0.5),

  // Occasional bell accent - like light through leaves
  s("[~ ~ ~ tubularbells]")
    .gain(0.2)
    .room(0.65)
    .delay(0.75, 0.1, 0.3)
)
.room(0.4)        // Overall ambience
.slow(4)          // Takes a full 4 cycles - meditative pace
.lpf(4000)        // Keep everything airy and open
 
Back
Top