Re: [haskell art] Music Suite: Repeats

24 views
Skip to first unread message

Hans Höglund

unread,
Jun 5, 2014, 9:25:33 AM6/5/14
to haske...@group.lurk.org, music-sui...@googlegroups.com
Thanks for your nice words Yitz,

Repeats (and jumpts, Da Capo etc) is planned but not implemented: If you have any more specific wishes or ideas how it could be done, please comment on this issue: https://github.com/music-suite/music-score/issues/255.

Actually repeats may not have to be that difficult. One of the main ideas of the Suite is to represent the music logically/semantically rather than as performance instructions and then convert to the latter on exports, so the most straightforward way to represent repeats would be to actually repeat the music inside a Score, and add meta-data that says something like "beginning of a repeat sign", "beginning of first ending" etc, and then convert this to an explicit repeat in notated output (i.e. the reverse of what Sibelius et al does). 

A completely different way would be to add a time container representing repeated music, which would include alternatives for pass 1, pass 2 etc (not necessarily at the ending).

If you have good or bad experience doing this in Lilypond, please provide more details.

Hans


On 5 jun 2014, at 10:14, Yitzchak Gale wrote:

This is unbelievable work, thanks for this.

I would love to use this as a replacement for Euterpea; it has
so many advantages. But there is one fundamental feature
still missing which might be a show-stopper: repeats.

I realize that repeats are very complicated, and that a complete
implementation would be a lot of work. Things are further
complicated by the cruftiness of Lilypond's implementaion.

[For me, the biggest problem in Lilypond is that the music
state at the beginning of an alternative is taken from the
end of the previous alternative, rather than from the music
that actually leads into it. So many things need to be reset
manually or even simulated.]

But is there some way start with something really simple,
just to get off the ground?

Thanks,
Yitz


On Thu, Jun 5, 2014 at 5:02 AM, Hans Höglund <ha...@hanshoglund.se> wrote:
I am pleased to announce the release of Music Suite v1.7.0.

The Music Suite is a collection of Haskell libraries for composition, analysis and manipulation of music. It is generic enough to handle electronic music and non-Western music theory, as well as most aspects of common music notation. It can read and write many standard representations such as MIDI, MusicXML, Lilypond and ABC notation.

Getting it

Install the Suite from Hackage:

cabal install music-suite

Documentation and examples:

http://music-suite.github.io

The source code is available on Github:

https://github.com/music-suite

For bug reports, please use the relevant Github tracker:

https://github.com/music-suite/music-score/issues

For questions, feedback and general discussion, see

music-sui...@googlegroups.com

http://groups.google.com/d/forum/music-suite-discuss

Highlights

Some highlights of this release include:

Many new time containers, including more fine-grained versions of Score and Behavior
Better interface for Score, Voice and Chord
Better interface to musical aspects (i.e. parts, pitches, dynamics and articulations) using lenses and traversals
Polymorphic update of musical aspects, so representation can change mid-traversal
Now supports phrase-wise traversals of scores and voices

New SuperCollider backend
Restructuring of backend code in terms of a single class HasBackend
Backend can now be parameterized on container type, rather than just note type
Better notation of dynamics and articulation

For the full notes, see:

https://github.com/music-suite/music-docs/blob/master/releases/Notes.md
Stability

Please note that the Suite is quite usable, parts of it are still experimental, and we expect the API to change slightly with every release up to v2.0.0 (think of it as optimistic versioning). If you have any problems with upgrading from a previous version, please post to the group below.

Contributing

If you are interested in contributing to the Suite, please join the Github organization (see the link above). In addition to code, we appreciate contributions in the form of tutorials, examples or musical compositions. Hopefully we may soon have a showcase of works created with Music Suite, like Diagram's gallery.

Sincerly,

Hans


-

Hans Hglund
Composer, conductor and developer

hans [at] hanshoglund.se
hanshoglund.com
https://twitter.com/hanshogl
https://soundcloud.com/hanshoglund
http://github.com/hanshoglund





--

Read the whole topic here: Haskell Art:
http://lurk.org/r/topic/4MWuKrBKS2ONHnMh9r4X1s

To leave Haskell Art, email haske...@group.lurk.org with the following email subject: unsubscribe

--

Read the whole topic here: Haskell Art:
http://lurk.org/r/topic/6E8gfallDSc7Avp3qECKgQ

To leave Haskell Art, email haske...@group.lurk.org with the following email subject: unsubscribe

Reply all
Reply to author
Forward
0 new messages