Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rakannimer/react-mobx-music
Render & play music with MobX and React.
https://github.com/rakannimer/react-mobx-music
Last synced: 12 days ago
JSON representation
Render & play music with MobX and React.
- Host: GitHub
- URL: https://github.com/rakannimer/react-mobx-music
- Owner: rakannimer
- Created: 2018-10-16T15:56:32.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-24T14:45:14.000Z (over 6 years ago)
- Last Synced: 2024-10-29T12:05:22.340Z (4 months ago)
- Language: TypeScript
- Size: 151 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## React Mobx Music
### Install
```sh
yarn add react-mobx-music
```### Usage
```jsx
{({ isLoading, instruments }) =>
isLoading ? (
Loading
) : (
Loaded !
{
instruments.get("accordion").play("A4");
}}
onMouseUp={() => {
instruments.get("accordion").stop("A4");
}}
>
Play A4
)
}```