Csound Csound-dev Csound-tekno Search About

[Csnd] Did printk change?

Date2018-01-03 09:18
FromJan Jacob Hofmann
Subject[Csnd] Did printk change?
Dear list

I do wonder if printk shows the behaviour it ever did or if something 
changed: I would expect the first print-event at the first k cycle or at 
itime. But the first print-event happans at itime * 0.5...and then every 
itime. I do remember that it once started off at the first k-cycle 
(shortly after time 0.000) some version numbers of csound before. Below 
I put a small .csd for testing.

All the best,

Jan Jacob





-n





sr = 44100

ksmps = 441

nchnls = 2

0dbfs = 1

instr 1

ktest = 1

printk 4, ktest,8

endin





i1 0 8

e





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

Date2018-01-03 10:30
FromAndrea Strappa
SubjectRe: [Csnd] Did printk change?
in --Csound version 6.09.1 (double samples) Jul 10 2017 the report is:

SECTION 1:
new alloc for instr 1:
  i   1 time     0.01000:             1.00000
  i   1 time     2.01000:             1.00000
  i   1 time     6.00000:             1.00000
B  0.000 ..  8.000 T  8.000 TT  8.000 M:  0.00000  0.00000
Score finished in csoundPerform().

Greetings

Andrea


Il 03/01/2018 10:18, Jan Jacob Hofmann ha scritto:
> Dear list
>
> I do wonder if printk shows the behaviour it ever did or if something 
> changed: I would expect the first print-event at the first k cycle or 
> at itime. But the first print-event happans at itime * 0.5...and then 
> every itime. I do remember that it once started off at the first 
> k-cycle (shortly after time 0.000) some version numbers of csound 
> before. Below I put a small .csd for testing.
>
> All the best,
>
> Jan Jacob
>
> 
>
> 
>
> -n
>
> 
>
> 
>
> sr = 44100
>
> ksmps = 441
>
> nchnls = 2
>
> 0dbfs = 1
>
> instr 1
>
> ktest = 1
>
> printk 4, ktest,8
>
> endin
>
> 
>
> 
>
> i1 0 8
>
> e
>
> 
>
> 
>
> 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

Date2018-01-03 11:37
Fromjpff
SubjectRe: [Csnd] Did printk change?
Same result in 6.10 as in git today.

The code in the printing opcodes is generally contort.   Hoever the only 
changes I can see in the code in 2017 are related to error messages.

There is one change in 2016 that might be revelant which looks like 
rounding.  Need to look harder at the code!

==John ff

On Wed, 3 Jan 2018, Andrea Strappa wrote:

> in --Csound version 6.09.1 (double samples) Jul 10 2017 the report is:
>
> SECTION 1:
> new alloc for instr 1:
>  i   1 time     0.01000:             1.00000
>  i   1 time     2.01000:             1.00000
>  i   1 time     6.00000:             1.00000
> B  0.000 ..  8.000 T  8.000 TT  8.000 M:  0.00000  0.00000
> Score finished in csoundPerform().
>
> Greetings
>
> Andrea
>
>
> Il 03/01/2018 10:18, Jan Jacob Hofmann ha scritto:
>> Dear list
>> 
>> I do wonder if printk shows the behaviour it ever did or if something 
>> changed: I would expect the first print-event at the first k cycle or at 
>> itime. But the first print-event happans at itime * 0.5...and then every 
>> itime. I do remember that it once started off at the first k-cycle (shortly 
>> after time 0.000) some version numbers of csound before. Below I put a 
>> small .csd for testing.
>> 
>> All the best,
>> 
>> Jan Jacob
>> 
>> 
>> 
>> -n
>> 
>> 
>> sr = 44100
>> ksmps = 441
>> nchnls = 2
>> 0dbfs = 1
>> instr 1
>> ktest = 1
>> printk 4, ktest,8
>> endin
>> 
>> 
>> i1 0 8
>> e
>> 
>> 
>>

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

Date2018-01-03 20:02
FromJohn ff
SubjectRe: [Csnd] Did printk change?
I think I have studied version in git.  The code was very contorted!

⁣Sent from TypeApp ​

