Re: [LAU] sndfile-waveform PNG generator ?

From: Joel Roth <joelz@email-addr-hidden>
Date: Wed Jan 11 2012 - 00:36:37 EET

On Tue, Jan 10, 2012 at 09:32:08PM +0100, Robin Gareus wrote:
> On 01/10/2012 08:42 PM, Tim Orford wrote:
> > On Tue, Jan 10, 2012 at 03:38:39PM +0100, Robin Gareus wrote:
> >> [...]
> >> It's also pretty straight-forward in C; but before whipping up
> >> `sndfile-waveform`, I'd thought I ask around.
> >
> > Hi Robin
> >
> > I'm trying to wrap up a first release of 'libwaveform'
> > which mostly outputs to opengl using textures or shader
> > programs, but I could add a PNG output tomorrow if you
> > are interested. What command line args do you need?
>
> Hi Tim,
> dreaming up --help:
>
> Usage: snd2png <audio-file-name>
> Options:
> -o <filename> write PNG to file instead of STDOUT
> -w width in pixels (default 800)
> -h height in pixels (default 192)
>
> maybe:
> -A annotate axes with sample-number (X), value (Y).
> add info-box: sample-rate, bit-format.
> -c foreground color (RGBA) 0x000000ff (black)
> -C background color (RGBA) 0xffffff80 (semi transp white)
>
> maybe later:
> -l log-scale
> -r rectified waveform shape
> -F <font> specify font for annotations
> -t <fps> use timecode instead of sample-numbers for x-axis
> -T timecode start-offset - override BWF header info
> -M add meta-data to annotations.
> -f FFT analyze, colour highlight peak freq.
>
> In general: keep it professional (scientific) and simple.
>
> I've been thinking of throwing some time at forking sndfile-spectrogram
> which already has all required infrastructure (and more). I don't think
> a dedicated libwaveform is needed. It's pretty straight forward, isn't
> it? I was actually surprised that there's actually no sndfile-waveform
> tool, yet! -- Yeah right. It's a gimmick :)

This will be awesome! IIUC, it sounds like just the sort of thing
I could glue into Nama for visualizing waveforms.
 
(snip)

> greetings,
> robin

-- 
Joel Roth
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Wed Jan 11 00:15:04 2012

This archive was generated by hypermail 2.1.8 : Wed Jan 11 2012 - 00:15:04 EET