npm install rn-metronome
import { Metronome } from 'rn-metronome';
onPress = () => {
Metronome.play(100); // play with bpm=100
};
// ...
onPress = () => {
Metronome.stop(); // stop playing
};
MIT
Made with create-react-native-library
npm install rn-metronome
import { Metronome } from 'rn-metronome';
onPress = () => {
Metronome.play(100); // play with bpm=100
};
// ...
onPress = () => {
Metronome.stop(); // stop playing
};
MIT
Made with create-react-native-library
npm i rn-metronome
45
0.2.0
MIT
21.2 kB
21