<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Adding sounds together</title>
		<link>http://www.allegro.cc/forums/view/586937</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Thu, 10 Aug 2006 01:28:45 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hello. I am writing a game creation utility that supports custom sound. I&#39;m trying to put all the samples into one file, when loading them from different files. Is there a function for adding a sound to the end of another one?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kikaru)</author>
		<pubDate>Wed, 09 Aug 2006 04:53:36 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I recommend you use datafiles for this. But if you don&#39;t want to do that, you can just use packfiles. You will have separate sound files, but they will be in one physical file, divided up virtually. Check out:
</p><div class="source-code snippet"><div class="inner"><pre><a href="http://www.allegro.cc/manual/pack_fopen_chunk" target="_blank"><span class="a">pack_fopen_chunk</span></a>
<a href="http://www.allegro.cc/manual/load_wav_pf" target="_blank"><span class="a">load_wav_pf</span></a>
</pre></div></div><p>There is no way to save the WAV to the packfile, you will have to open up the wav file and copy every byte into the packfile yourself. Easy to do, just ask.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Wed, 09 Aug 2006 17:22:55 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I found functions for starting and stopping sounds at certain times, and I think I know how save samples, but what about adding the sounds together WITHIN the program?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kikaru)</author>
		<pubDate>Wed, 09 Aug 2006 21:40:07 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>So you mean playing two sounds at the same time?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Wed, 09 Aug 2006 21:43:41 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>No, I mean playing sounds one after another and having them in a single *SAMPLE object.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kikaru)</author>
		<pubDate>Wed, 09 Aug 2006 21:47:21 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Open up sound recorder and paste the sounds one after the other <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" /> If this is all you want to do, use any audio creator to make the sounds catenated.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Wed, 09 Aug 2006 22:01:29 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>OK. Well, thank you for your help! <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kikaru)</author>
		<pubDate>Thu, 10 Aug 2006 01:28:45 +0000</pubDate>
	</item>
</rss>
