| On 25 Jun 1997, Nathan Day wrote:
> >Here is the problem: We want to crossfade between two sampled
> sounds(i.e
>
> >soft rain and hard rain) , but be able to control the fade-in and
> fade-out of
>
> >each sample in realtime.
>
> >
>
>
> Three other ways to achieve this if you what to beable to specify
> actual times where the crossfades start.
>
> 1. create a table with a list of times and corisponding control signal
> levels
>
> 2. use a negative duration for each instrument and create your
> instrument so that any new i lines to that instument will change just
> the control signal, maybe using the negative durations(-p3) as the
> cross fade time between two values.
>
> 3. make your control signal value a global variable and then create
> another instrument which changes the varible, maybe using the
> duraation again to specify the crossfode time between two values.
>
>
> I'm using using CSound.PPC and it has score generation functions
> which would be good with last two options I sugested. I don't know if
> these score generation feature are standard with CSound or even if
> they even exists with any other versions of CSound at all.
>
>
> Nathan Day
>
> nathand@senet.com.au
>
Thank you. It worked perfectly, (So far).
ALso thanx to all you gave advice
John Beahan
|