{"id":23217785,"url":"https://github.com/chohner/digi_ir","last_synced_at":"2026-01-19T18:00:55.313Z","repository":{"id":82549328,"uuid":"46087029","full_name":"chohner/digi_IR","owner":"chohner","description":"Small Matlab environment to measure digital Impulse Responses over Jack","archived":false,"fork":false,"pushed_at":"2015-11-12T23:57:00.000Z","size":0,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T14:27:27.566Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Matlab","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chohner.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-12T23:20:16.000Z","updated_at":"2017-11-06T04:19:05.000Z","dependencies_parsed_at":"2023-03-09T19:30:19.264Z","dependency_job_id":null,"html_url":"https://github.com/chohner/digi_IR","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chohner/digi_IR","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chohner%2Fdigi_IR","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chohner%2Fdigi_IR/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chohner%2Fdigi_IR/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chohner%2Fdigi_IR/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chohner","download_url":"https://codeload.github.com/chohner/digi_IR/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chohner%2Fdigi_IR/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28578952,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T17:42:58.221Z","status":"ssl_error","status_checked_at":"2026-01-19T17:40:54.158Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2024-12-18T20:49:26.544Z","updated_at":"2026-01-19T18:00:55.270Z","avatar_url":"https://github.com/chohner.png","language":"Matlab","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Digital IR measurements from Matlab\nUse Jack to measure impulse responses from digital system directly from Matlab.\n\n## Installation\n1. Download \u0026 install Jack: http://jackaudio.org\n2. Put the provided function in a path where Matlab can find them\n\n## Setup\n1. Set up jackConfig (See `digiIR.m` for full example)\n2. Run `startJack(configJack)`\n3. Connect your application / system to Jack\n4. Run `setupJack(configJack)`\n\n## Usage\nIf the setup is complete, you may probe your system by simply running\n\n```matlab\n[ y, t ] = recordImpulse( 1, recorder, jackConfig);\n```\n\n### jackConfig\njackConfig is a struct that contains all necessary configuration variables:\n```matlab\njackConfig.jackpath = '/path/to/jack/'; % Default: /usr/local/bin/\njackConfig.App = 'APP'; % Default: Live\njackConfig.fs = 8000 - 192000; % Default: 44100\njackConfig.nBits = 4 - 32; % Default: 16\njackConfig.nChannels = 1 - 128; % Default: 2\njackConfig.framesize = 16 - 1024; % Default: 256\njackConfig.verbose = true/false; % Default: true\njackConfig.IDi = int; % Only after setupJack()\njackConfig.IDo = int; % Only after setupJack()\n```\nProbably stick to defaults for now.\n\n### Plotting\nSeveral functions for convenient plotting are provided:\n* `plotIR( y, t )` plots the IR y in the time domain.\n* `plotSpectrogram( y, window, overlap, n, fs )` plots a spectrogram (frequency spectrum over time). The colormap is matplotlib's new default viridis.\n* `plotFFT( y, fs )` plots the overall frequency spectrum.\n\nThey employ `getSpectrogram( y, window, overlap, n, fs )` and  `easyFFT( y, fs )` respectively.\n\n### OSX only (for now)\nOnly tested on Mac OSX 10.10.5 with Jack 1.9.10 and Ableton Live.\nFor non-OSX, maybe try adjusting the `-d coreaudio` backend driver in the `startJack.m` function.\n\n#### Christoph Hohnerlein\nmail@chrisclock.com, chohner@ccrma.stanford.edu\n\nNov 12, 2015\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchohner%2Fdigi_ir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchohner%2Fdigi_ir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchohner%2Fdigi_ir/lists"}