~ubuntu-branches/ubuntu/breezy/muse/breezy

« back to all changes in this revision

Viewing changes to synti/stklib/SKINI11.tbl

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Kobras
  • Date: 2004-02-07 15:18:22 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040207151822-es27xxkzbcxkebjm
Tags: 0.6.3-1
* New upstream version.
* Added patches:
  + [10_alsa_init_fix] New, from upstream CVS.
    Initialize direction variable when setting Alsa parameters.
  + [10_canvas_translation_fix] New, from upstream CVS.
    Do not translate tooltips twice in canvas popup.
  + [10_checkbox_fix] New, from upstream CVS.
    Use proper set/test methods on metronome checkboxes.
  + [10_html_doc_cleanup] New.
    Fix links and HTML errors in documentation.
  + [20_allow_system_timer] New.
    The new upstream version fails by default if the real-time clock
    could not be accessed (usually the case when not running suid-root).
    This patch reverts the old behaviour of falling back to the more
    inaccurate system timer.
* Updated patches:
  + [11_PIC_fixes_fixup] Rediffed.
* Removed patches:
  + [20_no_atomic_asm] Merged upstream.
* debian/compat: Splice out debhelper compatibility level from rules file.
* debian/control: Build-depend on latest jack release by default.
  Closes: #228788
* debian/control: Bump standards version.
* debian/control: Use auto-generated debconf dependency via misc:Depends.
* debian/control: Minor tweaks to the long description.
* debian/control: Tighten fluidsynth build dependency to sane version.
* debian/muse.doc-base: New. Register HTML documentation with doc-base.
* debian/templates: Tiny rewording, and typo fix.
* debian/templates, debian/po/*: Switch to po-debconf for translations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
#include "SKINI11.msg"
3
 
 
4
 
#define __SK_MaxMsgTypes_ 128
5
 
 
6
 
struct SKINISpec { char messageString[32];
7
 
                   long  type;
8
 
                   long data2;
9
 
                   long data3;
10
 
                 };
11
 
 
12
 
/*   SEE COMMENT BLOCK AT BOTTOM FOR FIELDS AND USES   */
13
 
/* MessageString     ,type,  ch?,        data2        ,             data3 */ 
14
 
 
15
 
struct SKINISpec skini_msgs[__SK_MaxMsgTypes_] = 
16
 
{
17
 
 {"NoteOff"          ,        __SK_NoteOff_,               SK_DBL,  SK_DBL},
18
 
 {"NoteOn"           ,         __SK_NoteOn_,               SK_DBL,  SK_DBL},
19
 
 {"PolyPressure"     ,   __SK_PolyPressure_,               SK_DBL,  SK_DBL},
20
 
 {"ControlChange"    ,  __SK_ControlChange_,               SK_INT,  SK_DBL},
21
 
 {"ProgramChange"    ,  __SK_ProgramChange_,               SK_DBL,  SK_DBL},
22
 
 {"AfterTouch"       ,     __SK_AfterTouch_,               SK_DBL,    NOPE},
23
 
 {"ChannelPressure"  ,__SK_ChannelPressure_,               SK_DBL,    NOPE},
24
 
 {"PitchWheel"       ,     __SK_PitchWheel_,               SK_DBL,    NOPE},
25
 
 {"PitchBend"        ,      __SK_PitchBend_,               SK_DBL,    NOPE},
26
 
                                                                 
27
 
 {"Clock"            ,          __SK_Clock_,                 NOPE,    NOPE},
28
 
 {"Undefined"        ,                  249,                 NOPE,    NOPE},
29
 
 {"SongStart"        ,      __SK_SongStart_,                 NOPE,    NOPE},
30
 
 {"Continue"         ,       __SK_Continue_,                 NOPE,    NOPE},
31
 
 {"SongStop"         ,       __SK_SongStop_,                 NOPE,    NOPE},
32
 
 {"Undefined"        ,                  253,                 NOPE,    NOPE},
33
 
 {"ActiveSensing"    ,  __SK_ActiveSensing_,                 NOPE,    NOPE},
34
 
 {"SystemReset"      ,    __SK_SystemReset_,                 NOPE,    NOPE},
35
 
    
36
 
 {"Volume"           ,  __SK_ControlChange_, __SK_Volume_        ,  SK_DBL},
37
 
 {"ModWheel"         ,  __SK_ControlChange_, __SK_ModWheel_      ,  SK_DBL},
38
 
 {"Modulation"       ,  __SK_ControlChange_, __SK_Modulation_    ,  SK_DBL},
39
 
 {"Breath"           ,  __SK_ControlChange_, __SK_Breath_        ,  SK_DBL},
40
 
 {"FootControl"      ,  __SK_ControlChange_, __SK_FootControl_   ,  SK_DBL},
41
 
 {"Portamento"       ,  __SK_ControlChange_, __SK_Portamento_    ,  SK_DBL},
42
 
 {"Balance"          ,  __SK_ControlChange_, __SK_Balance_       ,  SK_DBL},
43
 
 {"Pan"              ,  __SK_ControlChange_, __SK_Pan_           ,  SK_DBL},
44
 
 {"Sustain"          ,  __SK_ControlChange_, __SK_Sustain_       ,  SK_DBL},
45
 
 {"Damper"           ,  __SK_ControlChange_, __SK_Damper_        ,  SK_DBL},
46
 
 {"Expression"       ,  __SK_ControlChange_, __SK_Expression_    ,  SK_DBL},
47
 
                                  
48
 
 {"NoiseLevel"       ,  __SK_ControlChange_, __SK_NoiseLevel_    ,  SK_DBL},
49
 
 {"PickPosition"     ,  __SK_ControlChange_, __SK_PickPosition_  ,  SK_DBL},
50
 
 {"StringDamping"    ,  __SK_ControlChange_, __SK_StringDamping_ ,  SK_DBL},
51
 
 {"StringDetune"     ,  __SK_ControlChange_, __SK_StringDetune_  ,  SK_DBL},
52
 
 {"BodySize"         ,  __SK_ControlChange_, __SK_BodySize_      ,  SK_DBL},
53
 
 {"BowPressure"      ,  __SK_ControlChange_, __SK_BowPressure_   ,  SK_DBL},
54
 
 {"BowPosition"      ,  __SK_ControlChange_, __SK_BowPosition_   ,  SK_DBL},
55
 
 {"BowBeta"          ,  __SK_ControlChange_, __SK_BowBeta_       ,  SK_DBL},
56
 
 
57
 
 {"ReedStiffness"    ,  __SK_ControlChange_, __SK_ReedStiffness_ ,  SK_DBL},
58
 
 {"ReedRestPos"      ,  __SK_ControlChange_, __SK_ReedRestPos_   ,  SK_DBL},
59
 
 {"FluteEmbouchure"  ,  __SK_ControlChange_, __SK_FluteEmbouchure_, SK_DBL},
60
 
 {"LipTension"       ,  __SK_ControlChange_, __SK_LipTension_    ,  SK_DBL},
61
 
 {"StrikePosition"   ,  __SK_ControlChange_, __SK_StrikePosition_,  SK_DBL},
62
 
 {"StickHardness"    ,  __SK_ControlChange_, __SK_StickHardness_ ,  SK_DBL},
63
 
 
64
 
 {"TrillDepth"       ,  __SK_ControlChange_, __SK_TrillDepth_    ,  SK_DBL}, 
65
 
 {"TrillSpeed"       ,  __SK_ControlChange_, __SK_TrillSpeed_    ,  SK_DBL},
66
 
                                             
67
 
 {"Strumming"        ,  __SK_ControlChange_, __SK_Strumming_     ,  127   }, 
68
 
 {"NotStrumming"     ,  __SK_ControlChange_, __SK_Strumming_     ,  0     },
69
 
                                             
70
 
 {"PlayerSkill"      ,  __SK_ControlChange_, __SK_PlayerSkill_   ,  SK_DBL}, 
71
 
 
72
 
 {"Chord"            ,  __SK_Chord_        ,            SK_DBL   , SK_STR }, 
73
 
 {"ChordOff"         ,  __SK_ChordOff_     ,            SK_DBL   ,  NOPE  }, 
74
 
 
75
 
 {"ShakerInst"       ,  __SK_ControlChange_, __SK_ShakerInst_   ,  SK_DBL},
76
 
 {"Maraca"           ,  __SK_ControlChange_, __SK_ShakerInst_   ,   0    },
77
 
 {"Sekere"           ,  __SK_ControlChange_, __SK_ShakerInst_   ,   1    },
78
 
 {"Cabasa"           ,  __SK_ControlChange_, __SK_ShakerInst_   ,   2    },
79
 
 {"Bamboo"           ,  __SK_ControlChange_, __SK_ShakerInst_   ,   3    },
80
 
 {"Waterdrp"         ,  __SK_ControlChange_, __SK_ShakerInst_   ,   4    },
81
 
 {"Tambourn"         ,  __SK_ControlChange_, __SK_ShakerInst_   ,   5    },
82
 
 {"Sleighbl"         ,  __SK_ControlChange_, __SK_ShakerInst_   ,   6    },
83
 
 {"Guiro"            ,  __SK_ControlChange_, __SK_ShakerInst_   ,   7    },     
84
 
 
85
 
 {"OpenFile"         ,                  256,         SK_STR      ,    NOPE},
86
 
 {"SetPath"          ,                  257,         SK_STR      ,    NOPE},
87
 
 
88
 
 {"FilePath"         ,  __SK_SINGER_FilePath_,           SK_STR   ,    NOPE},
89
 
 {"Frequency"        ,  __SK_SINGER_Frequency_,          SK_STR   ,    NOPE},
90
 
 {"NoteName"         ,  __SK_SINGER_NoteName_,           SK_STR   ,    NOPE},
91
 
 {"VocalShape"       ,  __SK_SINGER_Shape_   ,           SK_STR   ,    NOPE},
92
 
 {"Glottis"          ,  __SK_SINGER_Glot_    ,           SK_STR   ,    NOPE},
93
 
 {"VoicedUnVoiced"   ,  __SK_SINGER_VoicedUnVoiced_,     SK_DBL   ,  SK_STR},
94
 
 {"Synthesize"       ,  __SK_SINGER_Synthesize_,         SK_STR   ,    NOPE},
95
 
 {"Silence"          ,  __SK_SINGER_Silence_,            SK_STR   ,    NOPE},
96
 
 {"VibratoAmt"       ,  __SK_ControlChange_  ,__SK_SINGER_VibratoAmt_,SK_DBL},
97
 
 {"RndVibAmt"        ,  __SK_SINGER_RndVibAmt_          ,SK_STR,       NOPE},
98
 
 {"VibFreq"          ,  __SK_ControlChange_  ,__SK_SINGER_VibFreq_   ,SK_DBL}
99
 
};
100
 
 
101
 
 
102
 
