{"action":"created","issue":{"url":"https://api.github.com/repos/ctford/leipzig/issues/10","repository_url":"https://api.github.com/repos/ctford/leipzig","labels_url":"https://api.github.com/repos/ctford/leipzig/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/ctford/leipzig/issues/10/comments","events_url":"https://api.github.com/repos/ctford/leipzig/issues/10/events","html_url":"https://github.com/ctford/leipzig/issues/10","id":137145965,"number":10,"title":"[Feature Request] Velocity support","user":{"login":"kureta","id":196420,"avatar_url":"https://avatars.githubusercontent.com/u/196420?v=3","gravatar_id":"","url":"https://api.github.com/users/kureta","html_url":"https://github.com/kureta","followers_url":"https://api.github.com/users/kureta/followers","following_url":"https://api.github.com/users/kureta/following{/other_user}","gists_url":"https://api.github.com/users/kureta/gists{/gist_id}","starred_url":"https://api.github.com/users/kureta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kureta/subscriptions","organizations_url":"https://api.github.com/users/kureta/orgs","repos_url":"https://api.github.com/users/kureta/repos","events_url":"https://api.github.com/users/kureta/events{/privacy}","received_events_url":"https://api.github.com/users/kureta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-29T04:16:20Z","updated_at":"2016-03-01T08:57:14Z","closed_at":null,"body":"Velocity is also an important part of music. It would be great if notes were represented like this:\r\n\r\n    {:time 0\r\n    :pitch 67\r\n    :velocity 127\r\n    :duration 2\r\n    :part :melody}"},"comment":{"url":"https://api.github.com/repos/ctford/leipzig/issues/comments/190619334","html_url":"https://github.com/ctford/leipzig/issues/10#issuecomment-190619334","issue_url":"https://api.github.com/repos/ctford/leipzig/issues/10","id":190619334,"user":{"login":"ctford","id":121563,"avatar_url":"https://avatars.githubusercontent.com/u/121563?v=3","gravatar_id":"","url":"https://api.github.com/users/ctford","html_url":"https://github.com/ctford","followers_url":"https://api.github.com/users/ctford/followers","following_url":"https://api.github.com/users/ctford/following{/other_user}","gists_url":"https://api.github.com/users/ctford/gists{/gist_id}","starred_url":"https://api.github.com/users/ctford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctford/subscriptions","organizations_url":"https://api.github.com/users/ctford/orgs","repos_url":"https://api.github.com/users/ctford/repos","events_url":"https://api.github.com/users/ctford/events{/privacy}","received_events_url":"https://api.github.com/users/ctford/received_events","type":"User","site_admin":false},"created_at":"2016-03-01T08:57:14Z","updated_at":"2016-03-01T08:57:14Z","body":"I'll take a look at Symbolic Composer. Thanks for the tip.\r\n\r\nThe negative numbers coding rests is a really interesting idea. I see your point about rhythms - so far I've used atonal rhythms exclusively with percussion, so I've been able to encode a rest by extending the previous note. I can see that's not a general solution.\r\n\r\nBy the way, the way Leipzig is designed, you should be able to experiment with your own functions and mix them in at will. So long as a function outputs notes in the right format, then it should just work. So we could (experimentally) create `phrase2` that used the negative-rest technique, and it wouldn't have to immediately be in Leipzig itself.\r\n\r\nHaving said that, I'll take a look at implementing it. I think I'd want to try it out myself a couple of times before documenting/announcing that behaviour, just because punning on negatives like that could  some people.\r\n\r\nThanks again."}}