update index.html and .winner.json per recent manifest changes
This commit is contained in:
1 parent
49a22d1196
commit
e10621d60a
16 files changed
+363
-229
No files matched your search
+23
-9
@@ -125,16 +125,27 @@ Location: <a href="/temp-test-ioccc/location.html#JP">JP</a></p>
|
||||
endoh3 in bugs.md</a>.</p>
|
||||
<h2 id="to-use">To use:</h2>
|
||||
<div class="sourceCode" id="cb3"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./endoh3</span></span></code></pre></div>
|
||||
<p>This program plays sound. See <a href="/faq.md#faq3_10">FAQ 3.10 -
|
||||
How do I compile and use an IOCCC winner that requires sound?</a> if you
|
||||
do not know how to set your system up for this or if you want to verify
|
||||
that everything is oky.</p>
|
||||
<h2 id="try">Try:</h2>
|
||||
<p>Trying this out will depend on how your system can play sounds. The
|
||||
author’s remarks include some options for different operating
|
||||
systems.</p>
|
||||
<p>The simplest way is to create a .wav file and have your system play
|
||||
that.</p>
|
||||
<div class="sourceCode" id="cb4"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="bu">echo</span> <span class="st">'CDEFGABc'</span> <span class="kw">|</span> <span class="ex">./endoh3</span> <span class="kw">|</span> <span class="ex">ruby</span> wavify.rb <span class="op">></span> cde.wav</span></code></pre></div>
|
||||
<p>Observe how you will need ruby installed.</p>
|
||||
<p>There are also some other musical samples, twinkle.abc and
|
||||
menuet.abc.</p>
|
||||
<div class="sourceCode" id="cb4"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./try.sh</span></span>
|
||||
<span id="cb4-2"><a href="#cb4-2" aria-hidden="true" tabindex="-1"></a></span>
|
||||
<span id="cb4-3"><a href="#cb4-3" aria-hidden="true" tabindex="-1"></a><span class="ex">./try.sh</span> ABC</span>
|
||||
<span id="cb4-4"><a href="#cb4-4" aria-hidden="true" tabindex="-1"></a></span>
|
||||
<span id="cb4-5"><a href="#cb4-5" aria-hidden="true" tabindex="-1"></a><span class="ex">./try.sh</span> test.abc yankee.abc</span>
|
||||
<span id="cb4-6"><a href="#cb4-6" aria-hidden="true" tabindex="-1"></a></span>
|
||||
<span id="cb4-7"><a href="#cb4-7" aria-hidden="true" tabindex="-1"></a><span class="ex">./try.sh</span> <span class="pp">*</span>.abc</span></code></pre></div>
|
||||
<p>The script will check for SoX first and next <code>padsp</code> from
|
||||
<code>PulseAudio</code> and finally if neither are found if you have
|
||||
<code>ruby(1)</code> installed it’ll use the included ruby script to
|
||||
convert it to a WAV file for you to play.</p>
|
||||
<p>If no args are passed to the script it will play <a
|
||||
href="twinkle.abc">twinkle.abc</a> and the string <code>ABC</code>.
|
||||
Otherwise while there’s a remaining arg if it’s a file it will run the
|
||||
program on the file. If it’s not a file it’ll run it as a string.</p>
|
||||
<p>The <code>*.abc</code> files are provided as music samples.</p>
|
||||
<h2 id="judges-remarks">Judges’ remarks:</h2>
|
||||
<p>This program can toot out a tune that is small enough to posted to
|
||||
most social media platforms that have small message length limits.</p>
|
||||
@@ -315,6 +326,9 @@ href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2013/endoh3/menue
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2013/endoh3/test.abc">test.abc</a>
|
||||
- sample input</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2013/endoh3/try.sh">try.sh</a>
|
||||
- how to run</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2013/endoh3/twinkle.abc">twinkle.abc</a>
|
||||
- sample input</li>
|
||||
<li><a
|
||||
|
||||
Reference in new issue
Block a user