@@ -4,7 +4,6 @@ about: Create a bug report to improve aptdec | |||||
title: '' | title: '' | ||||
labels: bug | labels: bug | ||||
assignees: '' | assignees: '' | ||||
--- | --- | ||||
**Describe the bug** | **Describe the bug** | ||||
@@ -17,7 +16,7 @@ Steps to reproduce the behavior. | |||||
A clear description of what you expected to happen. | A clear description of what you expected to happen. | ||||
**Link to audio** | **Link to audio** | ||||
A link to the audio that caused the problem. | |||||
A link to the audio file that caused the problem (if applicable). | |||||
**Build information** | **Build information** | ||||
The commit of aptdec you are running (check with `git rev-parse HEAD`), make sure it's up to date before opening this issue. | |||||
The version of aptdec you are running (check with `git describe --tag`), make sure it's up to date before opening this issue. |
@@ -29,16 +29,16 @@ jobs: | |||||
- name: Build and package | - name: Build and package | ||||
run: cmake --build build -j$(nproc) && cmake --build build --target package | run: cmake --build build -j$(nproc) && cmake --build build --target package | ||||
- name: Upload TGZ package | |||||
- name: Upload TGZ archive | |||||
uses: actions/upload-artifact@v3 | uses: actions/upload-artifact@v3 | ||||
with: | with: | ||||
name: TGZ package | |||||
name: TGZ archive (x86_64/gcc) | |||||
path: build/aptdec_*.tar.gz | path: build/aptdec_*.tar.gz | ||||
- name: Upload DEB package | |||||
- name: Upload Debian package | |||||
uses: actions/upload-artifact@v3 | uses: actions/upload-artifact@v3 | ||||
with: | with: | ||||
name: Debian package | |||||
name: Debian package (x86_64/gcc) | |||||
path: build/aptdec_*.deb | path: build/aptdec_*.deb | ||||
build_windows: | build_windows: | ||||
@@ -56,10 +56,10 @@ jobs: | |||||
- name: Run build script | - name: Run build script | ||||
run: ./build_windows.sh $BUILD_TYPE | run: ./build_windows.sh $BUILD_TYPE | ||||
- name: Upload ZIP package | |||||
- name: Upload ZIP archive | |||||
uses: actions/upload-artifact@v3 | uses: actions/upload-artifact@v3 | ||||
with: | with: | ||||
name: ZIP package | |||||
name: ZIP archive (x86_64/MinGW) | |||||
path: winbuild/aptdec_*.zip | path: winbuild/aptdec_*.zip | ||||
build_windows_msvc: | build_windows_msvc: | ||||
@@ -75,10 +75,10 @@ jobs: | |||||
shell: cmd | shell: cmd | ||||
run: '"C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat" & build_windows.bat' | run: '"C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat" & build_windows.bat' | ||||
- name: Upload ZIP package | |||||
- name: Upload ZIP archive | |||||
uses: actions/upload-artifact@v3 | uses: actions/upload-artifact@v3 | ||||
with: | with: | ||||
name: ZIP package (MSVC) | |||||
name: ZIP archive (x86_64/MSVC) | |||||
path: winbuild/aptdec_*.zip | path: winbuild/aptdec_*.zip | ||||
build_linux_armhf: | build_linux_armhf: | ||||
@@ -93,14 +93,14 @@ jobs: | |||||
- name: Run build script | - name: Run build script | ||||
run: docker run -v $(pwd):/aptdec:z -w /aptdec debian:11 ./build_arm.sh | run: docker run -v $(pwd):/aptdec:z -w /aptdec debian:11 ./build_arm.sh | ||||
- name: Upload DEB package | |||||
- name: Upload Debian package | |||||
uses: actions/upload-artifact@v3 | uses: actions/upload-artifact@v3 | ||||
with: | with: | ||||
name: DEB package (ARM) | |||||
name: Debian package (armhf/gcc) | |||||
path: build/aptdec_*.deb | path: build/aptdec_*.deb | ||||
- name: Upload TGZ package | |||||
- name: Upload TGZ archive | |||||
uses: actions/upload-artifact@v3 | uses: actions/upload-artifact@v3 | ||||
with: | with: | ||||
name: TGZ package (ARM) | |||||
name: TGZ archive (armhf/gcc) | |||||
path: build/aptdec_*.tar.gz | path: build/aptdec_*.tar.gz |
@@ -0,0 +1,34 @@ | |||||
# Upgrading from aptdec 1.8.0 to 2.0.0 | |||||
# `aptdec` (now `aptdec-cli`) | |||||
## Removed | |||||
- The `-d` (output directory) flag | |||||
- The `-g` (gamma) flag | |||||
- Map overlays/MCIR | |||||
- Reading raw PNG images | |||||
(Some of these features have been moved into `aptdec_post.py`) | |||||
## Changes | |||||
- "palettes" are now called "luts" | |||||
- Image type and effects are now full English words (separated by commas) instead of letters | |||||
- Output format of realtime images is now `CURRENT_TIME.png` instead of `CURRENT_TIME-r.png` | |||||
- Channel A/B images include telemetry | |||||
## Examples | |||||
| v1.8 | v2.0.0 | | |||||
|---------------------------------------|-------------------------------------------| | |||||
| `aptdec file.wav` | `aptdec-cli file.wav` | | |||||
| `aptdec -i rt file.wav` | `aptdec-cli -i raw,thermal file.wav` | | |||||
| `aptdec -i ab file.wav` | `aptdec-cli -i a,b -e strip file.wav` | | |||||
| `aptdec -i p -p palette.png file.wav` | `aptdec-cli -i lut -l lut.png file.wav` | | |||||
| `aptdec -d out *.wav` | `mkdir out; cd out; aptdec-cli ../*.wav` | | |||||
# `libapt` (now `libaptdec`) | |||||
To avoid confusion with `apt` (the Debian package manager) the name of the aptdec library has been changed to `libaptdec`. |
@@ -1,6 +1,6 @@ | |||||
# the name of the target operating system | # the name of the target operating system | ||||
SET(CMAKE_SYSTEM_NAME Windows) | SET(CMAKE_SYSTEM_NAME Windows) | ||||
SET(CMAKE_SYSTEM_PROCESSOR amd64) | |||||
SET(CMAKE_SYSTEM_PROCESSOR x86_64) | |||||
# which compilers to use for C and C++ | # which compilers to use for C and C++ | ||||
SET(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc) | SET(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc) | ||||