{"action":"created","issue":{"url":"https://api.github.com/repos/Wohlstand/libADLMIDI/issues/36","repository_url":"https://api.github.com/repos/Wohlstand/libADLMIDI","labels_url":"https://api.github.com/repos/Wohlstand/libADLMIDI/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/Wohlstand/libADLMIDI/issues/36/comments","events_url":"https://api.github.com/repos/Wohlstand/libADLMIDI/issues/36/events","html_url":"https://github.com/Wohlstand/libADLMIDI/issues/36","id":279936741,"number":36,"title":"IDEA: GZDoom support (need a real-time MIDI event dispatcher)","user":{"login":"sneakernets","id":5595293,"avatar_url":"https://avatars3.githubusercontent.com/u/5595293?v=4","gravatar_id":"","url":"https://api.github.com/users/sneakernets","html_url":"https://github.com/sneakernets","followers_url":"https://api.github.com/users/sneakernets/followers","following_url":"https://api.github.com/users/sneakernets/following{/other_user}","gists_url":"https://api.github.com/users/sneakernets/gists{/gist_id}","starred_url":"https://api.github.com/users/sneakernets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sneakernets/subscriptions","organizations_url":"https://api.github.com/users/sneakernets/orgs","repos_url":"https://api.github.com/users/sneakernets/repos","events_url":"https://api.github.com/users/sneakernets/events{/privacy}","received_events_url":"https://api.github.com/users/sneakernets/received_events","type":"User","site_admin":false},"labels":[{"id":271067550,"url":"https://api.github.com/repos/Wohlstand/libADLMIDI/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"Wohlstand","id":6751442,"avatar_url":"https://avatars1.githubusercontent.com/u/6751442?v=4","gravatar_id":"","url":"https://api.github.com/users/Wohlstand","html_url":"https://github.com/Wohlstand","followers_url":"https://api.github.com/users/Wohlstand/followers","following_url":"https://api.github.com/users/Wohlstand/following{/other_user}","gists_url":"https://api.github.com/users/Wohlstand/gists{/gist_id}","starred_url":"https://api.github.com/users/Wohlstand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wohlstand/subscriptions","organizations_url":"https://api.github.com/users/Wohlstand/orgs","repos_url":"https://api.github.com/users/Wohlstand/repos","events_url":"https://api.github.com/users/Wohlstand/events{/privacy}","received_events_url":"https://api.github.com/users/Wohlstand/received_events","type":"User","site_admin":false},"assignees":[{"login":"Wohlstand","id":6751442,"avatar_url":"https://avatars1.githubusercontent.com/u/6751442?v=4","gravatar_id":"","url":"https://api.github.com/users/Wohlstand","html_url":"https://github.com/Wohlstand","followers_url":"https://api.github.com/users/Wohlstand/followers","following_url":"https://api.github.com/users/Wohlstand/following{/other_user}","gists_url":"https://api.github.com/users/Wohlstand/gists{/gist_id}","starred_url":"https://api.github.com/users/Wohlstand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wohlstand/subscriptions","organizations_url":"https://api.github.com/users/Wohlstand/orgs","repos_url":"https://api.github.com/users/Wohlstand/repos","events_url":"https://api.github.com/users/Wohlstand/events{/privacy}","received_events_url":"https://api.github.com/users/Wohlstand/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2017-12-06T22:53:35Z","updated_at":"2017-12-16T17:59:58Z","closed_at":null,"author_association":"NONE","body":"I brought this to the GZDoom devs attention that ADLMidi would be right at home with the other midi options, and I got this response:\r\n\r\n> This looks like it very poorly integrates with ZDoom's MIDI code because it cannot use the main event dispatcher but instead wants to do everything on its own.\r\nFind me someone who can make this work within the existing MIDI framework and we should be good to go.\r\n\r\nUnfortunately I have no idea what that entails...\r\n\r\nGZDoom source is here -> https://github.com/coelckers/gzdoom"},"comment":{"url":"https://api.github.com/repos/Wohlstand/libADLMIDI/issues/comments/352199752","html_url":"https://github.com/Wohlstand/libADLMIDI/issues/36#issuecomment-352199752","issue_url":"https://api.github.com/repos/Wohlstand/libADLMIDI/issues/36","id":352199752,"user":{"login":"Wohlstand","id":6751442,"avatar_url":"https://avatars1.githubusercontent.com/u/6751442?v=4","gravatar_id":"","url":"https://api.github.com/users/Wohlstand","html_url":"https://github.com/Wohlstand","followers_url":"https://api.github.com/users/Wohlstand/followers","following_url":"https://api.github.com/users/Wohlstand/following{/other_user}","gists_url":"https://api.github.com/users/Wohlstand/gists{/gist_id}","starred_url":"https://api.github.com/users/Wohlstand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wohlstand/subscriptions","organizations_url":"https://api.github.com/users/Wohlstand/orgs","repos_url":"https://api.github.com/users/Wohlstand/repos","events_url":"https://api.github.com/users/Wohlstand/events{/privacy}","received_events_url":"https://api.github.com/users/Wohlstand/received_events","type":"User","site_admin":false},"created_at":"2017-12-16T17:59:58Z","updated_at":"2017-12-16T17:59:58Z","author_association":"OWNER","body":"Okay, I have added API that you are can use:\r\n* Since initialization no more need to open MIDI file to use any generators: just use `adl_generate` to generate chunks between event rows (as you are processing MIDI timing by yourself)\r\n* `adl_rt*` functions to pass MIDI command into the library\r\n* `adl_panic` to shut up all notes\r\n* `adl_rt_resetState` to reset all MIDI controllers into default state\r\n\r\n## Usage of library is simple:\r\n* Init by `adl_init()` with giving output sample rate. Output will be always stereo PCM 16-bit little-endian\r\n* Set any properties (bank, deep tremolo / deep vibrato / volume model / count of sound chips)\r\n* While playing, pass any `adl_rt_*` commands and between of them, use `adl_generate` function.\r\n\r\nNote: the samples count is absolute, I.e. how much \"short\"s in a buffer than count of samples in one channel (in case of stereo, you must pass 2x samples count). Return is same - count of array entries."}}
{"actor":{"display_login":"Wohlstand"}}