Csound Csound-dev Csound-tekno Search About

[Csnd] MIDI keyrelease velocity with Csound?

Date2017-12-07 12:14
From"Jeanette C."
Subject[Csnd] MIDI keyrelease velocity with Csound?
Hey hey,
can Csound catch keyrelease velocity? Didn't find anything on that on the net.

Thanks for any help and best wishes,

Jeanette

--------
* website: http://juliencoder.de - for summer is a state of sound
* SoundCloud: https://soundcloud.com/jeanette_c

... And that I know you're out there and I know that you still care <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

Date2017-12-10 13:07
FromIain McCurdy
SubjectRe: [Csnd] MIDI keyrelease velocity with Csound?

I don't think there is a specific opcode, but I would use it to trigger another instrument using something like this. p4 is the note number, p5 is the release velocity:


kstatus,kchan,kdata1,kdata2  midiin
if (kstatus==128) then
 event  "i", p1+1, 0, 0.5, kdata1, kdata2
endif




From: A discussion list for users of Csound <CSOUND@LISTSERV.HEANET.IE> on behalf of Jeanette C. <julien@MAIL.UPB.DE>
Sent: 07 December 2017 12:14
To: CSOUND@LISTSERV.HEANET.IE
Subject: [Csnd] MIDI keyrelease velocity with Csound?
 
Hey hey,
can Csound catch keyrelease velocity? Didn't find anything on that on the net.

Thanks for any help and best wishes,

Jeanette

--------
* website: http://juliencoder.de - for summer is a state of sound


* SoundCloud: https://soundcloud.com/jeanette_c

... And that I know you're out there and I know that you still care <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

Date2017-12-10 13:27
From"Jeanette C."
SubjectRe: [Csnd] MIDI keyrelease velocity with Csound?
Dec 10 2017, Iain McCurdy has written:

> I don't think there is a specific opcode, but I would use it to trigger another instrument using something like this. p4 is the note number, p5 is the release velocity:
Thanks Iain. I completely forgot that midiin will return note-off event
with velocity.

Best wishes,

Jeanette
>
>
> kstatus,kchan,kdata1,kdata2  midiin
> if (kstatus==128) then
> event  "i", p1+1, 0, 0.5, kdata1, kdata2
> endif
>
>
> ________________________________
> From: A discussion list for users of Csound  on behalf of Jeanette C. 
> Sent: 07 December 2017 12:14
> To: CSOUND@LISTSERV.HEANET.IE
> Subject: [Csnd] MIDI keyrelease velocity with Csound?
>
> Hey hey,
> can Csound catch keyrelease velocity? Didn't find anything on that on the net.
>
> Thanks for any help and best wishes,
>
> Jeanette
>
> --------
> * website: http://juliencoder.de - for summer is a state of sound
> Juliencoder.de / Main Index
> juliencoder.de
> Juliencoder.de: A website of music made with Linux, some homeless Linux Audio software and more
>
>
>
> * SoundCloud: https://soundcloud.com/jeanette_c
>
> ... And that I know you're out there and I know that you still care <3
> (Britney Spears)
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> LISTSERV 16.0 - CSOUND List at LISTSERV.HEANET.IE
> listserv.heanet.ie
> CSOUND Home Page CSOUND@LISTSERV.HEANET.IE: LISTSERV Archives
>
>
>
> Send bugs reports to
>        https://github.com/csound/csound/issues
> [https://avatars3.githubusercontent.com/u/4031607?s=400&v=4]
>
> Issues · csound/csound · GitHub
> github.com
> csound - Main repository for Csound ... Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the ...
>
>
>
> 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
>

--------
* website: http://juliencoder.de - for summer is a state of sound
* SoundCloud: https://soundcloud.com/jeanette_c

Here I go, on my own now <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

Date2017-12-10 18:39
FromAndrea Strappa
SubjectRe: [Csnd] MIDI keyrelease velocity with Csound?
perhaps it's useful to remember that many keyboards send 'Note Off' 
message in other way:

'note on' + velocity=0

therefore:

if (kstatus==144 && kdata2==0) || (kstatus==128) then

Andrea


Il 10/12/2017 14:27, Jeanette C. ha scritto:
> Dec 10 2017, Iain McCurdy has written:
>
>> I don't think there is a specific opcode, but I would use it to 
>> trigger another instrument using something like this. p4 is the note 
>> number, p5 is the release velocity:
> Thanks Iain. I completely forgot that midiin will return note-off event
> with velocity.
>
> Best wishes,
>
> Jeanette
>>
>>
>> kstatus,kchan,kdata1,kdata2  midiin
>> if (kstatus==128) then
>> event  "i", p1+1, 0, 0.5, kdata1, kdata2
>> endif
>>
>>
>> ________________________________
>> From: A discussion list for users of Csound 
>>  on behalf of Jeanette C. 
>> 
>> Sent: 07 December 2017 12:14
>> To: CSOUND@LISTSERV.HEANET.IE
>> Subject: [Csnd] MIDI keyrelease velocity with Csound?
>>
>> Hey hey,
>> can Csound catch keyrelease velocity? Didn't find anything on that on 
>> the net.
>>
>> Thanks for any help and best wishes,
>>
>> Jeanette
>>
>> --------
>> * website: http://juliencoder.de - for summer is a state of sound
>> Juliencoder.de / Main Index
>> juliencoder.de
>> Juliencoder.de: A website of music made with Linux, some homeless 
>> Linux Audio software and more
>>
>>
>>
>> * SoundCloud: https://soundcloud.com/jeanette_c
>>
>> ... And that I know you're out there and I know that you still care <3
>> (Britney Spears)
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> LISTSERV 16.0 - CSOUND List at 
>> LISTSERV.HEANET.IE
>> listserv.heanet.ie
>> CSOUND Home Page CSOUND@LISTSERV.HEANET.IE: LISTSERV Archives
>>
>>
>>
>> Send bugs reports to
>>        https://github.com/csound/csound/issues
>> [https://avatars3.githubusercontent.com/u/4031607?s=400&v=4] 
>>
>>
>> Issues · csound/csound · GitHub
>> github.com
>> csound - Main repository for Csound ... Have a question about this 
>> project? Sign up for a free GitHub account to open an issue and 
>> contact its maintainers and the ...
>>
>>
>>
>> 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
>>
>
> --------
> * website: http://juliencoder.de - for summer is a state of sound
> * SoundCloud: https://soundcloud.com/jeanette_c
>
> Here I go, on my own now <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