Hi
I'm trying to do a simple resampling (downsampling) of an audio signal. I thought a simple snapshot, triggered by a metro 1 would do, but apparently not. Attached is a patch that does this, but the resampled signal sounds nothing like a rising (20hz-15kh<) sine.
Am I totally off track here, or how do I resample an audio signal to, say, 4410 khz?
NB: I'm still quite new to pd, so any comments on the patch, with regards to how to do certain things easier/better/cleaner is highly appreciated.
Atte André Jensen wrote:
Hi
I'm trying to do a simple resampling (downsampling) of an audio signal. I thought a simple snapshot, triggered by a metro 1 would do, but apparently not. Attached is a patch that does this, but the resampled signal sounds nothing like a rising (20hz-15kh<) sine.
Am I totally off track here, or how do I resample an audio signal to, say, 4410 khz?
NB: I'm still quite new to pd, so any comments on the patch, with regards to how to do certain things easier/better/cleaner is highly appreciated.
i haven't looked at your patch but in text view, but here are some remarks:
"bug" that prohibits it from emitting bangs at an interval lower than 1ms. workarounds have been posted on this list using [delay]
(1.45ms). you have to use [vsnapshot~] for this (afaik, there is no helppatch for [vsnapshot~]; i assume it works the same as [snapshot~] but is sample accurate)
or whatever)
fgmad IOhannes
Atte André Jensen wrote:
Am I totally off track here, or how do I resample an audio signal to, say, 4410 khz?
in~ [phasor~ 4410] | | [samphold~] | out~
Note: this doesn't change the sample rate, but resamples the signal at 4410Hz. Not sure if this is what you want, but it's what I use if I want lots of aliasing...
Claude Heiland-Allen wrote:
in~ [phasor~ 4410] | | [samphold~] | out~
Ah, of course!
Note: this doesn't change the sample rate, but resamples the signal at 4410Hz. Not sure if this is what you want, but it's what I use if I want lots of aliasing...
I didn't really expect to have a signal at 4410. Would that have any benefits, for instance with regards to performance?
Basically I (like you) just want to hear some alias noise!
On Mon, Jun 30, 2008 at 06:10:46PM +0200, Atte André Jensen wrote:
Claude Heiland-Allen wrote:
in~ [phasor~ 4410] | | [samphold~] | out~
Ah, of course!
Note: this doesn't change the sample rate, but resamples the signal at 4410Hz. Not sure if this is what you want, but it's what I use if I want lots of aliasing...
I didn't really expect to have a signal at 4410. Would that have any benefits, for instance with regards to performance?
Basically I (like you) just want to hear some alias noise!
*shamless plug*
http://mccormick.cx/viewcvs/*checkout*/s-abstractions/s-bitcrusher~.pd?root=...
Sssad friendly gui bitcrusher with lots of fun aliasing. Hmmm, I should really make a help patch for her.
Best,
Chris.