Re: [linux-audio-dev] Waveform

2005-05-09 Thread Fred Gleason
On Monday 09 May 2005 19:02, Paul Davis wrote: > if you allow arbitrary zoom scales, then the mapping between pixel > position on screen (or some notional "unit" position as offered by > canvas widgets) and a sample is non-integral, which implies > rounding. that in turn implies errors of several

Re: [linux-audio-dev] Waveform

2005-05-09 Thread Fons Adriaensen
On Tue, May 10, 2005 at 12:23:50AM +0200, Albert Graef wrote: > Well, I guess the way it's done in most audio editors is that you draw a > vertical line between the min and max (and maybe also the rms on top of > that), if a single pixel has to represent multiple samples, and the > usual connec

Re: [linux-audio-dev] Waveform

2005-05-09 Thread Paul Davis
>Well, I guess the way it's done in most audio editors is that you draw a >vertical line between the min and max (and maybe also the rms on top of >that), if a single pixel has to represent multiple samples, and the >usual connect-the-points-with-lines thingy (or splines, if you prefer >smooth

Re: [linux-audio-dev] Waveform

2005-05-09 Thread Albert Graef
Chris Cannam wrote: On Monday 09 May 2005 22:22, Paul Davis wrote: this is massively harder than you think, assuming you want to (a) do it correctly and (b) offer zooming. Fortunately, if you don't care about doing it correctly or offering zooming, it's quite simple. ROFL. :) Well, I guess the way

Re: [linux-audio-dev] Waveform

2005-05-09 Thread Chris Cannam
On Monday 09 May 2005 22:22, Paul Davis wrote: > >Hi, I'm extremely new to audio programming. I have a million > > questions, but the one burning my brain now is how do I > >get a program written with the qt widget library to display an audio > > waveform. > > this is massively harder than you thi

Re: [linux-audio-dev] Waveform

2005-05-09 Thread Paul Davis
>Hi, I'm extremely new to audio programming. I have a million questions, but >the > one burning my brain now is how do I >get a program written with the qt widget library to display an audio waveform. > this is massively harder than you think, assuming you want to (a) do it correctly and (b)

Re: [linux-audio-dev] Waveform

2005-05-09 Thread Chris Cannam
On Monday 09 May 2005 21:19, Fisher, Michael R wrote: > Hi, I'm extremely new to audio programming. I have a million > questions, but the one burning my brain now is how do I get a program > written with the qt widget library to display an audio waveform. You could look at the trivial_sampler ex

[linux-audio-dev] Waveform

2005-05-09 Thread Fisher, Michael R
Hi, I'm extremely new to audio programming. I have a million questions, but the one burning my brain now is how do I get a program written with the qt widget library to display an audio waveform. Also, any links to good documentation for audio programming would be good. Thanks Mike Fisher

Re: [linux-audio-dev] Waveform audio API

2003-10-12 Thread Erik de Castro Lopo
On Sun, 12 Oct 2003 15:22:07 +0200 J_Zar <[EMAIL PROTECTED]>(by way of J_Zar <[EMAIL PROTECTED]>) wrote: > I'm searching for an audio API to parse a .wav file and show its waveform. > Someone knows something similar? > > If not, someone could tell me how to do it by myself? > > I mean if I open

[linux-audio-dev] Waveform audio API

2003-10-12 Thread J_Zar
I'm searching for an audio API to parse a .wav file and show its waveform. Someone knows something similar? If not, someone could tell me how to do it by myself? I mean if I open the file .wav and get one buffer at time, what I should do to know its waveform? Thank you,

Re: [linux-audio-dev] waveform overview

2002-10-15 Thread rm
always a perennial favorite. here is the way i did it way back when. http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/eponymous/gtkwv/ and the requisite screenshot http://www.arcsin.org/editor.jpg have fun, rob On Mon, Oct 14, 2002 at 10:45:20AM +0200, Thomas Grill wrote: > Hi

Re: [linux-audio-dev] waveform overview

2002-10-14 Thread Stefan Kost
Hi Thomas, > Hi all, > can anyone give me pointers on how the overview cache for a zoomable > waveform display is organized? > One can see accurate and fast displays in a lot of applications but i guess > the rendering of this is not straightforward. > > best greetings, > Thomas I am thinking ab

Re: [linux-audio-dev] waveform overview

2002-10-14 Thread Steve Harris
You just store the peak amplitudes (+ve and -ve sepratly) for every N samples. I think typically you have two seperate peak files, eg. one for every 2^8 samples and one for every 2^16. The eqivalent in large images uses one "peakfile" for every power of two, but audio people seem to be more cons

[linux-audio-dev] waveform overview

2002-10-14 Thread Thomas Grill
Hi all, can anyone give me pointers on how the overview cache for a zoomable waveform display is organized? One can see accurate and fast displays in a lot of applications but i guess the rendering of this is not straightforward. best greetings, Thomas