Csound Csound-dev Csound-tekno Search About

[Csnd] Smooth dynamics and crescendi in instrument design

Date2014-09-18 15:43
FromAaron Krister Johnson
Subject[Csnd] Smooth dynamics and crescendi in instrument design
Hi, for my app 'microcsound' (new version release soon, in case anyone else uses it), I want to explore the theoretically "best" way to scale instrument attack levels that satisfies two design parameters:

1) right now, attack levels are indicated in the score language with a leading '@' followed by a level between 0 and 1; e.g. as '@0.xx' or the shorthand version '@.xx', where x is a digit. (The regex version would be \@0?[.]\d{1,2}). I want to include an option in the newest version to try not to break backwards compatibility for my old scores, but start writing in a system more intelligently designed in that it uses uses fewer characters; first, getting rid of the superflous dot ('.'), and then thinking about using only one character, max two--I'm thinking either a low-resolution Hexidecimal version (@[0-F]) or a full-alphabet and digit version (@[0-z]). Thoughts?

2) Partly more in the design of orchestral instruments: I would like to know, what's the best way to *smoothly* model an increase in instrument attack (resulting, usually, in increasing loudness/brightness)...so at whatever resolution for the above control I pick, my instruments go from nothing to LOUD with a perception of a "straight-line"...I know this involves the ear's tending to follow a Decibel curve, but I also know this changes with pitch, too. But assuming pitch isn't an issue because that will change anyway, what's the best approach in instrument control design to give a composer using microcsound a good sense that "this will be pianissimo" or "this will be mezzo-forte", or "this will be fortissimo!!!"???

Thanks,

Aaron Krister Johnson
http://www.untwelve.org