<div dir="ltr">I think Devin and I are both confused by the + on the pitch block in your examples (See attached).<div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Mar 25, 2017 at 2:41 PM, Sachithra Dangalla <span dir="ltr"><<a href="mailto:sachithradangalla@gmail.com" target="_blank">sachithradangalla@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">What I had in mind was as follows and I think I might have missed something important:<div><br><div><img src="cid:ii_15b06c5c2ad2a94b" alt="Inline image 2" width="472" height="302"><br></div><div><br></div><div>Please correct me if I'm totally out.</div><div><br></div><div>Regards,</div></div></div><div class="gmail_extra"><span class=""><br clear="all"><div><div class="m_-5621801197037994505gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr" style="font-size:12.8px"><div style="color:rgb(136,136,136);font-size:12.8px"><b><font face="garamond, serif">Sachithra Dangalla,</font></b></div></div><div dir="ltr"><div style="font-size:12.8px;color:rgb(80,0,80)"><font color="#999999" size="2" face="garamond, serif">Undergraduate B.Sc.Eng.(Hons.)</font></div><div style="font-size:12.8px;color:rgb(80,0,80)"><font color="#999999" size="2" face="garamond, serif">Department of Computer Science & Engineering,</font></div><div style="font-size:12.8px;color:rgb(80,0,80)"><font color="#999999" size="2" face="garamond, serif">University of Moratuwa,</font></div><div style="font-size:12.8px;color:rgb(80,0,80)"><font color="#999999" size="2" face="garamond, serif">Sri Lanka.</font></div><div><font color="#999999" size="2" face="garamond, serif"><br></font></div><div style="font-size:12.8px;color:rgb(80,0,80)"><font color="#999999" face="garamond, serif" size="2"><a href="https://plus.google.com/u/0/+SachithraDangalla93" target="_blank"><img src="https://docs.google.com/uc?export=download&id=0BzVi_j-0sPlqYVJkQy1Td3NwRnM&revid=0BzVi_j-0sPlqZWV2U1RqOG05djhYem9iZy9VdlR2MktUeVg4PQ"></a> <a href="https://lk.linkedin.com/in/sachithradangalla" target="_blank"><img src="https://docs.google.com/uc?export=download&id=0BzVi_j-0sPlqM29VZFFzbVJoaHM&revid=0BzVi_j-0sPlqdlJFUW5qZUV2ME1aOEZKVHFhMXR4NVRuUFlVPQ"></a> <a href="https://comexile.blogspot.com" target="_blank"><img src="https://docs.google.com/uc?export=download&id=0BzVi_j-0sPlqU21XRUtSMXBvd1E&revid=0BzVi_j-0sPlqdnNGRFVXS1B3SkFZT2N2UEFseUFrejVzbjhZPQ"></a></font><br></div></div></div></div></div></div></div></div></div></div>
<br></span><div><div class="h5"><div class="gmail_quote">On Sat, Mar 25, 2017 at 11:36 PM, Walter Bender <span dir="ltr"><<a href="mailto:walter.bender@gmail.com" target="_blank">walter.bender@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Sat, Mar 25, 2017 at 11:18 AM, Sachithra Dangalla <span dir="ltr"><<a href="mailto:sachithradangalla@gmail.com" target="_blank">sachithradangalla@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span style="font-size:12.8px"><i>I like the general direction you are going. </i></span></blockquote><div><br></div><div><br></div></span><div>Thank you and I'm happy to hear that.</div><span><div><br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span style="font-size:12.8px"><i>I wonder if it cannot be a bit more simple in that you could define the number of steps in a key/mode by simply the number of define frequency blocks in the clamp? and maybe you don't need to modify the pitch block to return an argument? It could just be a hertz block contained in the define frequency clamp. (Maybe the block should be define step?) I am assuming that the widget would output a stack of code like this? And to activate it, it would simply be run before everything else? </i></span></blockquote><div><br></div><div><br></div></span><div>I'm sorry I'm having a bit of a trouble understanding the above. Can you please explain a bit simply? Are you suggesting to reuse the existing pitch-block inside the define-frequency clamp? As discussed in the GitHub issue, if the define-frequency is a clamp, users might add multiple blocks in it which is why I represented it as an arg-block as you suggested. </div><span><div><br></div></span></div></blockquote><div><br></div></span><div>If you look at the pitch block in Devin's example vs in your example, you'll see no "math" connector on the left side of the block. I am not sure why you need to assign do re mi to the frequencies... we can auto assign based on however many frequencies are defined. (Question for Devin: What naming convention do we use if there are more than 12 half-steps? I guess we just use pitch number?)</div><div><br></div><div>We need to think about how intervals work.</div><span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span><div></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span style="font-size:12.8px"><i>There is a mechanism for saving stacks to be used between projects, so I could imaging making a temperament you like and reusing it again and again.</i></span></blockquote><div><br></div></span><div>That's a very good idea so the users can keep reusing their temperament definitions, thanks for the suggestion. Can you name just one instance that mechanism is used in MB?</div><div><br></div></div></blockquote><div><br></div></span><div>A long-press on any action stack will reveal a button for saving that action. A new palette, My Blocks, will appear. You can use it for as many actions as you want.</div><div><div class="m_-5621801197037994505h5"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div></div><div>Regards, </div></div><div class="gmail_extra"><span><br clear="all"><div><div class="m_-5621801197037994505m_8610441440501535745m_-4435484402009998640gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr" style="font-size:12.8px"><div style="color:rgb(136,136,136);font-size:12.8px"><b><font face="garamond, serif">Sachithra Dangalla,</font></b></div></div><div dir="ltr"><div style="font-size:12.8px;color:rgb(80,0,80)"><font color="#999999" size="2" face="garamond, serif">Undergraduate B.Sc.Eng.(Hons.)</font></div><div style="font-size:12.8px;color:rgb(80,0,80)"><font color="#999999" size="2" face="garamond, serif">Department of Computer Science & Engineering,</font></div><div style="font-size:12.8px;color:rgb(80,0,80)"><font color="#999999" size="2" face="garamond, serif">University of Moratuwa,</font></div><div style="font-size:12.8px;color:rgb(80,0,80)"><font color="#999999" size="2" face="garamond, serif">Sri Lanka.</font></div><div><font color="#999999" size="2" face="garamond, serif"><br></font></div><div style="font-size:12.8px;color:rgb(80,0,80)"><font color="#999999" face="garamond, serif" size="2"><a href="https://plus.google.com/u/0/+SachithraDangalla93" target="_blank"><img src="https://docs.google.com/uc?export=download&id=0BzVi_j-0sPlqYVJkQy1Td3NwRnM&revid=0BzVi_j-0sPlqZWV2U1RqOG05djhYem9iZy9VdlR2MktUeVg4PQ"></a> <a href="https://lk.linkedin.com/in/sachithradangalla" target="_blank"><img src="https://docs.google.com/uc?export=download&id=0BzVi_j-0sPlqM29VZFFzbVJoaHM&revid=0BzVi_j-0sPlqdlJFUW5qZUV2ME1aOEZKVHFhMXR4NVRuUFlVPQ"></a> <a href="https://comexile.blogspot.com" target="_blank"><img src="https://docs.google.com/uc?export=download&id=0BzVi_j-0sPlqU21XRUtSMXBvd1E&revid=0BzVi_j-0sPlqdnNGRFVXS1B3SkFZT2N2UEFseUFrejVzbjhZPQ"></a></font><br></div></div></div></div></div></div></div></div></div></div>
<br></span><div><div class="m_-5621801197037994505m_8610441440501535745h5"><div class="gmail_quote">On Sat, Mar 25, 2017 at 5:24 PM, Walter Bender <span dir="ltr"><<a href="mailto:walter.bender@gmail.com" target="_blank">walter.bender@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Sat, Mar 25, 2017 at 4:58 AM, Sachithra Dangalla <span dir="ltr"><<a href="mailto:sachithradangalla@gmail.com" target="_blank">sachithradangalla@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thank you. <div><br></div><div>I came up with the following simple activity diagram(attachment 1) to capture what happens when the user defines a temperament. By incorporating the comments and Devin's mockups in the GitHub issue[1] I came up with a mockup design for the widget (attachment 2). The widget will be initialized with the default values as follows:</div><div><ul><li>starting pitch: 256</li><li>octave: 4</li><li>12 frequency blocks for each note with default ratio 1/1</li></ul></div><div><br></div><div>I would like to hear your comments about them. </div><div><br></div><div>After defining the frequencies, the user has to trigger a "save the configuration" is that so? How will the user save it? </div></div></blockquote><div><br></div></span><div>I like the general direction you are going. I wonder if it cannot be a bit more simple in that you could define the number of steps in a key/mode by simply the number of define frequency blocks in the clamp? and maybe you don't need to modify the pitch block to return an argument? It could just be a hertz block contained in the define frequency clamp. (Maybe the block should be define step?) I am assuming that the widget would output a stack of code like this? And to activate it, it would simply be run before everything else? There is a mechanism for saving stacks to be used between projects, so I could imaging making a temperament you like and reusing it again and again.</div><span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>An additional question: I used an image editing tool(PS) to get the mockups, is there a better way to design mockups?</div></div></blockquote><div><br></div></span><div>I need to add an export button for the block artwork. I typically just use inkscape. </div><div><div class="m_-5621801197037994505m_8610441440501535745m_-4435484402009998640h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>[1] - <a href="https://github.com/walterbender/musicblocks/issues/485" target="_blank">https://github.com/walterben<wbr>der/musicblocks/issues/485</a></div><div><br></div><div>Regards,</div></div><div class="gmail_extra"><span><br clear="all"><div><div class="m_-5621801197037994505m_8610441440501535745m_-4435484402009998640m_3959922816461962266m_-1015465948798819603gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr" style="font-size:12.8px"><div style="color:rgb(136,136,136);font-size:12.8px"><b><font face="garamond, serif">Sachithra Dangalla,</font></b></div></div><div dir="ltr"><div style="font-size:12.8px;color:rgb(80,0,80)"><font color="#999999" size="2" face="garamond, serif">Undergraduate B.Sc.Eng.(Hons.)</font></div><div style="font-size:12.8px;color:rgb(80,0,80)"><font color="#999999" size="2" face="garamond, serif">Department of Computer Science & Engineering,</font></div><div style="font-size:12.8px;color:rgb(80,0,80)"><font color="#999999" size="2" face="garamond, serif">University of Moratuwa,</font></div><div style="font-size:12.8px;color:rgb(80,0,80)"><font color="#999999" size="2" face="garamond, serif">Sri Lanka.</font></div><div><font color="#999999" size="2" face="garamond, serif"><br></font></div><div style="font-size:12.8px;color:rgb(80,0,80)"><font color="#999999" face="garamond, serif" size="2"><a href="https://plus.google.com/u/0/+SachithraDangalla93" target="_blank"><img src="https://docs.google.com/uc?export=download&id=0BzVi_j-0sPlqYVJkQy1Td3NwRnM&revid=0BzVi_j-0sPlqZWV2U1RqOG05djhYem9iZy9VdlR2MktUeVg4PQ"></a> <a href="https://lk.linkedin.com/in/sachithradangalla" target="_blank"><img src="https://docs.google.com/uc?export=download&id=0BzVi_j-0sPlqM29VZFFzbVJoaHM&revid=0BzVi_j-0sPlqdlJFUW5qZUV2ME1aOEZKVHFhMXR4NVRuUFlVPQ"></a> <a href="https://comexile.blogspot.com" target="_blank"><img src="https://docs.google.com/uc?export=download&id=0BzVi_j-0sPlqU21XRUtSMXBvd1E&revid=0BzVi_j-0sPlqdnNGRFVXS1B3SkFZT2N2UEFseUFrejVzbjhZPQ"></a></font><br></div></div></div></div></div></div></div></div></div></div>
<br></span><div><div class="m_-5621801197037994505m_8610441440501535745m_-4435484402009998640m_3959922816461962266h5"><div class="gmail_quote">On Wed, Mar 22, 2017 at 7:47 PM, Devin Ulibarri <span dir="ltr"><<a href="mailto:devin@ulibarri.website" target="_blank">devin@ulibarri.website</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Wed, 2017-03-22 at 13:25 +0530, Sachithra Dangalla wrote:<br>
> Mode is a new term to me and I'm still reading about it ([1] and [2]).<br>
> I'm finding it hard to understand the relationship between temperament<br>
> and mode or their implementations, any advice on it would be great. Is<br>
> mode already presented in music blocks?<br>
><br>
</span>There is a "mode" widget.<br>
<br>
As for temperament and mode, these are the important principles...<br>
<br>
* You have collection of pitches that most often repeats at the octave.<br>
<br>
e.g.<br>
<br>
CDEFGAB(CDEFG...)<br>
<br>
[N.B. this number of pitches can be any number, but some collections are<br>
more common than others.]<br>
<br>
* A mode is the name/quality that collection of pitches has/imbues when<br>
starting (or "centering around") from a particular pitch in that<br>
collection.<br>
<br>
Start from C or D or E or F etc. changes the sound of the music.<br>
<br>
* Temperament is the precise tuning of those notes, and thus the<br>
relationship of the tuning of those notes with each other.<br>
<br>
For example, if the tuning in Hz of E is changed, the relationship<br>
between C and E changes too... thus affecting the sound.<br>
<br>
So, with different temperaments, the same modes can sound very<br>
different.<br>
<span class="m_-5621801197037994505m_8610441440501535745m_-4435484402009998640m_3959922816461962266m_-1015465948798819603HOEnZb"><font color="#888888"><br>
Devin<br>
<br>
<br>
</font></span></blockquote></div><br></div></div></div>
</blockquote></div></div></div><br><br clear="all"><span><div><br></div>-- <br><div class="m_-5621801197037994505m_8610441440501535745m_-4435484402009998640m_3959922816461962266gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><font><font>Walter Bender</font></font><br><font><font>Sugar Labs</font></font></div><div><font><a href="http://www.sugarlabs.org" target="_blank"><font>http://www.sugarlabs.org</font></a></font><br><a href="http://www.sugarlabs.org" target="_blank"><font></font></a><br></div></div></div>
</span></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div></div></div><div><div class="m_-5621801197037994505h5"><br><br clear="all"><div><br></div>-- <br><div class="m_-5621801197037994505m_8610441440501535745gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><font><font>Walter Bender</font></font><br><font><font>Sugar Labs</font></font></div><div><font><a href="http://www.sugarlabs.org" target="_blank"><font>http://www.sugarlabs.org</font></a></font><br><a href="http://www.sugarlabs.org" target="_blank"><font></font></a><br></div></div></div>
</div></div></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><font><font>Walter Bender</font></font><br><font><font>Sugar Labs</font></font></div><div><font><a href="http://www.sugarlabs.org" target="_blank"><font>http://www.sugarlabs.org</font></a></font><br><a href="http://www.sugarlabs.org" target="_blank"><font></font></a><br></div></div></div>
</div>