On Fri, 11 Feb 2011 10:46:33 -0500, David Baelde <[email protected]>
wrote:
> Hi Andre,
>
> Thanks for pointing out that there is no complete example in the
> cookbook. I'm becoming more and more in favor of breaking it up into
> several tutorials that would develop more details.
>
> If you don't want the jingles I'll go with the first example from the
> cookbook:
>
> def crossfade(a,b)
> add(normalize=false,
> [ sequence([ blank(duration=5.),
> fade.initial(duration=10.,b) ]),
> fade.final(duration=10.,a) ])
> end
>
I'm not too clear what the function of 'blank' has, and whether I need it.
Most of the transitions will occur between very short audio files: varying
between 7 and 42 seconds (i.e., 'jingles' -SOD, EOD, TOHS, and TOHN). The
openers for each show vary between 1 to 2 minutes (the audio files in the
middle of each show's sequence).
Would something like this work:
def crossfade(a,b)
add(normalize=false,
[ sequence([ blank(duration=0.),
fade.initial(duration=2.,b) ]),
fade.final(duration=5.,a) ])
end
I set blank equal to '0.'
Thanks,
Andre
> You'd use it like that:
>
> # the transition list has the same length as the sources list
> icmp3 = mksafe(switch(transitions=[crossfade,crossfade,...],
> track_sensitive=false,
> ...
> ))
>
> Hope this helps,
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users