deno_audio icon indicating copy to clipboard operation
deno_audio copied to clipboard

Audio playback library for Deno

Results 11 deno_audio issues
Sort by recently updated
recently updated
newest added

Trying my luck with this package... I've installed the prerequisites. Then: ``` ▶ deno_bindgen --release Compiling proc-macro2 v1.0.76 Compiling unicode-ident v1.0.12 Compiling libc v0.2.152 Compiling serde v1.0.195 Compiling memchr v2.7.1...

This commit updates cargo.toml and generates new bindings, which supports a wider range of architectures, in particular Apple M1. Resolves #9.

Examples ```ts import { play, playSpatial } from '...'; await play('sound.mp3', { volume: 0.3 /* 30% volume */ }); await playSpatial('otherSound.mp3', { soundPos: [1, 2, 3], // position of sound...

When we try to run the module in a macOS running in arm64 architecture: ``` deno run --allow-all --unstable index.ts error: Uncaught (in promise) Error: Could not open library: Could...

In addition to passing filename it would be nice to have possibility use some kind of buffered data (for example Uint8Array) and may be stream.

It would be really useful for me if I could stop a sound again after starting it. I am using this library to play music in the background, but between...

I tried to use your module with the latest deno version and stumbled upon the following error: ``` error: Uncaught (in promise) TypeError: Invalid FFI pointer type, expected null, integer...

I am thinking about using this lib (which looks rad, by the way) with [mod-player](https://lib.rs/crates/mod_player) so I can have both efficient & small mods for music, and audio-files for sound...

Is there a way to grab internet streams with the library and also grab the metadata stored within those streams?