{"action":"created","issue":{"url":"https://api.github.com/repos/FluidSynth/fluidsynth/issues/150","repository_url":"https://api.github.com/repos/FluidSynth/fluidsynth","labels_url":"https://api.github.com/repos/FluidSynth/fluidsynth/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/FluidSynth/fluidsynth/issues/150/comments","events_url":"https://api.github.com/repos/FluidSynth/fluidsynth/issues/150/events","html_url":"https://github.com/FluidSynth/fluidsynth/issues/150","id":238325122,"number":150,"title":"[patch] add API for real time midi stream parsing","user":{"login":"derselbst","id":8152480,"avatar_url":"https://avatars0.githubusercontent.com/u/8152480?v=4","gravatar_id":"","url":"https://api.github.com/users/derselbst","html_url":"https://github.com/derselbst","followers_url":"https://api.github.com/users/derselbst/followers","following_url":"https://api.github.com/users/derselbst/following{/other_user}","gists_url":"https://api.github.com/users/derselbst/gists{/gist_id}","starred_url":"https://api.github.com/users/derselbst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derselbst/subscriptions","organizations_url":"https://api.github.com/users/derselbst/orgs","repos_url":"https://api.github.com/users/derselbst/repos","events_url":"https://api.github.com/users/derselbst/events{/privacy}","received_events_url":"https://api.github.com/users/derselbst/received_events","type":"User","site_admin":false},"labels":[{"id":633443091,"url":"https://api.github.com/repos/FluidSynth/fluidsynth/labels/auto-migrated","name":"auto-migrated","color":"ededed","default":false},{"id":633443090,"url":"https://api.github.com/repos/FluidSynth/fluidsynth/labels/sourceforge","name":"sourceforge","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/FluidSynth/fluidsynth/milestones/1","html_url":"https://github.com/FluidSynth/fluidsynth/milestone/1","labels_url":"https://api.github.com/repos/FluidSynth/fluidsynth/milestones/1/labels","id":2602708,"number":1,"title":"2.0","description":"Shall also take [Future](https://github.com/FluidSynth/fluidsynth/wiki/Future) into account.","creator":{"login":"derselbst","id":8152480,"avatar_url":"https://avatars0.githubusercontent.com/u/8152480?v=4","gravatar_id":"","url":"https://api.github.com/users/derselbst","html_url":"https://github.com/derselbst","followers_url":"https://api.github.com/users/derselbst/followers","following_url":"https://api.github.com/users/derselbst/following{/other_user}","gists_url":"https://api.github.com/users/derselbst/gists{/gist_id}","starred_url":"https://api.github.com/users/derselbst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derselbst/subscriptions","organizations_url":"https://api.github.com/users/derselbst/orgs","repos_url":"https://api.github.com/users/derselbst/repos","events_url":"https://api.github.com/users/derselbst/events{/privacy}","received_events_url":"https://api.github.com/users/derselbst/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":28,"state":"open","created_at":"2017-06-25T09:11:16Z","updated_at":"2017-12-18T16:08:09Z","due_on":null,"closed_at":null},"comments":74,"created_at":"2016-02-11T13:49:17Z","updated_at":"2017-12-19T20:35:02Z","closed_at":null,"author_association":"OWNER","body":"Hi.\r\n\r\nIt does look like fluidsynth currently does\r\nnot have any API that allows to deal with the\r\nsimple midi stream in real time.\r\nFor instance, the linux OSS sequencer has\r\nSEQ_MIDIOUT() macro for that, and alsa has\r\nsnd_rawmidi_write().\r\n\r\nThis patch adds fluid_sequencer_add_midi_data_to_buffer()\r\nfunction and a few more.\n\nReported by: stsp\n\nOriginal Ticket: [fluidsynth/tickets/152](https://sourceforge.net/p/fluidsynth/tickets/152)"},"comment":{"url":"https://api.github.com/repos/FluidSynth/fluidsynth/issues/comments/352878616","html_url":"https://github.com/FluidSynth/fluidsynth/issues/150#issuecomment-352878616","issue_url":"https://api.github.com/repos/FluidSynth/fluidsynth/issues/150","id":352878616,"user":{"login":"stsp","id":3295627,"avatar_url":"https://avatars1.githubusercontent.com/u/3295627?v=4","gravatar_id":"","url":"https://api.github.com/users/stsp","html_url":"https://github.com/stsp","followers_url":"https://api.github.com/users/stsp/followers","following_url":"https://api.github.com/users/stsp/following{/other_user}","gists_url":"https://api.github.com/users/stsp/gists{/gist_id}","starred_url":"https://api.github.com/users/stsp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stsp/subscriptions","organizations_url":"https://api.github.com/users/stsp/orgs","repos_url":"https://api.github.com/users/stsp/repos","events_url":"https://api.github.com/users/stsp/events{/privacy}","received_events_url":"https://api.github.com/users/stsp/received_events","type":"User","site_admin":false},"created_at":"2017-12-19T20:35:02Z","updated_at":"2017-12-19T20:35:02Z","author_association":"NONE","body":"> the fact that fluid_midi_event_t is a somewhat midi-compliant struct that doesnt modify\r\n> or discards any data when parsing from rawmidi (as the case for sysex), so that you\r\n> can just copy and paste this data to use it somewhere else but not for fluidsynth.\r\n\r\nIf it does discard things, surely it will do so also\r\nwhen passing to fluidsynth?\r\n\r\n> \"Abusing\" fluidsynth as parser library replacement is not\r\n> what originally was intended by exposing the parser and\r\n> I'm currently thinking about reverting this.\r\n\r\nThat's my point too, partially.\r\nI think it:\r\n- can be reverted if the alternative for rawmidi is embedded directly into sequencer\r\n- can't be reverted, to allow people to still use it\r\noutside of fluidsynth, and yet clearly separate it\r\nwith different types (not used anywhere in fluidsynth,\r\nexcept perhaps with conversions)\r\n\r\nSo to me reverting it from core but still providing\r\nseparately is exactly the best solution, and this is\r\nexactly why I am thinking about a separate types\r\ntoo. But I'll take any other API you can offer of course."}}
{"actor":{"display_login":"stsp"}}