react-native-track-player
Version:
A fully fledged audio module created for music apps
17 lines (15 loc) • 484 B
text/typescript
import TrackPlayer from '../TrackPlayerModule';
export enum PitchAlgorithm {
/**
* A high-quality time pitch algorithm that doesn’t perform pitch correction.
* */
Linear = TrackPlayer.PITCH_ALGORITHM_LINEAR,
/**
* A highest-quality time pitch algorithm that’s suitable for music.
**/
Music = TrackPlayer.PITCH_ALGORITHM_MUSIC,
/**
* A modest quality time pitch algorithm that’s suitable for voice.
**/
Voice = TrackPlayer.PITCH_ALGORITHM_VOICE,
}