Csound Csound-dev Csound-tekno Search About

prints bug in CsoundQt (MAC)

Date2016-04-06 09:16
FromKarin Daum
Subjectprints bug in CsoundQt (MAC)
Hi,

there is a problem with printing strings in CsoundQt. If after a long string a short string should be printed also the remainder of the long string will be printed.

The example below:






sr = 44100
ksmps = 128
nchnls = 2
0dbfs = 1.0
instr 1
prints " using pvscale for LF only  - split with butlp/buthp before pvsanal \n"
prints " using sndwarp \n"
endin



i 1 0 1



prints:

 using pvscale for LF only  - split with butlp/buthp before pvsanal 
 using sndwarp 
or LF only  - split with butlp/buthp before pvsanal 

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-04-06 09:44
FromRory Walsh
SubjectRe: prints bug in CsoundQt (MAC)

I'm getting the same behaviour with Cabbage. I'll take a look today and see if it is an issue with Csound.

On 6 Apr 2016 09:16, "Karin Daum" <karin.daum@desy.de> wrote:
Hi,

there is a problem with printing strings in CsoundQt. If after a long string a short string should be printed also the remainder of the long string will be printed.

The example below:

<CsoundSynthesizer>
<CsOptions>
</CsOptions>
<CsInstruments>

sr = 44100
ksmps = 128
nchnls = 2
0dbfs = 1.0
instr 1
prints " using pvscale for LF only  - split with butlp/buthp before pvsanal \n"
prints " using sndwarp \n"
endin

</CsInstruments>
<CsScore>
i 1 0 1
</CsScore>
</CsoundSynthesizer>

prints:

 using pvscale for LF only  - split with butlp/buthp before pvsanal
 using sndwarp
or LF only  - split with butlp/buthp before pvsanal

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-04-06 09:49
FromWolf Peuker
SubjectRe: prints bug in CsoundQt (MAC)
Am 06.04.2016 um 10:44 schrieb Rory Walsh:
> I'm getting the same behaviour with Cabbage. I'll take a look today and see if 
> it is an issue with Csound.
The bug does not occur with pure Csound on the Windows command line.

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-04-06 10:04
FromTarmo Johannes
SubjectRe: prints bug in CsoundQt (MAC)
Hi,

I get the same result, both CsoundQt and command line (Linux, Csound 6.07)

I think it has to do something with the unix standard input/output pipes.

If I change prints to printf_i, it is correct:

instr 1

printf_i "%d using pvscale for LF only - split with butlp/buthp before pvsanal \n",1,1

printf_i "%d using sndwarp \n",1,2

endin


Output:

new alloc for instr 1:

1 using pvscale for LF only - split with butlp/buthp before pvsanal

2 using sndwarp


greetings,

tarmo



2016-04-06 11:49 GMT+03:00 Wolf Peuker <wolfpeuker@posteo.de>:
Am 06.04.2016 um 10:44 schrieb Rory Walsh:
> I'm getting the same behaviour with Cabbage. I'll take a look today and see if
> it is an issue with Csound.
The bug does not occur with pure Csound on the Windows command line.

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-04-06 10:05
FromRory Walsh
SubjectRe: prints bug in CsoundQt (MAC)
It does with pure Csound on my command line? I'm using Csound 6.07

On 6 April 2016 at 09:49, Wolf Peuker <wolfpeuker@posteo.de> wrote:
Am 06.04.2016 um 10:44 schrieb Rory Walsh:
> I'm getting the same behaviour with Cabbage. I'll take a look today and see if
> it is an issue with Csound.
The bug does not occur with pure Csound on the Windows command line.

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-04-06 10:11
FromRory Walsh
SubjectRe: prints bug in CsoundQt (MAC)
I think this is definitely a Csound problem. It's present on all platforms, and from the command line. 

On 6 April 2016 at 10:05, Rory Walsh <rorywalsh@ear.ie> wrote:
It does with pure Csound on my command line? I'm using Csound 6.07

On 6 April 2016 at 09:49, Wolf Peuker <wolfpeuker@posteo.de> wrote:
Am 06.04.2016 um 10:44 schrieb Rory Walsh:
> I'm getting the same behaviour with Cabbage. I'll take a look today and see if
> it is an issue with Csound.
The bug does not occur with pure Csound on the Windows command line.

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-04-06 10:13
FromVictor Lazzarini
SubjectRe: prints bug in CsoundQt (MAC)
It’s likely some leftover tracing.
========================
Dr 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 6 Apr 2016, at 10:05, Rory Walsh  wrote:
> 
> It does with pure Csound on my command line? I'm using Csound 6.07
> 
> On 6 April 2016 at 09:49, Wolf Peuker  wrote:
> Am 06.04.2016 um 10:44 schrieb Rory Walsh:
> > I'm getting the same behaviour with Cabbage. I'll take a look today and see if
> > it is an issue with Csound.
> The bug does not occur with pure Csound on the Windows command line.
> 
> 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