Comments (8)
OK. I can clean up multiple voices somewhat. And I have newlines working in the output now... had to safe encode them.
I suspect that the {}s were from unused start blocks in your code. I can filter those out.
Eventually it would be good to detect the proper staff to generate... maybe you can come up with some logic for me?
from musicblocks.
OK. I pushed a patch to better handle multiple voices. I struggled a bit because you were missing some {} in the example you gave above:
\new Staff \instrumentOne should be \new Staff {\instrumentOne}
But it turns out that including that generates extra empty staffs. Leaving it out and just defining the instruments seems to do what we want.
from musicblocks.
I am confused. Now Lilypond output is not working well for me.
It seems to be caused by two things, I think:
- Lilypond doesn't seem to like the numbers in the title of the instrument
- I think we need to following code at the bottom (you mention the brackets, I don't seem to need the brackets...):
>\<< \new Staff \instrumentOne \new Staff \instrumentTwo \new Staff \instrumentThree \new Staff \instrumentFour >\>>
FWIW, in the meantime I am reaching out to some colleagues who are more familiar with Lilypond for their input. The syntax is super-useful, but a little esoteric and I don't think that I will really master it very quickly.
(git checkout walter/experimental
Previous HEAD position was 328bc6d... fix problem with uninitialized beatfactor in oscillator blocks
HEAD is now at 72ec783... improvements to handling of multiple voices)
from musicblocks.
I think I have a reasonable solution at this point. If the turtle is named, the instrument takes on that name. If the turtle in unnamed, it uses a name off of a list of rodents.
Here is some sample output:
\version "2.18.2"
\header {
dedication = "Description: http://walterbender.github.io/musicblocks/"
title = "Title: My Music Blocks Creation"
subtitle = "Subtitle:"
instrument = "Instrument:"
composer = "Composer: Mr. Mouse"
arranger = "Arranger:"
copyright = "Copyright: Mr. Mouse (c) 2015 -- CC-SA-BY"
tagline = "Made from MB v. 328bc6d"
}
mouse = \new Staff {
g4 a4 b4 g4 g4 a4 b4 g4 b4 c'4 d'2 b4 c'4 d'2 d'8 e'8 d'8 c'8 b4 g4 d'8 e'8 d'8 c'8 b4 g4 g4 d4 g2 g4 d4 g2
}
brown_rat = \new Staff {
g'4 a'4 b'4 g'4 g'4 a'4 b'4 g'4 b'4 c''4 d''2 b'4 c''4 d''2 d''8 e''8 d''8 c''8 b'4 g'4 d''8 e''8 d''8 c''8 b'4 g'4 g'4 d'4 g'2 g'4 d'4 g'2
}
mole = \new Staff {
g''4 a''4 b''4 g''4 g''4 a''4 b''4 g''4 b''4 c'''4 d'''2 b''4 c'''4 d'''2 d'''8 e'''8 d'''8 c'''8 b''4 g''4 d'''8 e'''8 d'''8 c'''8 b''4 g''4 g''4 d''4 g''2 g''4 d''4 g''2
}
chipmunk = \new Staff {
g,4 a,4 b,4 g,4 g,4 a,4 b,4 g,4 b,4 c4 d2 b,4 c4 d2 d8 e8 d8 c8 b,4 g,4 d8 e8 d8 c8 b,4 g,4 g,4 d,4 g,2 g,4 d,4 g,2
}
{ <<
\mouse
\brown_rat
\mole
\chipmunk
}
from musicblocks.
I think I have a reasonable solution at this point. If the turtle is named, the instrument takes on that name.
Yes!
If the turtle in unnamed, it uses a name off of a list of rodents.
or turtles...
It might be better to stick with turtles, since our choir is really the "turtles". I want the user to really make the connection that the voices are the turtles (faster than it took me to make the connection).
Maybe Mr. Mouse represents the conducting/composing elements.
...so to bring Mr. Mouse into UI, I propose that the "play music slow" icon be changed to Mr. Mouse with his baton. And I want to change the opening picture to show the "turtle choir" with Mr. Mouse and some blocks in the "background". How does that sound for branding?
from musicblocks.
All fun ideas. I was thinking we could use a mouse icon instead of the
turtle. But we need the artwork.
On Fri, Oct 16, 2015 at 12:04 PM, Devin Ulibarri [email protected]
wrote:
I think I have a reasonable solution at this point. If the turtle is
named, the instrument takes on that name.Yes!
If the turtle in unnamed, it uses a name off of a list of rodents.
or turtles...
It might be better to stick with turtles, since our choir is really the
"turtles". I want the user to really make the connection that the voices
are the turtles (faster than it took me to make the connection).Maybe Mr. Mouse represents the conducting/composing elements.
...so to bring Mr. Mouse into UI, I propose that the "play music slow"
icon be changed to Mr. Mouse with his baton. And I want to change the
opening picture to show the "turtle choir" with Mr. Mouse and some blocks
in the "background". How does that sound for branding?—
Reply to this email directly or view it on GitHub
https://github.com/walterbender/musicblocks/issues/46#issuecomment-148755867
.
Walter Bender
Sugar Labs
http://www.sugarlabs.org
from musicblocks.
All fun ideas. I was thinking we could use a mouse icon instead of the turtle. But we need the artwork.
I thought of same thing, but am a little conflicted b/c of the history of the code (precedent is important). Also the current turtle says "forward" real well so far.
Lastly, I am trying not to create more work for everyone.
from musicblocks.
Not sure what is outstanding here. We have multiple voice support. We can create issues re artwork under a separate ticket.
from musicblocks.
Related Issues (20)
- States get hidden by Auxiliary Menu Bar when in expanded State HOT 2
- The Need for Warning Signals to Disappear on User Action HOT 4
- Cancel Button is not working HOT 4
- Feature Add- Adding a Record Button which can record audio as well and automatically saving it in users local pc HOT 2
- Feature Add - > Add a button for full screen view HOT 1
- Feature Request-> Implement a sound bar which can control the sound output HOT 1
- Console error HOT 3
- Reporting a vulnerability HOT 1
- Two bugs that are prominent when running "virtual whiteboard" projects HOT 8
- lilypond website is down HOT 3
- Pie menu hidden behind Phrase Maker HOT 4
- TypeError while running the JavaScript code in the editor for the second time.
- Disable the start button until the execution ends or user clicks "stop" HOT 1
- Vertical scrolling by touch HOT 1
- Investigate reason why there are duplicate pitches in Phrase Maker HOT 16
- Trash does not complete on touch screen until something new is initiated HOT 2
- Action blocks translation not rendering when collapsed HOT 4
- Issue with Pitch Preview HOT 1
- JA strings needed HOT 8
- v-space not connecting to switch block HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from musicblocks.