/**  FORMAT: *************************************************************/
103
 
/*                                                                       */
104
 
/* MessageStr$      ,type, data2, data3,                                 */
105
 
/*                                                                       */
106
 
/*     type is the message type sent back from the SKINI line parser.    */
107
 
/*     data<n> is either                                                 */
108
 
/*          NOPE    : field not used, specifically, there aren't going   */                                           
109
 
/*                    to be any more fields on this line.  So if there   */
110
 
/*                    is is NOPE in data2, data3 won't even be checked   */
111
 
/*          SK_INT  : byte (actually scanned as 32 bit signed integer)   */
112
 
/*                      If it's a MIDI data field which is required to   */
113
 
/*                      be an integer, like a controller number, it's    */
114
 
/*                      0-127.  Otherwise) get creative with SK_INTs     */
115
 
/*          SK_DBL  : double precision floating point.  SKINI uses these */
116
 
/*                    in the MIDI context for note numbers with micro    */
117
 
/*                    tuning, velocities, controller values, etc.        */
118
 
/*          SK_STR  : only valid in final field.  This allows (nearly)   */
119
 
/*                    arbitrary message types to be supported by simply  */
120
 
/*                    scanning the string to EndOfLine and then passing  */
121
 
/*                    it to a more intellegent handler.  For example,    */
122
 
/*                    MIDI SYSEX (system exclusive) messages of up to    */
123
 
/*                    256bytes can be read as space-delimited integers   */
124
 
/*                    into the 1K SK_STR buffer.  Longer bulk dumps,     */
125
 
/*                    soundfiles, etc. should be handled as a new        */
126
 
/*                    message type pointing to a FileName stored in the  */
127
 
/*                    SK_STR field, or as a new type of multi-line       */                                      
128
 
/*                    message.                                           */
129
 
/*                                                                       */
130
 
/*************************************************************************/