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"
19 #define PITCHPATH "PitchTiers"
20 #define GLADESOURCE "sgc.glade"
23 extern gint intTestCounter
;
24 extern gdouble upperRegister
;
26 gpointer
sound_init(void *args
);
27 gpointer
play(void *args
);
28 gpointer
example(void *args
);
29 gpointer
record(void *args
);
31 void drawPitchTier(cairo_t
*cr
, gchar
*filename
, gint width
, gint height
, gdouble top
);
33 void on_buttonNext_clicked(GtkWidget
*widget
, gpointer user_data
);
35 void create_list_view();
37 gboolean
setButtonsTrue();
38 gboolean
setButtonsFalse();
40 #define TESTFILE "tests.txt"
42 extern gchar
**testList
;
44 void fileOpen(gchar
*filename
);
45 void fileSave(gchar
*filename
);