Csound Csound-dev Csound-tekno Search About

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

Date2019-09-12 16:34
FromMarco Ippolito
SubjectRe: [Csnd] markov_basics.csd execution in CsoundQt: Csound compile failed
Hi Tarmo,

I have set in CsoundQt Configuration->run :
  RT Audio Module: null
  Input device(-i): adc
  Output device (-o): dac

and despite of that this is the output i nthe command line, when executing in CsoundQt:

WidgetLayout::loadXmlWidgets Older Widget Format version
DocumentPage::getMacOptions() Option Options:  not found!
DocumentPage::applyMacOptions() no Geometry!
 loaded.
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=null
-iadc
-odac
--env:CSNOSTOP=yes
/usr/share/qutecsound/Examples/FLOSS Manual Examples/01 Basics/01D07_markov_basics.csd
Csound compile failed!  -1
0dBFS level = 32768.0


Executing csound directly in the command line without CsoundQt:

(base) marco@marco-U36SG:~$ csound -odac /usr/share/qutecsound/Examples/FlossManualExamples/01_Basics/01D07_markov_basics.csd
0dBFS level = 32768.0
--Csound version 6.10 (double samples) 2018-01-27 
[commit: none]
libsndfile-1.0.28
UnifiedCSD:  /usr/share/qutecsound/Examples/FlossManualExamples/01_Basics/01D07_markov_basics.csd
STARTING FILE
Creating options
Creating orchestra
closing tag
Creating score
rtaudio: ALSA module enabled
rtmidi: ALSA Raw MIDI module enabled

csound command: Segmentation fault
end of score.		   overall amps:      0.0
	   overall samples out of range:        0
0 errors in performance

I then disintalled and re-installed csoundqt in order to check if it might change something...:
now in CsoundQtConfiguration->Run :
    RT Audio Module: null
    Input device(-i): adc and the only options available now are: default (adc) and none()
    Output device(-o): dac and the only options available now are: default(dac) and none()

I realized that the starter Hello World.csd works fine only if I start qjackctl beforehand.
I tried also to execute the simple markov_basics.csd first with CsoundQt, but this is, again, the output:

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=null
-iadc
-odac
--env:CSNOSTOP=yes
/usr/share/qutecsound/Examples/FlossManualExamples/01_Basics/01D07_markov_basics.csd
Csound compile failed!  -1

and then via command line:

(base) marco@marco-U36SG:~$ csound -odac /usr/share/qutecsound/Examples/FlossManualExamples/01_Basics/01D07_markov_basics.csd 
0dBFS level = 32768.0
--Csound version 6.10 (double samples) 2018-01-27 
[commit: none]
libsndfile-1.0.28
UnifiedCSD:  /usr/share/qutecsound/Examples/FlossManualExamples/01_Basics/01D07_markov_basics.csd
STARTING FILE
Creating options
Creating orchestra
closing tag
Creating score
rtaudio: ALSA module enabled
rtmidi: ALSA Raw MIDI module enabled

csound command: Segmentation fault
end of score.		   overall amps:      0.0
	   overall samples out of range:        0
0 errors in performance


Does it mean that from command line it works fine? And why with CsoundQt it doesn't work, if I properly set the configuration parameters?

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-12 16:50
Fromjohn
SubjectRe: [Csnd] markov_basics.csd execution in CsoundQt: Csound compile failed
If you add the -v flag to the command line version of your example we 
might get more information.  Beware though it may generate a lot of 
output.

If you are running og Linux you could run under gdb -- sorry I forget 
which platform you have

But Tarmo is probably te better helpert


On Thu, 12 Sep 2019, Marco Ippolito wrote:

> Hi Tarmo,
>
> I have set in CsoundQt Configuration->run :
>  RT Audio Module: null
>  Input device(-i): adc
>  Output device (-o): dac
>
> and despite of that this is the output i nthe command line, when executing in CsoundQt:
>
> WidgetLayout::loadXmlWidgets Older Widget Format version
> DocumentPage::getMacOptions() Option Options:  not found!
> DocumentPage::applyMacOptions() no Geometry!
>  loaded.
> 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=null
> -iadc
> -odac
> --env:CSNOSTOP=yes
> /usr/share/qutecsound/Examples/FLOSS Manual Examples/01 Basics/01D07_markov_basics.csd
> Csound compile failed!  -1
> 0dBFS level = 32768.0
>
>
> Executing csound directly in the command line without CsoundQt:
>
> (base) marco@marco-U36SG:~$ csound -odac /usr/share/qutecsound/Examples/FlossManualExamples/01_Basics/01D07_markov_basics.csd
> 0dBFS level = 32768.0
> --Csound version 6.10 (double samples) 2018-01-27
> [commit: none]
> libsndfile-1.0.28
> UnifiedCSD:  /usr/share/qutecsound/Examples/FlossManualExamples/01_Basics/01D07_markov_basics.csd
> STARTING FILE
> Creating options
> Creating orchestra
> closing tag
> Creating score
> rtaudio: ALSA module enabled
> rtmidi: ALSA Raw MIDI module enabled
>
> csound command: Segmentation fault
> end of score.		   overall amps:      0.0
> 	   overall samples out of range:        0
> 0 errors in performance
>
> I then disintalled and re-installed csoundqt in order to check if it might change something...:
> now in CsoundQtConfiguration->Run :
>    RT Audio Module: null
>    Input device(-i): adc and the only options available now are: default (adc) and none()
>    Output device(-o): dac and the only options available now are: default(dac) and none()
>
> I realized that the starter Hello World.csd works fine only if I start qjackctl beforehand.
> I tried also to execute the simple markov_basics.csd first with CsoundQt, but this is, again, the output:
>
> 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=null
> -iadc
> -odac
> --env:CSNOSTOP=yes
> /usr/share/qutecsound/Examples/FlossManualExamples/01_Basics/01D07_markov_basics.csd
> Csound compile failed!  -1
>
> and then via command line:
>
> (base) marco@marco-U36SG:~$ csound -odac /usr/share/qutecsound/Examples/FlossManualExamples/01_Basics/01D07_markov_basics.csd
> 0dBFS level = 32768.0
> --Csound version 6.10 (double samples) 2018-01-27
> [commit: none]
> libsndfile-1.0.28
> UnifiedCSD:  /usr/share/qutecsound/Examples/FlossManualExamples/01_Basics/01D07_markov_basics.csd
> STARTING FILE
> Creating options
> Creating orchestra
> closing tag
> Creating score
> rtaudio: ALSA module enabled
> rtmidi: ALSA Raw MIDI module enabled
>
> csound command: Segmentation fault
> end of score.		   overall amps:      0.0
> 	   overall samples out of range:        0
> 0 errors in performance
>
>
> Does it mean that from command line it works fine? And why with CsoundQt it doesn't work, if I properly set the configuration parameters?
>
> 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