[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Integrating audio functionality in to Octave
From: |
Vytautas Jancauskas |
Subject: |
Re: Integrating audio functionality in to Octave |
Date: |
Thu, 26 Sep 2013 13:47:47 +0300 |
On Tue, Sep 24, 2013 at 9:06 PM, Pantxo Diribarne
<address@hidden> wrote:
> Hello,
>
> I successfully built octave on mac from your repo. Tests often fail or
> crash (segfault) octave :
>
> - make check: either crashes during audio function tests (if one of them
> fails) or at the end, after reporting a few known failures.
>
> - in octave, "test @audioplayer/audioplayer": fails (and sometimes crashes,
> it is not entirely reproducible) most of the time at the 3rd test showing
> the following error log:
>
> octave:1> test @audioplayer/audioplayer
> ***** test
> audio = randn (2, 88200) - 0.5;
> fs = 44100;
> player = audioplayer (audio, fs);
> assert (!isplaying (player));
> play (player);
> assert (isplaying (player));
> sleep (1);
> stop (player);
> sleep (1);
> assert (!isplaying (player));
> assert (player.CurrentSample, 0);
> !!!!! test failed
> ASSERT errors for: assert (player.CurrentSample,0)
>
> Location | Observed | Expected | Reason
> () 50176 0 Abs err 50176 exceeds tol 0
>
> - in octave, "test @audiorecorder/audiorecorder": crashes octave
> (segfault).
>
> I am clueless : I have tried to use MacPorts (with atlas instead of
> accelerate) for dependencies instead of Fink, I also tried to use
> g++-fsf-4.7 instead of clang, but errors seems to be consistent with both.
>
> Let me know If you think there are tests I could do to help debug this.
>
> Pantxo
None of the tests fail here, on Linux. The particular test that failed
is weird too. Could there be some issue with the sleep function? Does
PortAudio generally work alright? If you try using audioplayer
manually does it work without issues?
- Integrating audio functionality in to Octave, Vytautas Jancauskas, 2013/09/17
- Re: Integrating audio functionality in to Octave, Pantxo, 2013/09/18
- Re: Integrating audio functionality in to Octave, Vytautas Jancauskas, 2013/09/18
- Re: Integrating audio functionality in to Octave, Pantxo Diribarne, 2013/09/18
- Re: Integrating audio functionality in to Octave, Pantxo Diribarne, 2013/09/18
- Re: Integrating audio functionality in to Octave, Vytautas Jancauskas, 2013/09/18
- Re: Integrating audio functionality in to Octave, Mike Miller, 2013/09/18
- Re: Integrating audio functionality in to Octave, Pantxo Diribarne, 2013/09/24
- Re: Building developers sources on MacOSX + Macports (WAS: Integrating audio functionality in to Octave), Ben Abbott, 2013/09/24
- Re: Building developers sources on MacOSX + Macports (WAS: Integrating audio functionality in to Octave), Pantxo Diribarne, 2013/09/24
- Re: Integrating audio functionality in to Octave,
Vytautas Jancauskas <=
- Re: Integrating audio functionality in to Octave, Pantxo Diribarne, 2013/09/26
Re: Integrating audio functionality in to Octave, Mike Miller, 2013/09/18