Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] odd noise from Cs5

Date2005-02-05 18:17
FromIstvan Varga
SubjectRe: [Cs-dev] odd noise from Cs5
Dave Phillips wrote:

>  When I run Cs5 I can hear a thin high F at a very low volume keening
> away in the background. This doesn't occur in Varga Csound 4.24.1.

Does it only happen with real time audio, or with file output too ?


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-02-05 18:21
FromDave Phillips
Subject[Cs-dev] odd noise from Cs5
Greetings:

  When I run Cs5 I can hear a thin high F at a very low volume keening 
away in the background. This doesn't occur in Varga Csound 4.24.1.

  I'll try building and testing the GBS (?) version later today too.

Best,

dp

PS: Is there a more official manner of posting bug reports for Cs5 ?



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-02-05 18:39
FromDave Phillips
SubjectRe: [Cs-dev] odd noise from Cs5
Hi Istvan:

  Rtaudio only, there's no problem with file output.

  Btw, the problem *does* occur with your 4.24.1, it's just producing 
the noise at a slightly lower level.

  And the choice of plughw:N doesn't make a difference...

Best,

dp




Istvan Varga wrote:

> Dave Phillips wrote:
>
>>  When I run Cs5 I can hear a thin high F at a very low volume keening
>> away in the background. This doesn't occur in Varga Csound 4.24.1.
>
>
> Does it only happen with real time audio, or with file output too ?
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-02-05 18:41
FromDave Phillips
SubjectRe: [Cs-dev] odd noise from Cs5
Btw, the problem occurs with -+rtaudio=portaudio too, except the pitch 
is an octave (2?) lower.

And audio latency with the portaudio option is really bad...

Best,

dp



Istvan Varga wrote:

> Dave Phillips wrote:
>
>>  When I run Cs5 I can hear a thin high F at a very low volume keening
>> away in the background. This doesn't occur in Varga Csound 4.24.1.
>
>
> Does it only happen with real time audio, or with file output too ?
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-02-05 20:02
FromIstvan Varga
SubjectRe: [Cs-dev] odd noise from Cs5
Dave Phillips wrote:

>  When I run Cs5 I can hear a thin high F at a very low volume keening 
> away in the background. This doesn't occur in Varga Csound 4.24.1.

44100/128 is 344.53, while 349.23Hz is the frequency of an F.
The noise is caused by some buffering artefact, and is lower pitched
with PortAudio because that uses larger buffers. What -b and -B settings
did you use ?


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-02-05 20:24
FromDave Phillips
SubjectRe: [Cs-dev] odd noise from Cs5
Istvan Varga wrote:

> Dave Phillips wrote:
>
>>  When I run Cs5 I can hear a thin high F at a very low volume keening 
>> away in the background. This doesn't occur in Varga Csound 4.24.1.
>
>
> 44100/128 is 344.53, while 349.23Hz is the frequency of an F.
> The noise is caused by some buffering artefact, and is lower pitched
> with PortAudio because that uses larger buffers. What -b and -B settings
> did you use ?

-b64 and -B256.

Without specifying -b and -B (i.e. leavingthem at default values) 
there's no spurious tone.

Best,

dp




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-02-05 20:27
FromIstvan Varga
SubjectRe: [Cs-dev] odd noise from Cs5
Dave Phillips wrote:

> -b64 and -B256.
> 
> Without specifying -b and -B (i.e. leavingthem at default values) 
> there's no spurious tone.

What happens with these buffer settings (especially when --sched
is enabled) ?
   -b 64 -b 512
   -b 64 -b 1024
   -b 128 -b 512
   -b 128 -b 1024
   -b 256 -b 2048


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-02-05 21:22
FromDave Phillips
SubjectRe: [Cs-dev] odd noise from Cs5
Istvan Varga wrote:

> Dave Phillips wrote:
>
>> -b64 and -B256.
>>
>> Without specifying -b and -B (i.e. leavingthem at default values) 
>> there's no spurious tone.
>
>
> What happens with these buffer settings (especially when --sched
> is enabled) ?
>   -b 64 -b 512
>   -b 64 -b 1024

Those two behave as -b64 -B256, except the tone is rhythmically broken.

>   -b 128 -b 512
>   -b 128 -b 1024

Same, but an octave lower.

>   -b 256 -b 2048 

Same, another octave lower.

Btw, command options are as follows:

    su -c 'csound -+rtaudio=alsa --expression-opt --sched -o devaudio -d 
-m0 -b256 -B2048 -M/dev/snd/midiC0D0 midi-in.csd'

Note also that --sched does *not* work with -o dac. It produces an error 
message telling me it requires -o dac or -o devaudio.

Best,

dp




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-02-05 22:00
FromIstvan Varga
SubjectRe: [Cs-dev] odd noise from Cs5
Dave Phillips wrote:

> Btw, command options are as follows:
> 
>    su -c 'csound -+rtaudio=alsa --expression-opt --sched -o devaudio -d 
> -m0 -b256 -B2048 -M/dev/snd/midiC0D0 midi-in.csd'
> 
> Note also that --sched does *not* work with -o dac. It produces an error 
> message telling me it requires -o dac or -o devaudio.

The dac error is really strange as I can use --sched with -dac without
problems. Also no idea about the noise, but I did not test with MIDI
input yet.

By the way, there is a new experimental sensevents() in the CVS
that may fix the missing notes (or possibly introduce other errors).


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-02-06 02:10
Fromiainduncan@telus.net
SubjectRe: [Cs-dev] odd noise from Cs5
> Note also that --sched does *not* work with -o dac. It produces an error 
> message telling me it requires -o dac or -o devaudio.

This is a bug I reported earlier, but you might have missed. It does work, but
it requires:

-o dac

and not:

-odac 

( I think, either that or it's the other way around, but it was a whitespace
problem. )



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-02-06 08:52
FromIain Duncan
SubjectRe: [Cs-dev] odd noise from Cs5
Thanks Istvan. Hey, on one of your older versions I think you had a 
feature, (I think it was for midi cards?) whereby you could somehow get 
csound to display all the possible device names. Correct? If I'm not 
mis-remembering, I found that extremely useful. Especially when 
switching from one *nix to another or from windows to linux etc.

Iain

Istvan Varga wrote:
> iainduncan@telus.net wrote:
> 
>> This is a bug I reported earlier, but you might have missed. It does 
>> work, but
>> it requires:
>>
>> -o dac
>>
>> and not:
>>
>> -odac 
> 
> 
> This is now fixed, any of the following are accepted:
>   -iadc, -i adc, -idevaudio, -i devaudio
>   -odac, -o dac, -odevaudio, -o devaudio
> Device names are also allowed.
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-02-06 15:08
FromIstvan Varga
SubjectRe: [Cs-dev] odd noise from Cs5
iainduncan@telus.net wrote:

> This is a bug I reported earlier, but you might have missed. It does work, but
> it requires:
> 
> -o dac
> 
> and not:
> 
> -odac 

This is now fixed, any of the following are accepted:
   -iadc, -i adc, -idevaudio, -i devaudio
   -odac, -o dac, -odevaudio, -o devaudio
Device names are also allowed.


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net