Kyma Forum
  Kyma Support
  Crossfade Prototype question

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   Crossfade Prototype question
keph
Member
posted 08 December 2010 20:41         Edit/Delete Message   Reply w/Quote
I ran across this earlier when working on the 296 sound. Either there is something amiss with the crossfade prototype or I don't understand how it works.

I attached a simple example where snd1 is zero and snd2 is 1. If the fade is 0 then the output is zero. If the fade is 1, the output is .7071 when I would expect it to be 1. Values in between are scaled between (meaning 0.5 is 0.3536.

Based on the description of the prototype I don't think this is the proper behavior. I solved it in the 296 example but switching to the interpolate sound.

IP: Logged

keph
Member
posted 08 December 2010 20:45         Edit/Delete Message   Reply w/Quote

crossfadeexample.kym

 
example attached.

IP: Logged

SSC
Administrator
posted 09 December 2010 12:22         Edit/Delete Message   Reply w/Quote
Hi Keph,

For a linear combination, you picked the right solution: the Interpolate Sound.

The Crossfade can do either a linear or a constant power crossfade and a constant power pan function which, in theory, should sound more even to the ear.

In your example, you were using the linear Crossfade but it was complicated by the constant power pan function. So for mathematically interpolating between two inputs, you chose correctly; the Interpolate is the way to go. For panning and cross-fading that sounds smooth to your ear, the Crossfade is usually the better choice.

[This message has been edited by SSC (edited 09 December 2010).]

IP: Logged

keph
Member
posted 09 December 2010 12:37         Edit/Delete Message   Reply w/Quote
Thank makes a lot of sense now that I think about it for audio signals.

I think my confusion from the prototype description was this line:
0 corresponds to entirely Snd1, and 1 corresponds to entirely Snd2. Values in between correspond to mixtures of Snd1 and Snd2.

So I was thinking 0=Snd1, 1=Snd2 which isn't strictly true in this example. My error in reading corresponds as 'equals'.

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply

Contact Us | Symbolic Sound Home

This forum is provided solely for the support and edification of the customers of Symbolic Sound Corporation.


Ultimate Bulletin Board 5.45c