Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. React Native
  3. react-native-sound

react-native-sound

MITTypeScriptv0.13.0

A React Native module for cross-platform audio clip playback with TypeScript support and modern architecture compatibility.

GitHubGitHub
2.9k stars783 forks0 contributors

What is react-native-sound?

React Native Sound is a library that provides audio playback capabilities for React Native applications on iOS and Android. It solves the problem of playing sound clips—such as sound effects, notifications, or background music—from various sources like app bundles, local files, or network URLs. The library offers a consistent API across platforms with features like volume control, panning, looping, and support for modern React Native architectures.

Target Audience

React Native developers building mobile apps that require audio playback, such as games, meditation apps, or applications needing sound feedback for user interactions. It's particularly useful for those using TypeScript or the New Architecture (TurboModules).

Value Proposition

Developers choose React Native Sound for its cross-platform reliability, full TypeScript support, and compatibility with React Native's modern architecture. It provides a straightforward API for common audio tasks without the overhead of more complex streaming solutions, making it ideal for playing short audio clips efficiently.

Overview

React Native module for playing sound clips

Use Cases

Best For

  • Adding sound effects to React Native games or interactive apps
  • Playing background music or ambient sounds in meditation or focus applications
  • Implementing audio feedback for user interactions like button clicks
  • Building apps that require cross-platform audio playback with TypeScript
  • Creating applications that need to play multiple audio clips simultaneously
  • Developing React Native apps using the New Architecture (TurboModules)

Not Ideal For

  • Applications requiring real-time audio streaming or long-form playback (e.g., podcasts, music streaming apps)
  • Projects needing audio recording, advanced processing, or sound effects mixing
  • Teams demanding 100% feature parity between iOS and Android, due to gaps like pan control on iOS only
  • Expo Go users, as it requires custom development builds and isn't compatible with the managed workflow

Pros & Cons

Pros

Cross-Platform Consistency

Provides a unified API using AVAudioPlayer on iOS and MediaPlayer on Android, ensuring reliable playback across platforms without platform-specific code.

Modern Architecture Ready

Fully supports React Native's New Architecture with TurboModules, offering better performance and future-proofing for apps adopting the latest React Native features.

TypeScript Integration

Includes complete TypeScript definitions out of the box, enabling type-safe development and reducing runtime errors in TypeScript projects.

Rich Playback Controls

Offers extensive controls like play, pause, seek, volume, pan, and looping, with support for multiple simultaneous sounds, as detailed in the platform compatibility table.

Cons

Platform Feature Gaps

Some features are platform-specific, such as pan control only on iOS and reset to beginning only on Android, leading to inconsistent behavior and potential workarounds.

Setup and Linking Complexity

Requires manual file placement in specific directories (e.g., Android's raw folder) and often faces linking issues, as highlighted in troubleshooting with common build errors and cache resets.

Playback-Only Limitation

Focuses solely on audio playback without support for recording, streaming, or advanced audio processing, forcing developers to use additional libraries for those needs.

Frequently Asked Questions

Quick Stats

Stars2,909
Forks783
Contributors0
Open Issues247
Last commit2 months ago
CreatedSince 2015

Tags

#ios#sound-effects#android#react-native#typescript#mobile-development#cross-platform#audio-playback

Built With

T
TypeScript
R
React Native

Included in

React Native35.6k
Auto-fetched 1 day ago

Related Projects

react-native-camerareact-native-camera

A Camera component for React Native. Also supports barcode scanning!

Stars9,641
Forks3,533
Last commit2 years ago
react-native-videoreact-native-video

A <Video /> component for react-native

Stars7,671
Forks3,027
Last commit9 days ago
react-native-track-playerreact-native-track-player

The best audio player ever built for React Native. Built on the New Architecture — Android Auto, caching, preloading, background playback, and more.

Stars3,693
Forks1,179
Last commit2 days ago
react-native-camera-kitreact-native-camera-kit

A high performance, easy to use, rock solid camera library for React Native apps.

Stars2,683
Forks622
Last commit15 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub