Re: [LAU] New browser chiptune live-coding environment

From: Louigi Verona <louigi.verona@email-addr-hidden>
Date: Thu Aug 02 2018 - 16:23:10 EEST

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@email-addr-hidden> 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 "1111128F2i1nMgXwxZ1HMniZX45ZzoZaM9WBtcQMiZDBbD7rvq6mBCATySS
> mW7xJabfyy9xfh2aeeB1JPr4b7vKfXcZDbWJ7aMPbg45gBKUxMijaTNnvb2pw"
> {: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 "7BMHBGCKUHWi1mbucW62sVAYvTeotkd4qSZKy91kof8rASWsAx1ioV4EjrX
> b9AHhuKEprWr2D4u4YHJpYEzWrJd8iitvr23br2DCGu7zMqFmPyoSFtUEqiM64"
> {:note 36
> :vol #(at % 16
> {4 0.5
> 12 0.5})})
>
> Enjoy!
>
> Chris.
>
> -------------------
> http://mccormick.cx
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user@email-addr-hidden
> https://lists.linuxaudio.org/listinfo/linux-audio-user
>

-- 
Louigi Verona
https://www.patreon.com/droning
https://louigiverona.com/

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Sat Aug 4 00:15:02 2018

This archive was generated by hypermail 2.1.8 : Sat Aug 04 2018 - 00:15:02 EEST