Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Anthony Larcher
sidepipe
Commits
80854c0d
Commit
80854c0d
authored
Nov 08, 2016
by
Anthony Larcher
Committed by
Anthony Larcher
Nov 08, 2016
Browse files
Refactoring,in sidekit
parent
7b170c26
Changes
3
Hide whitespace changes
Inline
Side-by-side
.idea/vcs.xml
View file @
80854c0d
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"VcsDirectoryMappings"
>
<mapping
directory=
"
$PROJECT_DIR$
"
vcs=
"Git"
/>
<mapping
directory=
""
vcs=
"Git"
/>
</component>
</project>
\ No newline at end of file
sstream.py
View file @
80854c0d
...
...
@@ -305,8 +305,8 @@ class SStream(object):
vad
=
np
.
ones
(
sliding_sig
.
shape
[
0
],
dtype
=
'bool'
)
elif
self
.
drop_lowE_frames
==
'energy'
:
vad
=
sidekit
.
frontend
.
vad
.
vad_energy
(
np
.
log
((
sliding_sig
**
2
).
sum
(
axis
=
1
)),
distrib
N
b
=
3
,
nb
T
rain
I
t
=
8
,
distrib
_n
b
=
3
,
nb
_t
rain
_i
t
=
8
,
flooring
=
0.0001
,
ceiling
=
1.0
,
alpha
=
self
.
drop_alpha
)[
0
]
...
...
utils.py
View file @
80854c0d
...
...
@@ -39,4 +39,4 @@ def coroutine(func):
cr
=
func
(
*
args
,
**
kwargs
)
next
(
cr
)
return
cr
return
start
\ No newline at end of file
return
start
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment