From ce0346abd9d649591bffff0864c5f1ccf85d4b99 Mon Sep 17 00:00:00 2001 From: Jen Herting Date: Thu, 14 Apr 2022 15:09:03 -0400 Subject: New package: py-nara-wpe (#29451) * espnet first build with depends * [py-nara-wpe] fixed copyright * [py-nara-wpe] fixing up dependencies Co-authored-by: Sid Pendelberry --- .../repos/builtin/packages/py-nara-wpe/package.py | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-nara-wpe/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-nara-wpe/package.py b/var/spack/repos/builtin/packages/py-nara-wpe/package.py new file mode 100644 index 0000000000..df322a0be2 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-nara-wpe/package.py @@ -0,0 +1,28 @@ +# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class PyNaraWpe(PythonPackage): + """Background noise and signal reverberation due to reflections in an + enclosure are the two main impairments in acoustic signal processing and + far-field speech recognition. This work addresses signal dereverberation + techniques based on WPE for speech recognition and other far-field + applications. WPE is a compelling algorithm to blindly dereverberate + acoustic signals based on long-term linear prediction.""" + + homepage = "https://github.com/fgnt/nara_wpe" + pypi = "nara_wpe/nara_wpe-0.0.7.tar.gz" + + version('0.0.7', sha256='7aa2edd5261e5d953e584e69a9233d60fc588fc8a4b7886c3ce43cc8ac8cd99b') + + depends_on('py-setuptools', type='build') + depends_on('py-pathlib2', type=('build', 'run'), when='^python@2') + depends_on('py-numpy', type=('build', 'run')) + depends_on('py-tqdm', type=('build', 'run')) + depends_on('py-soundfile', type=('build', 'run')) + depends_on('py-bottleneck', type=('build', 'run')) + depends_on('py-click', type=('build', 'run')) -- cgit v1.2.3-70-g09d2