<div dir="ltr"><div>Chris, this is ultra cool. Loving it. The integration with sfxr is such a great touch.<br></div><div><br></div><div>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.</div><div><br></div><div>And then a question - is it possible to save the tune? So that it can be used, say, in a game?</div><div><br></div><div><br></div><div><br></div><div>Louigi.<br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 2, 2018 at 7:04 AM, Chris McCormick <span dir="ltr"><<a href="mailto:chris@mccormick.cx" target="_blank">chris@mccormick.cx</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all! (sorry for x-post)<br>
<br>
Speccy is a browser-based livecoding environment for making procedural<br>
chip tunes in ClojureScript.<br>
<br>
<a href="https://chr15m.github.io/speccy/" rel="noreferrer" target="_blank">https://chr15m.github.io/specc<wbr>y/</a><br>
<br>
Video:<br>
<a href="https://youtu.be/IZtCSfd9G_A" rel="noreferrer" target="_blank">https://youtu.be/IZtCSfd9G_A</a><br>
<br>
Source & doc:<br>
<a href="https://github.com/chr15m/speccy" rel="noreferrer" target="_blank">https://github.com/chr15m/spec<wbr>cy</a><br>
<br>
Here are some synths to paste into the editor to get started:<br>
<br>
; blippy synth<br>
(sfxr {:wave :square :env/decay 0.1 :note #(at % 32 {0 24 3 29 7 60 12 52 19 29 28 52})})<br>
<br>
; donk bass<br>
(sfxr "1111128F2i1nMgXwxZ1HMniZX45Zz<wbr>oZaM9WBtcQMiZDBbD7rvq6mBCATySS<wbr>mW7xJabfyy9xfh2aeeB1JPr4b7vKfX<wbr>cZDbWJ7aMPbg45gBKUxMijaTNnvb2p<wbr>w"<br>
      {:note #(or<br>
                (at % 57<br>
                  {5 35<br>
                   27 34})<br>
                (at % 32<br>
                   {0 24<br>
                    6 29<br>
                    18 21<br>
                    26 12}))})<br>
<br>
; hi hat<br>
(sfxr {:wave :noise<br>
       :env/sustain 0.05<br>
       :env/decay 0.05<br>
       :vol #(sq % [0.3 0.1 0.2 0.1])})<br>
<br>
; snare<br>
(sfxr "7BMHBGCKUHWi1mbucW62sVAYvTeot<wbr>kd4qSZKy91kof8rASWsAx1ioV4EjrX<wbr>b9AHhuKEprWr2D4u4YHJpYEzWrJd8i<wbr>itvr23br2DCGu7zMqFmPyoSFtUEqiM<wbr>64"<br>
      {:note 36<br>
       :vol #(at % 16<br>
                 {4 0.5<br>
                  12 0.5})})<br>
<br>
Enjoy!<br>
<br>
Chris.<br>
<br>
-------------------<br>
<a href="http://mccormick.cx" rel="noreferrer" target="_blank">http://mccormick.cx</a><br>
______________________________<wbr>_________________<br>
Linux-audio-user mailing list<br>
<a href="mailto:Linux-audio-user@lists.linuxaudio.org" target="_blank">Linux-audio-user@lists.linuxau<wbr>dio.org</a><br>
<a href="https://lists.linuxaudio.org/listinfo/linux-audio-user" rel="noreferrer" target="_blank">https://lists.linuxaudio.org/l<wbr>istinfo/linux-audio-user</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Louigi Verona<br><a href="https://www.patreon.com/droning" target="_blank">https://www.patreon.com/droning</a><br><a href="https://louigiverona.com/" target="_blank">https://louigiverona.com/</a></div></div></div></div></div></div></div></div></div>
</div>