Skip to content

Commit 4e82716

Browse files
committed
adding mPraat
a toolbox for interacting with praat in MATLAB. Lets see how well this goes
1 parent 6787ba0 commit 4e82716

File tree

89 files changed

+20860
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+20860
-0
lines changed

mPraat/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.Rproj.user
2+
.Rhistory
3+
.RData
4+
mPraat.Rproj

mPraat/README.Rmd

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# mPraat toolbox for Matlab
2+
3+
mPraat toolbox for Matlab constitutes an interface between the most popular software for phonetic analyses, Praat, and Matlab.
4+
5+
Version 1.0.8.
6+
7+
For demonstration, see [html/mDemo.html](http://htmlpreview.github.com/?https://github.com/bbTomas/mPraat/blob/master/html/mDemo.html)
8+
9+
See also: [rPraat package](https://github.com/bbTomas/rPraat) for R.
10+
11+
rPraat and mPraat homepage: [http://fu.ff.cuni.cz/praat/](http://fu.ff.cuni.cz/praat/)
12+
13+
## Installation
14+
15+
[Download mPraat: mPraat-master.zip](https://github.com/bbTomas/mPraat/archive/master.zip)
16+
17+
To install mPraat, just unzip all files to any directory of your choice and Set Path (in Matlab) to this directory.
18+
19+
20+
## How to cite this toolbox?
21+
We have invested a lot of time and effort in creating mPraat toolbox / rPraat package, please cite it when using it for data analysis.
22+
23+
> Bořil, T., & Skarnitzl, R. (2016). Tools rPraat and mPraat. In P. Sojka, A. Horák, I. Kopeček, & K. Pala (Eds.), Text, Speech, and Dialogue (pp. 367–374). Springer International Publishing.
24+
25+
[Download Tools rPraat and mPraat manuscript .pdf](http://fu.ff.cuni.cz/praat/boril_skarnitzl_2016_Tools_rPraat_and_mPraat_[manuscript].pdf)
26+
27+
The final publication is available at Springer via [DOI 10.1007/978-3-319-45510-5_42](http://dx.doi.org/10.1007/978-3-319-45510-5_42)
28+
29+
30+
[Download BibTeX reference mpraatrpraat2016.bib](http://fu.ff.cuni.cz/praat/mpraatrpraat2016.bib)
31+
32+
## What is new
33+
34+
v1.0.8 (2017/07/15): pitchRead() to read Pitch-object files with time frames of pitch candidates
35+
36+
v1.0.7 (2017/04/19): tgfindLabels(), tgduplicateTierMergeSegments()
37+
38+
v1.0.6 (2017/04/11): ptCut(), ptCut0(), ptInterpolate(), ptHz2ST(), ptLegendre(), ptLegendreSynth(), ptLegendreDemo()
39+
40+
41+
## License
42+
43+
License: MIT
44+
45+
Copyright (c) 2016 Tomáš Bořil, [email protected]
46+
47+
48+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
49+
50+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
51+
52+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

mPraat/README.html

Lines changed: 189 additions & 0 deletions
Large diffs are not rendered by default.

mPraat/binomcoeff2.m

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
% similar to nchoosek() but give the same results as choose() in R for
2+
% inputs like choose(-1/2, 0) etc.
3+
% https://rosettacode.org/wiki/Evaluate_binomial_coefficients#MATLAB_.2F_Octave
4+
function r = binomcoeff2(n,k)
5+
r = prod((n-k+1:n)./(1:k));
6+
end

0 commit comments

Comments
 (0)