Csound Csound-dev Csound-tekno Search About

Help

Date2016-12-14 12:00
FromSalvatore Mirenda
SubjectHelp
Hi everyone,
does anyone can help me, please, with a problem I often have with the real-time audio output in csound (using csoundqt frontend)? I know it might probably be a very stupid and simple task to solve, but it gets me crazy all the time, because  I can't understand the reason why it doesn't work. After installing the software on windows machine (with the installer), when I run the instr (without errors in the code) I can't hear any sound. Audio setting are ok by defaults (I never change settings on realtime window task leaving them set by default), but even if I change, setting them with the soundcard installed on the computer, it doesn't work. Sound card is ok because I can use it without any problem on others audio application (Audio editing or just a simple player). This is the message I get all the times (without hearing any sound and the button "run" seems not to compile the code):

STARTING FILE
Creating options
Creating orchestra
Creating score
rtaudio: PortAudio module enabled ... 
using blocking interface
Elapsed time at end of orchestra compile: real: 0.039s, CPU: 0.039s
sorting score ...
	... done
Elapsed time at end of score sort: real: 0.040s, CPU: 0.040s
midi channel 1 using instr 123
midi channel 2 using instr 123
midi channel 3 using instr 123
midi channel 4 using instr 123
midi channel 5 using instr 123
midi channel 6 using instr 123
midi channel 7 using instr 123
midi channel 8 using instr 123
midi channel 9 using instr 123
midi channel 10 using instr 123
midi channel 11 using instr 123
midi channel 12 using instr 123
midi channel 13 using instr 123
midi channel 14 using instr 123
midi channel 15 using instr 123
midi channel 16 using instr 123
0dBFS level = 32768.0
orch now loaded
audio buffered in 4096 sample-frame blocks
PortAudio V19.5.0-devel, revision unknown
Failed to initialise real time audio input

I'm trying it with very simple lines of code just for testing:

instr 1

asig poscil .5, 440
outs asig, asig
endin

;score
i1 0 4

Thank you in advance
Salvatore

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

Date2016-12-14 12:10
FromPeter Burgess
SubjectRe: Help
It's your 0dbfs setting. You've got it set to the old school 32000, but your oscillator is only set to 0.5 amplitude. Change it to:

0dbfs = 1

On 14 Dec 2016 12:00 p.m., "Salvatore Mirenda" <salvatore.mirenda78@gmail.com> wrote:
Hi everyone,
does anyone can help me, please, with a problem I often have with the real-time audio output in csound (using csoundqt frontend)? I know it might probably be a very stupid and simple task to solve, but it gets me crazy all the time, because  I can't understand the reason why it doesn't work. After installing the software on windows machine (with the installer), when I run the instr (without errors in the code) I can't hear any sound. Audio setting are ok by defaults (I never change settings on realtime window task leaving them set by default), but even if I change, setting them with the soundcard installed on the computer, it doesn't work. Sound card is ok because I can use it without any problem on others audio application (Audio editing or just a simple player). This is the message I get all the times (without hearing any sound and the button "run" seems not to compile the code):

STARTING FILE
Creating options
Creating orchestra
Creating score
rtaudio: PortAudio module enabled ...
using blocking interface
Elapsed time at end of orchestra compile: real: 0.039s, CPU: 0.039s
sorting score ...
        ... done
Elapsed time at end of score sort: real: 0.040s, CPU: 0.040s
midi channel 1 using instr 123
midi channel 2 using instr 123
midi channel 3 using instr 123
midi channel 4 using instr 123
midi channel 5 using instr 123
midi channel 6 using instr 123
midi channel 7 using instr 123
midi channel 8 using instr 123
midi channel 9 using instr 123
midi channel 10 using instr 123
midi channel 11 using instr 123
midi channel 12 using instr 123
midi channel 13 using instr 123
midi channel 14 using instr 123
midi channel 15 using instr 123
midi channel 16 using instr 123
0dBFS level = 32768.0
orch now loaded
audio buffered in 4096 sample-frame blocks
PortAudio V19.5.0-devel, revision unknown
Failed to initialise real time audio input

I'm trying it with very simple lines of code just for testing:

