hi, i'm new to puredata and i want to build something like a slider morphing engine! for this, i need a module that is able to morph between two changing values, i.e. a crossfader or something like that, or maybe something like a selector/scanner (like in ni reaktor) for linear or sine fades... is there something like this available for pd?
hope u can give me some advice, looking forward ....
-
Crossfader?
-
cool yeah i'm trying to use musicwonk at the moment but i've been having virus problems for days. looks like you got your crossfader. megale is one of the only people i've seen on this forum hehe. it's kinda disapointing but people do linger.
you can chat at reenode.net-IRC (#dataflow) but i dont really see too many audio guys when i go. sorry to sound discouraging. but it all just takes time i guess. good luck!
-
thanx @ laserbeak too
cool, will check it out when i have a little time! -
try this, an audio crossfader ( but you could change the systeme to map it ton another data )
HK
-
thank u, but it does't crossfade like i want it to! isn't it enough, to change the audio modules to event modules by deleting the tilde? now, it seems that it doesn't work, and i can't figure out, what's the problem. it seems, that i have all libraries for that patch, but for some unknown modules i have no helpfiles! however, theres no linear morph between the two values! between what values the fader has to work? from 0 to 1?
thanks you.... -
@toxonic said:
isn't it enough, to change the audio modules to event modules by deleting the tilde?
No. Pd's message system works differently from audio - for audio signals, there is a scheduler, which means (for example) both inputs of a [+~] arrive at the same time, which means you don't have to worry about execution order (unless you do things with feedback, but that is another matter entirely...).
For messages, you need to be sure about the order in which messages arrive, because only one message is in transit at any one time. Nearly all message objects expect input from right to left, and the leftmost inlet causes the action of the object to take place.
For example, take [+]. A typical usage is to send a number "R" to the right-hand inlet, then after that send a number "L" to the left-hand inlet, which will trigger the calculation and output "L+R".
Now, crossfading between messages could be done in a number of ways, but the way that you want to do it depends most on what you want to do. If the numbers (call them "A" and "B") that you want to fade between are mostly constant, and the fade value (call it "F", with values of 0 for all A and no B, and 1 for all B and no A) changes more often, then you could do something like:
F A B
| | |
[expr (1-$f1)*$f2+$f1*$f3]
|
mixThis will output the mix of the last values of A and B when you change F.
-
agree with maximus,
and in my example the crossfade is not linear ( check the * in the internal ) because audio needs a logarithimic fade in/fade out to the ears
you just have to erase the * objectHK
-
aha - many thanks for ur replies! yeah, this one works ..... mhh, i guess, i have to read more about pd, for this structure was quite simple but i don't understand it! i have to understand that stuff, otherwise i'll never be able to solve such little problems!
tahnks again for your patience with a newbie like me
can u give me some advice where to start learning pd? yeah, i know there's a documentation, but maybe there's something in german language available? my english is sooo poor.... -
Also, in list-abs there are abstractions that might be usefull for your purpose:
http://footils.org/cms/show/46
patco
-
toxonic : the examples patches provided with pd ( référence menu ) are a good start, really
but it asks a lot of time ... before using abstraction & external, try with the base object...HK