Re: New browser chiptune live-coding environment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Chris, this is ultra cool. Loving it. The integration with sfxr is such a great touch.

One request as I am studying this. Is it possible to have a button to play the code or at least a less used shortcut? Ctrl-S would try to save the html if I click somewhere else first and I wish playing code would've been simpler.

And then a question - is it possible to save the tune? So that it can be used, say, in a game?



Louigi.





On Thu, Aug 2, 2018 at 7:04 AM, Chris McCormick <chris@xxxxxxxxxxxx> wrote:
Hi all! (sorry for x-post)

Speccy is a browser-based livecoding environment for making procedural
chip tunes in ClojureScript.

https://chr15m.github.io/speccy/

Video:
https://youtu.be/IZtCSfd9G_A

Source & doc:
https://github.com/chr15m/speccy

Here are some synths to paste into the editor to get started:

; blippy synth
(sfxr {:wave :square :env/decay 0.1 :note #(at % 32 {0 24 3 29 7 60 12 52 19 29 28 52})})

; donk bass
(sfxr "1111128F2i1nMgXwxZ1HMniZX45ZzoZaM9WBtcQMiZDBbD7rvq6mBCATySSmW7xJabfyy9xfh2aeeB1JPr4b7vKfXcZDbWJ7aMPbg45gBKUxMijaTNnvb2pw"
      {:note #(or
                (at % 57
                  {5 35
                   27 34})
                (at % 32
                   {0 24
                    6 29
                    18 21
                    26 12}))})

; hi hat
(sfxr {:wave :noise
       :env/sustain 0.05
       :env/decay 0.05
       :vol #(sq % [0.3 0.1 0.2 0.1])})

; snare
(sfxr "7BMHBGCKUHWi1mbucW62sVAYvTeotkd4qSZKy91kof8rASWsAx1ioV4EjrXb9AHhuKEprWr2D4u4YHJpYEzWrJd8iitvr23br2DCGu7zMqFmPyoSFtUEqiM64"
      {:note 36
       :vol #(at % 16
                 {4 0.5
                  12 0.5})})

Enjoy!

Chris.

-------------------
http://mccormick.cx
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-user



--
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
https://lists.linuxaudio.org/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux