Csound Csound-dev Csound-tekno Search About

Re: extending the duration of a note

Date1998-01-19 08:19
FromGabriel Maldonado
SubjectRe: extending the duration of a note
Brandon Nelson wrote:

> Hi,
>
> Is it possible within an instrument to extend the duration of a note?
> I am
> designing a pipe organ instrument, for use with a MIDI file, and I
> would
> like the release portion to begin after the specified duration.
>
> And where can a Mac binary for CSound 3.47 be found?
>

If you are using MIDI in realtime, it is possible to use the opcodes
'xtratim' and 'release', new in 3.47 version (see the manual for more
details and an example).

If you use deferred time with score-triggered notes, it is very simple:
symply add to p3 the time of relase within the orchestra:

        instr 1
....
p3 = p3 + releasetime
...
    endin


bye
--
Gabriel Maldonado

mailto:g.maldonado@agora.stm.it
http://www.agora.stm.it/G.Maldonado/home2.htm
http://www.geocities.com/SiliconValley/Way/7041/home2.htm