[Csnd] Turn off WARNING
Date | 2018-06-23 22:28 |
From | Roger Kelly |
Subject | [Csnd] Turn off WARNING |
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:
Csound mailing list
Csound@listserv.heanet.ie
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
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 |
Date | 2018-06-23 22:37 |
From | John ff |
Subject | Re: [Csnd] Turn off WARNING |
Have you tried -m0 ?
Sent from Blue
On 23 Jun 2018, at 22:29, Roger Kelly <loraxman@gmail.com> wrote:
|
Date | 2018-06-23 22:46 |
From | Victor Lazzarini |
Subject | Re: [Csnd] Turn off WARNING |
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
|
Date | 2018-06-24 15:45 |
From | Roger Kelly |
Subject | Re: [Csnd] Turn off WARNING |
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 <Victor.Lazzarini@mu.ie> wrote:
|
Date | 2018-06-24 18:07 |
From | Victor Lazzarini |
Subject | Re: [Csnd] Turn off WARNING |
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 |