Re: [PD] change samplerate locally

2009-03-16 Thread Charles Henry
On Sun, Mar 15, 2009 at 2:44 AM, hard off hard@gmail.com wrote: to re-create the sound of a dx7 i need to change samplerate from my default (44.1khz) to 28khz. globally changing pd's samplerate to 28khz has the intended effect, but i want to be able to run other patches at 44.1khz while

Re: [PD] change samplerate locally

2009-03-16 Thread hard off
One thing that occurs to me is that the quality of the reconstructed sound has more to do with the interpolator rather than the sample rate. i have a feeling that because the synth has non-bandlimited oscillators, that the sample rate itself is pretty important, or more importantly, the aliasing

Re: [PD] change samplerate locally

2009-03-16 Thread hard off
so if those aliasing effects are going to help, then maybe a big step will be to ADD aliasing. there are a couple of suggestions here: http://www.music.columbia.edu/pipermail/music-dsp/2002-March/047953.html and here: http://www.music.columbia.edu/pipermail/music-dsp/2002-March/047966.html

Re: [PD] change samplerate locally

2009-03-16 Thread hard off
i had a minor breakthrough. upsampling my signal path, by using [block~ 64 1 2] has the same effect on the sound as lowering pd's global sample rate to 22050. not perfect, and to me it defies logic, but certainly a lot closer to the 28khz sound than the 44.1khz sound was getting.

Re: [PD] change samplerate locally

2009-03-16 Thread Amos Robinson
Hmm. I thought the DX7 was ~57khz, anyway: http://www.maths.abdn.ac.uk/~bensondj/html/Chowning.html On Tue, Mar 17, 2009 at 2:35 AM, hard off hard@gmail.com wrote: i had a minor breakthrough. upsampling my signal path, by using [block~ 64 1 2] has the same effect on the sound as lowering

Re: [PD] change samplerate locally

2009-03-15 Thread hard off
so, i thought about this more, and realized that 28hz is quite close to being 2/3 of 44.1 so, it MIGHT be enough to do the following: for every 3 samples, output the first sample, the second sample, and then instead of playing the 3rd sample, repeat the second sample. so, if my block looks

Re: [PD] change samplerate locally

2009-03-15 Thread Martin Peach
hard off wrote: to re-create the sound of a dx7 i need to change samplerate from my default (44.1khz) to 28khz. globally changing pd's samplerate to 28khz has the intended effect, but i want to be able to run other patches at 44.1khz while running my dx7 at 28khz. I think that the sound

Re: [PD] change samplerate locally

2009-03-15 Thread hard off
hi martin, thanks for taking the time to reply. i can set pd to whatever samplerate i want in media-audio settings. i just checked again going through a whole bunch of values between 22050 and 44100 and they all work. my problem is that the samplerate is global, and i need it only to be local.

Re: [PD] change samplerate locally

2009-03-15 Thread hard off
actually, i just checked and that method i suggested before doesn't work at all. it's the same as the [phasor~ 28000] - [samphold~] effect. martin, i missed this part of your mail before: Unless you're looking for aliasing artifacts, wouldn't it be easier to use a multi-pole low-pass filter

Re: [PD] change samplerate locally

2009-03-15 Thread Martin Peach
hard off wrote: hi martin, thanks for taking the time to reply. i can set pd to whatever samplerate i want in media-audio settings. i just checked again going through a whole bunch of values between 22050 and 44100 and they all work. Yes you're right. I should have checked first ;) Maybe