Initialisation file read by main module & DLL for computer named running Windows 11 Last Update: 28.04.2022 --------------------------------------------------- [GMT_DIR] C:\B\Pb\gmt [WIN_DIR] C:\WINDOWS [ApplicationData] KOMPOSITIEDUUR, 900 TONAL_CENTER, 0 TEMPO, 60 DIAPASON, 440 AUTEUR, Dr.Godfried-Willem Raes AUDIOFILES, C:\audiofiles\ MIDIFILES, C:\midifiles\ DATAFILES, C:\b\pb\gmt\ PROJEKTNAAM, UnNamed [ApplicationData_End] ' Default data for cockpit lay out: ' ********************************* ' number of up-down controllers to be placed in the cockpit window ' note that 18 is the maximum number. You will not see them, unless ' you also provide code for handling their action. [COCKPIT] UDControllers, 18 Sliders, 2 Toggle_Switches, 12 OneShot_Switches, 12 [Cockpit_Labels] 1, Kernel 2, B 3, C 4, D 5, S/s 6, MM 7, Frq 8, Message 1 9, - 10, Message 2 11, - 12, Title 13, - 14, by 15, Godfried-Willem Raes 16, - 17, - [Cockpit_End] [Tasks] ' Default values for tasknumbers in the cockpit window ***** DEBUG_TASK_NUMBER, 13 WRITE_SEQUENCE_TASK_NUMBER, 5 READ_SEQUENCE_TASK_NUMBER, 10 SHOW_GLOBAL_HARMONY_TASK_NUMBER, 14 GLOBAL_HARMONY_TASK_NUMBER, 15 [Tasks_End] [Audio] 'CD_VOLUME_LEFT_CHANNEL, &HFFF0 'CD_VOLUME_RIGHT_CHANNEL, &HFFF0 'AUX_VOLUME_LEFT_CHANNEL, &HFFF0 'AUX_VOLUME_RIGHT_CHANNEL, &HFFF0 [Audio_End] [MIDI] ' in this section users should enumerate their midi-gear to be used in the ' context of GMT. Only items mentioned here will we selectable from the main ' setup menu and/or the list boxes. ' equip.names are followed by the default midi-inport number to which it is connected (may be -1) ' then, the default midi-out-port, then the synth id to use for sysexes. ' Note that for the robots, this list is relevant only for the midi controlls for the automats, not ' for the I/O ports to which they may be connected. (Klung, ThunderWood, Harma...) ' robots removed here 30.07.2014 ' these create pop-up menus: nrgroups, 6 0, GM 1, EMU 2, Yamaha 3, Digitech 4, Lexicon 5, Akai 6, P2M GROUP 0 nrdevs, 1 0, Generic, -1, 0, 0 GROUP 1 nrdevs, 7 0, Proteus2, 0, 0, 0 1, Proteus3, 0, 0, 0 2, Proteus2XR, 0, 0, 0 3, Proteus3XR, 0, 0, 0 4, Proteus2000, 0, 0, 0 5, Procussion, 0, 0, 0 6, ProFormance, 0, 0, 0 GROUP 2 nrdevs, 7 0, MU100R Synth, 0, 0, 0 1, TX81Z FM synth, 0, 0, 0 2, TG100 synth, 0, 0, 0 3, FB01, 0, 0, 0 4, FB01 Sinewaves, 0, 0, 0 5, FB01 + Proteus 3 for shifts, 0, 0, 0 6, DX21, 0, 0, 0 GROUP 3 nrdevs, 1 0, TSR24 processor, 0, 0, 0 GROUP 4 nrdevs, 2 0, PCM80 processor, 0, 0, 0 1, LXP50 processor, 0, 0, 0 GROUP 5 nrdevs, 1 0, S2000 Sampler, 0, 0, 0 GROUP 6 nrdevs, 2 0, Roland G10, 0,0,0 1, CQT2, 0,0,0 [MIDI_END] ' default midi port setting for the automats can be read either from the above list, presented in a ' listbox, or, avoiding having to select each automat from the orchestra individually, as a group from ' the section below: - ordered according to default midi channel ' these settings are read and applied by the procedure SetRobotPort in g_file.dll [M&M_ORCHESTRA] [],3 '0 port 4 [],3 '0 port 4 [],2 '1 port 3 [],1 '2 port 2 [],1 '2 port 2 [],2 '3 port 3 [],0 '4 port 1 [],0 '5 port 1 [],0 '6 port 1 [],2 '7 port 3 [],1 '8 port 2 [],3 '9 port 4 [],0 '10 port 1 [],0 '11 port 1 [],1 '12 port 2 [],1 '13 port 2 [],4 '14 port 5 [], 4 'channel 2 port 5 = [], 2 '14 port 3 [], 2 '13 port 3 [], 1 '15 port 2 [], 3 '14 port 4 [], 1 '13 port 2 [], 2 ' 9 port 3 [], 3 ' 8 [], 0 '11 [], 4 '5-6 [], 2 ' 12 [], 2 ' 4 [], 2 ' 4 [], 2 ' 1 [], 0 ' 5 [], 0 ' 6 [], 3 ' 7 [], 0 ' 1 [], 1 ' 10 port 2 [], 0 ' 14 [], 0 ' 13 [], 0 ' 8 [], 0 [], 2 ' 10 port 3 [], 3 ' 3 [], 4 ' 0 port 5 [],0 ' 9 port 0 [],0 '15 [],1 [],1 [], 1 '5 [],0 [], 1 [], 0 [], 1 '11 [], 1 '7 [], 2 '9 [], 0 '0 port 0 channel 0 4-digit midi-display panel [], 2 '0 port 2 channel 0 [],1 ' 4 [], 2 [], 2 [],2 [], 2 [], 2 [], 3 [],4 [],3 [], 0 ' channel 2 [], 2 ' channel 6 [<2Pi>],3 [],2 ' channel 15 [], 1 ' channel 4 [], 3 ' channel 13 [], 4 [], 4 ' channel 3 [], 4 ' channel 7 [<3Pi>],3 ' channel 5 [<4Pi>],4 ' channel 11 [M&M_ORCHESTRA_END] 'port assignments for the CQT pitch to midi device 'input = the number of the port used by the GMT listentask to listen to the CQT 'output = the number of the port used by GMT to send commands to the CQT device. 'The read procedure for this data is in g_file.dll [CQT] [INPUT_PORT],0 [OUTPUT_PORT],4 [INPUT_CHANNEL], 0 [OUTPUT_CHANNEL], 0 [LOWTES], 32 [HIGHTES], 93 [CC33_ONSET], 75 [CC34_OFFSET], 85 [CC35_META_Q_C1_SENS], 64 [CC36_META_Q_C2_SENS], 64 [CC37_META_S_C5], 64 [CC38_META_S_C7], 64 [CC39_META_S_C9], 64 [CC40_TRANS], 64 [CC41_HIGHTES], 93 [CC42_LOWTES], 32 [CQT_END] ' tuning for Hurdy: (19.10.2004 - La- Re stemming) [HURDY_TUNING] 33 50 [HURDY_TUNING_END] 'port assignment for the hybrid sensor HY1 [HY1] [INPUT_PORT], 0 [INPUT_CHANNEL], 0 [HY1_END] 'port and channel for the Axe3 sensor [AXE3] [INPUT_PORT], 1 [INPUT_CHANNEL], 0 [AXE3_END] 'port and channel for the PIR2 sensor [PIR2] [INPUT_PORT], 1 [INPUT_CHANNEL], 0 [PIR2_END] 'port and channel for the HANDY1 sensorpad [HANDY] [INPUT_PORT], 1 [INPUT_CHANNEL], 0 [SAMPLINGRATE], 32 [PROGNR], 1 [HANDY_END] 'In 2002, we started adding support for networked operation of GMT using UDP/IP protocol. 'This serves as a viable alternative to using midi, in fact it is a 300 fold speed 'improvement. 'In this datasection we enumerate the PC's to establish a connection to, as well as their ' IP adress in the network segment . If we do not know the IP, we should write zero. ' Our software will try to resolve it. ' Each machinename MUST be followed by a DOT-IP or ZERO, then a portnumber and then by a usage string. ' Note that the order of enumeration is very important! ( to be changed in later version...) [G_NETWORK] [G_SEG_M&M] Tox, 192.168.0.9, 16001, [G_SEG_M&M_END] [G_SEG_SP] Siteplayer, 192.168.0.10, 2552, -, 192.168.1.250, 16001, [G_SEG_SP_END] [G_NETWORK_END] [Flags_Start] ' If the autopatch flag is set, will send midi patchnumbers according to the values ' set in Task() for those tasks that are declared as midi tasks. This only works well for ' tasks that use only a single midi channel. If your tasks use more channels you can either ' not enumerate them as midi-tasks, or reset this global flag. ' For coding example: see . ' The sysex flags enable/disable reception of sysex in a separate thread. ' If your application does not require sysex to be received, set the flags to 0 AUTOPATCH, 1 RECEIVE_SYSEX, 0 SYSEX_TO_FILE, 0 SYSEX_TO_ARRAY, 0 [Flags_End] ' in following section we enumerate the devices that are installed on this computer ' devices we have used are: ' ARCOM, DAQPad-6020E, DAQCard-AI-16E-4, USB-6210, USB-6212 ' it is essential that these devices are properly installed with the appropriate drivers! [DAQ] USB6212-1 USB6210-1 USB6210-2 [DAQ_END] ' ******** Data section for Harmlib ***** ' *************************************** ' * HARMONY LIBRARY * ' * user data for HARM_AKU functions * ' *************************************** ' default data file for harmonics (spectral components) ' The _[Harmonics] string starts the lookup table as read by the Harm_Aku module. ' This module is compiled in g_mus.dll. ' The first number equals the number of harmonics to take into consideration ' The data list is composed as: ' first number = number of the harmonic (nr=0 stands for the fundamental) ' second number = indicates that the number following is the harmonic coefficient ' if second number = 0 then: ' third number = harmonic coefficient for this harmonic. For 'normal' harmonic ' spectra this number is an integer and their series is represented as ' 1,2,3,4,5,6,7,8,9.... (all harmonics present) ' or, only odd harmonics: ' 1,3,5,7,9,11,13,15... ' or only even harmonics: ' 1,2,4,6,8,10,12,14,16... ' if the second number = 1 then: ' third number = relative strenght of this harmonic in relation to the fundamental. ' This value should be normalized (0 to 1). The strenght of the fundamental ' should always be taken equal to 1. [Harmonics] 16 0,0,1 0,1,1 1,0,2 1,1,0.5 2,0,3 2,1,0.25 3,0,4 3,1,0.125 4,0,5 4,1,0.0625 5,0,6 5,1,0.03125 6,0,7 6,1,0.015625 7,0,8 7,1,0.0078125 8,0,9 8,1,0.00390625 9,0,10 9,1,0.001953125 10,0,11 10,1,0.0009765625 11,0,12 11,1,0.00048828125 12,0,13 12,1,0.000244140625 13,0,14 13,1,0.0001220703125 14,0,15 14,1,0.00006103515625 15,0,16 15,1,0.00003051757813 16,0,17 16,1,0.00001525878906 [Harmonics_End] ********************************************************* * Data for lookup for vectorisation of fuzzy properties * * - DisHar (for 2 notes) * * - DisHar3 (for triads) * * - Dismel (melodiousness of 2 melodic intervals) * ********************************************************* An evaluation/test procedure for these data is contained in the library g_mus.dll ShowFuzHar ShowFuzMel This file-section is only read the first time a procedure that needs the data is called. A dummy call prior to your application program can force this initialisation. This is done automatically when using the GMT programming environment. [IntervalDissonance] 0, 0 1, 1 2, .75 3, .4 4, .3 5, .05 6, .85 7, .05 8, .27 9, .32 10, .67 11, .91 [IntervalDissonance_End] [Melodiousness] 0, .02 1, .06 -1, .06 2, .04 -2, .04 3, .1 -4, .1 4, .2 -3, .2 5, .35 -7, .35 6, .8 -6, .8 7, .08 -5, .08 8, .7 -9, .7 9, .6 -8, .6 10, .7 -10, .7 -11, .81 11, .81 [Melodiousness_End] ' 11 must be the last value in the list! [EOF]