Csound Csound-dev Csound-tekno Search About

[Csnd] realtime granulation example

Date2005-09-16 16:32
FromVictor Lazzarini
Subject[Csnd] realtime granulation example
Attachmentssyncgrain2.csd  
Here's one solution. It doesn't get rid of all discontinuities,
but it tries. It is a hard thing to do when time-stretching/compressing.

Victor

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth 

Date2005-09-16 17:12
FromHector Centeno
SubjectRe: [Csnd] realtime granulation example
Victor Lazzarini wrote:

> Here's one solution. It doesn't get rid of all discontinuities,
> but it tries. It is a hard thing to do when time-stretching/compressing.
>
> Victor
>
> Victor Lazzarini
> Music Technology Laboratory
> Music Department
> National University of Ireland, Maynooth 

Thank you. Is it possible to avoid the discontinuities if granulation 
without time-stretching/compressing is desired?
I guess it is all about synchronizing the tablew pointer and the 
syncgrain pointer so they run at the same speed without crossing.


cheers,


hector
-- 
Send bugs reports to this list.
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk

Date2005-09-16 17:27
FromHector Centeno
SubjectRe: [Csnd] realtime granulation example
Hector Centeno wrote:

> Victor Lazzarini wrote:
>
>> Here's one solution. It doesn't get rid of all discontinuities,
>> but it tries. It is a hard thing to do when time-stretching/compressing.
>>
>> Victor
>>
>> Victor Lazzarini
>> Music Technology Laboratory
>> Music Department
>> National University of Ireland, Maynooth 
>
>
> Thank you. Is it possible to avoid the discontinuities if granulation 
> without time-stretching/compressing is desired?
> I guess it is all about synchronizing the tablew pointer and the 
> syncgrain pointer so they run at the same speed without crossing.
>
>
> cheers,
>
>
> hector

ok, I substituted tablewa with tablew (indexed with phasor, as in your 
file) in my example and now seems to be working fine. Maybe the problem 
was caused by tablewa as it writes to the table in k-rate and tablew 
does it in a-rate.

thanks a lot, I'm still learning.


hector
-- 
Send bugs reports to this list.
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk

Date2005-09-16 18:06
FromHector Centeno
SubjectRe: [Csnd] realtime granulation example
Hector Centeno wrote:

> Hector Centeno wrote:
>
>> Victor Lazzarini wrote:
>>
>>> Here's one solution. It doesn't get rid of all discontinuities,
>>> but it tries. It is a hard thing to do when 
>>> time-stretching/compressing.
>>>
>>> Victor
>>>
>>> Victor Lazzarini
>>> Music Technology Laboratory
>>> Music Department
>>> National University of Ireland, Maynooth 
>>
>>
>>
>> Thank you. Is it possible to avoid the discontinuities if granulation 
>> without time-stretching/compressing is desired?
>> I guess it is all about synchronizing the tablew pointer and the 
>> syncgrain pointer so they run at the same speed without crossing.
>>
>>
>> cheers,
>>
>>
>> hector
>
>
> ok, I substituted tablewa with tablew (indexed with phasor, as in your 
> file) in my example and now seems to be working fine. Maybe the 
> problem was caused by tablewa as it writes to the table in k-rate and 
> tablew does it in a-rate.
>
> thanks a lot, I'm still learning.
>
>
> hector

anyway... the clicking and buzzing is gone but as I increase the grain 
density the discontinuities appear. It would be very nice to have a 
granular synthesis opcode for working in real-time...

cheers,

hector
-- 
Send bugs reports to this list.
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk