2 #include <glade/glade.h>
3 #include <glib/gstdio.h>
4 #include <pango/pango-utils.h>
9 #define RECORDPATH "records"
10 #define PINYINPATH "pinyin"
11 #define SCRIPTPATH "SGC_ToneProt"
14 #define PRAATBIN "praatcon.exe"
16 #define PRAATBIN "./praat.ppc"
18 #define PRAATBIN "./praat"
21 #define PITCHPATH "PitchTiers"
22 #define GLADESOURCE "sgc.glade"
25 extern gint intTestCounter
;
26 extern gdouble upperRegister
;
28 gpointer
sound_init(void *args
);
29 gpointer
play(void *args
);
30 gpointer
example(void *args
);
31 gpointer
record(void *args
);
33 void drawPitchTier(cairo_t
*cr
, gchar
*filename
, gint width
, gint height
, gdouble top
);
35 void on_buttonNext_clicked(GtkWidget
*widget
, gpointer user_data
);
37 void create_list_view();
39 void add_entry(gchar
*txt
);
41 gboolean
setButtonsTrue();
42 gboolean
setButtonsFalse();
44 #define TESTFILE "tests.txt"
46 extern gchar
**testList
;
48 void fileOpen(gchar
*filename
);
49 void fileSave(gchar
*filename
);