Re: [linux-audio-dev] Waveform

From: Chris Cannam <cannam@email-addr-hidden-day-breakfast.com>
Date: Tue May 10 2005 - 00:21:19 EEST

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 example plugin in the DSSI plugin
API distribution. That's a pretty simple bit of code that does (IMHO)
tolerable waveforms in a Qt window. The only problem is it's not
standalone so you'd need the plugin host as well.

  http://dssi.sf.net/

Download it and have a look at examples/trivial_sampler_qt_gui.cpp.
It's the plugin in the front of the screenshot here:

  http://dssi.sourceforge.net/plong.png

The black in the waveforms shows peaks, the grey averages.

And trivial_sampler is public domain, so it's legal to do anything you
want with the code. It's even legal to pretend you wrote it. Not that
anyone will believe you for long, after this discussion.

Chris
Received on Tue May 10 04:15:09 2005

This archive was generated by hypermail 2.1.8 : Tue May 10 2005 - 04:15:09 EEST