[Csnd] Lilypond ponderings...
Date | 2014-04-30 10:36 |
From | zappfinger |
Subject | [Csnd] Lilypond ponderings... |
I was looking for a good textual notation system to use and soon found Lilypond. I wonder, are there tools for converting Lilypond format to Csound scores? Richard -- View this message in context: http://csound.1045644.n5.nabble.com/Lilypond-ponderings-tp5734825.html Sent from the Csound - General mailing list archive at Nabble.com. Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2014-04-30 10:47 |
From | Hlöðver Sigurðsson |
Subject | Re: [Csnd] Lilypond ponderings... |
Rosegarden can read lilypond files and export .sco files. I personally use rosegarden to add rubato and dynamics, instead of using lilypond. It can be frustrating to get trills to sound correct from lilypond, but there are some midi tricks that are offered, but they are to me too mechanical.
2014-04-30 9:36 GMT+00:00 zappfinger <zappfinger@gmail.com>: I was looking for a good textual notation system to use and soon found |
Date | 2014-04-30 11:13 |
From | zappfinger |
Subject | [Csnd] Re: Lilypond ponderings... |
Thanks. I was thinking of using the format in my own Python based Csound GUI's, so maybe I'll write something myself to do that. BTW, as I understand it, 'c4' can be interpreted as a quarter c note, or the fourth octave, depending on the context, am I correct? Richard -- View this message in context: http://csound.1045644.n5.nabble.com/Lilypond-ponderings-tp5734825p5734828.html Sent from the Csound - General mailing list archive at Nabble.com. Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2014-04-30 11:23 |
From | Hlöðver Sigurðsson |
Subject | Re: [Csnd] Re: Lilypond ponderings... |
Yes, if you use the relative system. Which I think is terrible to use. But I may be one of few that think that. For example if I write for a piccolo flute I just add all the octaves like c'''8 d''' e'''4 d'''8 e''' f'''4
looks bad maybe, but using absolute pitches instead of relative make everything much more clear for me. 2014-04-30 10:13 GMT+00:00 zappfinger <zappfinger@gmail.com>: Thanks. I was thinking of using the format in my own Python based Csound |
Date | 2014-04-30 11:59 |
From | jpff@cs.bath.ac.uk |
Subject | [Csnd] Re: |
Attachments | None |
Date | 2014-04-30 13:35 |
From | Michael Gogins |
Subject | Re: [Csnd] Lilypond ponderings... |
Converting from Csound (or, rather, CsoundAC) to Lilypond has already been implemented in the CsoundAC Score class. Converting from Lilypond to Csound score is probably an intractable problem, not likely to be solved, as there are so many ways of laying out and interpreting Lilypond scores.
Converting MusicXML to Csound scores (or, rather, CsoundAC) already has been implemented in the CsoundAC Score class. If you can export your Lilypond score as MusicXML it MIGHT come into Csound but would probably lose a lot of the information present in the MusicXM, keeping only times, instrument numbers, and pitches, but that may be OK for you.
Hope this helps, Mike ----------------------------------------------------- Michael GoginsIrreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Wed, Apr 30, 2014 at 5:36 AM, zappfinger <zappfinger@gmail.com> wrote: I was looking for a good textual notation system to use and soon found |
Date | 2014-04-30 17:43 |
From | zappfinger |
Subject | [Csnd] Re: Lilypond ponderings... |
Thanks Michael, I am looking at CsoundAC again. Trying the csoundac-tutorial-1.py (after correcting the path to the csd file), I get: Generated 200 events. addToScore.length(): 838 BEGAN CppSound::perform(18, 0x7fcdca931610)... BEGAN CppSound::compile(18, 0x7fcdca931610)... Parsing failed due to 0 semantic errors! WARNING: Stopping on parser failure Any clues? Or could it be caused by the soundfont files that are referenced in the csd? Richard -- View this message in context: http://csound.1045644.n5.nabble.com/Lilypond-ponderings-tp5734825p5734833.html Sent from the Csound - General mailing list archive at Nabble.com. Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2014-04-30 18:04 |
From | jpff@cs.bath.ac.uk |
Subject | [Csnd] Re: Lilypond ponderings... |
Attachments | None |
Date | 2014-04-30 18:08 |
From | Michael Gogins |
Subject | Re: [Csnd] Re: Lilypond ponderings... |
Yes the soundfonts not being found will cause an error. I think jpff also may be correct. Hope this helps, Mike ----------------------------------------------------- Michael GoginsIrreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Wed, Apr 30, 2014 at 1:04 PM, <jpff@cs.bath.ac.uk> wrote: What version of csound? I thought the "Parsing failed due to 0 semantic errors" error message had been removed |
Date | 2014-04-30 18:35 |
From | zappfinger |
Subject | [Csnd] Re: Lilypond ponderings... |
This is Csound 6.02.0 on OS X 10.9.2 -- View this message in context: http://csound.1045644.n5.nabble.com/Lilypond-ponderings-tp5734825p5734842.html Sent from the Csound - General mailing list archive at Nabble.com. Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2014-05-01 00:10 |
From | luis jure |
Subject | Re: [Csnd] Re: Lilypond ponderings... |
el 2014-04-30 a las 03:13 zappfinger escribió: > BTW, as I understand it, 'c4' can be interpreted as a quarter c note, or > the fourth octave, depending on the context, am I correct? no, i'm afraid that's not correct. c4 means it's a c quarter note. that is, the numbers always mean the note value or duration: 1 = whole note, 2 = half note, 4 = quarter note, 8 = eight note, etc. what depends on the context is the octave. in absolute octave entry, c is the octave below middle C. each single quote (') added to a note raises it an octave, and each added comma (,) lowers it an octave. c' is therefore middle C, c'' the octave above middle C, etc. c, is two octaves below middle C, etc. in relative mode, c without a comma or quote is the closest c to the previous note (in interval type, not size). but you can read the proper explanation here: http://lilypond.org/doc/v2.18/Documentation/notation/writing-pitches using absolute or relative octave entry is a matter of personal preference, of course. Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2014-05-01 09:29 |
From | zappfinger |
Subject | [Csnd] Re: Lilypond ponderings... |
Thanks for the explanation, Luis. I already found it a bit strange if c4 could mean two things... BTW, I think it would be fairly easy to make a basic (Python) parser that translates Lilypond style text to Csound score. After all, a lot of Lilypond commands have to do with graphical representation. I am thinking of adding also a rhythm & loudness tag, that could be applied to chords or notes, like this: \rhythtl{ ff4 f mf mp }, meaning the first note has a loudness of ff, the second of f, etc. 'Multplying' this with a normal score, like { |
Date | 2014-05-01 14:44 |
From | luis jure |
Subject | Re: [Csnd] Re: Lilypond ponderings... |
el 2014-05-01 a las 01:29 zappfinger escribió: > BTW, I think it would be fairly easy to make a basic (Python) parser that > translates Lilypond style text to Csound score. there's a consensus that converting lilypond code (to csound or anything else) is an intractable problem. maybe not in theory, but in practice it certainly is (see michael's post on this). the only way i see is using the event-listener. this will save the list of events in plain text format: http://lilypond.org/doc/v2.18/Documentation/notation/saving-music-events-to-a-file the output is fairly easy to parse. unfortunately, not all lilypond music events are supported by event-listener.ly. two years ago i started a thread in the lilypond mailing list about this subject: http://web.archiveorange.com/archive/v/nRTVVayRlCUzdu7AJ39k i think it would be great if someone with the necessary skills in scheme (or ready, willing and able to learn) could expand event-listener.ly to make it more comprehensive. writing a python script to convert its output to csound score format would not only be easy, but also fun... best, lj Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |