Re: Video generation on linux systems: Note and rests change color

2017-11-16 Thread Knut Petersen
Am 16.11.2017 um 12:46 schrieb Christian Alpen: I changed the usleep 250 to sleep 0.000250 in mkvideo. Now the short video_mwe.ly goes pretty fast. ok I have some further questions (if they still fit in here?): 1. Is the ./kptestpiano.sf2 desperately needed? As I couldn't get this

Re: Video generation on linux systems: Note and rests change color

2017-11-16 Thread Christian Alpen
That solved the problem for me. I changed the usleep 250 to sleep 0.000250 in mkvideo. Now the short video_mwe.ly goes pretty fast. My own first project takes a little longer, for example while "bursting pdf...", but with 200 pages i think that's o.k. For the cpu load shows 100% instead of

Re: Video generation on linux systems: Note and rests change color

2017-11-15 Thread Knut Petersen
Yes, but it's a factor of a million, not a thousand, so sleep 0.00025 would be appropriate as a replacement for usleep 250. Any short sleep is ok at that place of the script  ... Knut ___ lilypond-user mailing list lilypond-user@gnu.org

Re: Video generation on linux systems: Note and rests change color

2017-11-15 Thread David Wright
On Wed 15 Nov 2017 at 13:11:56 (-0600), Karlin High wrote: > On 11/15/2017 12:30 PM, David Wright wrote: > >I don't understand this. sleepenh is*not* a replacement for usleep. > >Gnu systems use*their* sleep command which takes non-integer values. > >As expected, sleep uses seconds, usleep uses

Re: Video generation on linux systems: Note and rests change color

2017-11-15 Thread Karlin High
On 11/15/2017 12:30 PM, David Wright wrote: I don't understand this. sleepenh is*not* a replacement for usleep. Gnu systems use*their* sleep command which takes non-integer values. As expected, sleep uses seconds, usleep uses microseconds (where u is the usual replacement for µ) and nanosleep

Re: Video generation on linux systems: Note and rests change color

2017-11-15 Thread David Wright
On Wed 15 Nov 2017 at 07:43:53 (-0600), Karlin High wrote: > On 11/15/2017 2:36 AM, Christian Alpen wrote: > >The only thing: In both cases it takes a rather long time to > >generate the files. > > In my case, I found that the script calls for usleep, but debian and > ubuntu have sleepenh

Re: Video generation on linux systems: Note and rests change color

2017-11-15 Thread Karlin High
On 11/15/2017 2:36 AM, Christian Alpen wrote: The only thing: In both cases it takes a rather long time to generate the files. In my case, I found that the script calls for usleep, but debian and ubuntu have sleepenh instead. And it seems that usleep 250 is equivalent to sleepenh 0.250; at

Re: Video generation on linux systems: Note and rests change color

2017-11-15 Thread Knut Petersen
Am 15.11.2017 um 09:36 schrieb Christian Alpen: Hi, hm, I thought I had used the appropriate mkvideo version... However, now it seems to work in both constellations: With lilypond 2.19 in a regular Debian system, and with lilypond 2.21 in lilydev and with the corrected mkvideo-lily-diff. The

Re: Video generation on linux systems: Note and rests change color

2017-11-15 Thread Christian Alpen
Hi, hm, I thought I had used the appropriate mkvideo version... However, now it seems to work in both constellations: With lilypond 2.19 in a regular Debian system, and with lilypond 2.21 in lilydev and with the corrected mkvideo-lily-diff. The only thing: In both cases it takes a rather long

Re: Video generation on linux systems: Note and rests change color

