KristofferStrube.Blazor.WebAudio
0.1.0-alpha.11
Prefix Reserved
See the version list below for details.
dotnet add package KristofferStrube.Blazor.WebAudio --version 0.1.0-alpha.11
NuGet\Install-Package KristofferStrube.Blazor.WebAudio -Version 0.1.0-alpha.11
<PackageReference Include="KristofferStrube.Blazor.WebAudio" Version="0.1.0-alpha.11" />
paket add KristofferStrube.Blazor.WebAudio --version 0.1.0-alpha.11
#r "nuget: KristofferStrube.Blazor.WebAudio, 0.1.0-alpha.11"
// Install KristofferStrube.Blazor.WebAudio as a Cake Addin #addin nuget:?package=KristofferStrube.Blazor.WebAudio&version=0.1.0-alpha.11&prerelease // Install KristofferStrube.Blazor.WebAudio as a Cake Tool #tool nuget:?package=KristofferStrube.Blazor.WebAudio&version=0.1.0-alpha.11&prerelease
Blazor.WebAudio
A Blazor wrapper for the Web Audio browser API. This Web API standardizes methods for processing and synthesizing audio in web applications. The primary paradigm is of an audio routing graph, where a number of AudioNode objects are connected together to define the overall audio rendering. This project implements a wrapper around the API for Blazor so that we can easily and safely work with audio in the browser.
This wrapper is still under development, but you can get the preview release on NuGet.
Demo
The sample project can be demoed at https://kristofferstrube.github.io/Blazor.WebAudio/
On each page, you can find the corresponding code for the example in the top right corner.
On the API Coverage Status page, you can see how much of the WebIDL specs this wrapper has covered.
Related repositories
The library uses the following other packages to support its features:
- https://github.com/KristofferStrube/Blazor.WebIDL (To make error handling JSInterop)
- https://github.com/KristofferStrube/Blazor.DOM (To implement EventTarget's in the package like
BaseAudioContext
andAudioNode
) - https://github.com/KristofferStrube/Blazor.MediaCaptureStreams (To enable the creation of
MediaStreamAudioDestinationNode
,MediaStreamAudioSourceNode
, and other otherMediaStream
related nodes)
Related articles
This repository was built with inspiration and help from the following series of articles:
- Typed exceptions for JSInterop in Blazor
- Wrapping JavaScript libraries in Blazor WebAssembly/WASM
- Call anonymous C# functions from JS in Blazor WASM
- Using JS Object References in Blazor WASM to wrap JS libraries
- Blazor WASM 404 error and fix for GitHub Pages
- How to fix Blazor WASM base path problems
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net7.0
- KristofferStrube.Blazor.MediaCaptureStreams (>= 0.3.0)
- Microsoft.AspNetCore.Components.Web (>= 7.0.15)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.1.0-alpha.12 | 73 | 11/3/2024 |
0.1.0-alpha.11 | 736 | 9/3/2024 |
0.1.0-alpha.10 | 54 | 9/3/2024 |
0.1.0-alpha.9 | 94 | 8/18/2024 |
0.1.0-alpha.8 | 3,959 | 6/12/2024 |
0.1.0-alpha.7 | 89 | 6/2/2024 |
0.1.0-alpha.6 | 480 | 5/22/2024 |
0.1.0-alpha.5 | 82 | 4/8/2024 |
0.1.0-alpha.4 | 792 | 11/4/2023 |
0.1.0-alpha.3 | 55 | 11/4/2023 |
0.1.0-alpha.2 | 1,155 | 10/14/2023 |
0.1.0-alpha.1 | 84 | 10/8/2023 |