Add Capacitor mobile builds and Android APK
This commit is contained in:
1 parent
4f221ea122
commit
8ef90b5898
86 files changed
+2874
-7
No files matched your search
@@ -66,7 +66,7 @@ Browsers often block sound until the user interacts with the page. Press **Play*
|
||||
|
||||
The app makes playback ticks with a browser timer. At each tick it checks whether a sound point should play. The exact timing can depend on the browser and the device.
|
||||
|
||||
The page layout adapts to different screen sizes. The project also includes a web app manifest, icons, and mobile home-screen metadata. This project does not include code for saving patterns, working offline, or building a native mobile app.
|
||||
The page layout adapts to different screen sizes. The project includes a web app manifest, icons, and Capacitor projects for Android and iOS. It does not include code for saving patterns or working offline. See the [native build guide](native-builds.md) for mobile build requirements.
|
||||
|
||||
## 4. Run the project on your computer
|
||||
|
||||
@@ -100,7 +100,7 @@ npm test
|
||||
|
||||
## 5. How the software is organized
|
||||
|
||||
BeatHound is a React and TypeScript app. Ionic React provides many of the buttons, popovers, and page elements. Vite runs the development server and builds the app.
|
||||
BeatHound is a React and TypeScript app. Ionic React provides many of the buttons, popovers, and page elements. Vite runs the development server and builds the web app. Capacitor wraps that web app in Android and iOS projects.
|
||||
|
||||
The main path through the app is:
|
||||
|
||||
@@ -153,6 +153,9 @@ The main path through the app is:
|
||||
| `src/audio/AudioEngine.ts` | Starts the browser audio context and sends sounds to it. |
|
||||
| `src/audio/instruments.ts` | Creates the synthesized instrument sounds. |
|
||||
| `src/audio/soundVoices.ts` | Connects each instrument ID to its sound-making function. |
|
||||
| `capacitor.config.ts` | Sets the app ID, app name, and native web asset folder. |
|
||||
| `android/` and `ios/` | Capacitor project files for native mobile builds. |
|
||||
| `downloads/` | Holds the Android/e/OS debug APK available from this repository. |
|
||||
| `src/sequencer.test.ts` | Tests timing, loop geometry, state changes, colors, and templates. |
|
||||
| `public/` | Holds icons, logos, and the web app manifest. |
|
||||
|
||||
@@ -164,12 +167,15 @@ The main path through the app is:
|
||||
| --- | --- |
|
||||
| `package.json` | Lists the packages used by the project and the npm commands. |
|
||||
| `package-lock.json` | Records exact package versions for repeatable installs. |
|
||||
| `capacitor.config.ts` | Sets the native app ID, display name, and web build folder. |
|
||||
| `vite.config.ts` | Turns on the React plugin and sets up Vitest. |
|
||||
| `tsconfig.json` | Sets TypeScript rules. The project uses strict type checking. |
|
||||
| `eslint.config.js` | Sets the code checks used by ESLint. |
|
||||
| `.gitignore` | Keeps generated files such as `dist/` and `node_modules/` out of Git. |
|
||||
| `public/manifest.webmanifest` | Gives the app a name, icons, colors, and home-screen display settings. |
|
||||
| `src/ionicons.d.ts` | Tells TypeScript which Ionicons names this app uses. |
|
||||
| `android/` and `ios/` | Capacitor native project files. |
|
||||
| `downloads/` | Checked-in Android/e/OS debug APK. |
|
||||
|
||||
## 6. How loop data works
|
||||
|
||||
|
||||
Reference in new issue
Block a user