Skip to content

Commit 7d594c4

Browse files
committed
Wording updates and grammar check
1 parent 6f1948c commit 7d594c4

File tree

13 files changed

+15
-15
lines changed

13 files changed

+15
-15
lines changed

Formant Analyzer/Formant Analyzer/FormantPlotView.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class FormantPlotView: UIView {
1818
view.removeFromSuperview()
1919
}
2020

21-
// Now, we add an image to current view to plot location of first two formants
21+
// Now, we add an image to current view to plot location of the first two formants
2222
let backgroundRect = CGRect(x: 0, y: 0, width: self.frame.size.width, height: self.frame.size.height)
2323
let backgroundImageView = UIImageView(frame: backgroundRect)
2424
backgroundImageView.image = UIImage(named: "vowelPlotBackground.png")

Formant Analyzer/Formant Analyzer/SpeechAnalyzer.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ class SpeechAnalyzer {
101101
}
102102

103103
//
104-
//MARK: Class functions that allow tweaking the parameters
104+
//MARK: Class functions that allow tweaking of parameters
105105
//
106106

107107
/// Analyzes a signal to find the significant part
@@ -355,7 +355,7 @@ class SpeechAnalyzer {
355355
// Must be able to represent an empty range
356356
extension CountableRange where Bound.Stride == Int {
357357
/// Shrink range by `portion` of its length from each size
358-
/// - Parameter portion a fraction in the range 0...0.5
358+
/// - Parameter portion is a fraction in the range 0...0.5
359359
func truncatedTails(byPortion portion: Double) -> CountableRange<Bound> {
360360
let start = self.lowerBound.advanced(by: Int((portion * Double(self.count)).rounded()))
361361
let end = self.lowerBound.advanced(by: Int(((1 - portion) * Double(self.count)).rounded()))

Formant Analyzer/Formant Analyzer/ViewController.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ class FirstViewController: UIViewController {
178178
return String(format: "%.02f", value)
179179
}
180180
self.lineChartFull.valueLabelPosition = .left
181-
// Number of visible step in the chart
181+
// Number of visible steps in the chart
182182
self.lineChartFull.verticalGridStep = 3
183183
self.lineChartFull.horizontalGridStep = 5
184184
// Margin of the chart

Formant Analyzer/Pods/FSLineChart/README.md

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Offline MATLAB analysis/2. Audio Format Conversion/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Audio Format Conversion
22
=======================
33

44
The prerecorded utterances are converted into a standardized format for
5-
processing in Matlab. To ensure identical results with offline processing as
5+
processing in Matlab. To ensure identical results with offline processing and
66
when using the Formant Analyzer iOS app, we have chosen a very simple preferred
77
format for storing the audio.
88

Offline MATLAB analysis/2. Audio Format Conversion/main.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
% - Raw audio samples
55
% - 44 100 Hz sample rate
66
% - Mono channel
7-
% - 16-bit signed integer samples written little-endian
7+
% - 16-bit signed integer samples written in little-endian format
88
%
99

1010
recordings = {'arm', 'beat', 'bid', 'calm', 'cat', 'four', 'who'};

Offline MATLAB analysis/3. Vowel Isolation/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ And the chosen constants are given as:
2525

2626
- `TRIM_FACTOR` = 0.15;
2727

28-
**Warning: The results of this algorithm should be off by one compared to the
28+
**Warning: The results of this algorithm should be off-by-one compared to the
2929
iOS project because Matlab counts indices starting with 1 but Swift counts starting with 0.**
3030

3131
Analysis

Offline MATLAB analysis/3. Vowel Isolation/play.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
%% VOWEL ISOLATION
22
% We process all recordings to isolate just the vowel sound
3-
% Then we play the two original and the isolation back-to-back
3+
% Then we play the original and the isolation back-to-back
44
%
55

66
recordings = {'arm', 'beat', 'bid', 'calm', 'cat', 'four', 'who'};

Offline MATLAB analysis/3. Vowel Isolation/show.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
%% VOWEL ISOLATION
22
% We process all recordings to isolate just the vowel sound
3-
% Then we play the two original and the isolation back-to-back
3+
% Then we play the original and the isolation back-to-back
44
%
55

66
recordings = {'arm', 'beat', 'bid', 'calm', 'cat', 'four', 'who'};

Offline MATLAB analysis/4. LPC Formant Estimation/LPC Compare MATLAB and XCODE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
This work compared LPC coefficients and roots of prediction filters obtained
22
from MATLAB and objective-C.
33

4-
There is slight mismatch, most probably due to MATLAB implying windowing and us
4+
There is a slight mismatch, most probably due to MATLAB implying windowing and us
55
not including that step.
66

77
Comparison of LPC Coefficients

Offline MATLAB analysis/4. LPC Formant Estimation/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ periodic signal which does not go to zero at the beginning and end.**
2929
Analysis
3030
========
3131

32-
You can perform this analysis using by running `estimateFormants.m`.
32+
You can perform this analysis by running `estimateFormants.m`.
3333

3434
Following are the transfer functions for each recording.
3535

Offline MATLAB analysis/Feasibility/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ particularly from Figure 4. We can see that if a speech signal does not change
9999
over the duration of observation, the formant frequencies remain stable and we
100100
get a tight cluster (4th cluster). On the other hand, if speech sample is short
101101
and surrounded by consonants, we get poor results (3rd cluster). In general, the
102-
clusters are well spread and we need to perform post processing on the results
102+
clusters are well spread and we need to perform post-processing on the results
103103
of all speech segments present in a vowel sound.
104104

105105
Now, we are in a good position to estimate the effort required for real-time

Offline MATLAB analysis/Research/1996 Digital Bubblebath.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Project Scope and Updates
1111
The project started with an original motivation to "recognize words, recognize a
1212
string of words and identify a voice." [At first, the approach
1313
was](<https://www.clear.rice.edu/elec431/projects96/digitalbb/original_proposal.html>)
14-
to use continious wavelet transform to do wavelet analysis for recognizing
14+
to use continuous wavelet transform to do wavelet analysis for recognizing
1515
vowels however, [this was quickly
1616
updated](<https://www.clear.rice.edu/elec431/projects96/digitalbb/new_proposal.html>)
1717
to target formant analysis and pitch determination with a new goal of

0 commit comments

Comments
 (0)