Browse Source

README improvements

tags/v1.8.0
Xerbo 4 years ago
parent
commit
208f3bb4eb
1 changed files with 9 additions and 2 deletions
  1. +9
    -2
      README.md

+ 9
- 2
README.md View File

@@ -76,6 +76,9 @@ Map file generated by wxmap
-o <filename> -o <filename>
Output image filename Output image filename


-p <filename>
Path to palette

-r -r
Realtime decode. When decoding in realtime it is highly recommended to choose a plain raw image. Realtime decode. When decoding in realtime it is highly recommended to choose a plain raw image.
``` ```
@@ -114,7 +117,7 @@ Decode `audio.wav` with denoise and histogram equalization and save it into the


`aptdec -e d -p palettes/N19-June-High-Vegetation.png -i p audio.wav` `aptdec -e d -p palettes/N19-June-High-Vegetation.png -i p audio.wav`


Create a false color image from the `N19-June-High-Vegetation.pn` palette.
Create a false color image from the `N19-June-High-Vegetation.png` palette.


## Realtime decoding ## Realtime decoding


@@ -126,7 +129,11 @@ aptdec /tmp/aptaudio
sox -t pulseaudio alsa_output.pci-0000_00_1b.0.analog-stereo.monitor -c 1 -t wav /tmp/aptaudio sox -t pulseaudio alsa_output.pci-0000_00_1b.0.analog-stereo.monitor -c 1 -t wav /tmp/aptaudio
``` ```


Perform a realtime decode with the audio being played out of `alsa_output.pci-0000_00_1b.0.analog`. To stop the decode kill the `sox` process
Perform a realtime decode with the audio being played out of `alsa_output.pci-0000_00_1b.0.analog`. To stop the decode kill the `sox` process.

## Palette formatting

Palettes are PNG images that are 256x256 in size with 24bit RGB color. The X axis is the value of Channel A and the Y axis is the value of Channel B


## Further reading ## Further reading




Loading…
Cancel
Save