instr 1

asig poscil .5, 440
outs asig, asig
endin

;score
i1 0 4

Thank you in advance
Salvatore

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
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

Date2016-12-14 12:14
FromHlöðver Sigurðsson
SubjectRe: Help
Or try selecting other audio drivers. ASIO should work with Windows in similar way that JACK works with linux. Try installing ASIO4all and select it in CsoundQT audio preferences.

On Wed, 14 Dec 2016 at 13:10, Peter Burgess <pete.soundtechnician@gmail.com> wrote:
It's your 0dbfs setting. You've got it set to the old school 32000, but your oscillator is only set to 0.5 amplitude. Change it to:

0dbfs = 1

On 14 Dec 2016 12:00 p.m., "Salvatore Mirenda" <salvatore.mirenda78@gmail.com> wrote:
Hi everyone,


does anyone can help me, please, with a problem I often have with the real-time audio output in csound (using csoundqt frontend)? I know it might probably be a very stupid and simple task to solve, but it gets me crazy all the time, because  I can't understand the reason why it doesn't work. After installing the software on windows machine (with the installer), when I run the instr (without errors in the code) I can't hear any sound. Audio setting are ok by defaults (I never change settings on realtime window task leaving them set by default), but even if I change, setting them with the soundcard installed on the computer, it doesn't work. Sound card is ok because I can use it without any problem on others audio application (Audio editing or just a simple player). This is the message I get all the times (without hearing any sound and the button "run" seems not to compile the code):





STARTING FILE


Creating options


Creating orchestra


Creating score


rtaudio: PortAudio module enabled ...


using blocking interface


Elapsed time at end of orchestra compile: real: 0.039s, CPU: 0.039s


sorting score ...


        ... done


Elapsed time at end of score sort: real: 0.040s, CPU: 0.040s


midi channel 1 using instr 123


midi channel 2 using instr 123


midi channel 3 using instr 123


midi channel 4 using instr 123


midi channel 5 using instr 123


midi channel 6 using instr 123


midi channel 7 using instr 123


midi channel 8 using instr 123


midi channel 9 using instr 123


midi channel 10 using instr 123


midi channel 11 using instr 123


midi channel 12 using instr 123


midi channel 13 using instr 123


midi channel 14 using instr 123


midi channel 15 using instr 123


midi channel 16 using instr 123


0dBFS level = 32768.0


orch now loaded


audio buffered in 4096 sample-frame blocks


PortAudio V19.5.0-devel, revision unknown


Failed to initialise real time audio input





I'm trying it with very simple lines of code just for testing:





instr 1





asig poscil .5, 440


outs asig, asig


endin





;score


i1 0 4





Thank you in advance


Salvatore





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




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

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

Date2016-12-14 12:18
FromPeter Burgess
SubjectRe: Help
And just to clarify what this is for (excuse me if you know this already), but this sets the maximum output amplitude, ie: 

0dbfs = 32768
aOsc Poscil 32768, 440

Will sound exactly the same as:

0dbfs = 1
aOsc Poscil 1.0, 440


So with a 0dbfs of 32768, your oscillators amplitude of 0.5 will be only 1/65536 of the highest amplitude, and is most likely inaudible.

On 14 Dec 2016 12:10 p.m., "Peter Burgess" <pete.soundtechnician@gmail.com> wrote:
It's your 0dbfs setting. You've got it set to the old school 32000, but your oscillator is only set to 0.5 amplitude. Change it to:

0dbfs = 1

On 14 Dec 2016 12:00 p.m., "Salvatore Mirenda" <salvatore.mirenda78@gmail.com> wrote:
Hi everyone,
does anyone can help me, please, with a problem I often have with the real-time audio output in csound (using csoundqt frontend)? I know it might probably be a very stupid and simple task to solve, but it gets me crazy all the time, because  I can't understand the reason why it doesn't work. After installing the software on windows machine (with the installer), when I run the instr (without errors in the code) I can't hear any sound. Audio setting are ok by defaults (I never change settings on realtime window task leaving them set by default), but even if I change, setting them with the soundcard installed on the computer, it doesn't work. Sound card is ok because I can use it without any problem on others audio application (Audio editing or just a simple player). This is the message I get all the times (without hearing any sound and the button "run" seems not to compile the code):

