Skip to content

White Noise audio player with web server for controlling playback

License

Notifications You must be signed in to change notification settings

ezzizzle/whitenoise

Repository files navigation

White Noise

A White Noise player for Android built on React Native. Includes a web server that allows controlling playback remotely.

Usage

You need to have React Native setup and Android Studio installed and configured.

You should be able to run the application on an Android phone using the command

npx react-native run-android

The main screen will show you the IP and port of the server.

The following commands are supported:

  • GET /play - start the white noise playing
  • GET /pause - pause the white noise
  • GET /status - get the current status ({"status": "playing|paused"})

Why?

I built this to have a white noise generator running in a separate room that I oculd control over the network. In my case I am using Homebridge and the homebridge-http-switch plugin to incorporate white noise into selected HomeKit scenes.

Contributing

If you find this useful and want to contribute by all means send me a pull request. I'm not actively maintaining this unless there's something in particular I would like added.

About

White Noise audio player with web server for controlling playback

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published