3
TiMidity -- Experimental MIDI to WAVE converter
4
Copyright (C) 1995 Tuukka Toivonen <toivonen@clinet.fi>
6
This program is free software; you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation; either version 2 of the License, or
9
(at your option) any later version.
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
16
You should have received a copy of the GNU General Public License
17
along with this program; if not, write to the Free Software
18
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
motif.h: written by Vincent Pagel (pagel@loria.fr) 10/4/95
25
* MESSAGE FROM KERNEL TO MOTIF
27
#define REFRESH_MESSAGE 1
28
#define HELPMODE_MESSAGE 2
29
#define TOTALTIME_MESSAGE 3
30
#define MASTERVOL_MESSAGE 4
31
#define FILENAME_MESSAGE 5
32
#define CURTIME_MESSAGE 6
33
#define NOTE_MESSAGE 7
34
#define PROGRAM_MESSAGE 8
35
#define VOLUME_MESSAGE 9
36
#define EXPRESSION_MESSAGE 10
37
#define PANNING_MESSAGE 11
38
#define SUSTAIN_MESSAGE 12
39
#define PITCH_MESSAGE 13
40
#define RESET_MESSAGE 14
41
#define CLOSE_MESSAGE 15
42
#define CMSG_MESSAGE 16
43
#define FILE_LIST_MESSAGE 17
44
#define NEXT_FILE_MESSAGE 18
45
#define PREV_FILE_MESSAGE 19
46
#define TUNE_END_MESSAGE 20
49
* MESSAGE ON THE PIPE FROM MOTIF TOWARD KERNEL
51
#define MOTIF_CHANGE_VOLUME 1
52
#define MOTIF_CHANGE_LOCATOR 2
54
#define MOTIF_PLAY_FILE 4
57
#define MOTIF_RESTART 7
60
#define MOTIF_PAUSE 10
64
* CONSTANTS FOR MOTIF MENUS
70
#define DIALOG_CANCEL 1
76
* Pipe function interfaces
78
void pipe_int_write(int c);
79
void pipe_int_read(int *c);
81
void pipe_string_write(const char *str);
82
void pipe_string_read(char *str);
85
int pipe_read_ready(void);
87
void Launch_Motif_Process(int pipe_number);