STARTING FILE
Creating options
Creating orchestra
Creating score
rtaudio: PortAudio module enabled ...
using blocking interface
Elapsed time at end of orchestra compile: real: 0.039s, CPU: 0.039s
sorting score ...
        ... done
Elapsed time at end of score sort: real: 0.040s, CPU: 0.040s
midi channel 1 using instr 123
midi channel 2 using instr 123
midi channel 3 using instr 123
midi channel 4 using instr 123
midi channel 5 using instr 123
midi channel 6 using instr 123
midi channel 7 using instr 123
midi channel 8 using instr 123
midi channel 9 using instr 123
midi channel 10 using instr 123
midi channel 11 using instr 123
midi channel 12 using instr 123
midi channel 13 using instr 123
midi channel 14 using instr 123
midi channel 15 using instr 123
midi channel 16 using instr 123
0dBFS level = 32768.0
orch now loaded
audio buffered in 4096 sample-frame blocks
PortAudio V19.5.0-devel, revision unknown
Failed to initialise real time audio input

I'm trying it with very simple lines of code just for testing:

instr 1

asig poscil .5, 440
outs asig, asig
endin

;score
i1 0 4

Thank you in advance
Salvatore

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
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

Date2016-12-14 12:52
FromSalvatore Mirenda
SubjectR: [Csnd] Help

