distorted/choppy audio output

View: New views
7 Messages — Rating Filter:   Alert me  

distorted/choppy audio output

by Darren Nelsen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi. I'm new to blue and this list. In learning blue, I find it to be  
an *amazing* complement to csound, really taking csound (or at least  
working with it) into whole new territories. I love the soundObjects,  
Instrument Library, timeline, Mixer... and I'm sure I'll love more as  
I learn more.

One problem though... often when playing, the audio output is  
distorted and choppy. Sometimes, I have to start and stop several  
times in order to get clean output. My levels are good, no samples out  
of range. All my apps are shutdown except for blue. This happens even  
when rendering to disk.

I don't have this problem with MacCsound. I can run output in real-
time with no distortion or noise.

I'm on a Dual 2.5 GHz PowerPC G5 with 4 GB of RAM. Mac OS X 10.5.5  
running Csound 5.09.

I have this problem in blue with both Csound 5.08 and 5.09.

I've tried changing from PortAudio to CoreAudio and that seemed to  
help a little bit.

Any suggestions?

Thanks.

Darren


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluemusic-users mailing list
Bluemusic-users@...
https://lists.sourceforge.net/lists/listinfo/bluemusic-users

Re: distorted/choppy audio output

by Adam Chennells :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Perhaps check your settings for -B and -b inside your .csoundrc  file.

The manual suggests these as defaults for OSX
-B 4096
-b 1024


On Wednesday 12 November 2008 04:49 pm, Darren Nelsen wrote:

> Hi. I'm new to blue and this list. In learning blue, I find it to be
> an *amazing* complement to csound, really taking csound (or at least
> working with it) into whole new territories. I love the soundObjects,
> Instrument Library, timeline, Mixer... and I'm sure I'll love more as
> I learn more.
>
> One problem though... often when playing, the audio output is
> distorted and choppy. Sometimes, I have to start and stop several
> times in order to get clean output. My levels are good, no samples out
> of range. All my apps are shutdown except for blue. This happens even
> when rendering to disk.
>
> I don't have this problem with MacCsound. I can run output in real-
> time with no distortion or noise.
>
> I'm on a Dual 2.5 GHz PowerPC G5 with 4 GB of RAM. Mac OS X 10.5.5
> running Csound 5.09.
>
> I have this problem in blue with both Csound 5.08 and 5.09.
>
> I've tried changing from PortAudio to CoreAudio and that seemed to
> help a little bit.
>
> Any suggestions?
>
> Thanks.
>
> Darren
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge Build the coolest Linux based applications with Moblin SDK & win
> great prizes Grand prize is a trip for two to an Open Source event anywhere
> in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Bluemusic-users mailing list
> Bluemusic-users@...
> https://lists.sourceforge.net/lists/listinfo/bluemusic-users

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluemusic-users mailing list
Bluemusic-users@...
https://lists.sourceforge.net/lists/listinfo/bluemusic-users

Re: distorted/choppy audio output

by Steven Yi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Darren,

Glad to hear you're enjoying blue!

As for choppy output, I'm not sure what would cause distorted/choppy
output.  Are you getting any messages about buffer underruns?  This
shouldn't happen in rendering to disk though.

If you would, could you generate a CSD to disk, then render to that
CSD with csound via commandline and see what the output sounds like?
If you get distortions or choppiness that way, then it would be a
problem with the project or csound, and not blue.

What are you using for sr and ksmps?

Do you have an example project you could send?

Otherwise, maybe someone who uses OSX may have some ideas, as I do not
currently have access to an OSX machine.

steven

On Tue, Nov 11, 2008 at 7:49 PM, Darren Nelsen <darren@...> wrote:

> Hi. I'm new to blue and this list. In learning blue, I find it to be
> an *amazing* complement to csound, really taking csound (or at least
> working with it) into whole new territories. I love the soundObjects,
> Instrument Library, timeline, Mixer... and I'm sure I'll love more as
> I learn more.
>
> One problem though... often when playing, the audio output is
> distorted and choppy. Sometimes, I have to start and stop several
> times in order to get clean output. My levels are good, no samples out
> of range. All my apps are shutdown except for blue. This happens even
> when rendering to disk.
>
> I don't have this problem with MacCsound. I can run output in real-
> time with no distortion or noise.
>
> I'm on a Dual 2.5 GHz PowerPC G5 with 4 GB of RAM. Mac OS X 10.5.5
> running Csound 5.09.
>
> I have this problem in blue with both Csound 5.08 and 5.09.
>
> I've tried changing from PortAudio to CoreAudio and that seemed to
> help a little bit.
>
> Any suggestions?
>
> Thanks.
>
> Darren
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Bluemusic-users mailing list
> Bluemusic-users@...
> https://lists.sourceforge.net/lists/listinfo/bluemusic-users
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluemusic-users mailing list
Bluemusic-users@...
https://lists.sourceforge.net/lists/listinfo/bluemusic-users

