Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A low-level cross-platform FFI module for playing and recording audio for Deno.

License

Notifications You must be signed in to change notification settings

dunosaurs/portaudio

Repository files navigation

Deno Portaudio

A low-level cross-platform FFI module for playing and recording audio based on the fantastic portaudio library.

Usage

import { PortAudio } from "https://deno.land/x/portaudio/mod.ts";
PortAudio.initialize(); // Initialize the module
const deviceCount = PortAudio.getDeviceCount(); // Get the number of audio devices attached
for (let i = 0; i < 0; i++) {
 console.log(PortAudio.getDeviceInfo(i).name); // Print the name associated with each audio device
}
PortAudio.terminate(); // Free resources associated with the module

More usage examples can be found in the examples folder.

Maintainers

License

MIT

About

A low-level cross-platform FFI module for playing and recording audio for Deno.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /