This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<feed xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:noNamespaceSchemaLocation= | |
"http://www.google.com/shopping/reviews/schema/product/2.3/product_reviews.xsd"> | |
<version>2.3</version> | |
<aggregator> | |
<name>Sample Reviews Aggregator (if applicable)</name> | |
</aggregator> | |
<publisher> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function randomIntFromInterval(min, max) { | |
return Math.floor(Math.random() * (max - min + 1) + min); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# First denoise audio | |
## Get noise sample | |
ffmpeg -i input.ogg -vn -ss 00:00:00 -t 00:00:01 noise-sample.wav | |
## Create noise profile | |
sox noise-sample.wav -n noiseprof noise.prof | |
## Clean audio from noise | |
sox input.ogg clean.wav noisered noise.prof 0.21 |