DSPRelated.com
Forums

Mathlab as experimental audio DSP workstation?

Started by Unknown January 23, 2008
Could Mathlab make sense using it as a evaluation platform for audio
DSP?

This means:

Streaming high quality audio using a firewire audio interface for
example through a experimental adaptive filter coded in mathlab.
And doing measurements and visualizing results in vaious ways (and
fast).
And doing simple GUI's for controlling that conveniently.
On 23 Jan, 17:24, filter...@desinformation.de wrote:
> Could Mathlab make sense using it as a evaluation platform for audio > DSP? > > This means: > > Streaming high quality audio using a firewire audio interface for > example through a experimental adaptive filter coded in mathlab. > And doing measurements and visualizing results in vaious ways (and > fast). > And doing simple GUI's for controlling that conveniently.
Matlab can do all of that. The task would be significantly simplified if you could settle for offline tests; i.e. read recorded data from a file, process the data, and then write the results back to file. If this is acceptable to you, matlab is certainly up for the task. If you require 'DSP style' real-time online capabilities, matlab might not be your best choise. Rune
On 23 Jan., 18:16, Rune Allnor <all...@tele.ntnu.no> wrote:

> If this is acceptable to you, matlab is certainly up for > the task. If you require 'DSP style' real-time online > capabilities, matlab might not be your best choise.
Realtime & interactivity is what i am looking for. Also online graphical display. Are there better choices then?
On Jan 23, 11:24 am, filter...@desinformation.de wrote:
> Could Mathlab make sense using it as a evaluation platform for audio > DSP? > > This means: > > Streaming high quality audio using a firewire audio interface for > example through a experimental adaptive filter coded in mathlab.
i've heard of Mathcad and i've heard of Matlab, but not of "Mathlab". who is that? r b-j
On 24 Jan., 02:44, robert bristow-johnson <r...@audioimagination.com>
wrote:
> On Jan 23, 11:24 am, filter...@desinformation.de wrote: > > > Could Mathlab make sense using it as a evaluation platform for audio > > DSP? > > > This means: > > > Streaming high quality audio using a firewire audio interface for > > example through a experimental adaptive filter coded in mathlab. > > i've heard of Mathcad and i've heard of Matlab, but not of "Mathlab". > who is that?
So what do you suggest then? More spelling practice?
On 24 Jan, 10:27, filter...@desinformation.de wrote:
> On 24 Jan., 02:44, robert bristow-johnson <r...@audioimagination.com> > wrote: > > > On Jan 23, 11:24 am, filter...@desinformation.de wrote: > > > > Could Mathlab make sense using it as a evaluation platform for audio > > > DSP? > > > > This means: > > > > Streaming high quality audio using a firewire audio interface for > > > example through a experimental adaptive filter coded in mathlab. > > > i've heard of Mathcad and i've heard of Matlab, but not of "Mathlab". > > who is that? > > So what do you suggest then? More spelling practice?
The difference is important. 'Matlab' is an acronym for 'matrix laboratory' and points to the beginnings of the product, 25 years ago, when it started out as a simple user interface on top of the LINPACK/EISPACK/LAPACK libraries for linear algebra. The name 'Matlab' points directly to a lab tool for numerical operations on matrices. 'Mathlab' (with an 'h') points to the misconception that the product is a general purpose mathematical tool. Which it most definately is not. Anyway, any tool with 'lab' as part of its name should not be a first choise for developing demanding applications... Rune
On Jan 24, 9:27&#4294967295;am, filter...@desinformation.de wrote:
> On 24 Jan., 02:44, robert bristow-johnson <r...@audioimagination.com> > wrote: > > > On Jan 23, 11:24 am, filter...@desinformation.de wrote: > > > > Could Mathlab make sense using it as a evaluation platform for audio > > > DSP? > > > > This means: > > > > Streaming high quality audio using a firewire audio interface for > > > example through a experimental adaptive filter coded in mathlab. > > > i've heard of Mathcad and i've heard of Matlab, but not of "Mathlab". > > who is that? > > So what do you suggest then? More spelling practice?
Have you thought about Labview from National Instruments? NI holds free one day "Hands-on Tasters" here in the UK, and I would imagine in Germany as well. This may help get you started, although be warned Labview is a pricey product! Tim
On Jan 24, 10:28&#4294967295;am, Rune Allnor <all...@tele.ntnu.no> wrote:
> On 24 Jan, 10:27, filter...@desinformation.de wrote: > > > > > > > On 24 Jan., 02:44, robert bristow-johnson <r...@audioimagination.com> > > wrote: > > > > On Jan 23, 11:24 am, filter...@desinformation.de wrote: > > > > > Could Mathlab make sense using it as a evaluation platform for audio > > > > DSP? > > > > > This means: > > > > > Streaming high quality audio using a firewire audio interface for > > > > example through a experimental adaptive filter coded in mathlab. > > > > i've heard of Mathcad and i've heard of Matlab, but not of "Mathlab". > > > who is that? > > > So what do you suggest then? More spelling practice? > > The difference is important. 'Matlab' is an acronym for 'matrix > laboratory' and points to the beginnings of the product, 25 years > ago, when it started out as a simple user interface on top of > the LINPACK/EISPACK/LAPACK libraries for linear algebra. > The name 'Matlab' points directly to a lab tool for numerical > operations on matrices. > > 'Mathlab' (with an 'h') points to the misconception that > the product is a general purpose mathematical tool. Which > it most definately is not. > > Anyway, any tool with 'lab' as part of its name should not > be a first choise for developing demanding applications... > > Rune- Hide quoted text - > > - Show quoted text -
I have a book which on the cover has printed "Matlab The Language of Technical Computing, Using Matlab V6" from The Math Works. Printed on the spline is "Mathlab The Language of Technical Computing". It seems MathWorks are confused as to it's name also. Tim
The tools I would use is
- portaudio library for realtime IO. I tried it once with full duplex,
works nicely
- fltk for a GUI, if it can't be avoided
- C/C++ for coding

The libraries are multiplatform, that is you can use the same code on
Windows / Linux etc with no / minimal changes.

This doesn't imply that those are the best tools for the job, but I'm
reasonably confident that there are no "show-stoppers".

Note, writing a real-time audio app isn't completely trivial.
mnentwig wrote:

> Note, writing a real-time audio app isn't completely trivial.
Why not? Regards, Andor