bach.score not showing slots in 2nd measure

Discussions, advice, bug reports and much more about the "bach" environment.
Post Reply
alroli
Posts: 10
Joined: Fri Aug 18, 2017 3:57 pm

bach.score not showing slots in 2nd measure

Post by alroli » Sat Jul 27, 2019 2:11 pm

I'm trying to add slots to measures different than the first one, without any success. I don't know what I'm doing wrong... I copied the bach.score object from the "The Minimal Way" tutorial, then added a couple of measures and notes, and then I'm trying to assign slots. But I'm only getting slot info added to the first measure, as the chords in second and third measure don't show anything.

Please, what am I doing wrong?

Code: Select all

<pre><code>
----------begin_max5_patcher----------
2480.3oc6b01bihiD9yI+JnntOlyijP71UWs0dUc2uhroRgAYaMAPrfbbxr0
9e+zKfMXjsIXFmb6gmIfAAzc+nmtkZYj9i6uydI6MRks0+v5Qq6t6Ot+t6Tm
Rdh6pO9N6rn2hSipTWlcFopJZMw9AcYbxab04WttJkwqrfMkv1xSIb96ED8i
2115o5hJh3wan4qetjDy0kBCV.dvxCI255K2hDee+cjuMilKdbJc.c3jZgnN
Kr9rzDk9vV98+NDhrkm7Ou+d4lGtRSLkl+RNiShYorRNSZuWm453J2BgtSl8
BmR6MZKmEmRhJs.WUkpZSvjYifozFeTVKRyWwrdDZ8XdTFw52rKIUbqhR1xn
kzTJ+8eSXkVOJsZqUorHt3fxn70DKfET78czD9FKLP70WHuaU7zSOM.7ZEKm
WQ+gp.nj2eZXDErvsFGwn9NGxmjTyUFz+pjFkZeUPLxYLHbNYm3l6AvbqkVz
SBGKEvn8CV1zb9YYRXHV4vDnBPfBk3woISPiVJxDYxcLl5xsbNK+7F04sFkA
fQZqA2r8iXMFp2b2GLpHpTvG3jxmI4QKSUJFXB8Zj7Vq+1Hi8g8UwBvPfZ2T
Er2waBYsEkBFokPlwaXkIU1m1ZP9J+RmvP4tvKDJ2bcInu0fmXWvzK5Bd95L
O3BOjjyFLoNfnI0LSsVdZJ4CCwwDnp+7EsH6NkgYlPqbYT7lE6JiJFmymiSv
BnrhL.naWFOFBqofONMJTUzqjjmEmSHzmi37R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lUo4523qCWkbxbJuHiSN6gKJ3sST
faknTie5MQRtCA9bbl.I43cyjDd.RBBc6bUhtEpm8ufqjjHervKYldSBezc.
1YSE7OeDEaFOgWmmvPcD7tVWtATsMIBxcH91cMaQFE5UugCqWXpkEv.Gnd0j
SMm46dD1AoWaeC6eDxUsNL3Ac5eDFoWeHg504FrZ82353oCg63qg+qVPWpJD
GNAtC3gDJaR76FBWAClBSBMTIAOEszE3uvQs9h4oVrsba3P8NF4d1ic88UG6
Dno4piuV6CLDxAZJPxgzKA7Tz.PCW9xdVWsj7GRKMSQa2pPr9Wp4yov0ZHQg
mhfEngTK0z.60IoQ1qac+8iJJpWITThQJD6rnuqWfVBdPcHMmcXoqwtj7Js4
5UqWJ1QkwanbRLeaodY44MOrs9VYhtCjukV2i.g4IDoZ0VRsz+TTuNznVTlt
+Ou++BDk5FAJ
-----------end_max5_patcher-----------
</code></pre>
Also, I'm not able to find where in the documentation explains specifically that the rests are also chords. Could you point to the tutorial or documentation where this is stated? I think I'm not getting correctly some things...

danieleghisi
Site Admin
Posts: 1347
Joined: Fri Dec 03, 2010 1:25 pm

Re: bach.score not showing slots in 2nd measure

Post by danieleghisi » Thu Aug 01, 2019 9:23 am

Hi,

as for your example, put a [bach.post @maxdepth 4] and you'll get this (<<<< are my comments)

bach.post: 1: • [
bach.post: 2: •• slots
bach.post: 2: •• [ <<<< voice
bach.post: 3: ••• [ <<<<< measure
bach.post: 4: •••• [ [ 1 0. ] ] <<<<< chord #1 in measure, etc.
bach.post: 4: •••• [ [ 1 0. ] ]
bach.post: 4: •••• [ [ 1 0. ] ]
bach.post: 4: •••• [ [ 1 0. ] ]
bach.post: 4: •••• [ [ 1 0. ] ]
bach.post: 4: •••• [ [ 1 0. ] ]
bach.post: 4: •••• [ [ 1 0. ] ]
bach.post: 4: •••• [ [ 1 0. ] ]
bach.post: 4: •••• [ [ 1 0. ] ]
bach.post: 4: •••• ]
bach.post: 3: ••• ]
bach.post: 2: •• ]


as you see, you're giving one single measure in your llll (if I'm not mistaken).

As for the rest stuff, you can look up #rests in the help center and you'll get many pages, but look for the ones in the "Separate Syntax" chapter, they should give you what you want.
(And yes, ideally one would have a short video tutorial about that... we are going to make some of them, initially available for patrons)

alroli
Posts: 10
Joined: Fri Aug 18, 2017 3:57 pm

Re: bach.score not showing slots in 2nd measure

Post by alroli » Sat Aug 10, 2019 7:30 pm

Thanks a lot, it took me some time but thanks to your answer and after spending some hours digging into it, I already understand the problem. Indeed, I had only one measure involved. Bach is a huge library and there are lots of things to learn to use it comfortably... The amount of hours involved in its development should have been astonishing.

Thanks also for pointing to the "Separate Syntax" help, I understand it better now. (oh, and I'm already a patron so I'm eager to watch more videos :) )

Post Reply