A Rust/Python implementation of the Web Audio API, for use in non-browser contexts
Project description
Python bindings for web-audio-api-rs
Local development
# cd to this directory
# if not already, create a virtual env
python3 -m venv .env
# enter the virtual env
source .env/bin/activate
# (re)build the package
maturin develop
import web_audio_api
ctx = web_audio_api.AudioContext()
osc = web_audio_api.OscillatorNode(ctx)
osc.connect(ctx.destination())
osc.start()
osc.frequency().set_value(300)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file web_audio_api-0.1.0.tar.gz
.
File metadata
- Download URL: web_audio_api-0.1.0.tar.gz
- Upload date:
- Size: 814.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcfc875252dfdef3f8e2027937f7730e94751ed9d6fd25597a3a81cb33516f68 |
|
MD5 | 514277142d8412346cd3fe09e3e32516 |
|
BLAKE2b-256 | 33bad0a0730e498b27ae1a146d940b36e699016f375ab71aff0157b261b30f55 |
File details
Details for the file web_audio_api-0.1.0-cp312-none-win_amd64.whl
.
File metadata
- Download URL: web_audio_api-0.1.0-cp312-none-win_amd64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa6f13624b778d71afd875a29aad40cccf864e0f8d586826faabfa6a38cc04c0 |
|
MD5 | d8ef1add7aa59b17aed7bbd867a5ff8a |
|
BLAKE2b-256 | b5b0689c4e293890d362908d0028c0fd7a39b63cd16f4d275816b3ae3c9f3443 |
File details
Details for the file web_audio_api-0.1.0-cp312-none-win32.whl
.
File metadata
- Download URL: web_audio_api-0.1.0-cp312-none-win32.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.12, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dc1029694ea17b6ad6b61fe10eead98d4ebb3b68b157d05cf872187e78b82ba |
|
MD5 | 03a0aae17b87723822b2c916e7cc3415 |
|
BLAKE2b-256 | f09af059ea44380e3f86b5254dd0a260e0b941830711161968825831dcb73ead |
File details
Details for the file web_audio_api-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
.
File metadata
- Download URL: web_audio_api-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 407fefc51f3238be213f48f63c037d4013df48908b12e6e528fe2394ca6361f0 |
|
MD5 | a9b4f7bbb2de55eee992fe5cab2828f1 |
|
BLAKE2b-256 | 20fb2c358d41f11715098ce8127b733f859776aedf2f09c606e97430ab568113 |
File details
Details for the file web_audio_api-0.1.0-cp312-cp312-macosx_10_12_x86_64.whl
.
File metadata
- Download URL: web_audio_api-0.1.0-cp312-cp312-macosx_10_12_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.12, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 371936734096127895623c92018587bc94aa4787397110158a711781339ca3da |
|
MD5 | e4bafb452d5db3e464936d832cf85d5e |
|
BLAKE2b-256 | 57b3d04a93cd74c2e73754f5c3552edd72cce62a8571de71aadac90041bee61a |
File details
Details for the file web_audio_api-0.1.0-cp311-none-win_amd64.whl
.
File metadata
- Download URL: web_audio_api-0.1.0-cp311-none-win_amd64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ffec58121c3f11f87f8249c815e67a4604f0b77eda2f7d4c1408694b5284a79 |
|
MD5 | c5f9deada6c7fa0f472a7bd02c4f096e |
|
BLAKE2b-256 | d65ad0e9fdaf7358d1158a1fca3c579afb264ef3d3d6abc7d18e175ea6c45913 |
File details
Details for the file web_audio_api-0.1.0-cp311-none-win32.whl
.
File metadata
- Download URL: web_audio_api-0.1.0-cp311-none-win32.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.11, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61b10e81b5f9d46962edf2996bb3ae1cfa99324a0d567059791b3881e176c4a0 |
|
MD5 | 7b639fc46e61a1073261ac7afb9ecee2 |
|
BLAKE2b-256 | 6d1033a0e2d0271b8736e83df85951e40eac0cf585bfcd648616e5b1eac407bb |
File details
Details for the file web_audio_api-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
.
File metadata
- Download URL: web_audio_api-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 097e0bb53eb7980fbb8e7e84721fd8797a90ff8eb447e35187f21443ef115067 |
|
MD5 | 35350eda102581f388cb246c3c8de9bc |
|
BLAKE2b-256 | ea5e1b7a7bd71fc9bb3de69f8668df3e282e22515ce53293d5e9c1574d3d38f7 |
File details
Details for the file web_audio_api-0.1.0-cp311-cp311-macosx_10_12_x86_64.whl
.
File metadata
- Download URL: web_audio_api-0.1.0-cp311-cp311-macosx_10_12_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.11, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01e5aaa171996cde30129eef3f92a8c214e4ebd51b347155d67adce9cca32dbb |
|
MD5 | 77e434d6fb2888ac588607c6a7b3188f |
|
BLAKE2b-256 | d4df1de5400603b1fad9adc74734c79521b6e1df907df5f7411874f64bc2444d |
File details
Details for the file web_audio_api-0.1.0-cp310-none-win_amd64.whl
.
File metadata
- Download URL: web_audio_api-0.1.0-cp310-none-win_amd64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9083003a281950697a6863593c2a80a0aabd8e414e42ae6e028a2950ac56bf6b |
|
MD5 | eab0fbc60a9f5515929884ba80c8bcc7 |
|
BLAKE2b-256 | 94907fb4ddfb8592f07fd497bee2c580f45d1ac94530d366fbe82e0e2f4a543e |
File details
Details for the file web_audio_api-0.1.0-cp310-none-win32.whl
.
File metadata
- Download URL: web_audio_api-0.1.0-cp310-none-win32.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.10, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38768002ac28f80224b0f653614a294cb8b43978a43d11bc2a44ff80d38ebd96 |
|
MD5 | e2bba0b0c375ac72c8ae3f8dd51bcc9d |
|
BLAKE2b-256 | c8c6993b78b432c47062369febcaf50725f3af7497bd38295677467e1339981c |
File details
Details for the file web_audio_api-0.1.0-cp310-cp310-macosx_11_0_arm64.whl
.
File metadata
- Download URL: web_audio_api-0.1.0-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c807546021508eadf06a35398cea8cff62314555741565e116c13e0fe1475b2 |
|
MD5 | 574175a9743ffb413c8c1258616daba6 |
|
BLAKE2b-256 | e242904e74b9260700b42159f60faedc8d02ec0a05457dc7371c13f5b2053a66 |
File details
Details for the file web_audio_api-0.1.0-cp39-none-win_amd64.whl
.
File metadata
- Download URL: web_audio_api-0.1.0-cp39-none-win_amd64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb77c2d975239feb26355efd0ace00a6cff36a18481081088d98869419a77f1a |
|
MD5 | 740ce9086c406beecf260dc5ba742474 |
|
BLAKE2b-256 | a346f1448dbd182de3c68326812ca09605edecd6aa6f2b327c4e5ad0d999e7c5 |
File details
Details for the file web_audio_api-0.1.0-cp39-none-win32.whl
.
File metadata
- Download URL: web_audio_api-0.1.0-cp39-none-win32.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.9, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe2238b061d626e633d5784e69f81a4d2f83c9bd1a63e6299600753c4619dfe8 |
|
MD5 | 6da4da2d83601d807146e5f615c80528 |
|
BLAKE2b-256 | cfeb8fd5f2f1790e5a2cb73887fc6ae4c271148dbd96ed38c45e31c6d2fbbc45 |
File details
Details for the file web_audio_api-0.1.0-cp39-cp39-macosx_11_0_arm64.whl
.
File metadata
- Download URL: web_audio_api-0.1.0-cp39-cp39-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.9, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d326a368da3ab3205cd47400e8386bf381c671fad3c3c31daeefc10ad3e61ff |
|
MD5 | a799bcef9cde5fb425f91fa9ab97a5c4 |
|
BLAKE2b-256 | 5c717f10addfb9f3399810166686ab4a5108083f969b36a96aa0e73baf9f5758 |
File details
Details for the file web_audio_api-0.1.0-cp38-none-win_amd64.whl
.
File metadata
- Download URL: web_audio_api-0.1.0-cp38-none-win_amd64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d30ae907b8b6c85504837799c0f0967435eb1af7b96fcd1525b5bfddf3f0c0a |
|
MD5 | 0946d53f2310f4ade8264b72100c3c75 |
|
BLAKE2b-256 | 9671b58f4f2c2332d7b2132f21546e65f02060691e21900876dd8871ff4d574b |
File details
Details for the file web_audio_api-0.1.0-cp38-none-win32.whl
.
File metadata
- Download URL: web_audio_api-0.1.0-cp38-none-win32.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.8, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9836a96984b35f2cac2538066847d317e673081efe9290c3da783e884d9110aa |
|
MD5 | 20863cc614ba728f7b7fc42961d2873b |
|
BLAKE2b-256 | 8735735dd256ba31c6a369827c2512510ff419c1e49ed8d0b918900254c722c7 |