Forums > MaxMSP

getting a sample to sutain like a piano

January 19, 2008 | 1:06 am

Hi everyone
I was wondering if it was possible to have control on the release length of a sample? Say a bass drum for example, and have it act like the sustain pedal on a piano?

-Is it possible for a sample to react like the [makenote]‘s 3rd inlet appointed to time duration? (the amp’s env. release)

I’ve tried with the bpfunction (acting like an amp env.)and of course the result was; you can shorten the sample but you can sustain it.

The other option I was thinking of was something to do with fft.
But fft stretches time doesn’t it? This is extremely cool in itself, but the timbre result is always somewhat changed. Like vocoded.

(I won’t pretend to master anything about fft, or even to know how to built a patch involving it, but I have been sort of grasping it general theory but more so it’s use. In short, I’ve tried patches that incorporate fft. Granular, phase vocoder.)

Maybe putting an Amp. env. on a phase vocoder would sor of do it?

I also thought of a resonator and tried the [reson~] but not good results there.

Anyways, any help on this would greatly be appreciated.

Thanks a lot in advance

phil


January 19, 2008 | 2:14 am

If I understand you correctly then the fftease library should help
you! There is one object that basically sustains fft bins higher than
a used defined amp threshold and sustains them. You can either
completely freeze the spectrum or have a decay envelope. I can’t
remember the name of the object though, maybe someone else here knows.
I find mixing the result of this very subtly with the original you can
get some pedal like effects.

Best
Peiman

On 19 Jan 2008, at 01:06, phil wrote:

>
> Hi everyone
> I was wondering if it was possible to have control on the release
> length of a sample? Say a bass drum for example, and have it act
> like the sustain pedal on a piano?
>
> -Is it possible for a sample to react like the [makenote]‘s 3rd
> inlet appointed to time duration? (the amp’s env. release)
>
> I’ve tried with the bpfunction (acting like an amp env.)and of
> course the result was; you can shorten the sample but you can
> sustain it.
>
> The other option I was thinking of was something to do with fft.
> But fft stretches time doesn’t it? This is extremely cool in itself,
> but the timbre result is always somewhat changed. Like vocoded.
>
> (I won’t pretend to master anything about fft, or even to know how
> to built a patch involving it, but I have been sort of grasping it
> general theory but more so it’s use. In short, I’ve tried patches
> that incorporate fft. Granular, phase vocoder.)
>
> Maybe putting an Amp. env. on a phase vocoder would sor of do it?
>
> I also thought of a resonator and tried the [reson~] but not good
> results there.
>
> Anyways, any help on this would greatly be appreciated.
>
> Thanks a lot in advance
>
> phil
>
>
>
>


January 19, 2008 | 3:46 am

Hi Peiman
!st of all thanks suggestion.
I’ve tried all 40 something fftease eternals and the only one who’s definition comes close to what you describe was the [thresher~.mxo].

But none of them do what i’m looking for.

What really comes close (again with some slight alteration) is a patch a downloaded in some tutorial on phase vocoder here in cycling 74′. Pretty amazing stuff.

Maybe I should post my question again asking;

- how does the time duration in the midi object [makenote] work.
and how could I use the same principle on a sample.

let’s see what come up

thanks again

phil


Viewing 3 posts - 1 through 3 (of 3 total)