gnu: Add xiph-rnnoise.

* gnu/packages/xiph.scm (xiph-rnnoise): New variable.
This commit is contained in:
Liliana Marie Prikler 2021-12-04 14:39:09 +01:00
parent 6b01be8b04
commit 60541df3c4
No known key found for this signature in database
GPG Key ID: 442A84B8C70E2F87

@ -498,3 +498,36 @@ things in between.")
icecast server. It handles the socket connection, the timing of the data,
and prevents bad data from getting to the icecast server.")
(license license:gpl2+)))
(define-public xiph-rnnoise
;; No upstream release
(let ((commit "7f449bf8bd3b933891d12c30112268c4090e4d59")
(revision "0"))
(package
(name "rnnoise")
(version (git-version "0" revision commit))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://gitlab.xiph.org/xiph/rnnoise")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"0y8jdvxd9namw4f9hcmcmm2q0f32mnhfyjap8906hl308cws3rkj"))))
(build-system gnu-build-system)
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)
("libtool" ,libtool)))
(home-page "https://gitlab.xiph.org/xiph/rnnoise")
(synopsis "Real-time noise suppression")
(description "RNNoise is a noise suppression library based on a recurrent
neural network. The algorithm is described in Jean-Marc Valin's paper
@cite{A Hybrid DSP/Deep Learning Approach to Real-Time Full-Band Speech
Enhancement}.")
(license license:bsd-3)
(properties
;; There's no public release and a conflicting package, so hide it for
;; now.
`((hidden? . #t))))))