catiR
commited on
Commit
·
b0c291c
1
Parent(s):
b5d5d43
constant
Browse files
scripts/clusterprosody.py
CHANGED
@@ -60,7 +60,7 @@ def get_pitches(start_time, end_time, fpath):
|
|
60 |
# find the std of all pitches in the whole sentence
|
61 |
std = np.std([line[1] for line in lines if line[2] == 1])
|
62 |
|
63 |
-
low = min([p for t,p,v in lines if
|
64 |
|
65 |
for line in lines:
|
66 |
time, pitch, is_pitch = line
|
|
|
60 |
# find the std of all pitches in the whole sentence
|
61 |
std = np.std([line[1] for line in lines if line[2] == 1])
|
62 |
|
63 |
+
low = min([p for t,p,v in lines if v == 1]) - 1
|
64 |
|
65 |
for line in lines:
|
66 |
time, pitch, is_pitch = line
|