{"id":26249460,"url":"https://github.com/randomgamingdev/basicsoundjs","last_synced_at":"2025-10-28T15:15:27.164Z","repository":{"id":248041309,"uuid":"827591220","full_name":"RandomGamingDev/BasicSoundJs","owner":"RandomGamingDev","description":"A basic web javascript Sound library based off of the Web Audio API that allows for overlapping sounds","archived":false,"fork":false,"pushed_at":"2024-07-12T01:14:48.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-07-12T02:40:44.834Z","etag":null,"topics":["audio","browser","browser-js","easy","javascript","javascript-library","replacement","simple","sound","web","web-audio","web-audio-api","web-audio-library"],"latest_commit_sha":null,"homepage":"https://randomgamingdev.github.io/BasicSoundJs/example","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RandomGamingDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-12T01:03:42.000Z","updated_at":"2024-07-12T02:40:51.142Z","dependencies_parsed_at":"2024-07-12T02:40:46.767Z","dependency_job_id":"316a8886-a616-4bbe-ba91-a25fded87481","html_url":"https://github.com/RandomGamingDev/BasicSoundJs","commit_stats":null,"previous_names":["randomgamingdev/basicsoundjs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomGamingDev%2FBasicSoundJs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomGamingDev%2FBasicSoundJs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomGamingDev%2FBasicSoundJs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomGamingDev%2FBasicSoundJs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RandomGamingDev","download_url":"https://codeload.github.com/RandomGamingDev/BasicSoundJs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243436255,"owners_count":20290761,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["audio","browser","browser-js","easy","javascript","javascript-library","replacement","simple","sound","web","web-audio","web-audio-api","web-audio-library"],"created_at":"2025-03-13T15:37:51.294Z","updated_at":"2025-10-28T15:15:22.133Z","avatar_url":"https://github.com/RandomGamingDev.png","language":"JavaScript","readme":"# BasicSoundJs\n### A basic web javascript Sound library based off of the Web Audio API that allows for overlapping sounds\n\n#### Here's how you use it:\n```js\nconst sound = new BasicSound(\u003cdirectory to sound\u003e);\n// Just like the Web Audio API except it allows for sounds to overlap and returns the `Audio` object spawned for playing the Audio\nsound.play();\n```\n\n#### Advantages\nNot only does this library allow for overlapping sounds, but have the same `new \u003cclass\u003e(\u003cdirectory to sound\u003e)` and `\u003caudio class\u003e.play()` API portions (except for minor differences) as the Web Audio API,\nbut if you're using something like `p5.js-sound` it also presents the advantage of working from `http://`, `https://`, and `file:///`.\nFor instance, if you want your web app to be able to be ported to android as static files that can just be referenced via a `file:///` URL via `WebView.loadURL()`, p5.js-sound won't work since it attempts to reference a `blob` URL, while this would.\n\n#### Example\n\nAn example is available here: https://github.com/RandomGamingDev/BasicSoundJs/tree/main/example\nAnd you can try it out here: https://randomgamingdev.github.io/BasicSoundJs/example\n\n#### How to import\n\nTo import this library you can either manually import it by adding the `sound.js` file to your own website or import it via the cdn: https://cdn.jsdelivr.net/gh/RandomGamingDev/BasicSoundJs/sound.js.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frandomgamingdev%2Fbasicsoundjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frandomgamingdev%2Fbasicsoundjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frandomgamingdev%2Fbasicsoundjs/lists"}