octave-maintainers
[Top][All Lists]
Advanced

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

Re: GSoC audio callbacks


From: Vytautas Jancauskas
Subject: Re: GSoC audio callbacks
Date: Wed, 28 Aug 2013 17:28:28 +0300

On Wed, Aug 28, 2013 at 4:43 PM, Mike Miller <address@hidden> wrote:
> On Wed, Aug 28, 2013 at 16:33:36 +0300, Vytautas Jancauskas wrote:
>> On Wed, Aug 28, 2013 at 4:26 PM, Mike Miller <address@hidden> wrote:
>>> On Wed, Aug 28, 2013 at 16:05:06 +0300, Vytautas Jancauskas wrote:
>>>> Did you pull the latest changes? What are the exact calls. Everything
>>>> seems to work for me.
>>>
>>> I'm on revision 696bb8c94d7d, and I did a clean build to make sure I
>>> didn't have any left over object files.
>>>
>>> Ok, I see what's failing now. If I do
>>>
>>>   r = audiorecorder;
>>>   record (r, 2);
>>>
>>> it works. But if I do
>>>
>>>   record (r);
>>>   # wait
>>>   stop (r);
>>>
>>> the number of samples in the recorder object resets to zero when stop
>>> is called. That's why it didn't appear to be working for me.
>>>
>>> Have you tried both stereo and mono flac, ogg, and wav files? I did my
>>> initial testing with mono and everything was fine, but when I started
>>> reading in stereo files I haven't had one work yet. Audioinfo shows
>>> the right thing, and audioread returns the right number of samples,
>>> but the data looks like either uninitialized values or partial audio
>>> from the file, maybe in one channel, with uninitialized memory over
>>> part of it or in the second channel.
>>>
>>> --
>>> mike
>>
>> The current revision is 195:eca3982fac7c, you are 4 revisions behind
>> somehow. Maybe you forgot hg update?
>
> Yep, sorry about that. Recording and stopping now works. I still have
> problems reading stereo files though.
>
> --
> mike

Can you send me the files you are having problems with? I can read and
write stereo file fine.


reply via email to

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