{"id":22687305,"url":"https://github.com/dead-beef/webaudio-spectrum-analyser","last_synced_at":"2025-04-12T20:42:22.916Z","repository":{"id":39987986,"uuid":"266647407","full_name":"dead-beef/webaudio-spectrum-analyser","owner":"dead-beef","description":"WebAudio spectrum analyser","archived":false,"fork":false,"pushed_at":"2023-02-04T01:33:53.000Z","size":8569,"stargazers_count":9,"open_issues_count":10,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-26T14:55:58.467Z","etag":null,"topics":["android","angular","angular-cli","capacitor","capacitor-android","frontend-app","nrwl-nx","spectrum-analyser","spectrum-analyzer","vmware-clarity","webaudio"],"latest_commit_sha":null,"homepage":"https://dead-beef.github.io/webaudio-spectrum-analyser","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/dead-beef.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":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2020-05-25T00:18:01.000Z","updated_at":"2024-03-19T15:48:22.000Z","dependencies_parsed_at":"2023-02-08T02:32:48.996Z","dependency_job_id":null,"html_url":"https://github.com/dead-beef/webaudio-spectrum-analyser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dead-beef%2Fwebaudio-spectrum-analyser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dead-beef%2Fwebaudio-spectrum-analyser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dead-beef%2Fwebaudio-spectrum-analyser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dead-beef%2Fwebaudio-spectrum-analyser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dead-beef","download_url":"https://codeload.github.com/dead-beef/webaudio-spectrum-analyser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248631669,"owners_count":21136554,"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":["android","angular","angular-cli","capacitor","capacitor-android","frontend-app","nrwl-nx","spectrum-analyser","spectrum-analyzer","vmware-clarity","webaudio"],"created_at":"2024-12-09T23:17:53.145Z","updated_at":"2025-04-12T20:42:22.891Z","avatar_url":"https://github.com/dead-beef.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Webaudio Spectrum Analyser\n\n[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)\n\n[![Master](https://github.com/dead-beef/webaudio-spectrum-analyser/actions/workflows/master.yml/badge.svg)](https://github.com/dead-beef/webaudio-spectrum-analyser/actions/workflows/master.yml) [![PR validation](https://github.com/dead-beef/webaudio-spectrum-analyser/actions/workflows/pr-validation.yml/badge.svg)](https://github.com/dead-beef/webaudio-spectrum-analyser/actions/workflows/pr-validation.yml) [![CodeQL](https://github.com/dead-beef/webaudio-spectrum-analyser/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/dead-beef/webaudio-spectrum-analyser/actions/workflows/codeql-analysis.yml)\n\n## Requirements\n\nIn order to run own copy of the project one must fulfill the following requirements.\n\n### Mandatory\n\n- [Node.js](https://nodejs.org/)\n- [NPM](https://nodejs.org/)\n- [Yarn](https://yarnpkg.com/)\n- [Emscripten](https://emscripten.org/)\n- [Git](https://git-scm.com/)\n\n### Optional\n\n#### Android\n\n- [Android SDK](https://developer.android.com/studio#command-tools)\n\n#### Tools\n\n- [GCC](https://gcc.gnu.org/)\n- [Make](https://www.gnu.org/software/make/)\n- [libavcodec](https://www.ffmpeg.org/libavcodec.html), [libavformat](https://www.ffmpeg.org/libavformat.html), [libavfilter](https://www.ffmpeg.org/libavfilter.html), [libavutil](https://www.ffmpeg.org/libavutil.html)\n- [pthreads](https://en.wikipedia.org/wiki/POSIX_Threads)\n\n### Preferred package manager\n\n- [Yarn](https://www.npmjs.com/package/yarn) is a preferred package manager for dependencies installation in the project root.\n- [npm](https://www.npmjs.com/) is a preferred package manager for dependencies installation in the `functions` folder if any.\n\n### Package scripts reference\n\nThe project has lots of package scripts, check it in the `package.json` located in the project root, or use the following command (see terminal output for usage tips)\n\n```\nyarn workspace:help\n```\n\n### Committing changes to repo\n\nUsing commitizen cli is mandatory, [reference](https://github.com/commitizen/cz-cli).\n\nProvided all dependencies are installed, and this requirements are fulfilled [cz-cli#conventional-commit-messages-as-a-global-utility](https://github.com/commitizen/cz-cli#conventional-commit-messages-as-a-global-utility) the following command must be used when doing a commit\n\n```bash\ngit cz\n```\n\n## Installation\n\n```bash\nyarn install\n```\n\n### Updating\n\n```bash\nyarn workspace:update:check\n```\n\n```bash\nyarn workspace:update:migrate\n```\n\n## Building\n\n### Web\n\n```bash\nng build\n```\n\n```bash\nng build --prod\n```\n\n### Android\n\n```bash\ncat \u003etools/shell/vars.sh \u003c\u003cEOF\nexport JAVA_HOME=[PATH_TO_JAVA]\nexport ANDROID_HOME=[PATH_TO_ANDROID_SDK]\nexport ANDROID_BUILD_TOOLS=[PATH_TO_ANDROID_BUILD_TOOLS]\n\nANDROID_KEYSTORE=[PATH_TO_KEYSTORE]\nANDROID_KEYSTORE_ALIAS=[KEY_ALIAS]\nANDROID_KEYSTORE_PASSWORD=[KEYSTORE_PASSWORD]\nEOF\n\n./tools/shell/build-android\n\nadb install -r android/build/release-signed.apk\n```\n\n### Tools\n\nFirst of all init submodules if you haven't yet\n\n```bash\ngit submodule update --init --recursive\n```\n\nTODO: update instruction on working with submodules\n\n```bash\nmake -C tools/audio\n```\n\n## Testing\n\n### Unit\n\n```bash\nyarn test\nyarn test:coverage\n```\n\n```bash\nyarn e2e\n```\n\n## Server\n\n```bash\nyarn start\n```\n\n## Linting\n\nThis will check ts sources, html templates, and scss stylesheets.\n\n```bash\nyarn lint\nyarn lint:fix\n```\n\n### Only TS\n\n```bash\nyarn nx:lint\nyarn nx:lint:fix\n```\n\n### Only HTML\n\n```bash\nyarn prettier:all:html\nyarn prettier:all:html:fix\n```\n\n### Only SCSS\n\n```bash\nyarn stylelint:all\nyarn stylelint:all:fix\n```\n\n## Analyze bundle\n\nWebpack bundle analyzer is used for application bundles analysis.\n\n```bash\nyarn analyze:webaudio-spectrum-analyser\n```\n\n## General Tooling\n\nThis project was generated using [Nx](https://nx.dev).\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/nrwl/nx/master/nx-logo.png\" width=\"450\"\u003e\u003c/p\u003e\n\n🔎 **Nx is a set of Angular CLI power-ups for modern development.**\n\n### Quick Start \u0026 Documentation\n\n- [Nx Documentation](https://nx.dev)\n- [30-minute video showing all Nx features](https://nx.dev/getting-started/what-is-nx)\n- [Interactive Tutorial](https://nx.dev/tutorial/01-create-application)\n\n### Adding capabilities to your workspace\n\nNx supports many plugins which add capabilities for developing different types of applications and different tools.\n\nThese capabilities include generating applications, libraries, .etc as well as the devtools to test, and build projects as well.\n\nBelow are some plugins which you can add to your workspace:\n\n| Application type                       | Command                  |\n| -------------------------------------- | ------------------------ |\n| [Angular](https://angular.io)          | `ng add @nrwl/angular`   |\n| [React](https://reactjs.org)           | `ng add @nrwl/react`     |\n| Web (no framework frontends)           | `ng add @nrwl/web`       |\n| [Nest](https://nestjs.com)             | `ng add @nrwl/nest`      |\n| [Express](https://expressjs.com)       | `ng add @nrwl/express`   |\n| [Node](https://nodejs.org)             | `ng add @nrwl/node`      |\n| [Storybook](https://storybook.js.org/) | `ng add @nrwl/storybook` |\n\n### Generating an application\n\nTo generate an application run:\n\n```bash\nng g @nrwl/angular:app my-app\n```\n\n\u003e You can use any of the plugins above to generate applications as well.\n\nWhen using Nx, you can create multiple applications and libraries in the same workspace.\n\n### Generating a library\n\nTo generate a library run:\n\n```bash\nng g @nrwl/angular:lib my-lib\n```\n\n\u003e You can also use any of the plugins above to generate libraries as well.\n\nLibraries are sharable across libraries and applications.\n\nIt can be imported from `@nx-ng-starter/mylib`.\n\n### Running a development server\n\nTo start a dev server run:\n\n```bash\nng serve my-app\n```\n\nNavigate to http://localhost:4200/.\n\nThe app will automatically reload if you change any of the source files.\n\n### Code scaffolding\n\nTo generate a new component run:\n\n```bash\nng g component my-component --project=my-app\n```\n\n### Building applications\n\nTo build the project run:\n\n```bash\nng build my-app\n```\n\nThe build artifacts will be stored in the `dist/` directory.\n\nUse the `--prod` flag for a production build.\n\n### Unit testing with [Jest](https://jestjs.io)\n\nTo execute the unit tests run:\n\n```bash\nng test my-app\n```\n\nTo execute the unit tests affected by a change run:\n\n```bash\nnpm run affected:test\n```\n\n### End-to-end testing with [Cypress](https://www.cypress.io)\n\nTo execute the end-to-end tests run:\n\n```bash\nng e2e my-app\n```\n\nTo execute the end-to-end tests affected by a change run:\n\n```bash\nnpm run affected:e2e\n```\n\n### Understanding your workspace\n\nTo see a diagram of the dependencies of your projects run:\n\n```bash\nnpm run dep-graph\n```\n\n### Generating a storybook for a feature or ui library\n\n```bash\nnpx nx g @nrwl/angular:storybook-configuration project-name\n```\n\n### Further help\n\nVisit the [Nx Documentation](https://nx.dev) to learn more.\n\n## Licenses\n\n- [`webaudio-spectrum-analyser`](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdead-beef%2Fwebaudio-spectrum-analyser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdead-beef%2Fwebaudio-spectrum-analyser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdead-beef%2Fwebaudio-spectrum-analyser/lists"}