{"id":13627964,"url":"https://github.com/spacejack/waveshader","last_synced_at":"2025-04-17T00:32:53.818Z","repository":{"id":69806405,"uuid":"173633076","full_name":"spacejack/waveshader","owner":"spacejack","description":"WaveShader - A GLSL audio wave sketchpad","archived":false,"fork":false,"pushed_at":"2019-03-03T21:53:06.000Z","size":215,"stargazers_count":15,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-01T22:41:42.524Z","etag":null,"topics":["audio","glsl","javascript","typescript","waveform"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spacejack.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","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":"2019-03-03T21:38:05.000Z","updated_at":"2024-06-10T21:29:35.000Z","dependencies_parsed_at":"2023-02-27T16:15:20.527Z","dependency_job_id":null,"html_url":"https://github.com/spacejack/waveshader","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/spacejack%2Fwaveshader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacejack%2Fwaveshader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacejack%2Fwaveshader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacejack%2Fwaveshader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spacejack","download_url":"https://codeload.github.com/spacejack/waveshader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223735204,"owners_count":17194062,"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","glsl","javascript","typescript","waveform"],"created_at":"2024-08-01T22:00:41.645Z","updated_at":"2024-11-08T18:31:11.849Z","avatar_url":"https://github.com/spacejack.png","language":"TypeScript","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# WaveShader\n\n### [⮞ Run WaveShader](https://spacejack.github.io/waveshader/)\n\n---\n\nWaveShader is a sketchpad for writing functions that generate audio waves and for visualizing those waveforms. You can export and save sounds as .WAV files. You can also save/link to a sketch by clicking the share button and copying the URL.\n\nWave functions are written in GLSL - the OpenGL shader language.\n\nIf a wave generation function is expressed in the form:\n\n```glsl\namplitude = f(time)\n```\n\nit can be easily parallelized. And because it's pure number crunching, it's a perfect candidate for the GPU, by way of WebGL.\n\nI should note that mid-way into development I discovered that [ShaderToy](https://www.shadertoy.com/) was already doing this very thing, though its UI is geared more toward creating visuals than shaping audio waves. WaveShader borrows some naming conventions to make it a bit easier to be able to write similar code in both.\n\nNote that for the sake of quick prototyping, WaveShader does not buffer wave generation/playback, so sound duration is limited to 60 seconds for now. This was originally conceived as a tool for sketching tones, sound effects and for visualization rather than for composing full tracks.\n\nOnly single-channel audio is supported for now.\n\n---\n\n## Local Development Install\n\n\tnpm install\n\n### Recommended VSCode Extensions\n\n* tslint\n* eslint\n* stylelint\n* postcss-sugarss-language\n* EditorConfig\n\n(Or equivalents for your preferred editor/IDE.)\n\n## Run \u0026 Develop\n\n\tnpm start\n\nThen go to http://localhost:3000 in your browser\n\n## Build Minified\n\n\tnpm run build\n\nOutputs compiled JS to `public/js` and CSS to `public/css`.\n\n---\n\n© 2019 by spacejack\n\nBuilt with:\n\n* Mithril\n* stackgl\n* CodeMirror\n\n## References\n\nThis was a very helpful resource for getting output data from shaders: https://github.com/audiojs/audio-shader\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspacejack%2Fwaveshader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspacejack%2Fwaveshader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspacejack%2Fwaveshader/lists"}