All Projects → leonardomso → roover

leonardomso / roover

Licence: MIT license
🐱 A lightweight audio library for React apps.

Programming Languages

typescript
32286 projects
HTML
75241 projects

Projects that are alternatives of or similar to roover

useAudioPlayer
Custom React hook & context for controlling browser audio
Stars: ✭ 176 (+151.43%)
Mutual labels:  hooks, player, sound, audio-player, react-hook
React Native Sound Player
Play sound file in ReactNative
Stars: ✭ 144 (+105.71%)
Mutual labels:  player, sound, audio-player
Swift Radio Pro
Professional Radio Station App for iOS!
Stars: ✭ 2,644 (+3677.14%)
Mutual labels:  player, sound, audio-player
audioStreamDemo
A music player created in swift using AVPlayer to stream audio from server.
Stars: ✭ 33 (-52.86%)
Mutual labels:  player, audio-player
strumpract
Various tools for musicians.
Stars: ✭ 20 (-71.43%)
Mutual labels:  player, audio-player
uos
United Open-libraries of Sound. United procedures for open-source audio libraries. For FPC/Lazarus/fpGUI/MSEgui.
Stars: ✭ 112 (+60%)
Mutual labels:  player, sound
Sound
🔊 A Vue composable for playing sound effects
Stars: ✭ 116 (+65.71%)
Mutual labels:  hooks, sound
use-redux-hook
A simple react hook to get access to redux store
Stars: ✭ 13 (-81.43%)
Mutual labels:  hooks, react-hook
pushtape-player.js
Customizable JS audio page player with global playback controls and autoscan (mutationobserver), built on Soundmanager2.
Stars: ✭ 27 (-61.43%)
Mutual labels:  player, audio-player
soube
Music player based on electronjs
Stars: ✭ 32 (-54.29%)
Mutual labels:  player, sound
useCustomHooks
📦 npm package containing a set of custom hooks for your next React project.
Stars: ✭ 12 (-82.86%)
Mutual labels:  hooks, react-hook
spc-player
SNES music player in your browser with original hardware and Arduino.
Stars: ✭ 37 (-47.14%)
Mutual labels:  player, sound
minimal-player
This is a minimal, clean audio/music/mp3 player with spinning cover images, built with jQuery, TweenMax.js and SVG images.
Stars: ✭ 48 (-31.43%)
Mutual labels:  player, audio-player
TonUINO
Alternative TonUINO Firmware
Stars: ✭ 112 (+60%)
Mutual labels:  player, audio-player
X3daudio1 7 hrtf
HRTF for Arma 3, Skyrim, and other titles that use XAudio2 + X3DAudio
Stars: ✭ 192 (+174.29%)
Mutual labels:  hooks, sound
linux-show-player
Linux Show Player - Cue player designed for stage productions
Stars: ✭ 147 (+110%)
Mutual labels:  player, sound
react-use-comlink
Three ways to use Comlink web workers through React Hooks (and in a typesafe manner).
Stars: ✭ 39 (-44.29%)
Mutual labels:  hooks, react-hook
react-808
808 Drum Machine built using React.js hooks API
Stars: ✭ 51 (-27.14%)
Mutual labels:  hooks, audio-player
arc-progress
🐳 Arc circular animation progress bar drawn by canvas, you can used in the react component, or no dependence.
Stars: ✭ 42 (-40%)
Mutual labels:  hooks, react-hook
React Music Player
React,TS的音乐播放插件,歌词同步功能,适配PC和移动端;A music player build with react and typescript for mobile and PC
Stars: ✭ 357 (+410%)
Mutual labels:  hooks, audio-player

Roover

Manage audio in React with ease

Build Status Build Size Version License: MIT

Motivation

Modern applications are using audio all the time. Audio can turn a boring application into an interesting one, adding emotion to the content. Most of the modern applications that we use daily are using audio for at least in some part.

Work with audio in React applications is painful. There are not too many good libraries to manage audio and most of the time we need to create our solutions. Manage audio in a modern application is important and should be made by using the best tools and libraries.

The idea to create this library was to provide a powerful and lightweight audio library for React apps. A custom React Hook that is easy to integrate with and has a ton of features to help speed up development without having to worry about anything.

Installation

yarn add roover

Usage

All you need to do is import the useRoover hook and use it on your React component.

import React from 'react';
import useRoover from 'roover';

const src =
  'https://storage.googleapis.com/media-session/elephants-dream/the-wires.mp3';

const App = () => {
  const {
    initial,
    loading,
    ready,
    playing,
    paused,
    onPlay,
    onPause,
  } = useRoover({
    src,
    autoplay: true,
  });

  return (
    <div>
      <p>Loading: {loading ? 'true' : 'false'}</p>
      <p>Ready: {ready ? 'true' : 'false'}</p>
      <button onClick={onPlay}>Play</button>
      <button onClick={onPause}>Pause</button>
    </div>
  );
};

Example

To run the example do the following steps:

  1. git clone the repository
  2. cd roover/example
  3. yarn install
  4. yarn start

Contributing

Your contributions are welcome! If you have any questions or want to start to contribute to this library in any form, please open an issue. Feel free to open PR.

If there are any questions about this library or about any other topic, please contact me on Twitter @leonardomso and I'll gladly answer it.

License

MIT License © 2021 Leonardo Maldonado

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].