All Projects → jhasse → ears

jhasse / ears

Licence: MIT license
Easy Api in Rust to play Sounds

Projects that are alternatives of or similar to ears

uos
United Open-libraries of Sound. United procedures for open-source audio libraries. For FPC/Lazarus/fpGUI/MSEgui.
Stars: ✭ 112 (+38.27%)
Mutual labels:  sound, ogg
SharpAudio
Audio playback/capturing engine for C#
Stars: ✭ 139 (+71.6%)
Mutual labels:  sound, openal
libopusenc
Library for encoding .opus audio files and live streams.
Stars: ✭ 92 (+13.58%)
Mutual labels:  ogg
hman-stomper
Stomp Box based on ESP32
Stars: ✭ 26 (-67.9%)
Mutual labels:  sound
rg3d-sound
Sound library for games
Stars: ✭ 58 (-28.4%)
Mutual labels:  sound
cala
Cross-platform system interface for hardware IO
Stars: ✭ 46 (-43.21%)
Mutual labels:  sound
Soundable
Soundable allows you to play sounds, single and in sequence, in a very easy way
Stars: ✭ 88 (+8.64%)
Mutual labels:  sound
collision-sound
Collision Sound aims to be an easy and powerful way of adding sound to object collisions in Unity
Stars: ✭ 21 (-74.07%)
Mutual labels:  sound
sox.js
📢 NodeJS wrapper for the SoX audio tool
Stars: ✭ 18 (-77.78%)
Mutual labels:  ogg
grub-tune-tester
A GRUB_INIT_TUNE online tester.
Stars: ✭ 43 (-46.91%)
Mutual labels:  sound
linux-show-player
Linux Show Player - Cue player designed for stage productions
Stars: ✭ 147 (+81.48%)
Mutual labels:  sound
soundfixer
A WebExtension that lets you fix sound problems in e.g. YouTube videos
Stars: ✭ 102 (+25.93%)
Mutual labels:  sound
react-native-audio-polyfill
Audio polyfill for desktop and native.
Stars: ✭ 13 (-83.95%)
Mutual labels:  sound
Main-Supercollider-Files
my supercollider codes, version history is at the branches
Stars: ✭ 21 (-74.07%)
Mutual labels:  sound
UnitySoundManager
Sound manager with 3 tracks, language system, pooling system, Fade in/out effects, EventTrigger system and more.
Stars: ✭ 55 (-32.1%)
Mutual labels:  sound
MoltenEngine
A spare-time C# .NET 6 game engine project. Cross-platform, multi-threaded.
Stars: ✭ 113 (+39.51%)
Mutual labels:  openal
matchering-web
🎚️ Self-Hosted LANDR / eMastered Alternative
Stars: ✭ 25 (-69.14%)
Mutual labels:  sound
radar
OpenGL 4 PBR engine
Stars: ✭ 25 (-69.14%)
Mutual labels:  openal
ARD-simulator
3D sound propagation simulator using adaptive rectangular decomposition method.
Stars: ✭ 21 (-74.07%)
Mutual labels:  sound
soundtransform
Android & Pure Java library for sound manipulation
Stars: ✭ 42 (-48.15%)
Mutual labels:  sound

ears Build Status Build status

ears is a simple library to play sounds and music in Rust.

  • Provides an access to the OpenAL spatialization functionality in a simple way.
  • Accepts a lot of audio formats, thanks to libsndfile.

Building

You need to install OpenAL and libsndfile on your system:

Linux

Fedora:

sudo dnf install openal-soft-devel libsndfile-devel

Debian or Ubuntu:

sudo apt install libopenal-dev libsndfile1-dev

Mac

brew install openal-soft libsndfile

Windows

Install MSYS2 according to the instructions. Be sure to use the default installation folder (i.e. C:\msys32 or C:\msys64), otherwise compiling won't work. Then, run the following in the MSYS2 shell:

pacman -S mingw-w64-x86_64-libsndfile mingw-w64-x86_64-openal

Examples

cargo run --example basic
cargo run --example many_sounds
cargo run --example music
cargo run --example record
cargo run --example simple_player

Functionality

ears provides two ways to play audio files:

  • The Sound class, which represents light sounds who can share a buffer of samples with another Sound.
  • The Music class, which represents bigger sound and can't share sample buffers.
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].