Csound Csound-dev Csound-tekno Search About

[Csnd] getcfg prinf little curiosity

Date2009-07-18 13:11
Fromfrancibal
Subject[Csnd] getcfg prinf little curiosity
Hi All,
apologize my curiosity in little things, but i need to understand little
things too.

I'm try getcfg opcode, and all work well. What happens is that output (via
prints) has a double line
(about S2, -i value) without i call that. And that happens with WinXound,
Scite, and Emacs, but not in console or in Qutecsound.

If someone could explain me somethings i'll be happy.

Here my basic example:






sr	= 48000
ksmps	= 64
nchnls	= 2
0dbfs	= 1.0

instr 20

S1	getcfg 1	; -+max_str_len
S2	getcfg 2	; -i
S3	getcfg 3	; -o
S4	getcfg 4	; RTaudio
S5	getcfg 5	; -t
S6	getcfg 6	; os system host
S7	getcfg 7	; callback

prints "============================================"
prints "\nMax string len : "
prints	S1
prints "\nInput file name (-i) : "
prints	S2 
prints "\nOutput file name (-o) : "
prints	S3 
prints "\nRTaudio (-odac) : "
prints	S4 
prints "\nBeat mode (-t)? : "
prints	S5 
prints "\nHost Op. Sys. : "
prints	S6 
prints "\nCallback ? : "
prints	S7
prints "\n"
prints "============================================\n"

endin



i20 0 1
e



and my out:

SECTION 1:
new alloc for instr 20:
============================================
Max string len : 255
Input file name (-i) : 
Input file name (-i) : 
Output file name (-o) : dac1
RTaudio (-odac) : 1
Beat mode (-t)? : 0
Host Op. Sys. : Win32
Callback ? : 0
============================================
B  0.000 ..  1.000 T  1.000 TT  1.000 M:  0.00000  0.00000
Score finished in csoundPerform().

What's wrong ? Or am i wrong somethings ?

Many thanks,

ciao,
fran.
-- 
View this message in context: http://www.nabble.com/getcfg-prinf-little-curiosity-tp24547268p24547268.html
Sent from the Csound - General mailing list archive at Nabble.com.