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
Max msp objects/controls equivalents in pure data
[polygate~] can do what [selector~] does and then some. The patches posted above work more in line with [selector~]. [polygate~] is probably more computationally expensive than the above patches, so unless all that crossfading is necessary, your probably better off with something like what we gave you.
As for [groove~], it can also be made in Pd, though it would definitely require a little more craftiness than [selector~]! It shouldn't be too difficult though. It's mainly a table being looked up with [phasor~] + [tabread4~] with the [phasor~] being scaled within loop points.
By the way, if you're not already aware, you can look at Max/MSP's documentation online here:
http://www.cycling74.com/docs/max5/vignettes/intro/docintro.html
It might help a little.
Yay...
I took this from my blog which is an eyesore and hard to concentrate on.
Let's learn how to combine arduino and puredata into one almighty power, the mighty AARRGHDATA(i think the proper name is the classier pduino, i guess you say it peedweeno, or padooiino)
Firstly. If you haven't already, check that your arduino is working. if you know this. keep scrolling until you see a kitten.
Plug it in and fire up the arduino software. You can get that from here
now lets do a quick test(is shouldve flashed when you plugged it in anyway) but get an LED, and put it so that the longer leg(theres a fancy name for this) is in the slot for digital pin 13 and the shorter leg(also has a fancy name) is in GND(you could say things "gund" or "gnnnd" but im fairly sure it just means GROUND.
now go file>sketchbook>examples>digital>blink and it will open that sketch. click the "upload" button and watch as it updates you on upload status and tells you when its complete.
is it blinking? nice. i could go on more about this, but i want to talk about PD, thats where it gets fun.
KITTENS
you can start looking again if you like pd.
once again, go to file>sketchbook>examples>library-firmata>standard firmata
dont see it? its a standard library now, so you should probably check you have the latest version(anything above 12 will be fine)
around this time you want to open pd and try create an object called "arduino". nothing? then you need to be going here to visit the wonderful mr hans, and download pduino.(i'm not sure if the arduino library is standard in pd extended now)
did you upload that standard firmata sketch to your board? i didnt tell you to. but thats ok, i like the way you think. do that if you haven't.
once thats uploaded properly, you can quit the arduino software, we do not need its services anymore.
now go inside that pduino folder you downloaded and open the patch arduino-test.pd
you should see something like thisss.
i dont know why all those errors happen. but click the "devices" message box in there to check what port your arduino is on.
hans is pretty awesome for making this patch, its really easy to understand i think.
change your port to whatever pd tells you your arduino is on.
HUZZAH! CONNECTIVITY!
now, lets say we still have that LED plugged in. want to test it?
hit that "pulse all outputs" toggle, and it should blink on and off. look around that subpatch, its pretty simple too. (you will want to know all these messages to send when writing your own patch for stuff)
Input is easy too. turn on that little toggle under [arduino 1] to let through outlet info.
you'll also want to enable your analogIns in the yellow radio up there.
say you had a potentiometer you wanted to connect up, it's really easy. and a breadboard will make all your connections easier to make.
but you'd just connect it up like this.
then you'd just enable the input you are using in that patch(input 2 in this case) and watch the input stream in through the a3 number box at the bottom.
this is how it works for me anyway.
that should just show you how the basics of it work, and you can move from there.
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