[Csnd] relative amplitude in additive synthesis
| Date | 2010-07-15 14:44 |
| From | Stefan Thomas |
| Subject | [Csnd] relative amplitude in additive synthesis |
| Dear Community, I want to change the relative amplitudes of theĀ partials in a csd-file, where I use additive synthesis. I want the higher partials to be relatively louder when the key-velocity (from the midi-keyboard) is high and I want to have them relatively softer, when the velocity is lower. How can I achieve this? |
| Date | 2010-07-15 15:08 |
| From | jpff@cs.bath.ac.uk |
| Subject | [Csnd] Re: relative amplitude in additive synthesis |
> Dear Community,
> I want to change the relative amplitudes of the partials in a csd-file,
> where I use additive synthesis.
> I want the higher partials to be relatively louder when the key-velocity
> (from the midi-keyboard) is high and I want to have them relatively
> softer,
> when the velocity is lower.
> How can I achieve this?
>
You could use a table mapping key-velocity to amplitude, and have
different tables for each partial, or a coupl eof tables and
interpolate......
or if you have a formula for how you want ampltidue as a funmction of
key-velocity and partial....
Not sure why I am answering as I have not used additve symth much.
==John ff
Send bugs reports to the Sourceforge bug tracker
https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
|
| Date | 2010-07-15 15:09 |
| From | Rory Walsh |
| Subject | [Csnd] Re: relative amplitude in additive synthesis |
You could use a bank of oscillators, each one representing a single partial. Then simply measure the velocity and test whether it's high or not, if it is you can use some kind of goto statement to set the amplitudes of the partials. Perhaps there is an easier way? This is only the first thing I thought of.. On 15 July 2010 14:44, Stefan Thomas |