···11# Shortwave
2233-an app for [rewind](https://rewind.hackclub.com/#)
44-55-
66-77-## Install
88-99-You can download a pre-built binary from the releases or build it yourself using the nix flake.
1010-1111-## Development
1212-1313-this project uses nix for cross-compilation to windows xp. the key was using an older nixpkgs (22.05) since newer mingw toolchains use windows apis that don't exist in xp.
1414-1515-### Quick Start
1616-1717-```bash
1818-# enter the dev environment (or use direnv)
1919-nix develop
2020-2121-# build the app
2222-nix build
2323-2424-# deploy to my xp vm folder
2525-deploy-to-xp
2626-```
2727-2828-### Editor Setup (Zed)
2929-3030-to get proper intellisense for win32 apis in zed:
3131-3232-```bash
3333-# generate .clangd config with proper mingw headers
3434-setup-dev
33+a vintage shortwave radio tuner with internet streaming for [rewind](https://rewind.hackclub.com/#)
3543636-# restart zed
3737-```
55+
3863939-this creates a `.clangd` file that points to the actual mingw-w64 headers and avoids gcc intrinsics that cause clang issues.
77+### Radio Stations
4084141-### Build Details
99+| Frequency (MHz) | Station Name | Description |
1010+|-----------------|---------------------|--------------------------------|
1111+| 10.230 | SomaFM Groove | Downtempo and chillout |
1212+| 11.470 | WBGO Jazz88 | Jazz from Newark |
1313+| 12.650 | Radio Paradise | Eclectic music mix |
1414+| 13.890 | Classical Music | Classical radio |
1515+| 15.120 | Jazz Radio | Smooth jazz |
1616+| 16.350 | FIP | Eclectic French radio |
1717+| 18.810 | TSF Jazz | French jazz radio |
1818+| 20.040 | Dublab | Electronic and experimental |
1919+| 21.270 | BBC World Service | Global news and culture |
2020+| 23.730 | WFMU | Freeform experimental radio |
2121+| 24.960 | ChillHop Music | Lo-fi hip hop |
2222+| 27.420 | Worldwide FM | Global music discovery |
42234343-- uses mingw-w64 cross-compiler targeting i686-w64-mingw32
4444-- statically links runtime to avoid dll dependencies
4545-- targets windows xp (winver=0x0501) for maximum compatibility
4646-- older nixpkgs (22.05) prevents "procedure entry point" errors on xp
4747-4848-~
4949-5050-written in cpp. If you have any suggestions or issues feel free to open an issue on my [tangled](https://tangled.sh/@dunkirk.sh/shortwave) knot
2424+written in cpp; this project uses nix for cross-compilation to windows xp. the key was using an older nixpkgs (22.05) since newer mingw toolchains use windows apis that don't exist in xp. if you have any suggestions or need to open a ticket please do so on my [tangled](https://tangled.sh/@dunkirk.sh/shortwave) knot
51255226<p align="center">
5327 <img src="https://raw.githubusercontent.com/taciturnaxolotl/carriage/master/.github/images/line-break.svg" />