<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Implementing an audio visualiser with A5</title>
		<link>http://www.allegro.cc/forums/view/617410</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Mon, 14 May 2018 17:51:10 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;ve often wondered whether this&#39;d be particularly suited to Allegro. Has anybody written anything that displays output corresponding to audio input events?</p><p>The first thing that came to mind was the usage of <span class="source-code"><a href="http://www.allegro.cc/manual/ALLEGRO_AUDIO_STREAM"><span class="a">ALLEGRO_AUDIO_STREAM</span></a></span>, but after looking at the manual, I can&#39;t see that it (or anything else within the audio addon) concerns the buffering of audio from a stream external to the program, or any kind of complex DSP for that matter.</p><p>So, could anyone recommend a C library for reading and processing audio input streams? Or is there a way to do this with the Allegro audio addon that I&#39;m missing?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (dthompson)</author>
		<pubDate>Wed, 09 May 2018 18:24:16 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You probably have to use an allegro mixer and a third party fast Fourier transform library like <a href="http://fftw.org/">http://fftw.org/</a>. But I definitely think it is possible with the audio add-on.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (beoran)</author>
		<pubDate>Wed, 09 May 2018 21:08:55 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I don&#39;t think that Allegro is what you&#39;re looking for.</p><p>What you need is to be able to read the sound hardware buffer as it streams real time, or shortly behind. This means OS specific code. A library like FMOD probably already does what you need sans the visualization code.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Wed, 09 May 2018 21:43:05 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Look at the ex_mixer_pp example.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Thu, 10 May 2018 02:47:32 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;ve also found the Juce library, which has <a href="https://docs.juce.com/master/tutorial_simple_fft.html">this example</a>, which appears to demonstrate the handling of input streams (even via ASIO) and built-in FFT.</p><p>(it seems to provide its own graphics library too, though I&#39;d obviously prefer Allegro)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (dthompson)</author>
		<pubDate>Mon, 14 May 2018 17:51:10 +0000</pubDate>
	</item>
</rss>
