Menu

Tree [2b5e7d] master /
 History

HTTPS access


File Date Author Commit
 Data 2017-11-02 Rob van Son Rob van Son [16381e] Added TEsingle Tables
 Examples 2014-05-16 Rob van Son Rob van Son [7e4ca4] Correct exit when window is closed in Windows
 HTML 2024-08-26 Rob van Son Rob van Son [2b5e7d] Rerun the make process
 ManPages 2018-03-21 Rob van Son Rob van Son [641360] Adaptations for rating experiments
 aux 2014-05-08 Rob van Son Rob van Son [5b78ff] Changed button tables to allow for button sizes...
 lib 2017-06-09 Rob van Son Rob van Son [cac808] Updated patch to Praat 6.0.29
 praat_module 2024-08-26 Rob van Son Rob van Son [2b5e7d] Rerun the make process
 tmp 2024-08-26 Rob van Son Rob van Son [5beba7] Cleanup commit of automatically generated text ...
 Config.praat 2015-05-08 Rob van Son Rob van Son [366cef] NAsty bug, interaction global/local variables
 CreateTables.praat 2024-08-26 Rob van Son Rob van Son [5beba7] Cleanup commit of automatically generated text ...
 Initialise.praat 2018-03-21 Rob van Son Rob van Son [641360] Adaptations for rating experiments
 MainPage.praat 2017-07-18 Rob van Son Rob van Son [99a540] Bettrer initialization of Speaker tables
 README.txt 2012-01-19 Rob Rob [b4cd62] Initial commit of clean repository
 TEVA.praat 2017-07-31 Rob van Son Rob van Son [1deaae] Resample before concatenation
 TODOlist.txt 2014-05-30 Rob van Son Rob van Son [1d0b2b] Added items to TODO list
 gpl-2.0.txt 2012-01-19 Rob Rob [b4cd62] Initial commit of clean repository
 main_Praat.cpp 2024-08-26 Rob van Son Rob van Son [5beba7] Cleanup commit of automatically generated text ...
 makefile 2012-01-19 Rob Rob [86c81f] Added html concatenation to main makefile
 tables2scripts.praat 2012-04-05 Rob van Son Rob van Son [8c4f30] Added safeguards against preferences corruption...

Read Me

Praat Demo Framework

Introduction

The Praat Demo Framework suplies a set of Praat scripts and other files that
produce a fully functional interactive Demo Window for stand alone applications.

It implements button drawing and event loop, application and configuration 
screens, help functions, and automatically saving current settings between sessions. 
Already included are recording sounds, opening files, drawing waveforms and 
selecting intervals with zooming.

GUI design is stored independend of the script code in tab separated tables 
(Praat Table objects). Changing the GUI for existing functionality can be done
without touching the scripts. Adding functionality only requires the addition of
a single function associated to each button added.

The Framework is geared towards multiple language support. All user visible texts
are stored in language specific tables which will be loaded automatically when the
language is selected. On platforms where Praat supports the display of full 
Unicode character sets, these can be used. For example, a fully Chinese GUI is as
simple as a fully English GUI. New translations can be added locally without 
touching the scripts or recompiling the (binary) application.

Files

It has not been possible to completely separate application specific and general
script code into separate files. However, the intention has been to concentrate
all general code into the main script file (praatdemoframe.praat), and to delegate
most application specific code to the Initialise.praat script. The MainPage.praat and
Config.praat files contain both general and application specific code. Eg, all the
code handling button functionalities.

MainPage.praat
	Controls the main application window
	
Config.praat
	Controls the configuration page
	
CreateTables.praat
	All the GUI and text tables from Data translated into a single Praat script.
	Necessary for stand alone scripts
	
Data
	Directory with all the (language specific) text and GUI tables
	
gpl-2.0.html
gpl-2.0.txt
	GPL v2 license text. All code is licensed under the GPL version 2.0 or later.
	Please refer to the license text for details
	
Initialise.praat
	The application specific general initialization script. Contains mostly 
	application specific code and definitions
	
makefile
	Construct the final header file for stand alone applications containing the script
	in C text form suitable to include in main_Praat.c
	
praatdemoframe.praat
	The main script to call. The command ">praat praatdemoframe.praat" will run the 
	script as an application. Should be renamed after your application. Mainly
	contains general, application independend scripts.
	
praat_module
	Directory with files for creating stand-alone applications
	
README.txt
	This text
	
tables2scripts.praat
	Praat script to create CreateTables.praat from the Tabels in the Data directory