Waveform formats (`EST_Wave`, `EST_WaveFile`):
* Raw audio data (headerless) is likely supported, as `ch_wave` can *add* headers.
* Audlab
* Raw PCM - Already implied in your notes but explicitly supported via `save_raw`/`load_raw` functions.
* RIFF/Wav - Explicitly listed in the `EST_WaveFile` class.
* A-law - Explicitly supported as `wff_alaw`.
* µ-law - Explicitly supported as `wff_ulaw`.
* AIFF (Waveform) - Audio Interchange File Format. This is explicitly supported as per the `EST_WaveFile` class.
* SND (Waveform) - NeXT/Sun sound file format.
Track Formats (`EST_Track`):
* EST Track format (binary, presumably a custom format). This is the primary format used within the library.
* Specific formats are implied by the use of `ch_track` for conversion, but again, not explicitly listed.
For other data:
* Label Files: text, Used for things like phonetic and prosodic annotation, intonation event labels, often in XLabel format. Plain text formats are also used for things like phone lists in `scfg_make`.
* Feature vector files Files: Text-based, Whitespace-separated values, with quoting for values containing whitespace, used for training CARTs, regression models, and grammars. Used by `wagon` and other tools.
* Utterance files
* Grammar Files: Lisp-like S-expressions for SCFGs, regular grammars, etc. Special formats for things like Kay/Kaplan/Koskenniemi rules.
* N-gram model Files:
+ HTK format
* ASCII
* binary
+ ARPA format
+ CSTR format
* ASCII
* binary
* Weighted Finite State Transducer (WFST) Files: Input formats include regular expressions or structured grammar rules that is used for representing grammars and transducers. Two formats:
+ ascii
+ binary
* XML: text, For representing utterances and other structured data, parsed using `EST_XML_Parser` or `RXP`...
* XMG (XML-based format for representing linguistic data) format: text, This format is used for representing linguistic data and is supported by the `EST_XML_Parser` class.
* Scheme Used for scripting and interacting with SIOD.
* Text and Linguistic Data Formats
* SCFG (Stochastic Context-Free Grammar) files define probabilistic grammars in a text-based format and used by tools like `scfg_train` and `scfg_parse`.
* Tilt/RFC label files - text, Contain parameters for Tilt intonation models or Rise-Fall-Connection (RFC) models. Input/output for tools like `tilt_analysis` and `tilt_synthesis`.
* Pitchmark files: Text files with timestamps for glottal closures. Used for pitch-synchronous synthesis.
* Regex-based grammar files: text, Used for creating and manipulating finite state transducers (FSTs).
* Filter coefficient files: Used for FIR and other signal processing filters (e.g., `sigfilter`).
* SPGRAM (Spectrogram): A format for storing spectrogram data, processed by ESPS utilities.
* FILT: A format for filter data (e.g., coefficients), supported by ESPS utilities.
* HTK (HMM Toolkit) format: This format is used for storing Hidden Markov Models and is supported by the `EST_Ngrammar` class.
* HTK Filterbank (FBANK) (Track), Filter bank features format.
- HTK MFCC+E: HTK MFCC format with energy coefficients.
* HTK User:, User-defined HTK format.
* HTK Discrete: Discrete-valued HTK format.
* SSFF (Speech Synthesis Format) format: This format is used for storing speech synthesis data and is supported by the `EST_Track` class.
* SNNS (Stuttgart Neural Network Simulator) format: This format is used for storing neural network data and is supported by the `EST_Track` class.
* ESPS (Entropic Signal Processing System) format: This format is used for storing signal processing data and is supported by the `EST_Track` class.
* EMA (Electromagnetic Articulography) binary format: This format is used for storing articulatory data and is supported by the `EST_Track` class.
* EMA Swapped Format: A variation of the binary Electromagnetic Articulography format, with swapped byte order, supported by `EST_TrackFile`.
* NIST (National Institute of Standards and Technology) format: This format is used for storing speech recognition data and is supported by the `EST_Track` class.
* XGraph format: This format is used for storing graphical data and is supported by the `EST_Track` class.
* Inside-Outside format for SCFG training data
Compose the list of all file formats used, with their purposes, classifications whether they are binary or text, classifications what kind of information they store. Make a GraphViz dot graph describing the flows of information between formats and operations done with the help of the library.
digraph EST_Formats {
rankdir=LR;
subgraph cluster_audio {
label="Audio";
raw_audio [label="Raw Audio\n(binary)"];
wav [label="WAV\n(binary)"];
[Redacted Person] [label="µ-law\n(binary)"];
alaw [label="A-law\n(binary)"];
aiff [label="AIFF\n(binary)"];
snd [label="SND\n(binary)"];
esps_sd [label="ESPS SD\n(binary)"];
audlab [label="Audlab\n(text)"];
ch_wave [label="ch_wave", shape=box];
{raw_audio wav ulaw alaw aiff snd esps_sd audlab} -> ch_wave;
ch_wave -> {raw_audio wav ulaw alaw aiff snd esps_sd audlab};
}
subgraph cluster_features {
label="Features/Coefficients";
est_track_bin [label="EST Track\n(binary)"];
est_track_ascii [label="EST Track\n(ascii)"];
esps_fea [label="ESPS FEA\n(binary)"];
htk [label="HTK\n(binary)"];
ssff [label="SSFF\n(binary)"];
nist [label="NIST\n(text)"];
xmg [label="XMG\n(text)"];
xgraph [label="XGraph\n(text)"];
ema [label="EMA\n(binary)"];
ema_swapped [label="EMA\n(swapped)"];
snns [label="SNNS\n(text)"];
ch_track [label="ch_track", shape=box];
sig2fv [label="sig2fv", shape=box];
sigpr [label="Signal\nProcessing", shape=box];
{est_track_bin, est_track_ascii} -> ch_track;
ch_track -> {est_track_bin, est_track_ascii};
{wav, raw_audio} -> sig2fv -> {est_track_bin, esps_fea, htk};
{wav, raw_audio} -> sigpr -> {est_track_bin, esps_fea, htk, ssff};
{est_track_bin, esps_fea, htk} -> sigpr;
}
subgraph cluster_ling {
label="Linguistic/Annotation";
labels [label="Label Files\n(e.g. xlabel)\n(text)"];
tilt_rfc [label="Tilt/RFC\n(text)"];
pitchmarks [label="Pitchmarks\n(text)"];
xml [label="XML\n(text)"];
feature_vectors [label="Feature Vectors\n(text)"];
tilt_rfc -> {tilt_analysis, tilt_synthesis};
{tilt_analysis, tilt_synthesis} -> tilt_rfc;
labels -> tilt_analysis;
feature_vectors -> wagon;
}
subgraph cluster_grammar {
label="Grammar/Models";
grammar_lisp [label="Grammar (Lisp)\n(text)"];
kk_rules [label="KK Rules\n(text)"];
regex_grammar [label="Regex Grammar\n(text)"];
ngram [label="N-gram\n(text/binary)"];
wfst_ascii [label="WFST\n(ascii)"];
wfst_bin [label="WFST\n(binary)"];
scfg [label="SCFG\n(text)"];
wfst_build [label="wfst_build", shape=box];
wfst_run [label="wfst_run", shape=box];
scfg_train [label="scfg_train", shape=box];
scfg_parse [label="scfg_parse", shape=box];
wagon [label="wagon", shape=box];
ngram_build [label="ngram_build", shape=box];
ngram_test [label="ngram_test", shape=box];
tilt_analysis [label="tilt_analysis", shape=box];
tilt_synthesis [label="tilt_synthesis", shape=box];
{grammar_lisp, kk_rules, regex_grammar} -> wfst_build -> {wfst_ascii, wfst_bin};
{wfst_ascii, wfst_bin} -> wfst_run;
feature_vectors -> ngram_build -> ngram;
[Redacted Person] -> ngram_test;
scfg -> scfg_train -> scfg;
scfg -> scfg_parse;
est_track_bin -> tilt_analysis;
est_track_bin -> tilt_synthesis;
}
subgraph cluster_other {
label = "Other";
filter_coeffs [label="Filter Coefficients\n(text/binary)"];
spgram [label="SPGRAM\n(binary)"];
filt [label="FILT\n(binary)"];
scheme [label="Scheme\n(text)"];
siod [label="SIOD", shape=box];
sigfilter [label="sigfilter", shape=box];
design_filter [label="design_filter", shape=box];
scheme -> siod;
filter_coeffs -> {sigfilter, design_filter};
}
xml -> {xmg feature_vectors};
}