Troubleshooting¶
Common issues and solutions for r0astr.
Audio Issues¶
No Sound Playing¶
- Check browser permissions - Click somewhere on the page first. Browsers require user interaction before playing audio.
- Check volume - Ensure your system volume and the pattern's
.gain()value are set appropriately. - Check the console - Open browser DevTools (F12) and look for errors.
Audio is Choppy or Glitchy¶
- Close other tabs - Audio processing is CPU-intensive
- Use Chrome or Firefox - These have the best Web Audio support
- Reduce pattern complexity - Simpler patterns use less CPU
Samples Not Loading¶
- Sample loading happens on first use - you may see console messages
- Wait a moment and try playing again
- Check your internet connection
Pattern Issues¶
Pattern Not Updating¶
- Make sure you clicked Play after editing
- Check for syntax errors in the console
- Verify your pattern ends with a valid function call
Syntax Errors¶
Common mistakes:
Remote Control Issues¶
Can't Connect from iPad/Phone¶
- Same network - Both devices must be on the same WiFi
- Use network IP - Use
http://192.168.x.x:5173/remote.html, notlocalhost - Check firewall - Your computer's firewall may block connections
Remote Shows "Disconnected"¶
- The main app must be running
- Try refreshing the remote page
- Check that WebSocket port is not blocked
Remote Shows "Unauthorized" or Won't Connect¶
If an API key is configured in server.config.json:
- Check the key - The remote interface should prompt for the key. Make sure you enter it exactly as set in the config file
- Localhost is exempt - If you're connecting from the same machine, auth is bypassed automatically
- Check
server.config.json- Verify theauth.apiKeyfield contains the correct key - Restart after config changes -
r0astrreads the config on startup
CORS Errors in Browser Console¶
If you see Access-Control-Allow-Origin errors when using the REST API:
- Check
server.config.json- Make surecors.allowedOriginsincludes the origin you're calling from, or is set to["*"] - Include the full origin - Origins must match exactly, including port (e.g.,
http://192.168.1.50:5173) - Restart after changes - Config is read on server startup
Installation Issues¶
macOS: "App is damaged" or "unidentified developer"¶
Right-click the app and select "Open", then click "Open" in the dialog.
Or run in Terminal:
Windows: SmartScreen Warning¶
Click "More info" then "Run anyway".
Linux: AppImage Won't Run¶
Make it executable:
Browser Compatibility¶
| Browser | Support |
|---|---|
| Chrome | Full |
| Firefox | Full |
| Safari | Full (macOS 14+) |
| Edge | Full |
| Mobile Chrome | Basic |
| Mobile Safari | Basic |
Still Stuck?¶
- Check GitHub Issues
- See the FAQ
- Open a new issue with details about your problem