On Jan 3, 2018, 11:39, at 11:39, jpff  wrote:
>Same result in 6.10 as in git today.
>
>The code in the printing opcodes is generally contort.   Hoever the
>only 
>changes I can see in the code in 2017 are related to error messages.
>
>There is one change in 2016 that might be revelant which looks like 
>rounding.  Need to look harder at the code!
>
>==John ff
>
>On Wed, 3 Jan 2018, Andrea Strappa wrote:
>
>> in --Csound version 6.09.1 (double samples) Jul 10 2017 the report
>is:
>>
>> SECTION 1:
>> new alloc for instr 1:
>>  i   1 time     0.01000:             1.00000
>>  i   1 time     2.01000:             1.00000
>>  i   1 time     6.00000:             1.00000
>> B  0.000 ..  8.000 T  8.000 TT  8.000 M:  0.00000  0.00000
>> Score finished in csoundPerform().
>>
>> Greetings
>>
>> Andrea
>>
>>
>> Il 03/01/2018 10:18, Jan Jacob Hofmann ha scritto:
>>> Dear list
>>> 
>>> I do wonder if printk shows the behaviour it ever did or if
>something 
>>> changed: I would expect the first print-event at the first k cycle
>or at 
>>> itime. But the first print-event happans at itime * 0.5...and then
>every 
>>> itime. I do remember that it once started off at the first k-cycle
>(shortly 
>>> after time 0.000) some version numbers of csound before. Below I put
>a 
>>> small .csd for testing.
>>> 
>>> All the best,
>>> 
>>> Jan Jacob
>>> 
>>> 
>>> 
>>> -n
>>> 
>>> 
>>> sr = 44100
>>> ksmps = 441
>>> nchnls = 2
>>> 0dbfs = 1
>>> instr 1
>>> ktest = 1
>>> printk 4, ktest,8
>>> endin
>>> 
>>> 
>>> i1 0 8
>>> e
>>> 
>>> 
>>>
>
>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

Date2018-01-03 20:26
FromJohn ff
SubjectRe: [Csnd] Did printk change?
Fixed version......

⁣Sent from TypeApp ​

On Jan 3, 2018, 20:04, at 20:04, John ff  wrote:
>I think I have studied version in git.  The code was very contorted!
>
>⁣Sent from TypeApp ​
>
>On Jan 3, 2018, 11:39, at 11:39, jpff  wrote:
>>Same result in 6.10 as in git today.
>>
>>The code in the printing opcodes is generally contort.   Hoever the
>>only
>>changes I can see in the code in 2017 are related to error messages.
>>
>>There is one change in 2016 that might be revelant which looks like
>>rounding.  Need to look harder at the code!
>>
>>==John ff
>>
>>On Wed, 3 Jan 2018, Andrea Strappa wrote:
>>
>>> in --Csound version 6.09.1 (double samples) Jul 10 2017 the report
>>is:
>>>
>>> SECTION 1:
>>> new alloc for instr 1:
>>>  i   1 time     0.01000:             1.00000
>>>  i   1 time     2.01000:             1.00000
>>>  i   1 time     6.00000:             1.00000
>>> B  0.000 ..  8.000 T  8.000 TT  8.000 M:  0.00000  0.00000
>>> Score finished in csoundPerform().
>>>
>>> Greetings
>>>
>>> Andrea
>>>
>>>
>>> Il 03/01/2018 10:18, Jan Jacob Hofmann ha scritto:
>>>> Dear list
>>>>
>>>> I do wonder if printk shows the behaviour it ever did or if
>>something
>>>> changed: I would expect the first print-event at the first k cycle
>>or at
>>>> itime. But the first print-event happans at itime * 0.5...and then
>>every
>>>> itime. I do remember that it once started off at the first k-cycle
>>(shortly
>>>> after time 0.000) some version numbers of csound before. Below I
>put
>>a
>>>> small .csd for testing.
>>>>
>>>> All the best,
>>>>
>>>> Jan Jacob
>>>>
>>>> 
>>>> 
>>>> -n
>>>> 
>>>> 
>>>> sr = 44100
>>>> ksmps = 441
>>>> nchnls = 2
>>>> 0dbfs = 1
>>>> instr 1
>>>> ktest = 1
>>>> printk 4, ktest,8
>>>> endin
>>>> 
>>>> 
>>>> i1 0 8
>>>> e
>>>> 
>>>> 
>>>>
>>
>>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