Subversion Repositories svn.mios32

Rev

Rev 2067 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2067 tk 1
RESET_HW
2
 
3
# reduce number of SRs for faster scan
4
# with 2 SRs the scan takes ca. 500 uS instead of 2.5 mS
5
SRIO num_sr=2
6
 
7
# keyboard configuration
8
KEYBOARD n=1   rows=8  dout_sr1=1  dout_sr2=2  din_sr1=1  din_sr2=2 \
9
               din_inverted=0  break_inverted=0  din_key_offset=32 \
10
               scan_velocity=1  scan_optimized=0  note_offset=28 \
11
               delay_fastest=5  delay_fastest_black_keys=0  delay_slowest=100
12
 
13
EVENT_KB id=1  type=NoteOn chn=1 key=any use_key_number=1 range=0:127  lcd_pos=1:1:1 label="Note %n"
14
 
15
 
16
# Pitch- and Modulation wheel are connected to an AINSER module
17
# (we enable all 64 inputs)
18
AINSER n=1   enabled=1  cs=0  num_pins=64  resolution=7bit
19
 
20
# optional: calibrate the wheels between a "physically limited" min/max value.
21
# Set also "spread_center" for the PitchBend wheel to ensure that the middle value
22
# will be sent when the wheel is around the center.
23
#
24
# In order to determine these values, enter "set debug on" in MIOS Terminal,
25
# and move the wheels to the min and max position. Enter the min/max values here:
26
AINSER pinrange=1:18:4065:spread_center
27
AINSER pinrange=2:18:4065
28
 
29
EVENT_AINSER id=1  type=PitchBend  chn= 1        range=0:16383 lcd_pos=1:1:2  label="PitchBender: %5d%B"
30
EVENT_AINSER id=2  type=CC         chn= 1 cc= 1  range=0:127   lcd_pos=1:1:2  label="ModWheel:      %3d%B"
31
 
32
 
33
 
34
# The "break is make" option is controlled from a SCS soft button
35
 
36
SCS soft1_button_emu_id=2000 \
37
    soft2_button_emu_id=2001 \
38
    soft3_button_emu_id=2002 \
39
    soft4_button_emu_id=2003 \
40
    shift_button_emu_id=2004 \
41
    enc_emu_id=2000
42
 
43
EVENT_BUTTON id=2000  type=Meta  meta=KbBreakIsMake:1  button_mode=Toggle  lcd_pos=1:15:1  label="BiM:%b"