Comments (5)
Seems that although it has the extension, this file is not in the s16 format (raw 16-bit signed integer PCM), instead it is a 24-bit WAV file.
$ file radiostetin.wav.s16
radiostetin.wav.s16: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 24 bit, mono 192000 Hz
Some WAV files can works as raw PCM as the 16-bit aligned RIFF headers gets interpreted as a burst of noise, and they even can be piped to redsea as such, but the 24-bit sample width becomes a problem here.
Raw PCM normally looks like this (unless by coníncidence the noise starts looking like a file header):
$ file gen-yksi-171k.s16
gen-yksi-171k.s16: data
Edit - I've been kind of wanting to remove the default functionality of decoding stdin with no arguments given and add --input raw
instead - it's sort of a surprising functionality. But alas, it could be used by many people at this point...
from redsea.
I have renamed it as I thought it might work then. The original extension of the file was .wav
from redsea.
You can convert any audio file (well, almost) into the S16LE format with sox: sox radiostetin.wav radiostetin.s16
(this format has no headers for metadata, so make sure of the correct number of channels and sample rate).
Edit: Or it can be directly piped to redsea with sox audiofile.wav -t .s16 -r 171k - | redsea
For now, I'm not planning to add WAV input via stdin, but if such a need arises this can very well be reopened.
from redsea.
-f
seemes to convert 24bit into 16bit as well. So it's worth mentioning it in the wiki as well.
from redsea.
from redsea.
Related Issues (20)
- install: cannot stat 'rtl_ais': No such file or directory HOT 2
- build ERROR: Dependency "iconv" not found HOT 5
- Warnings from jsoncpp
- Switching to nlohmann_json breaks OpenEmbedded builds HOT 6
- Cannot compile on Ubuntu 20.04: nlohmann-json3 outdated HOT 1
- Using redsea? We'd love to know! HOT 2
- Cannot compile on MacOS: library 'liquid' not found HOT 7
- iTunes tagging ODA HOT 1
- Test suite HOT 1
- Decoder Identification bits are the wrong way around HOT 1
- AF shown too less in JSON even for error-free signals HOT 12
- Input from TEF6686 tuner HOT 9
- Migrate build system HOT 2
- `partial_alt_kilohertz` missing in Wiki HOT 1
- ASCII Binary file not working HOT 6
- Input from soundcard HOT 2
- Redsea is loosing contact? HOT 11
- Cached PI issues
- TMC Location tables question HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redsea.