Crossfade with polygate
I'm pretty new to pure data and I'm trying to write a patch that will loop a recorded sound but it has a little bump or click everytime it restarts. I've been trying to set it up so that I run two loops simultaneously, crossfading between them so that the clicks happen when the one clicking is at zero volume, if that makes sense. But I can't figure out the cross-fading part. I've read that polygate~ does crossfading, but I can't figure out how to use it. Can anyone help me? I've only been at this pure data thing for about a week, so I hope you have some patience.
Composing Indian Raga using Pd
Even sampling a sitar is pretty hard. Sitars have strings underneath that vibrate sympathetically to the ones you play. These will ring over new notes and are different depending on the frequencies present in the plucked strings. So imagine to do it accurately with sampling, you'd need different samples for the plucked strings and the resonating strings, and then you'd have to find a way to get the right resonating samples to play depending on what notes are plucked.
Modifying sounds
@kalignos said:
I had thought of slowing down. If I smoothed out the waves in a sound file using something like sound forge so that they had a basic shape would that work? I'll try that as well...weekend project.
A lowpass filter should be able to do this. And, yeah, since you'll basically be getting rid of frequencies, it should make it less "fuzzy." The higher frequencies probably are the ones that do the most damage, anyway, because they result in sidebands that are spread farther out. Some of those are likely to get aliased as well.
Is there a better way to go about something like this? I was thinking that it would be cool to get the hint of like a power tool recorded sound when running an instrument into pd. I see the crossfading possibility, but I wanted something that kind of works like the modulation so that I could easily transform it to a weird vocal patch without adjusting all of the settings all of the time.
Hmm...I'm not sure I entirely now what you mean.
I'm not we'll versed in AM synthesis, but if you're still trying to maintain some semblance of the carrier sound, you could try it. AM is similar to ring modulation in that it produces the same sidebands. But with AM, you also keep the original carrier's frequencies, whereas with ring mod they disappear. All you have to do is take the modulator and make it unipolar positive (i.e., in the range of 0-1 instead of -1 - 1):
[adc~] [tabread~] (or whatever)
| |
| [+~ 1]
| |
| [*~ .5]
| /
| /
| /
[*~ ]
Crossfading between the original and this will should sound like a wet/dry mix of the sidebands.
Of course, now that I think about, just independently mixing the ring mod with the original instead of crossfading might work just as well.
Plugin~ problem
I know this topic has been brought up in the past and I searched the archives hoping to find some more info but...
I'm unable to get plugin~ working on
Pd version 0.41-4extended
I have set a path to my LADSPA library
as well as the plugin~ dir in my extras directory
I can instantiate an object
but I get the following error when loading the
tap_autopanner and tap_eq plugins with the plugin~ object:
plugin~: constructed plugin "TAP AutoPanner" successfully
plugin~: plugin ports: audio 2/2 ctrl 3/0
plugin~: plugin active
plugin~: close_plugin (x)
plugin~: destructed plugin successfully
config listed below
I chose to test with the TAP plugs because
a) they've been around a long time and still being worked on IIRC
they work in Ardour and AMS for me and
c) they are from the same collection of LADSPA plugs made by the same developer
so my questions are:
- why do some LADSPA plugs work while others do not?
- I remember Derek mentioning a 'workaround' in the archives but was unable to find the solution - (was it recompiling the plugin~ object?) can someone point me to the workaround?
- does anyone else use this external and have it working on Linux?
- is there a newer, more robust or another external for hosting LADSPA, LV2 and/or VST plugins?
any help is appreciated!
*my Linux audio perf config:*
Dell Studio 15 Core2 Duo 2.0GHz 3G-RAM
Ubuntu 9.04
kernel 2.6.28.19-generic
jackd version 0.116.1 tmpdir /dev/shm protocol 24
Ardour 2.8.2
USB iMic audio interface
Korg nanoKontrol
cpufreq-set - both cpu's are set to 2.0GHz and userspace
Help me build a live set-up
hi
im a totally newb,and i have to admit i would rather do this in plogue bidule,because plogues interface helps me to give a better overview,but maybe i can use Pd with plogue and renoise someway
what i would have the patch to do is be able to have a cuople of long samples playing and then be able to trigger different samples,mute/un-mute channels,and put different effects on channels
just a basic set-up
anyway to go about this?and if there was a way to also get a good interface that would be sweet-ass
GEM (pix\_film): CPU at 100%!
Hi All,
I am using the method described
to crossfade between two Quicktime video clips. Both 640x480, 25fps, compressed using Photo-JPEG codec at 75%, approximately 15 seconds in length each. This task seems impossible - the CPU jumps to and stays at 100%. My machine is Pentium M Centrino 1.6GHz with 1.5GB of RAM, ATI Mobility Radeon 9600 (64MB). Video editing software I use has no problem crossfading two DV-PAL clips at 720x576 in real time. Even then CPU doesn't go above 50%.Is it an issue with GEM on Windows? Would doing this from Linux be more efficient? Perhaps my ATI drivers? I'm using the latest. My machine too slow? Well, it's not the fastest, but I'm only trying to play two clips at less than full-frame SD resolution... Should I forget about crossfading two clips at 720x576?... Perhaps not the most efficient codec?
Only 2 weeks to go before I have to exhibit my piece at a gallery. Is GEM not the way to go? vvvv? PiDiP? Jitter? What are your experiences?
Any ideas / advice would be much appreciated!
Thanks!
Vytis
Error: tabsend~: $O-hann: no such array
- To cross synthesise two voices you must ensure that two speakers make exactly the same utterances which are phonetically aligned. This is hard as I can tell you from experience of recording many voice artists. Even the same person will not speak a phrase the same way twice.
<< This is not possible in my experiment, as I am supposed to morph the actual conversation, so it is upto subjects what ever they want to speak. There is some work done by (Oytun Türk , Levent M.Arslan) who conducted experiment in passive enviornment (not at real time).
- The result is not a "timbral morph" between the two speakers. The human voice is very complex. Most likely the experiment will be invalidated by distracting artifacts.
Here's some suggestions.
- Don't "morph" the voices, simply crossfade/mix them.
<< yes I also want to do this, crossfading and mix, as I just want to create illusion, so that listner start thinking whether it is B's voice or A's voice>>
- For repeatable results (essential to an experiment) a real-time solution is probably no good. Real time processing is very sensitive to initial conditions. I would prepare all the material beforehand and carefully screen it to make sure each set of subjects hears exactly the same signals.
<<Yes, I agree, but it is demand of experiment, I can not control the environment, but to create some good illusion (or to distract listner, I may add noise in the siganl at real time, it would challange the listner brain in identification, so I may use such kind of tricks for the sucess factor)
- If you want a hybrid voice (somewhere between A and
then vocoding is not the best way. There are many tools that would be better than Puredata which are open source and possible to integrate into a wider system.
<<Actually now I have a little familarity with pure data, so it is more good for me to stick with it for a while (due to short time), yes if i continue my phD in this domain, I would explore other tools as well. for the time being it is a kind of pilot study>>
Question :
Is VoCoder alone is sufficient for morph/mix/crossfade among two voices?
or I should also add the pitch shifting module with VoCoder to get some more qualitative results.
Question 2:
I already tried this VoCoder example, but could not change it according to my requirements. In my requirements, I have a target voice (the target voice is phonetically rich) and now source speaker is speaking (what ever he want to speak) and source voice is changing into target voice. (illusion/crossfade/mix)
The (changetimbre1.pd ) file that I attached first, give you an idea of what kind of operational interface I am looking for.
Question 3:
what should be the ideal length of target wave file?
Before the start of experiment, I would collect the voice sample of all participants.
I am highly oblige for your earlier help and looking for more (greedy). Meanwhile I would once again study this vocoder example to change it according to my requiement. ( though i doubt I may change it).
Thanks.
Missing notes using vst~
Hello,
I am using vst~ module in order to generate audio from MIDI files with a VSTi plug-in. I have noticed some missing notes in the audio: when simultaneously sending several "note" messages, it seems that only the last one is taken into account and generated. I must add a delay between simultaneous notes, say 1.5ms, in order to have them played (which is not convenient). It seems to be independant from the VSTi plug-in since I have the same error with various plug-ins and no error when using Cubase.
Do you know what happens and whether there is a solution?
An example file is attached, which used a free VSTi (MrTramp.dll, http://www.soundfonts.it/?a=read&b=20).
BR,
Valentin
Crossfading images?
Hello,
i want to make a midi controlled slide show patch, in the way that by sending a midi note message to the pach, a new image is loaded from harddisk and a crossfade (with controllable crossfade time) is done between this and the previous image. The midi note comes from an audio sequencer (Ableton Live) that also triggers the corresponding sound.
Is it possible to crossfade two images with GEM?
If yes - how?
Thanks
Hannes
Crossfader?
Hello, with zexy [matrix~] it would be easy to make a crossfading fonction, or with the attached patch it's possible to write into an array with a crossfade, the first inlet have to be connected with a phasor~, and the second with the fade time, and you will need the cyclone library.
patco