| This is how the manual says it works as far as I know (tied notes).
========================
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 7 Mar 2016, at 15:40, Oeyvind Brandtsegg wrote:
>
> That makes sense,
> thank you so much.
>
> I discovered this when I recompiled Csound on a computer used for
> sound installation. The previous build was approx 2 years old, and did
> not show the same behaviour.
> Still, it seems the current way it works makes sense. So we just leave
> it like this then (?)
>
> 2016-03-07 16:18 GMT+01:00 Steven Yi :
>> I think the issue is that the negative p3 denotes tied notes, which
>> means the previous instance of the note is re-used with the next note.
>> So for the first example, the two i30 notes actually share the same
>> state and only one real instance is in memory. The latter example
>> that uses fractional p1 ties notes too but there are no previous
>> fractional p1 instances to tie to, so it ends up being two real
>> instances of notes.
>>
>> On Mon, Mar 7, 2016 at 9:40 AM, Victor Lazzarini
>> wrote:
>>> I think the second instance is replacing the first.
>>>
>>> Victor Lazzarini
>>> Dean of Arts, Celtic Studies, and Philosophy
>>> Maynooth University
>>> Ireland
>>>
>>>> On 7 Mar 2016, at 14:15, Oeyvind Brandtsegg wrote:
>>>>
>>>> Not sure why this behaves oddly, but something seems off...
>>>> Something related to reading from a chn channel in two simultaneous
>>>> instances of the same instr, .. and it is only a problem if the instr
>>>> has an indefinite duration.
>>>>
>>>> Will report an issue once I figure out what the issue is.
>>>> Could some of you test to see if you have sound in both channels with this one?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> sr = 44100
>>>> ksmps = 128
>>>> nchnls = 2
>>>> 0dbfs = 1
>>>>
>>>>
>>>> instr 1
>>>> a1 rnd31 1, 1
>>>> chnset a1, "a1"
>>>> endin
>>>>
>>>> instr 30
>>>> Schn strget p4
>>>> iout = p5
>>>> iamp = ampdbfs(p6)
>>>> a1 chnget Schn
>>>> outch iout, a1*iamp
>>>> endin
>>>>
>>>>
>>>>
>>>>
>>>> ; ** problem: sound only in output channel 2
>>>> i1 0 -1
>>>> i30 0 -1 "a1" 1 -1
>>>> i30 0 -1 "a1" 2 -1
>>>> f0 10
>>>>
>>>> ; ** works ok
>>>> ;i1 0 10
>>>> ;i30 0 10 "a1" 1 -1
>>>> ;i30 0 10 "a1" 2 -1
>>>>
>>>> ; ** also works ok
>>>> ;i1 0 -1
>>>> ;i30.1 0 -1 "a1" 1 -1
>>>> ;i30.2 0 -1 "a1" 2 -1
>>>> ;f0 10
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Oeyvind Brandtsegg
>>>> Professor of Music Technology
>>>> NTNU
>>>> 7491 Trondheim
>>>> Norway
>>>> Cell: +47 92 203 205
>>>>
>>>> http://www.partikkelaudio.com/
>>>> http://soundcloud.com/brandtsegg
>>>> http://flyndresang.no/
>>>> http://soundcloud.com/t-emp
>
>
>
> --
>
> Oeyvind Brandtsegg
> Professor of Music Technology
> NTNU
> 7491 Trondheim
> Norway
> Cell: +47 92 203 205
>
> http://www.partikkelaudio.com/
> http://soundcloud.com/brandtsegg
> http://flyndresang.no/ |