2017-11-06 Thread Knut Petersen
Am 05.11.2017 um 10:41 schrieb Christian Alpen: Hi, thanks for the fast response! Everything worked fine, even the patch command without extra installation (don't know what happened before) Like you I was able to make the video from "Wolf_Resignation"and "JSBI1" from here:

Re: Video generation on linux systems: Note and rests change color

2017-11-06 Thread Knut Petersen
Am 06.11.2017 um 10:02 schrieb Knut Petersen: Am 21.07.2017 um 10:00 schrieb Knut Petersen: Hi everybody! To generate score videos like Bach: Invention 1 , Wolf: Resignation and Peterson-Berger: I

Re: Video generation on linux systems: Note and rests change color

2017-11-06 Thread Knut Petersen
Am 21.07.2017 um 10:00 schrieb Knut Petersen: Hi everybody! To generate score videos like Bach: Invention 1 , Wolf: Resignation and Peterson-Berger: I Fyrreskoven

Re: Video generation on linux systems: Note and rests change color

2017-11-06 Thread Knut Petersen
 This thing really needs a Tiny Example. Could you make a video project with just a C-major scale or something? See attached file. Knut \version "2.21.0" % Minimal video example #(set! paper-alist (cons '("video" . (cons (* 21 cm) (* 11.8125 cm))) paper-alist)) % You have to define a

Re: Video generation on linux systems: Note and rests change color

2017-11-05 Thread Christian Alpen
Hi, thanks for the fast response! Everything worked fine, even the patch command without extra installation (don't know what happened before) Like you I was able to make the video from "Wolf_Resignation"and "JSBI1" from here:

Re: Video generation on linux systems: Note and rests change color

2017-11-04 Thread Knut Petersen
Am 04.11.2017 um 22:55 schrieb Karlin High: I think this feature shows great promise. Further exploring this is high on my LilyPond to-do list. But at this point, getting set up for the mkvideo features seems to me like a "void your warranty" operation. Probably it is, although you should

Re: Video generation on linux systems: Note and rests change color

2017-11-04 Thread Karlin High
On 11/4/2017 2:25 PM, christian wrote: I have a question concerning patching scm and ps files: Can anyone tell me where to find them? I'm not that firm with this and couldn't find them after searching quite a while. The other thing is: Do I have to install something to use the patch command? I

Re: Video generation on linux systems: Note and rests change color

2017-11-04 Thread Simon Albrecht
Hello Christian, if you are replying to an older thread, many won’t be able to see what you are replying to (The percentage of people using Nabble is not that great I think). Using the archives I figure you refer to this thread:

Re: Video generation on linux systems: Note and rests change color

2017-11-04 Thread christian
Hi everybody, and thanks a lot for this nice work! I have a question concerning the patching of the scm and ps files: Can anyone tell me where to find them? I'm not that firm with all this and couldn't find them after searching quite a while... :-( Thanks a lot! Christian -- Sent from:

Re: Video generation on linux systems: Note and rests change color

2017-11-04 Thread christian
Hi everybody, and thanks for the nice work! I have a question concerning patching scm and ps files: Can anyone tell me where to find them? I'm not that firm with this and couldn't find them after searching quite a while. The other thing is: Do I have to install something to use the patch

Re: Video generation on linux systems: Note and rests change color

2017-09-03 Thread Adam Spiers
On 3 September 2017 at 16:47, David Kastrup wrote: > Adam Spiers writes: >> On 21 July 2017 at 09:00, Knut Petersen wrote: >>> To generate score videos like Bach: Invention 1, Wolf: Resignation and >>> Peterson-Berger: I

Re: Video generation on linux systems: Note and rests change color

2017-09-03 Thread Knut Petersen
Hi Adam! Two questions: 1. Please can you put the source files in a git repository and publish it somewhere (e.g. GitLab.com), to reduce barrier to collaboration? Well, not now. 2. Would it be possible to generate video which is perfectly synchronised with a live performance with variable

Re: Video generation on linux systems: Note and rests change color

2017-09-03 Thread David Kastrup
Adam Spiers writes: > Hi Knut, > > On 21 July 2017 at 09:00, Knut Petersen wrote: >> Hi everybody! >> >> To generate score videos like Bach: Invention 1, Wolf: Resignation and >> Peterson-Berger: I Fyrreskoven >> that give a different

Re: Video generation on linux systems: Note and rests change color

2017-09-03 Thread Adam Spiers
Hi Knut, On 21 July 2017 at 09:00, Knut Petersen wrote: > Hi everybody! > > To generate score videos like Bach: Invention 1, Wolf: Resignation and > Peterson-Berger: I Fyrreskoven > that give a different color to notes and rest while they are active you > might use the

Re: Video generation on linux systems: Note and rests change color

2017-07-24 Thread Karlin High
On 7/23/2017 1:35 PM, Christopher R. Maden wrote: Lilypond handles utf-8 characters, and the texgyre fonts include those characters. Your font setup seems to be seriously broken. No, more likely the input. Character U+009F is a control character (application program command). The input was

Re: Video generation on linux systems: Note and rests change color

2017-07-23 Thread Christopher R. Maden
On 07/23/2017 03:56 AM, Knut Petersen wrote: I got some font errors during the lilypond compile: "warning: no glyph for character U+9F in font [...] ./texgyreschola- [*]" (Square brackets with placeholders for brevity.) Looks my setup is choking on the German ß sharp-S thing. Lilypond handles

Re: Video generation on linux systems: Note and rests change color

2017-07-23 Thread Knut Petersen
Hi David! But contributing code to lilypond is complex and time-consuming. Maintaining your own changes tends to be a permanent time drain and makes it harder to share experience and join efforts with other users. Probably both is correct. I experienced that it is easier, faster and

Re: Video generation on linux systems: Note and rests change color

2017-07-23 Thread David Kastrup
Knut Petersen writes: > Maybe it would be a good idea to introduce some additional hooks into > lilypond that would eliminate the need to patch lilypond. But > contributing code to lilypond is complex and time-consuming. Maintaining your own changes tends to be a

Re: Video generation on linux systems: Note and rests change color

2017-07-23 Thread Knut Petersen
Hi Karlin! I got some font errors during the lilypond compile: "warning: no glyph for character U+9F in font [...] ./texgyreschola- [*]" (Square brackets with placeholders for brevity.) Looks my setup is choking on the German ß sharp-S thing. Lilypond handles utf-8 characters, and the texgyre

Re: Video generation on linux systems: Note and rests change color

2017-07-21 Thread Karlin High
On 7/21/2017 3:00 AM, Knut Petersen wrote: > To generate score videos like Bach: Invention 1 > , Wolf: Resignation > and Peterson-Berger: I > Fyrreskoven >

Video generation on linux systems: Note and rests change color

2017-07-21 Thread Knut Petersen
Hi everybody! To generate score videos like Bach: Invention 1 , Wolf: Resignation and Peterson-Berger: I Fyrreskoven that give a different color to notes