59 lines
2.3 KiB
Markdown
59 lines
2.3 KiB
Markdown
# BeatHound
|
|
|
|
BeatHound is a small, mobile-friendly beat maker. Place beats on labeled category rings, identify them by letter, rename legend categories with a long press, adjust pitch where supported, and play the loop in your browser.
|
|
|
|
## Start here
|
|
|
|
- [User and development guide](docs/software-guide.md): how to use BeatHound and get the project running.
|
|
- [Software documentation](docs/software-documentation.md): how the app is built and how its parts work together.
|
|
|
|
## Read the documentation site
|
|
|
|
Start the local documentation website with:
|
|
|
|
```sh
|
|
npm run docs:dev
|
|
```
|
|
|
|
Open the local address shown by VitePress. To build the static documentation site, run `npm run docs:build`. To view that build locally, run `npm run docs:preview`.
|
|
|
|
## Run BeatHound
|
|
|
|
You need a recent version of Node.js and npm.
|
|
|
|
```sh
|
|
npm install
|
|
npm run dev
|
|
```
|
|
|
|
Open the local web address shown by Vite. Choose a dance template or add a sound, then press **Play**. Your browser may ask to allow audio.
|
|
|
|
## Mobile downloads
|
|
|
|
- [Android / e/OS debug APK](downloads/BeatHound-Android-eOS-1.0.0-debug.apk) — installable on Android API 24 or newer. The same APK is intended for compatible e/OS 4+ devices.
|
|
- **iOS:** An IPA is not included because iOS apps must be built and signed with Xcode on macOS. See the [native build guide](docs/native-builds.md).
|
|
|
|
The Android file is a debug-signed build for testing. It is not a Google Play release package.
|
|
|
|
## Build the mobile apps
|
|
|
|
The project uses Capacitor for native Android and iOS shells.
|
|
|
|
```sh
|
|
npm run android:debug
|
|
```
|
|
|
|
The Android build needs JDK 21 and Android SDK Platform 36 / Build Tools 36.0.0. It writes the Gradle output and copies the APK to `downloads/BeatHound-Android-eOS-1.0.0-debug.apk`. For iOS, use macOS with Xcode: run `npm run ios:sync`, then `npm run ios:open` and archive/sign the app in Xcode. Full setup steps are in the [native build guide](docs/native-builds.md).
|
|
|
|
## Project checks
|
|
|
|
```sh
|
|
npm run lint # check code style
|
|
npm run build # check TypeScript and make a production build
|
|
npm test # run the tests
|
|
```
|
|
|
|
## Main tools
|
|
|
|
BeatHound uses React, TypeScript, Vite, Ionic React, Ionicons, Capacitor, and the browser Web Audio API. It needs no backend server or account setup. The current loop stays in memory while the page is open; it is not saved after a refresh.
|