Csound Csound-dev Csound-tekno Search About

[Csnd] Partikkel grain triggering

Date2009-05-26 15:04
FromUnUnUnium
Subject[Csnd] Partikkel grain triggering
Hello,

I am trying to understand how the sync input in the Partikkel opcode works,
so I can trigger grains externally in Max/MSP. I have got it so that it
triggers by sending it a series of 1s and 0s to trigger the grains at a
regular rate. The problem I am currently encountering is that it only
triggers a grain once every 5 triggers - I must admit I am flummoxed!

I do have the xgrainrate set to zero in my Csd file, so that grain syncing
defers externally - I think I may be misunderstanding how the triggering
system works fundamentally, but given I am successfully triggering the
grains I am probably on the right track - but I am not understanding why
partikkel would not trigger every time I send a 1 (after a compliment 0, of
course), but instead only every 5 times, albeit very much on the beat?

Any insight or suggestions appreciated!

Cheers, Jeremy
-- 
View this message in context: http://www.nabble.com/Partikkel-grain-triggering-tp23723412p23723412.html
Sent from the Csound - General mailing list archive at Nabble.com.


Date2009-05-26 23:10
FromOeyvind Brandtsegg
Subject[Csnd] Re: Partikkel grain triggering
I would have to look at the csd to check this properly.
As you expect, it shall generate a grain (each time) when it receives
a single 1 surrounded by zeroes-
Maybe you are using the grain masking features ?
For example, if you use gain masking with a 0 to 4 loop length and
only the first one (at 0) has nonzero amplitude.
This might also happen if you use wave masking or channel masking, in
a similar manner.

best
Oeyvind

2009/5/26 UnUnUnium :
>
> Hello,
>
> I am trying to understand how the sync input in the Partikkel opcode works,
> so I can trigger grains externally in Max/MSP. I have got it so that it
> triggers by sending it a series of 1s and 0s to trigger the grains at a
> regular rate. The problem I am currently encountering is that it only
> triggers a grain once every 5 triggers - I must admit I am flummoxed!
>
> I do have the xgrainrate set to zero in my Csd file, so that grain syncing
> defers externally - I think I may be misunderstanding how the triggering
> system works fundamentally, but given I am successfully triggering the
> grains I am probably on the right track - but I am not understanding why
> partikkel would not trigger every time I send a 1 (after a compliment 0, of
> course), but instead only every 5 times, albeit very much on the beat?
>
> Any insight or suggestions appreciated!
>
> Cheers, Jeremy
> --
> View this message in context: http://www.nabble.com/Partikkel-grain-triggering-tp23723412p23723412.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>

Date2009-05-27 00:17
FromUnUnUnium
Subject[Csnd] Re: Partikkel grain triggering
Thank you again Oeyvind,

You were indeed correct, it was in fact the wave level masking, which as it
happens, reads the table in groups of 5. I disabled the feature by giving
the waveamptab parameter a value of -1. It works now as expected, triggering
a grain with each 1 I send it, rather tightly synched as well! I'm not sure
why it was only reading the last value, but I suspect that has to do with
how I am writing to the table.

Best Regards, Jeremy




Oeyvind Brandtsegg-2 wrote:
> 
> I would have to look at the csd to check this properly.
> As you expect, it shall generate a grain (each time) when it receives
> a single 1 surrounded by zeroes-
> Maybe you are using the grain masking features ?
> For example, if you use gain masking with a 0 to 4 loop length and
> only the first one (at 0) has nonzero amplitude.
> This might also happen if you use wave masking or channel masking, in
> a similar manner.
> 
> best
> Oeyvind
> 
> 2009/5/26 UnUnUnium :
>>
>> Hello,
>>
>> I am trying to understand how the sync input in the Partikkel opcode
>> works,
>> so I can trigger grains externally in Max/MSP. I have got it so that it
>> triggers by sending it a series of 1s and 0s to trigger the grains at a
>> regular rate. The problem I am currently encountering is that it only
>> triggers a grain once every 5 triggers - I must admit I am flummoxed!
>>
>> I do have the xgrainrate set to zero in my Csd file, so that grain
>> syncing
>> defers externally - I think I may be misunderstanding how the triggering
>> system works fundamentally, but given I am successfully triggering the
>> grains I am probably on the right track - but I am not understanding why
>> partikkel would not trigger every time I send a 1 (after a compliment 0,
>> of
>> course), but instead only every 5 times, albeit very much on the beat?
>>
>> Any insight or suggestions appreciated!
>>
>> Cheers, Jeremy
>> --
>> View this message in context:
>> http://www.nabble.com/Partikkel-grain-triggering-tp23723412p23723412.html
>> Sent from the Csound - General mailing list archive at Nabble.com.
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
> 
> 
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
> 
> 

-- 
View this message in context: http://www.nabble.com/Partikkel-grain-triggering-tp23723412p23733182.html
Sent from the Csound - General mailing list archive at Nabble.com.


Date2009-05-27 08:45
FromOeyvind Brandtsegg
Subject[Csnd] Re: Re: Partikkel grain triggering
You're welcome ;-)
Feel free to send me your code for the offending table, and I can take
a quick look.
Oeyvind

2009/5/27 UnUnUnium :
>
> Thank you again Oeyvind,
>
> You were indeed correct, it was in fact the wave level masking, which as it
> happens, reads the table in groups of 5. I disabled the feature by giving
> the waveamptab parameter a value of -1. It works now as expected, triggering
> a grain with each 1 I send it, rather tightly synched as well! I'm not sure
> why it was only reading the last value, but I suspect that has to do with
> how I am writing to the table.
>
> Best Regards, Jeremy
>
>
>
>
> Oeyvind Brandtsegg-2 wrote:
>>
>> I would have to look at the csd to check this properly.
>> As you expect, it shall generate a grain (each time) when it receives
>> a single 1 surrounded by zeroes-
>> Maybe you are using the grain masking features ?
>> For example, if you use gain masking with a 0 to 4 loop length and
>> only the first one (at 0) has nonzero amplitude.
>> This might also happen if you use wave masking or channel masking, in
>> a similar manner.
>>
>> best
>> Oeyvind
>>
>> 2009/5/26 UnUnUnium :
>>>
>>> Hello,
>>>
>>> I am trying to understand how the sync input in the Partikkel opcode
>>> works,
>>> so I can trigger grains externally in Max/MSP. I have got it so that it
>>> triggers by sending it a series of 1s and 0s to trigger the grains at a
>>> regular rate. The problem I am currently encountering is that it only
>>> triggers a grain once every 5 triggers - I must admit I am flummoxed!
>>>
>>> I do have the xgrainrate set to zero in my Csd file, so that grain
>>> syncing
>>> defers externally - I think I may be misunderstanding how the triggering
>>> system works fundamentally, but given I am successfully triggering the
>>> grains I am probably on the right track - but I am not understanding why
>>> partikkel would not trigger every time I send a 1 (after a compliment 0,
>>> of
>>> course), but instead only every 5 times, albeit very much on the beat?
>>>
>>> Any insight or suggestions appreciated!
>>>
>>> Cheers, Jeremy
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Partikkel-grain-triggering-tp23723412p23723412.html
>>> Sent from the Csound - General mailing list archive at Nabble.com.
>>>
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Partikkel-grain-triggering-tp23723412p23733182.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>