[Bradford] Convert wave amplitude into a float
David Spencer
baildon.research at googlemail.com
Thu Mar 20 20:40:45 UTC 2014
Anyway, having taken two mins to have a butchers, Audacity can
directly do exactly what they asked.
File -> Export...
Click on drop-down buttony thing at bottom right immediately above the
long 'Options' button thing
Select 'Other uncompressed files'
Click on the long 'Options' button thing
You'll get a dialogue box entitled 'Uncompressed Export Setup'
On 'Header' select 'RAW (header-less)'
On 'Encoding' select either '32 bit float' or '64 bit float'
Hit OK, put the file name in, and save.
;-)
-D.
On 20 March 2014 20:25, David Spencer <baildon.research at googlemail.com> wrote:
> 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