summaryrefslogtreecommitdiff
path: root/manuals/chickadee/Audio.html
diff options
context:
space:
mode:
Diffstat (limited to 'manuals/chickadee/Audio.html')
-rw-r--r--manuals/chickadee/Audio.html44
1 files changed, 22 insertions, 22 deletions
diff --git a/manuals/chickadee/Audio.html b/manuals/chickadee/Audio.html
index 4a72f03..8f167d0 100644
--- a/manuals/chickadee/Audio.html
+++ b/manuals/chickadee/Audio.html
@@ -1,6 +1,6 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
-<!-- Copyright (C) 2017-2021 David Thompson davet@gnu.org
+<!-- Copyright (C) 2017-2023 David Thompson dthompson2@worcester.edu
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3
@@ -17,25 +17,25 @@ Foundation Web site at http://www.gnu.org/licenses/fdl.html.
The document was typeset with
http://www.texinfo.org/ (GNU Texinfo).
- -->
-<!-- Created by GNU Texinfo 6.7, http://www.gnu.org/software/texinfo/ -->
+ -->
+<!-- Created by GNU Texinfo 6.7, http://www.gnu.org/software/texinfo/ -->
<head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Audio (The Chickadee Game Toolkit)</title>
-<meta name="description" content="Audio (The Chickadee Game Toolkit)">
-<meta name="keywords" content="Audio (The Chickadee Game Toolkit)">
-<meta name="resource-type" content="document">
-<meta name="distribution" content="global">
-<meta name="Generator" content="makeinfo">
-<link href="index.html" rel="start" title="Top">
-<link href="Index.html" rel="index" title="Index">
-<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
-<link href="API-Reference.html" rel="up" title="API Reference">
-<link href="Audio-Files.html" rel="next" title="Audio Files">
-<link href="Rendering-Engine.html" rel="prev" title="Rendering Engine">
+<meta name="description" content="Audio (The Chickadee Game Toolkit)" />
+<meta name="keywords" content="Audio (The Chickadee Game Toolkit)" />
+<meta name="resource-type" content="document" />
+<meta name="distribution" content="global" />
+<meta name="Generator" content="makeinfo" />
+<link href="index.html" rel="start" title="Top" />
+<link href="Index.html" rel="index" title="Index" />
+<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents" />
+<link href="API-Reference.html" rel="up" title="API Reference" />
+<link href="Audio-Files.html" rel="next" title="Audio Files" />
+<link href="Rendering-Engine.html" rel="prev" title="Rendering Engine" />
<style type="text/css">
-<!--
+&lt;!--
a.summary-letter {text-decoration: none}
blockquote.indentedblock {margin-right: 0em}
div.display {margin-left: 3.2em}
@@ -72,9 +72,9 @@ ul.no-bullet {list-style: none}
}
}
--->
+--&gt;
</style>
-<link rel="stylesheet" type="text/css" href="https://dthompson.us/css/dthompson.css">
+<link rel="stylesheet" type="text/css" href="https://dthompson.us/css/dthompson.css" />
</head>
@@ -84,7 +84,7 @@ ul.no-bullet {list-style: none}
<p>
Next: <a href="Scripting.html" accesskey="n" rel="next">Scripting</a>, Previous: <a href="Graphics.html" accesskey="p" rel="prev">Graphics</a>, Up: <a href="API-Reference.html" accesskey="u" rel="up">API Reference</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
</div>
-<hr>
+<hr />
<span id="Audio-1"></span><h3 class="section">5.4 Audio</h3>
<p>A game isn&rsquo;t complete without sound. Most games play some cool
@@ -107,10 +107,10 @@ robust audio API backed by the OpenAL 3D audio system.
in the load hook (or anywhere else once the game loop is running) and
play it!
</p>
-<div class="example">
-<pre class="example">(define sample (load-audio &quot;neat-sound-effect.wav&quot;))
+<div class="lisp">
+<pre class="lisp"><span class="syntax-open">(</span><span class="syntax-special">define</span> <span class="syntax-symbol">sample</span> <span class="syntax-open">(</span><span class="syntax-symbol">load-audio</span> <span class="syntax-string">"neat-sound-effect.wav"</span><span class="syntax-close">)</span><span class="syntax-close">)</span>
-(audio-play sample)
+<span class="syntax-open">(</span><span class="syntax-symbol">audio-play</span> <span class="syntax-symbol">sample</span><span class="syntax-close">)</span>
</pre></div>
<p>For more advanced usage, check out the full API reference in the