octave-maintainers
[Top][All Lists]
Advanced

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

Re: Integrating audio functionality in to Octave


From: Mike Miller
Subject: Re: Integrating audio functionality in to Octave
Date: Thu, 19 Sep 2013 07:10:59 -0400

On Thu, Sep 19, 2013 at 14:05:31 +0300, Vytautas Jancauskas wrote:
> On Wed, Sep 18, 2013 at 2:58 PM, Mike Miller <address@hidden> wrote:
>> On Tue, Sep 17, 2013 at 20:51:51 +0300, Vytautas Jancauskas wrote:
>>> Here is a repository with Octave featuring various audio related
>>> functionalities developed over the summer
>>> https://bitbucket.org/bucket_brigade/octave-with-sound, to use them
>>> you should have PortAudio and sndfile headers installed in a place
>>> where the compiler can find them. Other than that just build Octave
>>> like you normally would.
>>
>> Here is a patch that fixes some minor compilation errors when
>> HAVE_PORTAUDIO and HAVE_SNDFILE are undefined.
>>
>> We'll want to add --without options for those two libraries, I had to
>> jump through a few hoops to get it to compile without them as it is.
>>
>> --
>> mike
>
> make[3]: Entering directory
> `/home/vytas/octave-with-sound/.build/doc/interpreter'
> ../../run-octave -f -q -H ../../../doc/interpreter/mk_doc_cache.m
> doc-cache ../../../doc/interpreter/macros.texi
> ../../scripts/DOCSTRINGS ../../libinterp/DOCSTRINGS || { rm -f
> doc-cache; exit 1; }
> octave_doc_Y2H140:391: Unknown command `callback'.
> error: makeinfo failed with exit status 1!
> error: called from:
> error:   /home/vytas/octave-with-sound/doc/interpreter/mk_doc_cache.m
> at line 71, column 3
> make[3]: *** [doc-cache] Error 1
> make[3]: Leaving directory
> `/home/vytas/octave-with-sound/.build/doc/interpreter'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/vytas/octave-with-sound/.build/doc'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/vytas/octave-with-sound/.build'
> make: *** [all] Error 2
>
> Does anyone have any ideas why I'm getting this?

Commands to makeinfo start with @, so I searched for:

$ grep -r @callback scripts
scripts/audio/@audioplayer/audioplayer.m:## @code{player =
audioplayer(@callback_sine, 44100);}
scripts/audio/@audioplayer/audioplayer.m:%!  player = audioplayer
(@callback, 44100);
scripts/audio/@audiorecorder/audiorecorder.m:#%!  recorder =
audiorecorder (@callback_record, 44100);
scripts/audio/@audiorecorder/audiorecorder.m:#%!  recorder =
audiorecorder (@callback_record, 44100);

That's probably where the error is. If you want to document usage with
a function handle, use @@ to insert a literal @.

-- 
mike


reply via email to

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