Bug in sprintf?
Date | 2017-03-26 15:28 |
From | Andreas Bergsland |
Subject | Bug in sprintf? |
Attachments | andreas_bergsland.vcf |
Hi, When I run the .csd below, I get 01234567890123456789012345678 rtevent: T 0.500 TT 0.500 M: 0.0 012345678901234567890123456789/2.wav rtevent: T 1.000 TT 1.000 M: 0.0 012345678901234567890123456789/3.wav rtevent: T 1.500 TT 1.500 M: 0.0 012345678901234567890123456789/4.wav rtevent: T 2.000 TT 2.000 M: 0.0 This looks like a bug in sprintf. (I am on OSX 10.10.5, cs 6.08 binary install). Best, Andreas |
Date | 2017-03-26 16:00 |
From | Tarmo Johannes |
Subject | Re: Bug in sprintf? |
Hi, What happens if you use a local string like Sout? Tarmo 26.03.2017 17:28 kirjutas kuupäeval "Andreas Bergsland" <andreas.bergsland@ntnu.no>: Hi, |
Date | 2017-03-26 16:11 |
From | jpff |
Subject | Re: Bug in sprintf? |
I cannot reprduce on current git code. There ave bee canges in tis area On Sun, 26 Mar 2017, Andreas Bergsland wrote: > Hi, > > When I run the .csd below, I get > > 01234567890123456789012345678 rtevent: T 0.500 TT 0.500 M: 0.0 > 012345678901234567890123456789/2.wav rtevent: T 1.000 TT 1.000 M: > 0.0 > 012345678901234567890123456789/3.wav rtevent: T 1.500 TT 1.500 M: > 0.0 > 012345678901234567890123456789/4.wav rtevent: T 2.000 TT 2.000 M: > 0.0 > > This looks like a bug in sprintf. (I am on OSX 10.10.5, cs 6.08 binary > install). > > Best, Andreas > > |
Date | 2017-03-26 20:29 |
From | Andreas Bergsland |
Subject | Re: Bug in sprintf? |
Attachments | andreas_bergsland.vcf |
It is the same result.
Andreas
-- Andreas Bergsland Associate professor - førsteamanuensis Music Technology Programme - Musikkteknologiseksjonen Department of Music - Institutt for musikk Olavskvartalet NTNU (Norwegian University of Science and Technology) 7491 Trondheim NORWAY Visiting address/besøksadresse: Fjordgt.1 (3.etg.) e-mail: andreas.bergsland@ntnu.no Web: http://folk.ntnu.no/andbe Office phone: 7359 0096 Mobile: 4566 3316 |
Date | 2017-03-26 20:34 |
From | Andreas Bergsland |
Subject | Re: Bug in sprintf? |
Attachments | andreas_bergsland.vcf |
Ok, so it might already be fixed, then. BTW the same thing happened when replacing sprintf with sprintfk in instr 2 Andreas > I cannot reprduce on current git code. There ave bee canges in tis area > > > On Sun, 26 Mar 2017, Andreas Bergsland wrote: > >> Hi, >> >> When I run the .csd below, I get >> >> 01234567890123456789012345678 rtevent: T 0.500 TT 0.500 >> M: 0.0 >> 012345678901234567890123456789/2.wav rtevent: T 1.000 TT >> 1.000 M: 0.0 >> 012345678901234567890123456789/3.wav rtevent: T 1.500 TT >> 1.500 M: 0.0 >> 012345678901234567890123456789/4.wav rtevent: T 2.000 TT >> 2.000 M: 0.0 >> >> This looks like a bug in sprintf. (I am on OSX 10.10.5, cs 6.08 >> binary install). >> >> Best, Andreas >> >> |
Date | 2017-03-26 21:15 |
From | jpff |
Subject | Re: Bug in sprintf? |
We need a OSX user to check. I see SECTION 1: new alloc for instr 1: rtevent: T 0.000 TT 0.000 M: 0.0 new alloc for instr 2: 6 5 012345678901234567890123456789/1.wav rtevent: T 0.500 TT 0.500 M: 0.0 74 36 012345678901234567890123456789/2.wav rtevent: T 1.000 TT 1.000 M: 0.0 74 36 012345678901234567890123456789/3.wav rtevent: T 1.500 TT 1.500 M: 0.0 74 36 012345678901234567890123456789/4.wav rtevent: T 2.000 TT 2.000 M: 0.0 74 36 012345678901234567890123456789/5.wav rtevent: T 2.500 TT 2.500 M: 0.0 74 36 012345678901234567890123456789/6.wav rtevent: T 3.000 TT 3.000 M: 0.0 74 36 012345678901234567890123456789/7.wav rtevent: T 3.500 TT 3.500 M: 0.0 74 36 012345678901234567890123456789/8.wav rtevent: T 4.000 TT 4.000 M: 0.0 74 36 012345678901234567890123456789/9.wav rtevent: T 4.500 TT 4.500 M: 0.0 74 36 012345678901234567890123456789/10.wavB 0.000 .. 5.000 T 5.000 TT 5.000 M: 0.0 Score finished in csoundPerform(). On Sun, 26 Mar 2017, Andreas Bergsland wrote: > Ok, so it might already be fixed, then. BTW the same thing happened when > replacing sprintf with sprintfk in instr 2 > Andreas >> I cannot reprduce on current git code. There ave bee canges in tis area >> >> >> On Sun, 26 Mar 2017, Andreas Bergsland wrote: >> >>> Hi, >>> >>> When I run the .csd below, I get >>> >>> 01234567890123456789012345678 rtevent: T 0.500 TT 0.500 M: >>> 0.0 >>> 012345678901234567890123456789/2.wav rtevent: T 1.000 TT 1.000 M: >>> 0.0 >>> 012345678901234567890123456789/3.wav rtevent: T 1.500 TT 1.500 M: >>> 0.0 >>> 012345678901234567890123456789/4.wav rtevent: T 2.000 TT 2.000 M: >>> 0.0 >>> >>> This looks like a bug in sprintf. (I am on OSX 10.10.5, cs 6.08 binary >>> install). >>> >>> Best, Andreas >>> >>> |
Date | 2017-03-26 21:33 |
From | Victor Lazzarini |
Subject | Re: Bug in sprintf? |
I get the same result here on OSX. ======================== Prof. 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 26 Mar 2017, at 21:15, jpff |
Date | 2017-03-27 14:35 |
From | Andreas Bergsland |
Subject | Re: Bug in sprintf? |
Attachments | andreas_bergsland.vcf |
Great, thanks. I reckon it means it is already fixed! Andreas > I get the same result here on OSX. > ======================== > Prof. 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 26 Mar 2017, at 21:15, jpff |