[Bradford] Convert wave amplitude into a float

David Spencer baildon.research at googlemail.com
Thu Mar 20 20:26:16 UTC 2014


What they *really* want to do is probably some kind of realtime signal
processing... which is not what Audacity is for (it's an editor).
They should probably be looking at reading the Alsa pcm device
directly (e.g. from Python); I bet that's what is pencilled in to
consume these hypothetical floats... either that, or the hypothetical
float-consumer needs to read an arbitrary well-understood audio file
container (e.g. WAV) using a library routine. Once the ints are in a
program, It's not rocket science to convert ints to floats prior to
feeding them to whatever other library routines are processing the
data (fft or whatever).

The audacity question as posed just sounds like they caught the first
bus that came along :-)

-D.


On 20 March 2014 17:46, John R. Hudson <j.r.hudson at virginmedia.com> wrote:
> Hi
>
> I popped in to see Paul Cannon this afternoon and they had just hit a
> problem - how to convert a wave amplitude as displayed in Audacity into
> a float which can be fed into another program.
>
> There is no obvious way in which to do this from Audacity. So it may
> involve using different software.
>
> Any thoughts very welcome.
>
> John
> --
>
>
>
> _______________________________________________
> Bradford mailing list
> Bradford at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/bradford



More information about the Bradford mailing list