Csound Csound-dev Csound-tekno Search About

[Csnd] markov_basics.csd execution in CsoundQt: Csound compile failed

Date2019-09-11 18:23
FromMarco Ippolito
Subject[Csnd] markov_basics.csd execution in CsoundQt: Csound compile failed
Hi all,
to get acquainted to the csound programming language before using csound with C++ API in my C++ files, I'm following the CSound Floss Manual, and experimenting  with CsoundQt with its examples.
From time to time I encounter  compiling problems:

CsoundQt main menu: Examples->FLOSS Manual Examples->Basics-> markov_basics.csd

When clicking the run button, this is the output of the command line in my Ubuntu 18.04.02 Desktop:

(base) marco@marco-U36SG:~$ csoundqt
0dBFS level = 32768,0
--Csound version 6.10 (double samples) 2018-01-27 
[commit: none]
libsndfile-1.0.28
end of score.		   overall amps:      0,0
	   overall samples out of range:        0
0 errors in performance
Elapsed time at end of performance: real: 0,000s, CPU: 0,000s
WidgetLayout::loadXmlWidgets Older Widget Format version
DocumentPage::getMacOptions() Option Options:  not found!
DocumentPage::applyMacOptions() no Geometry!
 loaded.
Found manual in:  "/usr/share/doc/csound-doc/html/"
CsoundQt::play()...
0dBFS level = 32768,0
--Csound version 6.10 (double samples) 2018-01-27 
[commit: none]
libsndfile-1.0.28
csound
-b1024
-B2048
-+rtaudio=pa_cb
-iadc2
-odac7
--env:CSNOSTOP=yes
/usr/share/qutecsound/Examples/FLOSS Manual Examples/01 Basics/01D07_markov_basics.csd
Csound compile failed!  -1


In CsoundQt Configuration:
Run:
  RT Audio Module: portaudio(callback)
  Input device(-i): adc2 
  Output device(-o): dac7

What do I have to do in order to execute correctly this simple example?
Marco

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

Date2019-09-11 20:07
FromTarmo Johannes
SubjectRe: [Csnd] markov_basics.csd execution in CsoundQt: Csound compile failed
Hi!
It can be about the input/output devices or the audio driver.
Can you try with -+rtaudio=0  and default -odac? You can omit the input when you don't use it.
Tarmo

K, 11. september 2019 20:23 Marco Ippolito <ippolito.marco@gmail.com> kirjutas:
Hi all,
to get acquainted to the csound programming language before using csound with C++ API in my C++ files, I'm following the CSound Floss Manual, and experimenting  with CsoundQt with its examples.
>From time to time I encounter  compiling problems:

CsoundQt main menu: Examples->FLOSS Manual Examples->Basics-> markov_basics.csd

When clicking the run button, this is the output of the command line in my Ubuntu 18.04.02 Desktop:

(base) marco@marco-U36SG:~$ csoundqt
0dBFS level = 32768,0
--Csound version 6.10 (double samples) 2018-01-27
[commit: none]
libsndfile-1.0.28
end of score.              overall amps:      0,0
           overall samples out of range:        0
0 errors in performance
Elapsed time at end of performance: real: 0,000s, CPU: 0,000s
WidgetLayout::loadXmlWidgets Older Widget Format version
DocumentPage::getMacOptions() Option Options:  not found!
DocumentPage::applyMacOptions() no Geometry!
<MacOptions> loaded.
Found manual in:  "/usr/share/doc/csound-doc/html/"
CsoundQt::play()...
0dBFS level = 32768,0
--Csound version 6.10 (double samples) 2018-01-27
[commit: none]
libsndfile-1.0.28
csound
-b1024
-B2048
-+rtaudio=pa_cb
-iadc2
-odac7
--env:CSNOSTOP=yes
/usr/share/qutecsound/Examples/FLOSS Manual Examples/01 Basics/01D07_markov_basics.csd
Csound compile failed!  -1


In CsoundQt Configuration:
Run:
  RT Audio Module: portaudio(callback)
  Input device(-i): adc2
  Output device(-o): dac7

What do I have to do in order to execute correctly this simple example?
Marco

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

Date2019-09-11 20:09
FromTarmo Johannes
SubjectRe: [Csnd] markov_basics.csd execution in CsoundQt: Csound compile failed
-rtaudio=null I meant.
Your -odac7 seems suspicios. Do you really have 7 sound cards connected?
Tarmo

K, 11. september 2019 22:07 Tarmo Johannes <trmjhnns@gmail.com> kirjutas:
Hi!
It can be about the input/output devices or the audio driver.
Can you try with -+rtaudio=0  and default -odac? You can omit the input when you don't use it.
Tarmo

K, 11. september 2019 20:23 Marco Ippolito <ippolito.marco@gmail.com> kirjutas:
Hi all,
to get acquainted to the csound programming language before using csound with C++ API in my C++ files, I'm following the CSound Floss Manual, and experimenting  with CsoundQt with its examples.
>From time to time I encounter  compiling problems:

CsoundQt main menu: Examples->FLOSS Manual Examples->Basics-> markov_basics.csd

When clicking the run button, this is the output of the command line in my Ubuntu 18.04.02 Desktop:

(base) marco@marco-U36SG:~$ csoundqt
0dBFS level = 32768,0
--Csound version 6.10 (double samples) 2018-01-27
[commit: none]
libsndfile-1.0.28
end of score.              overall amps:      0,0
           overall samples out of range:        0
0 errors in performance
Elapsed time at end of performance: real: 0,000s, CPU: 0,000s
WidgetLayout::loadXmlWidgets Older Widget Format version
DocumentPage::getMacOptions() Option Options:  not found!
DocumentPage::applyMacOptions() no Geometry!
<MacOptions> loaded.
Found manual in:  "/usr/share/doc/csound-doc/html/"
CsoundQt::play()...
0dBFS level = 32768,0
--Csound version 6.10 (double samples) 2018-01-27
[commit: none]
libsndfile-1.0.28
csound
-b1024
-B2048
-+rtaudio=pa_cb
-iadc2
-odac7
--env:CSNOSTOP=yes
/usr/share/qutecsound/Examples/FLOSS Manual Examples/01 Basics/01D07_markov_basics.csd
Csound compile failed!  -1


In CsoundQt Configuration:
Run:
  RT Audio Module: portaudio(callback)
  Input device(-i): adc2
  Output device(-o): dac7

What do I have to do in order to execute correctly this simple example?
Marco

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