Forums > MaxMSP

midi sustain principle applied to a sample?

January 19, 2008 | 9:01 am

Hi all

I already posted this question but I rereading myself I thought I’d rephrase it to make it more straight forward.

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

Thanks again
and sorry for the same topic repost.

phil


January 19, 2008 | 11:47 pm

Hello Phil,

[makenote] generates pairs of note-on and note-off midi messages and, as
such, doesn’t intrinsically do anything with respect to the heard
result (midi only knows about control messages, not how they’re
interpreted).

Supposing the recipient of such a message was a bog-standard synth or
sampler (and speaking *very* generally), the ‘sustain’ part of the sound
(in the middle) might be looped until a note-off is received, at which
point the ‘release’ would play (most likely a decay tail).

It’s not totally clear what you’re after; if you’re interested in
extending a sound, there’s all kinds of ways that have different effects
and trade-offs. For example, looping a section in the middle of a sound
only makes sense if that section is pretty periodic, and has a stable
amplitude envelope. Other approaches might include a gradually advancing
small loop through some portion, like granular time stretches. Your OP
about piano sustain is more like a reverb effect.

What, more precisely, are you trying to do? Build a sustain control for
a sampler? Time-stretch sounds in general?


O

phil wrote:
>
> Hi all
>
>
> I already posted this question but I rereading myself I thought I’d
> rephrase it to make it more straight forward.
>
> – how does the time duration in the midi object [makenote] work. and
> how could I use the same principle on a sample.
>
>
> Thanks again and sorry for the same topic repost.
>
> phil _______________________________________________ maxmsp mailing
>


January 20, 2008 | 12:45 am

Thanks for the insights

As you said, any approach has a trade of.

-What, more precisely, are you trying to do? Build a sustain control for
a sampler?

>>What i want is basically have over the release Amp envelop (like you would for a synth). But instead of being oscillator waves it would be a sample.

You suggested;

-Other approaches might include a gradually advancing
small loop through some portion, like granular time stretches.

>> that has been the closest one that I have tried so far, well actually it was a phase vocoder, (same fft principle) but although it is a great effect in itself, the timbre is somewhat to altered.

-Your OP about piano sustain is more like a reverb effect.

>> Yes and no? I feel reverb has more of an identity in itself. (echo in a cave sound)
As for my sustain piano example, it is much more similar to the Amp release (turned almost way up) on a synth.

Hopefully I’m making myself more clear?

Maybe this would help to clearify even more?
- Yesterday, I was playing around on a friend’s nord lead. I manually played around with the Amp’s Attack and release a lot to create desire morphing fade-ins.

So I thought to myself, it would be nice if instead of synth sounds, i could use samples. And thought the same sort of thing happens when I play with the [makenote]‘s duration.

-thanks alot for the efforts.
Hope to hear from you soon

phil


January 20, 2008 | 12:48 am

Thanks for the insights

As you said, any approach has a trade of.

-What, more precisely, are you trying to do? Build a sustain control for
a sampler?

>>What i want is basically to have control over the release Amp envelop (like you would for a synth). But instead of being oscillator waves it would be a sample.

You suggested;

-Other approaches might include a gradually advancing
small loop through some portion, like granular time stretches.

>> that has been the closest one that I have tried so far, well actually it was a phase vocoder, (same fft principle) but although it is a great effect in itself, the timbre is somewhat to altered.

-Your OP about piano sustain is more like a reverb effect.

>> Yes and no? I feel reverb has more of an identity in itself. (echo in a cave sound)
As for my sustain piano example, it is much more similar to the Amp release (turned almost way up) on a synth.

Hopefully I’m making myself more clear?

Maybe this would help to clearify even more?
- Yesterday, I was playing around on a friend’s nord lead. I manually played around with the Amp’s Attack and release a lot to create desire morphing fade-ins.

So I thought to myself, it would be nice if instead of synth sounds, i could use samples. And thought the same sort of thing happens when I play with the [makenote]‘s duration.

-thanks a lot for the efforts.
Hope to hear from you soon

phil


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