Subversion Repositories svn.mios32

Rev

Rev 1843 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1839 tk 1
################################################################################
2
# Testing the communication with two MBHP_MF_NG modules, connected in a chain
3
#
4
# The first MBHP_MF_NG is:
5
# - configured for Device ID 00
6
# - configured for Motormix protocol, sending over MIDI Channel 1
7
# - configured as MIDIbox Link Forwarding Point
8
#
9
# The second MBHP_MF_NG is:
10
# - configured for Device ID 01 (changed with the change_id application)
11
# - configured for Motormix protocol, sending over MIDI Channel 2
12
# - configured as MIDIbox Link End Point
13
# - Hint: when you are changing the Device ID, it has to be set accordingly
14
#   in the Upload Panel of MIOS Studio to upload the firmware.
15
#   *And* it has to be set in the MBHP_MF_NG Tool window again, otherwise
16
#   you will configure the first core with Device ID 00!
17
#
18
# MIDI Connections:
19
#    MIDIbox NG MIDI OUT2 -> MIDI IN of MBHP_MF_NG Device ID 00
20
#    MIDI OUT of MBHP_MF_NG Device ID 00 -> MIDI IN of MBHP_MF_NG Device ID 01
21
#    MIDI OUT of MBHP_MF_NG Device ID 01 -> MIDIbox NG MIDI IN2
22
#
23
# Now MIDIbox NG sends/receives CC#16..CC#32 on/for fader movements
24
# And the MBHP_MF_NG modules can be accessed with Device ID 00 and 01 via USB2
25
#
26
# NOTE: due to a conceptional issue with the way, how MIOS8 tunnels MIDI events
27
# in a MIDIbox Link chain, it won't be possible to access the "Forwarding Points"
28
# via SysEx. This means, that neither a MIOS Studio Query, Firmware update, nor
29
# configuration with the MBHP_MF_NG tool is possible.
30
# Communication only works with the last core in the chain.
1843 tk 31
# Even more annoying: on a MIOS Studio query, the addressed core will reset
1839 tk 32
# after ca. 3..4 seconds since it assumes a code upload... This reset may
33
# cause confusion as well (because temporary no MIDI events are forwarded anymore).
34
#
35
# WORKAROUND: with the MBHP_MF_NG tool, temporary configure the last core as
36
# a Forwarding Point instead of End Point.
37
# Then you will be able to access the other cores as well.
38
# Once you did your configuration, change back the last core to an End Point
39
# to avoid an unwanted MIDI feedback with MIDIbox NG (would update the MF
40
# events unintentionally) and your DAW.
41
#
42
# NOTE for myself:
1843 tk 43
# I've checked that the firmware can be updated, and that the first MBHP_MF_NG
1839 tk 44
# core can be configured with this workaround via USB2 -> seems to be sufficient! :)
45
#
46
# With the MBHP_MF_NG tool it's important to know, that whenver the Device ID
47
# is changed between 00 and 01, the "Receive" button has to be pushed to get the
48
# current configuration of the selected core, and that the "Send" button has
49
# to be pushed to permanently store the changed configuration in the EEPROM,
50
# so that it will be restored after power-on.
51
#
52
################################################################################
53
 
54
################################################################################
55
# Reset the setup to default settings
56
# This command ensures, that previous hardware definitions will be overwritten
57
# by a new setup without the need to set defintions for all components
58
################################################################################
59
RESET_HW
60
 
61
LCD "%C@(1:1:1)MF CC Test"
62
 
63
MF n=1  enabled=1  midi_in_port=IN2  midi_out_port=OUT2  chn=1  ts_first_button_id=2001  config_port=USB2
1840 tk 64
MF n=2  enabled=1  midi_in_port=IN2  midi_out_port=OUT2  chn=2  ts_first_button_id=2009  config_port=USB2
1839 tk 65
 
66
################################################################################
67
 
68
# on motorfader movements
69
# for MF n=1 (allocate id=1..8)
70
EVENT_MF  id= 1  type=CC  chn= 1 cc=16  range=0:127  lcd_pos=1:1:1  label="^std_mf"
71
EVENT_MF  id= 2  type=CC  chn= 1 cc=17  range=0:127  lcd_pos=1:1:1  label="^std_mf"
72
EVENT_MF  id= 3  type=CC  chn= 1 cc=18  range=0:127  lcd_pos=1:1:1  label="^std_mf"
73
EVENT_MF  id= 4  type=CC  chn= 1 cc=19  range=0:127  lcd_pos=1:1:1  label="^std_mf"
74
EVENT_MF  id= 5  type=CC  chn= 1 cc=20  range=0:127  lcd_pos=1:1:1  label="^std_mf"
75
EVENT_MF  id= 6  type=CC  chn= 1 cc=21  range=0:127  lcd_pos=1:1:1  label="^std_mf"
76
EVENT_MF  id= 7  type=CC  chn= 1 cc=22  range=0:127  lcd_pos=1:1:1  label="^std_mf"
77
EVENT_MF  id= 8  type=CC  chn= 1 cc=23  range=0:127  lcd_pos=1:1:1  label="^std_mf"
78
 
