{"action":"created","issue":{"url":"https://api.github.com/repos/alda-lang/alda-core/issues/9","repository_url":"https://api.github.com/repos/alda-lang/alda-core","labels_url":"https://api.github.com/repos/alda-lang/alda-core/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/alda-lang/alda-core/issues/9/comments","events_url":"https://api.github.com/repos/alda-lang/alda-core/issues/9/events","html_url":"https://github.com/alda-lang/alda-core/issues/9","id":191283846,"number":9,"title":"Export to MIDI","user":{"login":"daveyarwood","id":4909079,"avatar_url":"https://avatars.githubusercontent.com/u/4909079?v=3","gravatar_id":"","url":"https://api.github.com/users/daveyarwood","html_url":"https://github.com/daveyarwood","followers_url":"https://api.github.com/users/daveyarwood/followers","following_url":"https://api.github.com/users/daveyarwood/following{/other_user}","gists_url":"https://api.github.com/users/daveyarwood/gists{/gist_id}","starred_url":"https://api.github.com/users/daveyarwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daveyarwood/subscriptions","organizations_url":"https://api.github.com/users/daveyarwood/orgs","repos_url":"https://api.github.com/users/daveyarwood/repos","events_url":"https://api.github.com/users/daveyarwood/events{/privacy}","received_events_url":"https://api.github.com/users/daveyarwood/received_events","type":"User","site_admin":false},"labels":[{"id":485944334,"url":"https://api.github.com/repos/alda-lang/alda-core/labels/feature","name":"feature","color":"eb6420","default":false},{"id":485944610,"url":"https://api.github.com/repos/alda-lang/alda-core/labels/up%20for%20grabs","name":"up for grabs","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-23T14:24:45Z","updated_at":"2016-12-08T06:11:35Z","closed_at":null,"body":"Moved from https://github.com/alda-lang/alda/issues/145.\r\n\r\nQuoting myself: \r\n\r\n> MIDI export should be a separate mode of use for Alda, i.e. rather than _playing_ a score (which will use Alda's event scheduling system to play the score in real time), you can _export_ it to MIDI.\r\n>\r\n> I like the idea of reusing the machinery we have in place as much as we can -- the score would still parse the same way into [alda.lisp](https://github.com/alda-lang/alda/blob/master/doc/alda-lisp.md) code, and we would still evaluate it in order to produce a map of score data. But from there, we'll implement a totally new system that will take the score map and use it to produce a MIDI file. If we need to, we can add additional context to the score map via the functions in alda.lisp (e.g. adding fields to the note event). But, I think it should be fairly doable to take the information we already have in the score map and use it to generate a MIDI file.\r\n"},"comment":{"url":"https://api.github.com/repos/alda-lang/alda-core/issues/comments/265661547","html_url":"https://github.com/alda-lang/alda-core/issues/9#issuecomment-265661547","issue_url":"https://api.github.com/repos/alda-lang/alda-core/issues/9","id":265661547,"user":{"login":"pierredewilde","id":762445,"avatar_url":"https://avatars.githubusercontent.com/u/762445?v=3","gravatar_id":"","url":"https://api.github.com/users/pierredewilde","html_url":"https://github.com/pierredewilde","followers_url":"https://api.github.com/users/pierredewilde/followers","following_url":"https://api.github.com/users/pierredewilde/following{/other_user}","gists_url":"https://api.github.com/users/pierredewilde/gists{/gist_id}","starred_url":"https://api.github.com/users/pierredewilde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierredewilde/subscriptions","organizations_url":"https://api.github.com/users/pierredewilde/orgs","repos_url":"https://api.github.com/users/pierredewilde/repos","events_url":"https://api.github.com/users/pierredewilde/events{/privacy}","received_events_url":"https://api.github.com/users/pierredewilde/received_events","type":"User","site_admin":false},"created_at":"2016-12-08T06:11:34Z","updated_at":"2016-12-08T06:11:34Z","body":"Exporting to MIDI will be very cool. \r\n\r\nAlda scores (converted to MIDI) could be used with any MIDI sound modules or synthesizers. Moreover, Alda scores could be converted to sheet music with MuseScore or related music notation software."}}
{"actor":{"display_login":"pierredewilde"}}