Hi, yeah I know about 0dbfs and it’is set to 1 not to the old school but it doesn’t work (this occurs only in csound, as I wrote, not with all Others audio application.

 

Inviato da Posta per Windows 10

 

Da: Peter Burgess
Inviato: mercoledì 14 dicembre 2016 13:18
A: CSOUND@LISTSERV.HEANET.IE
Oggetto: Re: [Csnd] Help

 

And just to clarify what this is for (excuse me if you know this already), but this sets the maximum output amplitude, ie: 

 

0dbfs = 32768

aOsc Poscil 32768, 440

 

Will sound exactly the same as:

 

0dbfs = 1

aOsc Poscil 1.0, 440

 

 

So with a 0dbfs of 32768, your oscillators amplitude of 0.5 will be only 1/65536 of the highest amplitude, and is most likely inaudible.

 

On 14 Dec 2016 12:10 p.m., "Peter Burgess" <pete.soundtechnician@gmail.com> wrote:

It's your 0dbfs setting. You've got it set to the old school 32000, but your oscillator is only set to 0.5 amplitude. Change it to:

 

0dbfs = 1

 

On 14 Dec 2016 12:00 p.m., "Salvatore Mirenda" <salvatore.mirenda78@gmail.com> wrote:

Hi everyone,
does anyone can help me, please, with a problem I often have with the real-time audio output in csound (using csoundqt frontend)? I know it might probably be a very stupid and simple task to solve, but it gets me crazy all the time, because  I can't understand the reason why it doesn't work. After installing the software on windows machine (with the installer), when I run the instr (without errors in the code) I can't hear any sound. Audio setting are ok by defaults (I never change settings on realtime window task leaving them set by default), but even if I change, setting them with the soundcard installed on the computer, it doesn't work. Sound card is ok because I can use it without any problem on others audio application (Audio editing or just a simple player). This is the message I get all the times (without hearing any sound and the button "run" seems not to compile the code):

STARTING FILE
Creating options
Creating orchestra
Creating score
rtaudio: PortAudio module enabled ...
using blocking interface
Elapsed time at end of orchestra compile: real: 0.039s, CPU: 0.039s
sorting score ...
        ... done
Elapsed time at end of score sort: real: 0.040s, CPU: 0.040s
midi channel 1 using instr 123
midi channel 2 using instr 123
midi channel 3 using instr 123
midi channel 4 using instr 123
midi channel 5 using instr 123
midi channel 6 using instr 123
midi channel 7 using instr 123
midi channel 8 using instr 123
midi channel 9 using instr 123
midi channel 10 using instr 123
midi channel 11 using instr 123
midi channel 12 using instr 123
midi channel 13 using instr 123
midi channel 14 using instr 123
midi channel 15 using instr 123
midi channel 16 using instr 123
0dBFS level = 32768.0
orch now loaded
audio buffered in 4096 sample-frame blocks
PortAudio V19.5.0-devel, revision unknown
Failed to initialise real time audio input

I'm trying it with very simple lines of code just for testing:

instr 1

asig poscil .5, 440
outs asig, asig
endin

;score
i1 0 4

Thank you in advance
Salvatore

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

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

 


Date2016-12-14 12:59
FromGuillermo Senna
SubjectRe: R: [Csnd] Help
Could and invalid input device (-iadc in CsOptions or portaudio in
CsoundQt's settings) be the cause?


On 14/12/16 09:52, Salvatore Mirenda wrote:
> Hi, yeah I know about 0dbfs and it’is set to 1 not to the old school but it doesn’t work (this occurs only in csound, as I wrote, not with all Others audio application.
>
> Inviato da Posta per Windows 10
>
> Da: Peter Burgess
> Inviato: mercoledì 14 dicembre 2016 13:18
> A: CSOUND@LISTSERV.HEANET.IE
> Oggetto: Re: [Csnd] Help
>
> And just to clarify what this is for (excuse me if you know this already), but this sets the maximum output amplitude, ie: 
>
> 0dbfs = 32768
> aOsc Poscil 32768, 440
>
> Will sound exactly the same as:
>
> 0dbfs = 1
> aOsc Poscil 1.0, 440
>
>
> So with a 0dbfs of 32768, your oscillators amplitude of 0.5 will be only 1/65536 of the highest amplitude, and is most likely inaudible.
>
> On 14 Dec 2016 12:10 p.m., "Peter Burgess"  wrote:
> It's your 0dbfs setting. You've got it set to the old school 32000, but your oscillator is only set to 0.5 amplitude. Change it to:
>
> 0dbfs = 1
>
> On 14 Dec 2016 12:00 p.m., "Salvatore Mirenda"  wrote:
> Hi everyone,
> does anyone can help me, please, with a problem I often have with the real-time audio output in csound (using csoundqt frontend)? I know it might probably be a very stupid and simple task to solve, but it gets me crazy all the time, because  I can't understand the reason why it doesn't work. After installing the software on windows machine (with the installer), when I run the instr (without errors in the code) I can't hear any sound. Audio setting are ok by defaults (I never change settings on realtime window task leaving them set by default), but even if I change, setting them with the soundcard installed on the computer, it doesn't work. Sound card is ok because I can use it without any problem on others audio application (Audio editing or just a simple player). This is the message I g
 et all the times (without hearing any sound and the button "run" seems not to compile the code):
>
> STARTING FILE
> Creating options
> Creating orchestra
> Creating score
> rtaudio: PortAudio module enabled ...
> using blocking interface
> Elapsed time at end of orchestra compile: real: 0.039s, CPU: 0.039s
> sorting score ...
>         ... done
> Elapsed time at end of score sort: real: 0.040s, CPU: 0.040s
> midi channel 1 using instr 123
> midi channel 2 using instr 123
> midi channel 3 using instr 123
> midi channel 4 using instr 123
> midi channel 5 using instr 123
> midi channel 6 using instr 123
> midi channel 7 using instr 123
> midi channel 8 using instr 123
> midi channel 9 using instr 123
> midi channel 10 using instr 123
> midi channel 11 using instr 123
> midi channel 12 using instr 123
> midi channel 13 using instr 123
> midi channel 14 using instr 123
> midi channel 15 using instr 123
> midi channel 16 using instr 123
> 0dBFS level = 32768.0
> orch now loaded
> audio buffered in 4096 sample-frame blocks
> PortAudio V19.5.0-devel, revision unknown
> Failed to initialise real time audio input
>
> I'm trying it with very simple lines of code just for testing:
>
> instr 1
>
> asig poscil .5, 440
> outs asig, asig
> endin
>
> ;score
> i1 0 4
>
> Thank you in advance
> Salvatore
>
> 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
> 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 
>
>
> 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
>

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