Audio Forums


Reply
Thread Tools Display Modes

ASCII keyboard -> MIDI

 
 
bigsphinx
Guest
Posts: n/a

 
      01-23-2007, 01:48 AM
How hard would it be to make a little box that accepts input from an
ASCII keyboard (PS2 or MIDI), and outputs a MIDI "note on" when a key
is pressed, based on its ASCII value? This would in effect make a
60-button (or so) MIDI controller from a $10 PC keyboard.

And, if multiple keyboards could be attached, each outputting on a
separate MIDI channel, it would be even cooler.

 
Reply With Quote
 
 
 
 
Michael R. Kesti
Guest
Posts: n/a

 
      01-23-2007, 03:29 AM
bigsphinx wrote:

>How hard would it be to make a little box that accepts input from an
>ASCII keyboard (PS2 or MIDI), and outputs a MIDI "note on" when a key
>is pressed, based on its ASCII value? This would in effect make a
>60-button (or so) MIDI controller from a $10 PC keyboard.


This could be done without too much difficulty, depending on one's
embedded processor hardware and software skills, using an 8051 or
similar microcontroller. I doubt that there is a commercial market
for such a device, though, and you wouldn't be willing to pay what
it would cost to have done on a custom basis.

>And, if multiple keyboards could be attached, each outputting on a
>separate MIDI channel, it would be even cooler.


This would get problematic as one would need an interrupt input for
each of the keyboard inputs and would soon run out using any reasonably
priced microcontroller.

--
================================================== ======================
Michael Kesti | "And like, one and one don't make
| two, one and one make one."
mrkesti at hotmail dot com | - The Who, Bargain
 
Reply With Quote
 
bigsphinx
Guest
Posts: n/a

 
      01-23-2007, 09:57 PM
Phooey. Thanks for the info, though! Now I can quit worrying about
it...

> >How hard would it be to make a little box that accepts input from an
> >ASCII keyboard (PS2 or MIDI), and outputs a MIDI "note on" when a key
> >is pressed, based on its ASCII value? This would in effect make a
> >60-button (or so) MIDI controller from a $10 PC keyboard.


> This could be done without too much difficulty, depending on one's
> embedded processor hardware and software skills, using an 8051 or
> similar microcontroller. I doubt that there is a commercial market
> for such a device, though, and you wouldn't be willing to pay what
> it would cost to have done on a custom basis.


> >And, if multiple keyboards could be attached, each outputting on a
> >separate MIDI channel, it would be even cooler.


> This would get problematic as one would need an interrupt input for
> each of the keyboard inputs and would soon run out using any reasonably
> priced microcontroller.
>
> --
> ================================================== ======================
> Michael Kesti | "And like, one and one don't make
> | two, one and one make one."
> mrkesti at hotmail dot com | - The Who, Bargain


 
Reply With Quote
 
OldNick
Guest
Posts: n/a

 
      01-24-2007, 02:25 PM
On 22 Jan 2007 18:48:27 -0800, "bigsphinx" <(E-Mail Removed)> wrote
stuff
and I replied:

These are available already????????? You have to have a PC and some
MIDI sware.

>How hard would it be to make a little box that accepts input from an
>ASCII keyboard (PS2 or MIDI), and outputs a MIDI "note on" when a key
>is pressed, based on its ASCII value? This would in effect make a
>60-button (or so) MIDI controller from a $10 PC keyboard.
>
>And, if multiple keyboards could be attached, each outputting on a
>separate MIDI channel, it would be even cooler.


 
Reply With Quote
 
bigsphinx
Guest
Posts: n/a

 
      01-24-2007, 10:19 PM
> These are available already????????? You have to have a PC

Do you mean a Windows PC?

> and some MIDI sware.

I have Max/MSP. What specific MIDI software are you refering to?

> >How hard would it be to make a little box that accepts input from an
> >ASCII keyboard (PS2 or MIDI), and outputs a MIDI "note on" when a key
> >is pressed, based on its ASCII value? This would in effect make a
> >60-button (or so) MIDI controller from a $10 PC keyboard.

>
> >And, if multiple keyboards could be attached, each outputting on a
> >separate MIDI channel, it would be even cooler.


 
Reply With Quote
 
Harald Schollmeyer
Guest
Posts: n/a

 
      01-25-2007, 08:17 AM
bigsphinx schrieb:
> How hard would it be to make a little box that accepts input from an
> ASCII keyboard (PS2 or MIDI), and outputs a MIDI "note on" when a key
> is pressed, based on its ASCII value? This would in effect make a
> 60-button (or so) MIDI controller from a $10 PC keyboard.


