{"id":21319000,"url":"https://github.com/emingenc/soundviewer","last_synced_at":"2025-03-15T22:15:26.897Z","repository":{"id":43933164,"uuid":"458757381","full_name":"emingenc/soundviewer","owner":"emingenc","description":"sound to image, image to sound python package","archived":false,"fork":false,"pushed_at":"2022-03-04T20:14:56.000Z","size":90,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-25T14:46:18.050Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emingenc.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":"2022-02-13T08:56:51.000Z","updated_at":"2022-02-13T09:20:01.000Z","dependencies_parsed_at":"2022-09-12T07:11:20.600Z","dependency_job_id":null,"html_url":"https://github.com/emingenc/soundviewer","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/emingenc%2Fsoundviewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emingenc%2Fsoundviewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emingenc%2Fsoundviewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emingenc%2Fsoundviewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emingenc","download_url":"https://codeload.github.com/emingenc/soundviewer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243796741,"owners_count":20349264,"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":[],"created_at":"2024-11-21T19:31:16.364Z","updated_at":"2025-03-15T22:15:26.856Z","avatar_url":"https://github.com/emingenc.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- sound to image image to sound python package  --\u003e\n\n# Soundviewer\n\nPython package for converting sound to image and image to sound.\n\nfor longer sounds try to split them into smaller parts.\n\n![](https://c.tenor.com/5eU8wSWY8zkAAAAC/wow-cool.gif)\n\n\n## Installation\n\n```bash\npip3 install 'git+https://github.com/emingenc/soundviewer.git'\n\n# Or, to install it from a local clone:\ngit clone +https://github.com/emingenc/soundviewer.git\npip3 install -e soundviewer\n```\n\n### Linux post-install\n\nOn a base linux install you may be missing `libsnd`.\n\nOn Ubuntu and Debian this can be fixed via:\n\n```\nsudo apt-get install libsndfile1-dev\n```\n\n## Getting Started\n\n### Run from local clone\n\n```bash\ncd soundviewer\npip3 install -r requirements.txt\n\n\npython3 -m soundviewer.sound2image --input sample_data/thermo.wav \n\nor\n\npython3 soundviewer/sound2image.py --input sample_data/thermo.wav\n\n```\n\n\nwith `--output` flag you can specify custom name and spesific path\n\n\nimage to sound\n\n```bash\npython3 -m soundviewer.image2sound --input sample_data/thermo.png --output sample_data/thermo.wav\n\nor\n\npython3 soundviewer/image2sound.py --input sample_data/thermo.png --output sample_data/thermo.wav\n```\n\nthis will save thermo.wav to your working directory if --output is not specified\n\n### use it on your python script\n\n```python3\nimport soundviewer\nsound_path = 'sample_data/thermo.wav'\nsoundviewer.souund_to_image(sound_path)\n```\nthis will save thermo.jpg to your working directory\n\nif you want you can specify the output path and image name `soundviewer.sound2image.save_image_from_sound(sound_path,output='./test.jpg')`\n\nimage to sound\n\n```python3\nimport soundviewer\nsound_path = 'sample_data/thermo.png'\nsoundviewer.image_to_sound(sound_path)\n```\n\nhere is the output image for sample data thermo.wav\n\n![sound to image](https://raw.githubusercontent.com/emingenc/soundviewer/master/sample_data/thermo.png)\n\n\n\n\n\n\nwav source : https://people.math.sc.edu/Burkardt/data/wav/thermo.wav\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femingenc%2Fsoundviewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femingenc%2Fsoundviewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femingenc%2Fsoundviewer/lists"}