-
Notifications
You must be signed in to change notification settings - Fork 4
MISRC Extract
MISRC Extract is a simple tool to de-interleave ADC channels and the AUX data from a raw .bin
capture.
The MISRC captures with 2 ADC channels 12-bit and the 8-bit AUX data is interleaved into 32 bit words, so you end up with a 32-bit .bin file if no real-time extraction is used.
This tool de-interleaves that data For x86_64 (64-bit AMD and Intel processors).
There is handwritten assembly for higher performance using SSE instructions.
capture.bin
--> misrc_extract
--> Channel_1.s16
, Channel_2.s16
Aux Data mode is not yet in use due to lack of sub-boards like audio etc.
Windows, Linux, MacOS Self-Contained Binaries Download Here.
Linux Building
Install the tools that are required to build misrc_extract
using your packet manger (example for Debian, Ubuntu, Linux Mint):
sudo apt install build-essential cmake nasm git
Download the repository
git clone https://github.com/Stefan-Olt/MISRC.git
Enter into the misrc extract folder
cd MISRC/misrc_extract
Then build the software
mkdir build
cd build
cmake ..
make
sudo make install
-i
Input file (use '-' to read from stdin)
-a
ADC A output file (use '-' to write on stdout)
-b
ADC B output file (use '-' to write on stdout)
-x
AUX output file (use '-' to write on stdout)
-p
pad lower 4 bits of 16 bit output with 0 instead of upper 4
-s
input is captured as single channel (-b cannot be used)
Inside the directory of capture run:
misrc_extract -i misrc_capture.bin -a channel_1.s16 -b channel_2.s16
-
0.2
- Fix: signal now with correct polarity
- Mod: output program name and version
- New: option to pad lower 4 bits instead of upper 4
-
0.1
- Initial Release