[Csnd] ASCII keyboard to MIDI-controllable carillon
Date | 2025-06-21 19:43 |
From | Arthur Hunkins <000001e1d761dea2-dmarc-request@LISTSERV.HEANET.IE> |
Subject | [Csnd] ASCII keyboard to MIDI-controllable carillon |
I'm using Csound and the ASCII keyboard on a laptop to send MIDI note-on data (via the noteon opcode) to a MIDI-responsive carillon.
Carillons respond only to note-on events (no note-offs) and only on channel 1. (I'll be sending such messages only, e.g.:
noteon 1, 52, 127
indicating chan 1, note 52, and any random velocity value - as MIDI-controlled carillons don't respond to velocity.)
So, no audio involved, no MIDI in, and only note-ons sent on channel 1.
Question: other than -Ma (or Mm) as a CsOption to avoid error messages, are any command-line flags or global variables required except for sr and kr?
And an important follow-up: suggested values for sr and kr? (Precision and lag not a problem here.)
TIA -
Art H.
abhunkin@uncg.edu
http://www.arthunkins.com
|
Date | 2025-06-21 20:57 |
From | Victor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE> |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] ASCII keyboard to MIDI-controllable carillon |
Why do you need -M? Are you taking MIDI input at all?
Also if you don't run with -odac, Csound will run blazingly fast. I don't know whether that would cause any issues to pick up the input from keyboard.
For kr and sr, I'd just start with defaults (basically don't set anything) and change it if there are issues.
Prof. Victor Lazzarini
Maynooth University
Ireland
On 21 Jun 2025, at 19:43, Arthur Hunkins <000001e1d761dea2-dmarc-request@listserv.heanet.ie> wrote:
|
Date | 2025-06-21 22:14 |
From | Arthur Hunkins <000001e1d761dea2-dmarc-request@LISTSERV.HEANET.IE> |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] ASCII keyboard to MIDI-controllable carillon |
I was wondering the same thing. No - no MIDI input, just output. The manual (under -M) suggests to use -Ma or -Mm basically to avoid confusion/possible-error-messages-printed. But I presume this confusion is only with regard to MIDI
input (as your response implies)
I'll experiment with -odac and various sr and kr (or not). Thanks for the suggestions and guidance.
Art H.
abhunkin@uncg.edu
http://www.arthunkins.com
From: A discussion list for users of Csound <CSOUND@LISTSERV.HEANET.IE> on behalf of Victor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE>
Sent: Saturday, June 21, 2025 3:57 PM To: CSOUND@LISTSERV.HEANET.IE <CSOUND@LISTSERV.HEANET.IE> Subject: Re: [Csnd] [EXTERNAL] [Csnd] ASCII keyboard to MIDI-controllable carillon Why do you need -M? Are you taking MIDI input at all?
Also if you don't run with -odac, Csound will run blazingly fast. I don't know whether that would cause any issues to pick up the input from keyboard.
For kr and sr, I'd just start with defaults (basically don't set anything) and change it if there are issues.
Prof. Victor Lazzarini
Maynooth University
Ireland
On 21 Jun 2025, at 19:43, Arthur Hunkins <000001e1d761dea2-dmarc-request@listserv.heanet.ie> wrote: 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 |