Herunterladen Inhalt Inhalt Diese Seite drucken

General Music WK6 Handbuch Seite 371

Inhaltsverzeichnis

Werbung

Referring to the Resource Request Message command detailed above, setting the value of 0 in the field ss we will obtain all the
resources, while specifying a number greater than 0 we will obtain the transmission of the single resource required.
for each group of rerouces the possible selection values are the following:
Resourse ID
SOUNDS
REAL PERFORMANCES
STYLE PERFORMANCES
USER STYLES
SONGS
Creation of the Resource File
To create the Resource File it is necessary to write for each single file of a chunk consisting of a desription of the file and of the
data that consistutes the file; the format of each chunk is the following:
bytes
rel.addr. name
4
0
chunck id
4
4
chunck len
1
8
file type
1
9
file bank
1
10
file perf
1
11
not used
20
12
F_HEAD vedi sotto
len-28
32
< data > byte data
therefore the Resource File can be represented as:
"data" len0 ... < data > for FILE.000
"data" len1 = len0+4 ... < data > for FILE.001
"data" len2= len0+len1+8 ... < data > for FILE.002
"data" len3= len0+len1+len2+12 ... < data > for FILE.003
"data" len_n = S[len(i)] + 4*n ... < data > for FILE.00n
To calculate the totale length of the Resource File it is sufficient sum of the lengths of each file (Li) with the length of each single
header chunk (32 bytes):
Resource File Length = S[Li] + n*32;
The variable F_HEADER present refers to the internal structure of how the file is effectively memorized within the system; to
identify it we refer directly to the stuctures "C" used internally:
union TIME_INF {
struct part {
ushort time;
};
union DATE_INF {
struct part {
ushort date;
description
"data"
10
es.: 30
unsigned short hour : 5;
unsigned short min : 6;
unsigned short sec : 5;
};
// total 2 bytes
unsigned short year : 7;
unsigned short month : 4;
unsigned short day : 5;
};
Max Select Number
16
8
96
32
16
System Exclusive A•43

Werbung

Inhaltsverzeichnis
loading

Verwandte Produkte für General Music WK6

Diese Anleitung auch für:

Wk8

Inhaltsverzeichnis