| First, you need to make sure that your loop points are chosen
correctly. I recommend DAP for Linux to accomplish this.
Second, you might try using the loop mode that traverses the
looped section back and forth rather than repeating in the
same direction. This lessens the effect of the starting
and ending amplitude of the loop section being different.
Third, are you sure that you need to loop? It is the
achilles' heal of sampling. If your computer has the
resources, just load obscenely large samples into memory
and play them straight. After all, this is CSOUND!
Let's say you had a piano that you wanted to sample
Generous parameters might be:
44100Hz S/R
Sample every fourth key
each sampled for 10 seconds
So you need (88 / 4) * 88200 * 10 = 19,404,000 Bytes
of RAM available for that sample. This is reasonable
on a recent computer. And of course, the higher
notes really only need half of the length, if that.
By the way, I have been meaning to ask this:
The DAP editor will allow loop point modification,
but seems to be incapable of manipulating the recorded
base frequency in the sound file header, save the action
of nullifying any existing value to middle C. Does
anyone know of a method for altering this value directly
with some utility?
Along that line, what is the most recent doc on the AIFF
format? Any that I have had to date have always had
*DRAFT* printed conspicuously at the top.
Toby
-There otta be a law-
Fat_Boy wrote:
>
> hi,
>
> i was wondering if someone out there could help me with sampling on
> csound, in particular, making loops a little smoother using loscil. say i
> have a recorded piano sample, and take a 2s portion from 4s to 6s, when
> the sound has already decayed somewhat, and is now not dying especially
> rapidly. i want to use this as a looped sample, but the slight decay it
> has emphasizes the looping points. is there a quick and easy way, to get
> the 2s portion evened out? should this make the loop smoother? i can apply
> an amplitude gain envelope (using cooledit), of course, but this is a
> rough solution. can balance be used for this? or someth!ng else?
>
> tia,
>
> f_b |