[Csnd] Turn off WARNING

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[Csnd] Turn off WARNING

Roger Kelly-2
I am using a Raspberry Pi Zero to create a B3 emulation.  Works really nice, however when I add reverb and let the keys up -- I get the warning message:

WARNING: Buffer underrun in real-time audio output

WARNING: Buffer underrun in real-time audio output

WARNING: Buffer underrun in real-time audio output

WARNING: Buffer underrun in real-time audio output


I

It cuts/chops the audio with the frequency of the display above. Other than that it is perfect sounding.  Is there anyway apart from doing a custom build to disable the warning output?  I know that the audio buffer is underrun--but I can't hear any problems other than the above being printed at the "chop" frequency.

I tried "-d"..no luck.

Thanks

Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Turn off WARNING

jpff
Have you tried -m0 ?

Sent from Blue
On 23 Jun 2018, at 22:29, Roger Kelly <[hidden email]> wrote:
I am using a Raspberry Pi Zero to create a B3 emulation.  Works really nice, however when I add reverb and let the keys up -- I get the warning message:

WARNING: Buffer underrun in real-time audio output

WARNING: Buffer underrun in real-time audio output

WARNING: Buffer underrun in real-time audio output

WARNING: Buffer underrun in real-time audio output


I

It cuts/chops the audio with the frequency of the display above. Other than that it is perfect sounding.  Is there anyway apart from doing a custom build to disable the warning output?  I know that the audio buffer is underrun--but I can't hear any problems other than the above being printed at the "chop" frequency.

I tried "-d"..no luck.

Thanks

Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Turn off WARNING

Victor Lazzarini-2
In reply to this post by Roger Kelly-2
I don’t think these printouts are the cause of your dropouts, they are triggered by them.

The thing is to check your code for things that can be optimised. Maybe your buffer
sizes are too small for the particular setup.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 23 Jun 2018, at 22:28, Roger Kelly <[hidden email]> wrote:

I am using a Raspberry Pi Zero to create a B3 emulation.  Works really nice, however when I add reverb and let the keys up -- I get the warning message:

WARNING: Buffer underrun in real-time audio output

WARNING: Buffer underrun in real-time audio output

WARNING: Buffer underrun in real-time audio output

WARNING: Buffer underrun in real-time audio output


I

It cuts/chops the audio with the frequency of the display above. Other than that it is perfect sounding.  Is there anyway apart from doing a custom build to disable the warning output?  I know that the audio buffer is underrun--but I can't hear any problems other than the above being printed at the "chop" frequency.

I tried "-d"..no luck.

Thanks

Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Turn off WARNING

Roger Kelly-2
I decreased the sample rate and changed kr.  That helped alot.   The two buffers are a bit confusing -b = a csound memory buffer, -B = hardware.

I don't really know what effect and difference between these two.  It is actually one of the B3 emulations from Csound book.  Sounds really great. I am adding some MIDI controls  to it.

On Sat, Jun 23, 2018 at 4:46 PM Victor Lazzarini <[hidden email]> wrote:
I don’t think these printouts are the cause of your dropouts, they are triggered by them.

The thing is to check your code for things that can be optimised. Maybe your buffer
sizes are too small for the particular setup.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 23 Jun 2018, at 22:28, Roger Kelly <[hidden email]> wrote:

I am using a Raspberry Pi Zero to create a B3 emulation.  Works really nice, however when I add reverb and let the keys up -- I get the warning message:

WARNING: Buffer underrun in real-time audio output

WARNING: Buffer underrun in real-time audio output

WARNING: Buffer underrun in real-time audio output

WARNING: Buffer underrun in real-time audio output


I

It cuts/chops the audio with the frequency of the display above. Other than that it is perfect sounding.  Is there anyway apart from doing a custom build to disable the warning output?  I know that the audio buffer is underrun--but I can't hear any problems other than the above being printed at the "chop" frequency.

I tried "-d"..no luck.

Thanks

Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Turn off WARNING

Victor Lazzarini-2
So, for the buffers, my suggestion is just to adjust -b and let -B be set automatically. Try keeping it a
minimum without dropouts.

You can use the command top to check for the CPU use.

The code was not designed with optimisation as a main concern, but it should possibly be
OK. Maybe the problem with the reverb is denormals (esp. if you are experiencing it
when the sound is decaying). Try to treat the reverb input with this opcode

https://csound.com/docs/manual/denorm.html

best
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 24 Jun 2018, at 15:45, Roger Kelly <[hidden email]> wrote:
>
> I decreased the sample rate and changed kr.  That helped alot.   The two buffers are a bit confusing -b = a csound memory buffer, -B = hardware.
>
> I don't really know what effect and difference between these two.  It is actually one of the B3 emulations from Csound book.  Sounds really great. I am adding some MIDI controls  to it.
>
> On Sat, Jun 23, 2018 at 4:46 PM Victor Lazzarini <[hidden email]> wrote:
> I don’t think these printouts are the cause of your dropouts, they are triggered by them.
>
> The thing is to check your code for things that can be optimised. Maybe your buffer
> sizes are too small for the particular setup.
>
> Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy
> Maynooth University
> Ireland
>
> On 23 Jun 2018, at 22:28, Roger Kelly <[hidden email]> wrote:
>
>> I am using a Raspberry Pi Zero to create a B3 emulation.  Works really nice, however when I add reverb and let the keys up -- I get the warning message:
>>
>> WARNING: Buffer underrun in real-time audio output
>> WARNING: Buffer underrun in real-time audio output
>> WARNING: Buffer underrun in real-time audio output
>> WARNING: Buffer underrun in real-time audio output
>>
>> I
>>
>> It cuts/chops the audio with the frequency of the display above. Other than that it is perfect sounding.  Is there anyway apart from doing a custom build to disable the warning output?  I know that the audio buffer is underrun--but I can't hear any problems other than the above being printed at the "chop" frequency.
>>
>> I tried "-d"..no luck.
>>
>> Thanks
>>
>> Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
> Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
> Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here