{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"open","user":{"avatar_url":"https://secure.gravatar.com/avatar/1d86f0e75f0cf64d548fa1bc8f926245?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"1d86f0e75f0cf64d548fa1bc8f926245","url":"https://api.github.com/users/zz85","login":"zz85","id":314997},"milestone":null,"labels":[],"assignee":null,"updated_at":"2011-11-11T00:41:44Z","comments":10,"closed_at":null,"url":"https://api.github.com/repos/0xfe/vexflow/issues/23","body":"It seems that clefs/ other stave modifiers are currently rendered separately from notes/voices. \r\n\r\nIs there a way to render a clef/key signature in between notes?\r\n\r\nFor example\r\n\r\n[ \"Treble\" \"D major\" \"4/4\" c d e f  \"Bass\" e f  .... ]\r\n\r\nRight now, all stave modifiers gets rendered to the left of the notes.","html_url":"https://github.com/0xfe/vexflow/issues/23","number":23,"title":"Rendering Stave Modifiers between Notes","id":1505424,"created_at":"2011-08-28T21:53:33Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/a3cf1715683828b6e76bc8827a84bfaf?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"a3cf1715683828b6e76bc8827a84bfaf","url":"https://api.github.com/users/LarryKu","login":"LarryKu","id":1071803},"updated_at":"2011-11-11T00:41:44Z","url":"https://api.github.com/repos/0xfe/vexflow/issues/comments/2703497","body":"Greg,\n\nAlthough I can't speak for Mohit, I believe that drawing clefs, time \nsigs, barlines, etc. has to be one way or the other and not both. The \nstave should function as a holder for musical objects the primary being \nclef, time sig, key sig, bar lines and notes. Other items you see drawn \nin a staff are modifiers either to bar lines or notes. One could also \nmake a case for a measure being a compound object that encapsulates any \nor all of the above objects.\n\nI currently have clefs, time signatures and bar lines being drawn \ndynamically as derivatives of the note class with a fair degree of \nsuccess. The key sig will be a much more difficult task. The main thing \nthat needs worked out is how and when to initialize start_x in the stave \nclass so the available space for note formatting can be determined properly.\n\nAt least that's how I'm seeing it for now. I may change my mind once I \nget into it a bit more.\n\nLarry","id":2703497,"created_at":"2011-11-11T00:41:44Z"}}