Skip to content

YuAo/AudioPrism

Repository files navigation

AudioPrism

AudioPrism implements the AnalyserNode functionality defined in the Web Audio API. https://webaudio.github.io/web-audio-api/#AnalyserNode

Usage

import AudioPrism

// Create an `AudioPrism` object.
let prism = try AudioPrism(options: ...)

// Update the `AudioPrism` object with audio buffers.
prism.update(with: ...)

// Get the most recent frequency data
let frequencyData = prism.frequencyData

Documentation

API Reference

Swift Package

To use this package in a SwiftPM project, add the following line to the dependencies in your Package.swift file:

.package(url: "https://github.com/YuAo/AudioPrism", from: "1.0.0"),

Acknowledgements

Example Audio

Endless Light

by Siddhartha Corsus

https://creativecommons.org/licenses/by-nc/4.0/

About

AudioPrism implements the `AnalyserNode` functionality defined in the Web Audio API.

Topics

Resources

License

Stars

Watchers

Forks

Languages