Re: distorted/choppy audio output

by Darren Nelsen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I do not have a .csoundrc file, so I enabled these settings in blue.  
However, it did not help the problem.

I'll try Steven's suggestions next...

On Nov 11, 2008, at 11:44 PM, Adam wrote:

> Perhaps check your settings for -B and -b inside your .csoundrc  file.
>
> The manual suggests these as defaults for OSX
> -B 4096
> -b 1024
>
>
> On Wednesday 12 November 2008 04:49 pm, Darren Nelsen wrote:
>> Hi. I'm new to blue and this list. In learning blue, I find it to be
>> an *amazing* complement to csound, really taking csound (or at least
>> working with it) into whole new territories. I love the soundObjects,
>> Instrument Library, timeline, Mixer... and I'm sure I'll love more as
>> I learn more.
>>
>> One problem though... often when playing, the audio output is
>> distorted and choppy. Sometimes, I have to start and stop several
>> times in order to get clean output. My levels are good, no samples  
>> out
>> of range. All my apps are shutdown except for blue. This happens even
>> when rendering to disk.
>>
>> I don't have this problem with MacCsound. I can run output in real-
>> time with no distortion or noise.
>>
>> I'm on a Dual 2.5 GHz PowerPC G5 with 4 GB of RAM. Mac OS X 10.5.5
>> running Csound 5.09.
>>
>> I have this problem in blue with both Csound 5.08 and 5.09.
>>
>> I've tried changing from PortAudio to CoreAudio and that seemed to
>> help a little bit.
>>
>> Any suggestions?
>>
>> Thanks.
>>
>> Darren
>>
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge Build the coolest Linux based applications with Moblin  
>> SDK & win
>> great prizes Grand prize is a trip for two to an Open Source event  
>> anywhere
>> in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Bluemusic-users mailing list
>> Bluemusic-users@...
>> https://lists.sourceforge.net/lists/listinfo/bluemusic-users
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win  
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in  
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Bluemusic-users mailing list
> Bluemusic-users@...
> https://lists.sourceforge.net/lists/listinfo/bluemusic-users
>


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluemusic-users mailing list
Bluemusic-users@...
https://lists.sourceforge.net/lists/listinfo/bluemusic-users

Re: distorted/choppy audio output

by Darren Nelsen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks, Steven, for your help off-list. Just wanted to say for the  
list thread that my problem goes beyond blue... it's happening with  
MacCsound and command line, so something's up with my machine. I'll  
add more RAM and see if that helps.

Darren

On Nov 12, 2008, at 2:59 AM, Steven Yi wrote:

> Hi Darren,
>
> Glad to hear you're enjoying blue!
>
> As for choppy output, I'm not sure what would cause distorted/choppy
> output.  Are you getting any messages about buffer underruns?  This
> shouldn't happen in rendering to disk though.
>
> If you would, could you generate a CSD to disk, then render to that
> CSD with csound via commandline and see what the output sounds like?
> If you get distortions or choppiness that way, then it would be a
> problem with the project or csound, and not blue.
>
> What are you using for sr and ksmps?
>
> Do you have an example project you could send?
>
> Otherwise, maybe someone who uses OSX may have some ideas, as I do not
> currently have access to an OSX machine.
>
> steven
>
> On Tue, Nov 11, 2008 at 7:49 PM, Darren Nelsen  
> <darren@...> wrote:
>> Hi. I'm new to blue and this list. In learning blue, I find it to be
>> an *amazing* complement to csound, really taking csound (or at least
>> working with it) into whole new territories. I love the soundObjects,
>> Instrument Library, timeline, Mixer... and I'm sure I'll love more as
>> I learn more.
>>
>> One problem though... often when playing, the audio output is
>> distorted and choppy. Sometimes, I have to start and stop several
>> times in order to get clean output. My levels are good, no samples  
>> out
>> of range. All my apps are shutdown except for blue. This happens even
>> when rendering to disk.
>>
>> I don't have this problem with MacCsound. I can run output in real-
>> time with no distortion or noise.
>>
>> I'm on a Dual 2.5 GHz PowerPC G5 with 4 GB of RAM. Mac OS X 10.5.5
>> running Csound 5.09.
>>
>> I have this problem in blue with both Csound 5.08 and 5.09.
>>
>> I've tried changing from PortAudio to CoreAudio and that seemed to
>> help a little bit.
>>
>> Any suggestions?
>>
>> Thanks.
>>
>> Darren
>>
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's  
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win  
>> great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in  
>> the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Bluemusic-users mailing list
>> Bluemusic-users@...
>> https://lists.sourceforge.net/lists/listinfo/bluemusic-users
>>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win  
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in  
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Bluemusic-users mailing list
> Bluemusic-users@...
> https://lists.sourceforge.net/lists/listinfo/bluemusic-users
>


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluemusic-users mailing list
Bluemusic-users@...
https://lists.sourceforge.net/lists/listinfo/bluemusic-users

Re: distorted/choppy audio output

by Steven Yi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Darren,

Sorry I'm a bit slow in responding to email these days but let me know
if you come across other issues.  Otherwise, would glad to have any
contributors to blue!

steven

On Tue, Nov 18, 2008 at 9:49 PM, Darren Nelsen <darren@...> wrote:

> Thanks, Steven, for your help off-list. Just wanted to say for the
> list thread that my problem goes beyond blue... it's happening with
> MacCsound and command line, so something's up with my machine. I'll
> add more RAM and see if that helps.
>
> Darren
>
> On Nov 12, 2008, at 2:59 AM, Steven Yi wrote:
>
>> Hi Darren,
>>
>> Glad to hear you're enjoying blue!
>>
>> As for choppy output, I'm not sure what would cause distorted/choppy
>> output.  Are you getting any messages about buffer underruns?  This
>> shouldn't happen in rendering to disk though.
>>
>> If you would, could you generate a CSD to disk, then render to that
>> CSD with csound via commandline and see what the output sounds like?
>> If you get distortions or choppiness that way, then it would be a
>> problem with the project or csound, and not blue.
>>
>> What are you using for sr and ksmps?
>>
>> Do you have an example project you could send?
>>
>> Otherwise, maybe someone who uses OSX may have some ideas, as I do not
>> currently have access to an OSX machine.
>>
>> steven
>>
>> On Tue, Nov 11, 2008 at 7:49 PM, Darren Nelsen
>> <darren@...> wrote:
>>> Hi. I'm new to blue and this list. In learning blue, I find it to be
>>> an *amazing* complement to csound, really taking csound (or at least
>>> working with it) into whole new territories. I love the soundObjects,
>>> Instrument Library, timeline, Mixer... and I'm sure I'll love more as
>>> I learn more.
>>>
>>> One problem though... often when playing, the audio output is
>>> distorted and choppy. Sometimes, I have to start and stop several
>>> times in order to get clean output. My levels are good, no samples
>>> out
>>> of range. All my apps are shutdown except for blue. This happens even
>>> when rendering to disk.
>>>
>>> I don't have this problem with MacCsound. I can run output in real-
>>> time with no distortion or noise.
>>>
>>> I'm on a Dual 2.5 GHz PowerPC G5 with 4 GB of RAM. Mac OS X 10.5.5
>>> running Csound 5.09.
>>>
>>> I have this problem in blue with both Csound 5.08 and 5.09.
>>>
>>> I've tried changing from PortAudio to CoreAudio and that seemed to
>>> help a little bit.
>>>
>>> Any suggestions?
>>>
>>> Thanks.
>>>
>>> Darren
>>>
>>>
>>> -------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win
>>> great prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in
>>> the world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> Bluemusic-users mailing list
>>> Bluemusic-users@...
>>> https://lists.sourceforge.net/lists/listinfo/bluemusic-users
>>>
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win
>> great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in
>> the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Bluemusic-users mailing list
>> Bluemusic-users@...
>> https://lists.sourceforge.net/lists/listinfo/bluemusic-users
>>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Bluemusic-users mailing list
> Bluemusic-users@...
> https://lists.sourceforge.net/lists/listinfo/bluemusic-users
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluemusic-users mailing list
Bluemusic-users@...
https://lists.sourceforge.net/lists/listinfo/bluemusic-users

Re: distorted/choppy audio output

by Darren Nelsen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Think I discovered the problem. My CPUs were being pegged by  
background processes. Found and killed 'em (in the Activity Monitor),  
and now the DAC is happy. :) No more choppy output.

Darren

On Nov 21, 2008, at 9:56 PM, Steven Yi wrote:

> Hi Darren,
>
> Sorry I'm a bit slow in responding to email these days but let me know
> if you come across other issues.  Otherwise, would glad to have any
> contributors to blue!
>
> steven
>
> On Tue, Nov 18, 2008 at 9:49 PM, Darren Nelsen  
> <darren@...> wrote:
>> Thanks, Steven, for your help off-list. Just wanted to say for the
>> list thread that my problem goes beyond blue... it's happening with
>> MacCsound and command line, so something's up with my machine. I'll
>> add more RAM and see if that helps.
>>
>> Darren
>>
>> On Nov 12, 2008, at 2:59 AM, Steven Yi wrote:
>>
>>> Hi Darren,
>>>
>>> Glad to hear you're enjoying blue!
>>>
>>> As for choppy output, I'm not sure what would cause distorted/choppy
>>> output.  Are you getting any messages about buffer underruns?  This
>>> shouldn't happen in rendering to disk though.
>>>
>>> If you would, could you generate a CSD to disk, then render to that
>>> CSD with csound via commandline and see what the output sounds like?
>>> If you get distortions or choppiness that way, then it would be a
>>> problem with the project or csound, and not blue.
>>>
>>> What are you using for sr and ksmps?
>>>
>>> Do you have an example project you could send?
>>>
>>> Otherwise, maybe someone who uses OSX may have some ideas, as I do  
>>> not
>>> currently have access to an OSX machine.
>>>
>>> steven
>>>
>>> On Tue, Nov 11, 2008 at 7:49 PM, Darren Nelsen
>>> <darren@...> wrote:
>>>> Hi. I'm new to blue and this list. In learning blue, I find it to  
>>>> be
>>>> an *amazing* complement to csound, really taking csound (or at  
>>>> least
>>>> working with it) into whole new territories. I love the  
>>>> soundObjects,
>>>> Instrument Library, timeline, Mixer... and I'm sure I'll love  
>>>> more as
>>>> I learn more.
>>>>
>>>> One problem though... often when playing, the audio output is
>>>> distorted and choppy. Sometimes, I have to start and stop several
>>>> times in order to get clean output. My levels are good, no samples
>>>> out
>>>> of range. All my apps are shutdown except for blue. This happens  
>>>> even
>>>> when rendering to disk.
>>>>
>>>> I don't have this problem with MacCsound. I can run output in real-
>>>> time with no distortion or noise.
>>>>
>>>> I'm on a Dual 2.5 GHz PowerPC G5 with 4 GB of RAM. Mac OS X 10.5.5
>>>> running Csound 5.09.
>>>>
>>>> I have this problem in blue with both Csound 5.08 and 5.09.
>>>>
>>>> I've tried changing from PortAudio to CoreAudio and that seemed to
>>>> help a little bit.
>>>>
>>>> Any suggestions?
>>>>
>>>> Thanks.
>>>>
>>>> Darren
>>>>
>>>>
>>>> -------------------------------------------------------------------------
>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>> challenge
>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>> great prizes
>>>> Grand prize is a trip for two to an Open Source event anywhere in
>>>> the world
>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>> _______________________________________________
>>>> Bluemusic-users mailing list
>>>> Bluemusic-users@...
>>>> https://lists.sourceforge.net/lists/listinfo/bluemusic-users
>>>>
>>>
>>> -------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win
>>> great prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in
>>> the world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> Bluemusic-users mailing list
>>> Bluemusic-users@...
>>> https://lists.sourceforge.net/lists/listinfo/bluemusic-users
>>>
>>
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's  
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win  
>> great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in  
>> the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Bluemusic-users mailing list
>> Bluemusic-users@...
>> https://lists.sourceforge.net/lists/listinfo/bluemusic-users
>>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win  
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in  
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Bluemusic-users mailing list
> Bluemusic-users@...
> https://lists.sourceforge.net/lists/listinfo/bluemusic-users
>


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluemusic-users mailing list
Bluemusic-users@...
https://lists.sourceforge.net/lists/listinfo/bluemusic-users