79
# for MF n=2 (allocate id=9..16)
80
EVENT_MF  id= 9  type=CC  chn= 1 cc=24  range=0:127  lcd_pos=1:1:1  label="^std_mf"
81
EVENT_MF  id=10  type=CC  chn= 1 cc=25  range=0:127  lcd_pos=1:1:1  label="^std_mf"
82
EVENT_MF  id=11  type=CC  chn= 1 cc=26  range=0:127  lcd_pos=1:1:1  label="^std_mf"
83
EVENT_MF  id=12  type=CC  chn= 1 cc=27  range=0:127  lcd_pos=1:1:1  label="^std_mf"
84
EVENT_MF  id=13  type=CC  chn= 1 cc=28  range=0:127  lcd_pos=1:1:1  label="^std_mf"
85
EVENT_MF  id=14  type=CC  chn= 1 cc=29  range=0:127  lcd_pos=1:1:1  label="^std_mf"
86
EVENT_MF  id=15  type=CC  chn= 1 cc=30  range=0:127  lcd_pos=1:1:1  label="^std_mf"
87
EVENT_MF  id=16  type=CC  chn= 1 cc=31  range=0:127  lcd_pos=1:1:1  label="^std_mf"
88
 
89
# on touchsensor event (first id has been specified in the MF configuration above)
90
EVENT_BUTTON  id= 2001  type=NoteOn chn= 1 key=0x68  range=0:127  lcd_pos=1:1:2  label="^std_btn"
91
EVENT_BUTTON  id= 2002  type=NoteOn chn= 1 key=0x69  range=0:127  lcd_pos=1:1:2  label="^std_btn"
92
EVENT_BUTTON  id= 2003  type=NoteOn chn= 1 key=0x70  range=0:127  lcd_pos=1:1:2  label="^std_btn"
93
EVENT_BUTTON  id= 2004  type=NoteOn chn= 1 key=0x71  range=0:127  lcd_pos=1:1:2  label="^std_btn"
94
EVENT_BUTTON  id= 2005  type=NoteOn chn= 1 key=0x72  range=0:127  lcd_pos=1:1:2  label="^std_btn"
95
EVENT_BUTTON  id= 2006  type=NoteOn chn= 1 key=0x73  range=0:127  lcd_pos=1:1:2  label="^std_btn"
96
EVENT_BUTTON  id= 2007  type=NoteOn chn= 1 key=0x74  range=0:127  lcd_pos=1:1:2  label="^std_btn"
97
EVENT_BUTTON  id= 2008  type=NoteOn chn= 1 key=0x75  range=0:127  lcd_pos=1:1:2  label="^std_btn"
1840 tk 98
 
99
EVENT_BUTTON  id= 2009  type=NoteOn chn= 1 key=0x76  range=0:127  lcd_pos=1:1:2  label="^std_btn"
100
EVENT_BUTTON  id= 2010  type=NoteOn chn= 1 key=0x77  range=0:127  lcd_pos=1:1:2  label="^std_btn"
101
EVENT_BUTTON  id= 2011  type=NoteOn chn= 1 key=0x78  range=0:127  lcd_pos=1:1:2  label="^std_btn"
102
EVENT_BUTTON  id= 2012  type=NoteOn chn= 1 key=0x79  range=0:127  lcd_pos=1:1:2  label="^std_btn"
103
EVENT_BUTTON  id= 2013  type=NoteOn chn= 1 key=0x7a  range=0:127  lcd_pos=1:1:2  label="^std_btn"
104
EVENT_BUTTON  id= 2014  type=NoteOn chn= 1 key=0x7b  range=0:127  lcd_pos=1:1:2  label="^std_btn"
105
EVENT_BUTTON  id= 2015  type=NoteOn chn= 1 key=0x7c  range=0:127  lcd_pos=1:1:2  label="^std_btn"
106
EVENT_BUTTON  id= 2016  type=NoteOn chn= 1 key=0x7d  range=0:127  lcd_pos=1:1:2  label="^std_btn"