<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Sample-precise audio control</title>
		<link>http://www.allegro.cc/forums/view/616816</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Sat, 25 Mar 2017 23:21:51 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hi everyone,<br />My goal is to take a TV-turning-on sound I found, which includes a pulsing &quot;hum&quot; section that I&#39;ve seemlessly looped in Audacity, and in my game play the &quot;turn on&quot; sound and then immediately start playing the &quot;hum&quot; sound with looping the moment the turn-on sound ends, for a seamless transition.<br />Is there any provision in Allegro to do this, besides having to write my own sound mixing code?<br />I know of the concept of loop points - don&#39;t know how to set them in Audacity yet (if possible) or if Allegro even supports them, but I would still like to know how to go about timing sounds (or doing anything) at the sample level of time resolution.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (roger levy)</author>
		<pubDate>Sat, 25 Mar 2017 15:12:20 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>So you basically just want to loop the an audio sample, or am I misunderstanding you?</p><p>You can loop audio using <span class="source-code"><a href="http://www.allegro.cc/manual/ALLEGRO_SAMPLE_INSTANCE"><span class="a">ALLEGRO_SAMPLE_INSTANCE</span></a></span> and <span class="source-code">ALLEGRO_PLAYMODE_LOOP</span>. But as for &quot;loop points&quot;, I don&#39;t think Allegro has any built-in functionality for that.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Eric Johnson)</author>
		<pubDate>Sat, 25 Mar 2017 23:13:16 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You can set <a href="http://liballeg.org/a5docs/trunk/audio.html#al_set_audio_stream_loop_secs">loop points</a>, but only on audio streams currently. They are passed as seconds with double precision.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Polybios)</author>
		<pubDate>Sat, 25 Mar 2017 23:21:51 +0000</pubDate>
	</item>
</rss>
