[linux-audio-user] Rhodes sound

Takashi Iwai tiwai at suse.de
Tue Jan 21 12:31:01 EST 2003


At Sat, 18 Jan 2003 19:54:37 +0900,
Patrick Shirkey wrote:
> 
> Patrick Shirkey wrote:
> 
> > Can someone explain to me the best way to hook it up to a synth like ams 
> > or ssm...
> > 
> 
> I figured out how. The docs for ams have all the info just that they 
> need some work on presenting it clearly ;)
> 
> Now I have a choice. Do I work on the music or the docs?
> 
> Someone say multi tasking?
> 
> In the mean time can anyone explain what what is happening in the 
> vkeybdrc file?
> 
> I would like to change it for my keyboard but don't understand the docs 
> that we currently have. Can anyone translate into simple english for me?

i suppose you asking about the keymap configuration.
the step is like this.

1. save the current configuration by "File / Save Config" menu.
   you'll have ~/.vkeybdrc file.

2. edit it using your favorite text editor.
   there is a list of keymap definitions such as

	set keymap {
	  {a 8}
	  {z 9}
	  {s 10}
	  {x 11}
	  ....

   the first element of each keymap is the key-symbol of X11.
   you can get the key-symbol for your computer keyboard by xev:

   2a. start xev on a terminal.

	% xev

       you'll get a small window.

   2b. move the cursor pointer into the window.
       many X11 events will be displayed in realtime on the terminal.
       depending on the window manager, you'll need to click the
       window to choose focus.

   2c. push the key you want to use.
       the key-push/release event will be shown on the terminal.

	KeyRelease event, serial 26, synthetic NO, window 0x1600001,
	    root 0x3f, subw 0x0, time 4352873, (88,98), root:(1185,149),
	    state 0x0, keycode 49 (keysym 0xff1b, Escape), same_screen YES,
	    XLookupString gives 1 bytes:  "

       then you know the key-symbol is "Escape" (see keysym entry).

   the second element of each keymap is the MIDI note offset from the
   base note.  if the key is set to 48 on the vkeybd and if you have a
   keymap entry like {Escape 15}, the key 63 (15+48) will be played
   when you push Escape key.

3. restart vkeybd.


ciao,

Takashi



More information about the Linux-audio-user mailing list