Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guest271314/offscreen-audio
Offscreen audio, side panel controller, until we make audio in/from a ServiceWorker without a document happen
https://github.com/guest271314/offscreen-audio
audio audio-worklet chrome-extension javascript offscreen service-worker
Last synced: about 1 month ago
JSON representation
Offscreen audio, side panel controller, until we make audio in/from a ServiceWorker without a document happen
- Host: GitHub
- URL: https://github.com/guest271314/offscreen-audio
- Owner: guest271314
- License: wtfpl
- Created: 2023-09-24T23:39:37.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-04T14:14:06.000Z (11 months ago)
- Last Synced: 2024-02-04T15:51:26.461Z (11 months ago)
- Topics: audio, audio-worklet, chrome-extension, javascript, offscreen, service-worker
- Language: JavaScript
- Homepage:
- Size: 44.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# offscreen-audio
Offscreen audio, side panel controller, until we make audio in/from a ServiceWorker without a document happen![Screenshot_2023-09-24_17-58-53](https://github.com/guest271314/offscreen-audio/assets/4174848/9b06e260-0e76-4ca9-8e71-4cc6f596bb78)
# References:
- [Expose AudioContext in Worker/ServiceWorker #2383](https://github.com/WebAudio/web-audio-api/issues/2383)
# Prior art/related work:
- [sw-extension-audio
](https://github.com/guest271314/sw-extension-audio)
- [AudioWorkletStream](https://github.com/guest271314/AudioWorkletStream)# Installation:
Download and unzip, or use `git` to fetch the repository. Navigate to `chrome://extensions`, toggle `Developer mode` to on, click `Load unpacked`, select the `offscreen-audio` folder.
# TODO:
- Convert from MP3, Opus, AAC, FLAC, etc. to floats on the fly
- Include folder and file drag and drop capability in controller to implements playlists
- Implement an indefinite stream where peers can add to, share, and listen to the same stream
- Figure out a way to use Media Session with Web Audio API displayed in controlled from global media controls on the main window
- ...We can already do most of the above. We just need to carefully incorporate such functionality into our controller panel.
# License
[WTFPLv2](http://www.wtfpl.net/about/)