If you have a computer, use Bome's MIDI Translator Pro:
http://www.bome.com/midi/translator/mt_pro.html

> And, if multiple keyboards could be attached, each outputting on a
> separate MIDI channel, it would be even cooler.


Should be possible with that software.

Harald

 
Reply With Quote
 
bigsphinx
Guest
Posts: n/a

 
      01-27-2007, 02:33 PM
Sorry, let me explain why I want to do this... When I'm running Live
and Max together, I map my laptop's ASCII keys to Max functions, and I
want them to keep controlling Max even whilst I mouse around in
Live. But they don't, of course; and I've not yet found any way to
"lock" a keyboard's output to a particular program.

And if you add a 2nd ACSII keyboard (via PS/2 or USB), its output is
simply merged with the 1st keyboard's.

So I was thinking it'd be cool if you could convert the keystrokes to
MIDI _before_ they get to the pc. That way the keystrokes can
control whichever program(s) I've configured to listen for those
signals.


But ideally, manufacturers would come up with a way to use multiple
keyboards on one pc, and allow them to control different programs.
You could use the 2nd keyboard to control background programs, like
mp3 or video players, or... well... hmm, I'm sure other folks could
think of some other uses...

> > How hard would it be to make a little box that accepts input from an
> > ASCII keyboard (PS2 or MIDI), and outputs a MIDI "note on" when a key
> > is pressed, based on its ASCII value? This would in effect make a
> > 60-button (or so) MIDI controller from a $10 PC keyboard.If you have a computer, use Bome's MIDI Translator Pro:http://www.bome.com/midi/translator/mt_pro.html

>
> > And, if multiple keyboards could be attached, each outputting on a
> > separate MIDI channel, it would be even cooler.Should be possible with that software.

>
> Harald


 
Reply With Quote
 
Michael R. Kesti
Guest
Posts: n/a

 
      01-27-2007, 04:52 PM
bigsphinx wrote:

>Sorry, let me explain why I want to do this... When I'm running Live
>and Max together, I map my laptop's ASCII keys to Max functions, and I
>want them to keep controlling Max even whilst I mouse around in
>Live. But they don't, of course; and I've not yet found any way to
>"lock" a keyboard's output to a particular program.
>
>And if you add a 2nd ACSII keyboard (via PS/2 or USB), its output is
>simply merged with the 1st keyboard's.
>
>So I was thinking it'd be cool if you could convert the keystrokes to
>MIDI _before_ they get to the pc. That way the keystrokes can
>control whichever program(s) I've configured to listen for those
>signals.


Strictly out of acedemic curiosity, I'm wondering how you would map the
keys to MIDI events. If I recall, you originally specified note on
messages, but which keys map to which notes/octaves? Would you expect
note off messages on key release, too? And what about velocity? A
typical keyboard is not velocity sensitive so would some fixed velocity
value do? What value?

>But ideally, manufacturers would come up with a way to use multiple
>keyboards on one pc, and allow them to control different programs.
>You could use the 2nd keyboard to control background programs, like
>mp3 or video players, or... well... hmm, I'm sure other folks could
>think of some other uses...


--
================================================== ======================
Michael Kesti | "And like, one and one don't make
| two, one and one make one."
mrkesti at hotmail dot com | - The Who, Bargain
 
Reply With Quote
 
bigsphinx
Guest
Posts: n/a

 
      01-28-2007, 03:09 PM
I'd just map the MIDI notes as triggers for loops and sequences, or
as on/off switches for devices and functions. Maybe use the number
keys for numeric input.
But I doubt I'd actually use them to trigger MIDI notes.

> Strictly out of acedemic curiosity, I'm wondering how you would map the
> keys to MIDI events. If I recall, you originally specified note on
> messages, but which keys map to which notes/octaves? Would you expect
> note off messages on key release, too? And what about velocity? A
> typical keyboard is not velocity sensitive so would some fixed velocity
> value do? What value?


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to learn how to hook midi keyboard up to new sound card - midi plays, no connection - hlp pls!! David De Pro Audio 19 10-09-2007 06:32 PM
Midi sync problem (lighted Midi keyboard) JB MIDI 3 04-14-2006 04:51 AM
conversion of score .jst files to ANY ascii format..... michael.mcgettrick@nuigalway.ie MIDI 0 02-21-2006 12:40 PM
Looking for software that will enable midi composition in ascii language Epetruk MIDI 8 06-12-2005 04:29 PM
Req: Windows software to map MIDI controller data to (ASCII) keys David Winter MIDI 0 06-06-2005 05:15 PM


All times are GMT. The time now is 06:53 PM.