Encore Knobby User Manual Download Page 6

every sysex message begins and ends with these two bytes. The 

Data 

bytes

 field indicates 1 data byte and it is represented by the xx in the 

sample message. The 

MSB location

 tells the software where you want the 

changing data to be placed within the message. Here, it is shown as byte 
7. When trying to figure out the location, you never include the F0 in 
your count, and you start counting with numeral 0. So in the 

Message 

format

 area, the 41 would be zero, 00 would be one, 14 would be two, 12 

would be three, etc.  
 
To enable checksum calculations, the Checksum box must be…checked! 
The 

Checksum start location

 indicates where the checksum should start 

computing. In this case, it’s byte 4. If this is set incorrectly, the message 
will not work. You must understand the sysex documents that came with 
your particular equipment. It’s always a good idea to get one message 
working before you continue on to other messages. 
 
Now let’s visit the text file for the same instrument.  This method is 
better for setting up several parameters at one time. 
 
The other method of creating definitions is the INI file as mentioned 
previously. You can create several definitions at the same time using this 
method. The top of the INI file defines how the messages are assembled 
and it’s followed by a list of parameters and their ranges. 
 
An INI file for the D50 would look like this: 
 
[Roland D50 Lower Partial 1:Sysex] 
MessageFormat = 41 00 14 12 00 01 00 00 
DataBytes = 1 
DataNybblize =1 
ParameterBytes = 1 
ParameterLocation = 6 
MsbLocation = 7 
DeviceIdLocation = 1 
DeviceIdMask = 15 
DeviceId = 0 
ChecksumLocation = 4 
 
… 
77 = TVF Cutoff Frequency, 0, 100 
64 = WG Pitch Coarse, 0, 72 
65 = WG Pitch Fine, 0, 100 
… 

The INI file starts with the name of the instrument, along with a 
designator that indicates what type of messages are defined in the 
section. The designator must begin with one of the following strings: 
 
:Sysex 
:Controllers 
:NRPN  
 
The designator can then be followed by any text, separated from the first 
word by a space. Note that the designator must begin with a colon (:), 
and there must be no spaces to either side of the colon. This also means 
that the name of the instrument itself cannot contain a colon.  
 
The 

MessageFormat

 entry defines the bytes that make up the message. It 

is subject to the same rules that govern the 

Message format

 field in the 

Knob Properties dialog: all entries must be in hex, and there must be one 
byte for each byte in the final message, except for the checksum and 
bracketing F0/F7 bytes. Because this entry will be used for all 
parameters, there is no need to enter the specific parameter byte(s); these 
are taken from the individual parameter entries. 
 
The 

DataBytes, MsbLocation, LsbLocation, DataNybblize

, and 

ChecksumLocation

 entries are also similar to the corresponding fields in 

the KnobbyEd dialog. The 

LsbLocation

 entry is not required if the 

message only uses a single data byte, as in the example above. 

DataNybblize

 should be set to 0 for 7-bit data, or 1 for 4-bit (nybblized) 

data. 

DataNybblize

 can also be considered optional if the data is 7bit 

format. 

ChecksumLocation

 should be set to -1 if no checksum is 

required. 
 
The 

ParameterBytes

 and 

ParameterLocation

 entries determine how the 

parameter number is inserted in the string, in much the same way that 

DataBytes

 and 

MsbLocation

/

LsbLocation

 do for data. However, when 

two parameter bytes are present, it is assumed that they are adjacent. The 

ByteOrder

 entry determines the order of the parameter bytes, and should 

be set to 0 if the MSB is first, or 1 if the LSB is first. 

ParameterNybblize 

is analogous to

 DataNybblize

, and should be set to 0 for 7-bit parameter 

number packing, or 1 for 4-bit (nybblized) packing. . (If there is only one 
parameter byte, the 

ByteOrder

 and 

ParameterNybblize 

are optional.) 

 

Summary of Contents for Knobby

Page 1: ...t of the online help Please read that when you get a chance What we thought would be appropriate for a user s manual is to end it with several examples for setting up various instrument profiles You s...

Page 2: ...computer The can be accomplished with a direct connection as shown in Figure 1 or through a MIDI patch bay or other hardware Figure 3 Next you need to load the included application onto your computer...

Page 3: ...rogramming For instance you could set GroupA to be 8 parameters for VCO1 GroupB to be 8 parameters for VCO2 GroupAB to be 8 parameters for the VCF etc You can think of the group buttons as giving you...

Page 4: ...of each name is a graphic letter denoting whether it s a controller C NRPN N RPN R or sysex S message KnobbyEd can read two types of files a KNL binary file and an INI text file The INI file is what y...

Page 5: ...The following pages are the real hands on tutorial of the manual These examples should help clarify some of the programming issues when creating instrument profiles Each example will describe the basi...

Page 6: ...es are defined in the section The designator must begin with one of the following strings Sysex Controllers NRPN The designator can then be followed by any text separated from the first word by a spac...

Page 7: ...mbers are the minimum and maximum and commas separate them If a third number is not present the parameter will default to a step size of one 3 The ordered list of the parameters doesn t have to be spe...

Page 8: ...rBytes 2 ByteOrder 0 MsbLocation 7 ParameterLocation 5 DeviceIdLocation 2 DeviceIdMask 127 DeviceId 127 1 Osc 1 Octave 16 112 12 2 Osc 1 Semitone 52 76 Notice the first entry has three number that fol...

Page 9: ...e 3g is where the Device ID is hidden as represented by the g In this instrument the byte is typically 30 If it is necessary to change the ID of the message the DeviceIdLocation and DeviceIdMask instr...

Page 10: ...interface Another possibility is another application has enabled MIDI echo This is common with sequencers Q A friend wants a program I created How do I transfer it into their Knobby A you cannot dire...

Reviews: