Hello guys.<br>I&#39;ve been dreaming about an object that would display musical notation and output data (like midi numbers for instance).<br>I found a discutions about something like that here in our list (<a href="http://www.mail-archive.com/pd-list@iem.at/msg19969.html" target="_blank">http://www.mail-archive.com/pd-list@iem.at/msg19969.html</a>) but this was a discussion about creating live musical notation for performance, and what I have in mind is something more like a Computer Assisted Composition/Research tool. If i&#39;m not mistaken Open Music and PWGL (<a href="http://www2.siba.fi/PWGL/" target="_blank">http://www2.siba.fi/PWGL/</a>) already have something like this.<br>

Look at the images I made of how this object would look like:<br>- The input would be a message with the midi number of the pitch, and the object would display a Treble or Bass cleff with the note and output the number of the pitch through the outlet (cleff_pd_01.png).<br>

- It would be possible to alterate the pitch by holding and dragging the mouse (cleff_pd_02.png)<br>- Chords could be made... (cleff_pd_03.png)<br>- or melodies... (cleff_pd_04.png)<br>- or even sequences of chords. (cleff_pd_05.png)<br>
<br>The output could easily be transformed into notation for lilypond, for instance (like <span class="sender">Collin Oldham</span> did in that thread I mentioned).<br>
<br>Do you think it&#39;s possible to do something like that? At the moment I don&#39;t have the money to pay a programmer to do that (I would happily do it if I could). Maybe I can learn how to do this, but I don&#39;t know where to start.<br>

I already see some complications to build this object: <br>- it would have to stretch itself so the chords and melodies would fit;<br>- It would have to decide what cleff to use (or maybe not, the user could send a message like [treble&lt;); <br>
- There should have a way to choose between flat and sharp;<br>- A nice thing would be to have more than one staff at once, like a piano staff for instance, and so on...<br>
<br>For now I&#39;m just wondering if something like this could be done. I&#39;ve been doing some calculations of composition techniques  using Pd and I miss musical notation so much.<br><br>Bye!<br>Caio Barros<br><br>
Bonus: I made an abstraction to transform midi note to pitch name and also frequency as a part of a bunch of composition tools I use. (and after I read those threads about creating the notation object in GEM I discovered that some people already did it, but here it go anyway). see midi_note.pd<br>