<div dir="ltr"><div>I think Dave is right,<br><br></div>I guess they are going to be doing frequency-amplitude analysis, which is commonly done by Fast Furiour Transforming samples into groups of frequency-amplitude (think graphic equaliser). FFT is much easier to program with floating point samples. <br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 20 March 2014 20:49, John R. Hudson <span dir="ltr"><<a href="mailto:j.r.hudson@virginmedia.com" target="_blank">j.r.hudson@virginmedia.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks for all the suggestions which I will pass on if they haven't<br>
joined the mailing list yet. Because they want to do it continuously,<br>
reading the Alsa PCM device seems the most likely route. But maybe one<br>
of the other options will be more useful for them once they investigate<br>
them.<br>
<br>
However, thanks for the suggestion about how to export from Audacity as<br>
that will enable them to use the data they have already collected to<br>
develop the software before they need to apply to an actual stream.<br>
<br>
John<br>
--<br>
<div class="HOEnZb"><div class="h5">On Thu, 2014-03-20 at 20:25 +0000, David Spencer wrote:<br>
> What they *really* want to do is probably some kind of realtime signal<br>
> processing... which is not what Audacity is for (it's an editor).<br>
> They should probably be looking at reading the Alsa pcm device<br>
> directly (e.g. from Python); I bet that's what is pencilled in to<br>
> consume these hypothetical floats... either that, or the hypothetical<br>
> float-consumer needs to read an arbitrary well-understood audio file<br>
> container (e.g. WAV) using a library routine. Once the ints are in a<br>
> program, It's not rocket science to convert ints to floats prior to<br>
> feeding them to whatever other library routines are processing the<br>
> data (fft or whatever).<br>
><br>
> The audacity question as posed just sounds like they caught the first<br>
> bus that came along :-)<br>
><br>
> -D.<br>
><br>
><br>
> On 20 March 2014 17:46, John R. Hudson <<a href="mailto:j.r.hudson@virginmedia.com">j.r.hudson@virginmedia.com</a>> wrote:<br>
> > Hi<br>
> ><br>
> > I popped in to see Paul Cannon this afternoon and they had just hit a<br>
> > problem - how to convert a wave amplitude as displayed in Audacity into<br>
> > a float which can be fed into another program.<br>
> ><br>
> > There is no obvious way in which to do this from Audacity. So it may<br>
> > involve using different software.<br>
> ><br>
> > Any thoughts very welcome.<br>
> ><br>
> > John<br>
> > --<br>
> ><br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > Bradford mailing list<br>
> > <a href="mailto:Bradford@mailman.lug.org.uk">Bradford@mailman.lug.org.uk</a><br>
> > <a href="https://mailman.lug.org.uk/mailman/listinfo/bradford" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/bradford</a><br>
><br>
> _______________________________________________<br>
> Bradford mailing list<br>
> <a href="mailto:Bradford@mailman.lug.org.uk">Bradford@mailman.lug.org.uk</a><br>
> <a href="https://mailman.lug.org.uk/mailman/listinfo/bradford" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/bradford</a><br>
<br>
<br>
<br>
_______________________________________________<br>
Bradford mailing list<br>
<a href="mailto:Bradford@mailman.lug.org.uk">Bradford@mailman.lug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/bradford" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/bradford</a><br>
</div></div></blockquote></div><br></div>