Csound Csound-dev Csound-tekno Search About

prints opcode

Date2016-05-30 09:04
FromFrancesco Porta
Subjectprints opcode
Hello All,
i'm using prints in this way:

instr 100
ires times
iLoop = (p1 - 100)*1000
prints "LOOP %d started\n", iLoop
endin

instr 200
ires times
iLoop = (p1 - 200)*1000
prints "LOOP %d ended\n", iLoop
endin

instr 100 is working right but instr 200 prints an extra d character:

LOOP 2 started
LOOP 2 ended
d

What i'm doing wrong?

i'm on Ubuntu 64 bit with latest git Csound.

Thanks,
ciao,
francesco.

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-05-30 09:23
FromVictor Lazzarini
SubjectRe: prints opcode
I don’t get the extra “d” here:

SECTION 1:
new alloc for instr 100:
LOOP 2 started
new alloc for instr 200:
LOOP 2 ended
B  0.000 ..  1.000 T  1.000 TT  1.000 M:      0.0

and it’s the latest Csound from git (on OSX).
========================
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 30 May 2016, at 09:04, Francesco Porta  wrote:
> 
> Hello All,
> i'm using prints in this way:
> 
> instr 100
> ires times
> iLoop = (p1 - 100)*1000
> prints "LOOP %d started\n", iLoop
> endin
> 
> instr 200
> ires times
> iLoop = (p1 - 200)*1000
> prints "LOOP %d ended\n", iLoop
> endin
> 
> instr 100 is working right but instr 200 prints an extra d character:
> 
> LOOP 2 started
> LOOP 2 ended
> d
> 
> What i'm doing wrong?
> 
> i'm on Ubuntu 64 bit with latest git Csound.
> 
> Thanks,
> ciao,
> francesco.
> 
> 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-05-30 09:31
Fromfrancesco
SubjectRe: prints opcode
thanks Victor,
i don't know, i have this both using scite and terminal ...

ciao,
francesco.

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-05-30 09:37
FromVictor Lazzarini
SubjectRe: prints opcode
Maybe check that you are running the latest version from git.
========================
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 

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-05-30 10:29
FromKarin Daum
SubjectRe: prints opcode
this was an issue with 6.0.7 beta as far as I remember. I reported this bug in March and it was then fixed.  you got at all prints statements except the first one the format for the variables printed in addition (d in your case) I don’t have this problem with the official  Csound 6.0.7 and CsoundQt 0.9.2.1 release from about two weeks ago.

cheers,

Karin

> On 30 May 2016, at 10:37, Victor Lazzarini  wrote:
> 
> Maybe check that you are running the latest version from git.
> ========================
> 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 
> 
> 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-05-30 10:51
Fromfrancesco
SubjectRe: prints opcode
Thanks,
i needed to cleanup csound directory! I always forget to do that.

ciao,
francesco.

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