{"id":25601390,"url":"https://github.com/magnusthor/audiowaveforms","last_synced_at":"2025-09-21T17:20:40.612Z","repository":{"id":57186685,"uuid":"165637317","full_name":"MagnusThor/audiowaveforms","owner":"MagnusThor","description":"Generate audiowaveforms SVG ","archived":false,"fork":false,"pushed_at":"2019-01-15T09:43:20.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-16T05:32:40.984Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://magnusthor.github.io/audiowaveforms/example/example.html","language":"TypeScript","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/MagnusThor.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}},"created_at":"2019-01-14T09:55:47.000Z","updated_at":"2024-01-13T23:18:12.000Z","dependencies_parsed_at":"2022-08-28T10:51:28.708Z","dependency_job_id":null,"html_url":"https://github.com/MagnusThor/audiowaveforms","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MagnusThor/audiowaveforms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MagnusThor%2Faudiowaveforms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MagnusThor%2Faudiowaveforms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MagnusThor%2Faudiowaveforms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MagnusThor%2Faudiowaveforms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MagnusThor","download_url":"https://codeload.github.com/MagnusThor/audiowaveforms/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MagnusThor%2Faudiowaveforms/sbom","scorecard":{"id":88802,"data":{"date":"2025-08-11","repo":{"name":"github.com/MagnusThor/audiowaveforms","commit":"9f37b07cc047187e528e42e35d881860937a3a0c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/3 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-15T07:28:46.521Z","repository_id":57186685,"created_at":"2025-08-15T07:28:46.522Z","updated_at":"2025-08-15T07:28:46.522Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276273708,"owners_count":25614234,"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","status":"online","status_checked_at":"2025-09-21T02:00:07.055Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-02-21T15:54:24.228Z","updated_at":"2025-09-21T17:20:40.592Z","avatar_url":"https://github.com/MagnusThor.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# audiowaveforms\n\nVisualize audio (AudioBuffer) as a hortizontal waveform using SVG elements. It displays the waveform (amplitude) , progress and remaining during audio playback.\n\n## Install\n\n    npm install audiowaveforms\n\n## How to\n\nBelow is a brief description of how to use 'audiowaveforms'. As the things evolves i'll make sure that a proper documentations is available.\n\n### Markup\n\nBelow is the SVGElement that represents (hold) the audiowavforms, embed this in your \napplication.\n\n\n    \u003csvg id=\"audio-waves\" preserveAspectRatio=\"none\" width=\"2000\" height=\"100\" style=\"width:100%;height:100px;\" xmlns=\"http://www.w3.org/2000/svg\"\n    xmlns:xlink=\"http://www.w3.org/1999/xlink\"\u003e\n    \u003clinearGradient id=\"Gradient\" x1=\"0\" x2=\"0\" y1=\"0\" y2=\"1\"\u003e\n      \u003cstop offset=\"0%\" stop-color=\"white\" /\u003e\n      \u003cstop offset=\"90%\" stop-color=\"white\" stop-opacity=\"0.75\" /\u003e\n      \u003cstop offset=\"100%\" stop-color=\"white\" stop-opacity=\"0\" /\u003e\n    \u003c/linearGradient\u003e\n    \u003cmask id=\"Mask\"\u003e\n      \u003cpath fill=\"url(#Gradient)\" /\u003e\n    \u003c/mask\u003e\n    \u003crect class=\"aw-progress\" mask=\"url(#Mask)\" x=\"0\" y=\"0\" width=\"0\" height=\"100\" fill=\"rgb(255, 106, 106)\" /\u003e\n    \u003crect class=\"aw-remaining\" mask=\"url(#Mask)\" x=\"0\" y=\"0\" width=\"0\" height=\"100\" fill=\"rgb(170, 56, 56)\" /\u003e\n     \u003c/svg\u003e\n\n### Create an instance \n\n    const audioEl = document.querySelector(\"your Audio element selector\");\n    const svg = document.querySelector(\"#audio-waves\"); // as above\n    const aw = new AudioWaveform(audioBuffer,audioEl, svg);\n\n### Update the waveform \n\nUpdate the progress and remaining indicators.\n\n    //  where 'aw' is the instance of yours\n\n       window.setInterval( () =\u003e {\n                        this.audiowaveform.updateAudioPosition();\n        },1000 / 60);\n\n\n\n### Other\n\nSee /examples folder or try this example app https://magnusthor.github.io/audiowaveforms/example/example.html","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagnusthor%2Faudiowaveforms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagnusthor%2Faudiowaveforms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagnusthor%2Faudiowaveforms/lists"}