{"id":49814548,"url":"https://github.com/otrenav/audio-cross-correlation","last_synced_at":"2026-05-13T03:44:44.586Z","repository":{"id":325886660,"uuid":"315413355","full_name":"otrenav/audio-cross-correlation","owner":"otrenav","description":"Audio cross-correlation analysis with Python with support for WAV and HDF5 files.","archived":false,"fork":false,"pushed_at":"2024-05-23T15:13:54.000Z","size":19,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-24T01:20:46.495Z","etag":null,"topics":["audio","correlation","hdf5","python","wav"],"latest_commit_sha":null,"homepage":"","language":"Python","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/otrenav.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-11-23T19:02:54.000Z","updated_at":"2024-09-25T07:50:32.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/otrenav/audio-cross-correlation","commit_stats":null,"previous_names":["otrenav/audio-cross-correlation"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/otrenav/audio-cross-correlation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otrenav%2Faudio-cross-correlation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otrenav%2Faudio-cross-correlation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otrenav%2Faudio-cross-correlation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otrenav%2Faudio-cross-correlation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/otrenav","download_url":"https://codeload.github.com/otrenav/audio-cross-correlation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otrenav%2Faudio-cross-correlation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32967211,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T23:30:32.555Z","status":"online","status_checked_at":"2026-05-13T02:00:07.132Z","response_time":115,"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":["audio","correlation","hdf5","python","wav"],"created_at":"2026-05-13T03:44:43.030Z","updated_at":"2026-05-13T03:44:44.580Z","avatar_url":"https://github.com/otrenav.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n[Delta Lab](https://links.deltalab.ai/website) | [Twitter](https://links.deltalab.ai/twitter) | [LinkedIn](https://links.deltalab.ai/linkedin)\n\n---\n\n# Audio cross-correlation analysis\n\n- Omar Trejo\n- August, 2016\n\n## Objective\n\nThe first time I worked on this project it was to downsample WAV files and to\nprovide cross-correlation analysis. The second time I worked on these was to add\nsupport for HDF5 file format.\n\n## How to use this scripts\n\nThe documentation for each script is within itself. Here\nI'll only explain the general procedure to use them.\n\n### Step 1\n\nPut the two audio files in the the \"audio\" directory which is located in the\nroot directory for these scripts. Let's assume one is called\n\"test_audio_original.wav\" and the other one is called \"test_audio_delayed.wav\".\n\n### Step 2\n\nDownsample both audio files to the desired sample rate. Keep in mind that the\ndesired sample rate should be at most the same than the lowest of the sample\nrates for the two files.\n\n`$ python downsample.py ./audio/test_original.wav 8192`\n`$ python downsample.py ./audio/test_delayed.wav  8192`\n\nFor each command you will see some output showing the information of it's\noriginal audio file as well as the downsampled version.\n\nThe results will be stored as:\n\n`./results/test_original_downsampled_to_8192.wav`\n`./results/test_delayed_downsampled_to_8192.wav`\n\nThese two files have the same sample rate and are usable for correlation\nanalysis. Two graphs will be created for each of those two files showing the\nsignal before and after downsampling.\n\n### Step 3\n\nPerform the correlation analysis on the two file that resulted from the last\nstep. You can do so by doing:\n\n`$ python analysis.py ./results/test_original_downsampled_to_8192.wav\n                      ./results/test_delayed_downsampled_to_8192.wav`\n\nThe command should be a single continuous line (it's been split in the example\nto facilitate reading it.\n\nThis command will create a graph that shows the correlation analysis (it will be\nstored in the \"results\" directory and will print the correlation data to the\nterminal.\n\n---\n\n\u003e \"We are the people we have been waiting for.\"\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fotrenav%2Faudio-cross-correlation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fotrenav%2Faudio-cross-correlation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fotrenav%2Faudio-cross-correlation/lists"}