octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Taking care of old audio functions


From: John W. Eaton
Subject: Re: Taking care of old audio functions
Date: Mon, 12 Jan 2015 12:08:06 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.5.0

On 01/11/2015 11:20 PM, Mike Miller wrote:
All,

Now that we have modern audio support in the Octave default branch, what
should we do with the older legacy audio function files?

Here are the functions I'm looking at in scripts/audio:

  * loadaudio
  * playaudio
  * record
  * saveaudio
  * setaudio
  * wavread
  * wavwrite

Some of these are correct but duplicate functionality in the new-style
classes and functions, and some are just unmaintainable.

My suggestion would be to keep but rewrite the record, wavread, and
wavwrite function files as wrappers around the new-style functions.

I agree.

The rest, loadaudio, saveaudio, playaudio, and setaudio, should probably
be deprecated.

Yes, let's get deprecate and eventually remove these.

We can also implement the missing functions sound and soundsc as simple
function file wrappers around the audioplayer class.

OK.

jwe




reply via email to

[Prev in Thread] Current Thread [Next in Thread]