Csound Csound-dev Csound-tekno Search About

[Csnd] udo for instrument with or without midi

Date2024-05-17 19:08
FromStefan Thomas
Subject[Csnd] udo for instrument with or without midi
Dear community,
when I design an instrument for use with midi I've normally the problem with release time. I know, that I can use opcodes like transegr or expsegr.
But I would like to design an instrument (as an opcode) that could be used with or without midi, if possible.
Could someone give me a hint as to how this could work?
Thanks,
Stefan
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2024-05-17 19:21
From"Jeanette C."
SubjectRe: [Csnd] udo for instrument with or without midi
Hi Stefan,
I'm not sure I understand your issue. linsegr and friends work with both score 
activated and MIDI activated evetns. What the *r envelopes do, is to add 
release time, i.e. extra time to the given duration of the note. Using a few 
of the other features to get realtime MIDI / score interoperability, you can 
design instruments that will work with either activation method.

If you have a particular problem, a practical situation or bit simplified 
instrument would help to suggest a solution.

Best wishes,

Jeanette

-- 
  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

Give me a sign...
Hit me Baby one more time <3
(Britney Spears)

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2024-05-17 20:21
FromStefan Thomas
SubjectRe: [Csnd] udo for instrument with or without midi
Dear Jeanette,
You're right, I've obviously made a mistake.
If the problem does occur again, I'll post to this list again.
Thanks,
Stefan

Am Fr., 17. Mai 2024 um 20:21 Uhr schrieb Jeanette C. <julien@mail.upb.de>:
Hi Stefan,
I'm not sure I understand your issue. linsegr and friends work with both score
activated and MIDI activated evetns. What the *r envelopes do, is to add
release time, i.e. extra time to the given duration of the note. Using a few
of the other features to get realtime MIDI / score interoperability, you can
design instruments that will work with either activation method.

If you have a particular problem, a practical situation or bit simplified
instrument would help to suggest a solution.

Best wishes,

Jeanette

--
  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

Give me a sign...
Hit me Baby one more time <3
(Britney Spears)

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here