<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ca">
	<id>http://wiki.joanillo.org/index.php?action=history&amp;feed=atom&amp;title=Jsequencer2lily%3A_README</id>
	<title>Jsequencer2lily: README - Historial de revisió</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.joanillo.org/index.php?action=history&amp;feed=atom&amp;title=Jsequencer2lily%3A_README"/>
	<link rel="alternate" type="text/html" href="http://wiki.joanillo.org/index.php?title=Jsequencer2lily:_README&amp;action=history"/>
	<updated>2026-08-30T14:36:44Z</updated>
	<subtitle>Historial de revisió per a aquesta pàgina del wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>http://wiki.joanillo.org/index.php?title=Jsequencer2lily:_README&amp;diff=250921&amp;oldid=prev</id>
		<title>Joan: /* INSTALLATION, SETUP AND USE */</title>
		<link rel="alternate" type="text/html" href="http://wiki.joanillo.org/index.php?title=Jsequencer2lily:_README&amp;diff=250921&amp;oldid=prev"/>
		<updated>2013-12-06T00:13:26Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;INSTALLATION, SETUP AND USE&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Pàgina nova&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=jsequencer2lily. README=&lt;br /&gt;
[[Jsequencer2lily:_LLEGEIX-ME | Catalan version]]&lt;br /&gt;
*JACK sequencer that generates Lilypond scores&lt;br /&gt;
*(c) 2013 - Joan Quintana Compte (joanillo)&lt;br /&gt;
*joanqc at gmail.com - www.joanillo.org - wiki.joanillo.org&lt;br /&gt;
&lt;br /&gt;
jsequencer2lily is a JACK client (http://jackaudio.org/) that listen and record MIDI messages&lt;br /&gt;
from controllers that are connected to it. It is, therefore, a sequencer. The main feature is that midi &lt;br /&gt;
messages to LilyPond format (http://www.lilypond.org), and therefore is able to generate high-quality&lt;br /&gt;
sheet music.&lt;br /&gt;
&lt;br /&gt;
The first aim to desing jsequencer2lily was simplicity. it is a console sequencer, without GUI. There are&lt;br /&gt;
different parameters in order to obtain correct scores that meet the musician expectations. This software is&lt;br /&gt;
just a little contribution to the difficult art of sequencing.&lt;br /&gt;
&lt;br /&gt;
The main reason that led the author to write this software is the ability to record musical ideas,&lt;br /&gt;
melodies and solos quickly, easily and reliably.&lt;br /&gt;
&lt;br /&gt;
=FEATURES AND REQUIREMENTS=&lt;br /&gt;
jsequencer2lily is a monophonic sequencer, designed to sequence melodies (the main instrument of&lt;br /&gt;
the author is the saxophone and uses an EWI-USB wind controller). Basically jsequencer2lily performs&lt;br /&gt;
two functions: first record the sequence; second process the information to generate a LilyPond file as&lt;br /&gt;
correct as possible (in the sense of writing what the musician intended).&lt;br /&gt;
&lt;br /&gt;
The main requirements are JACK and LilyPond, obviously. The developer uses the metronome klick&lt;br /&gt;
(http://das.nasophon.de/klick/, also a JACK client), although it is not mandatory to use a metronome.&lt;br /&gt;
jsequencer2lily is the JACK time master, so the metronome should be set as a time client in order&lt;br /&gt;
to follow the sequencer.&lt;br /&gt;
&lt;br /&gt;
From the generated lilypond is possible to generate the pdf score pdf and the midi file. To view&lt;br /&gt;
automatically this pdf score we recommended evince (https://projects.gnome.org/evince/), the default&lt;br /&gt;
pdf viewer from Ubuntu, so a reference to evince is hardcoded inside the program. In case you use&lt;br /&gt;
another pdf viewer, change one line and recompilation of the program is necessary.&lt;br /&gt;
&lt;br /&gt;
This software was tested with the following controllers:&lt;br /&gt;
*jack-keyboard&lt;br /&gt;
*M-AUDIO AXIOM 25&lt;br /&gt;
*M-AUDIO KeyStudio 49&lt;br /&gt;
*AKAI EWI-USB&lt;br /&gt;
&lt;br /&gt;
=INSTALLATION, SETUP AND USE=&lt;br /&gt;
Compilation of the software is easy with this sentence:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
gcc -Wall jsequencer2lily-1.0.0.c utils.c -o jsequencer2lily -ljack&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
We recommend using a modification of the script jsequencer2lily.sh to setup all the connections and to launch&lt;br /&gt;
the sequencer.&lt;br /&gt;
The user should tweak this script depending to their needs and configuration. Basically the script does:&lt;br /&gt;
*read all the arguments (explained below).&lt;br /&gt;
*kill, if necessary, all the involved processes in order to setup the audio system in a stable manner.&lt;br /&gt;
*launch, if necessary, the JACK server (shell mode).&lt;br /&gt;
*launch, if necessary, a synthesizer (software or hardware)&lt;br /&gt;
*launch, if necessary, a midi controller, and establish connections with the synth.&lt;br /&gt;
*launch and setup a metronome with the given parameters.&lt;br /&gt;
*launch jsequencer2lily with all the given argument and establish connections with the controller.&lt;br /&gt;
&lt;br /&gt;
In order to connect the midi controller to the sequencer you can use a2jmidid -e, a2j_bridge, or launch jackd&lt;br /&gt;
with Xraw or Xseq options (the author prefers the last one).&lt;br /&gt;
&lt;br /&gt;
Recommendations for using jsequencer2lily:&lt;br /&gt;
&lt;br /&gt;
Choose a low tempo.&lt;br /&gt;
*Try to play with the whole length of the notes (don't cut the notes).&lt;br /&gt;
*Choose a correct value of quantization.&lt;br /&gt;
*Try different values of --beauty argument.&lt;br /&gt;
*Try the sequencer with differents controllers.&lt;br /&gt;
&lt;br /&gt;
Available arguments are:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1. General options:&lt;br /&gt;
---------------------------------------&lt;br /&gt;
-h | --help: usage information&lt;br /&gt;
-d | --debug: debug information&lt;br /&gt;
-f filevalue | --file filevalue: output lilypond file (.ly extension)&lt;br /&gt;
--pdf yes/no: generate pdf score (default: yes)&lt;br /&gt;
--viewscore yes/no: visualize pdf score with evince (default Ubuntu pdf viewer). (default: yes). Implies --pdf yes&lt;br /&gt;
--midi yes/no: generate midi file (default: yes)&lt;br /&gt;
&lt;br /&gt;
2. lilypond legacy options:&lt;br /&gt;
---------------------------------------&lt;br /&gt;
--title titlevalue&lt;br /&gt;
      ex: --title 'New York'&lt;br /&gt;
--composer composervalue&lt;br /&gt;
      ex: --composer 'Frank Sinatra'&lt;br /&gt;
--opus opusvalue&lt;br /&gt;
      ex: --opus 'Alto Sax'&lt;br /&gt;
--tagline taglinevalue&lt;br /&gt;
      ex: --tagline '© Joan Quintana 2013. Music engraving by LilyPond'&lt;br /&gt;
--clef clefvalue&lt;br /&gt;
      ex: --clef treble (default: treble)&lt;br /&gt;
--tempoly tempovalue: tempo for lilypond output and midi generation&lt;br /&gt;
      ex: --tempoly 110 (default: 110 or same as --temposeq)&lt;br /&gt;
--key keyvalue&lt;br /&gt;
      ex: --key CM, --key Dm, --key FM (default: CM)&lt;br /&gt;
&lt;br /&gt;
3. jsequencer2lily options:&lt;br /&gt;
---------------------------------------&lt;br /&gt;
--time timevalue&lt;br /&gt;
      ex: --time 4/4 (default: 4/4)&lt;br /&gt;
--temposeq tempovalue: tempo for sequencing&lt;br /&gt;
      ex: --temposeq 110 (default: 110 or same as --tempoly)&lt;br /&gt;
--delaybars delaybarsvalue: number of bar/measures previous to sequencing.&lt;br /&gt;
      ex: --delaybars 0 (default: 1)&lt;br /&gt;
-t transposevalue | --transpose transposevalue: 0:piano, flute; +3:saxo alto; -2:clarinet, saxo tenor&lt;br /&gt;
      ex: -q 8, --quant 16  (default: 16)&lt;br /&gt;
-q quantvalue | --quant quantvalue: quantization (1 (whole note), 2 (half), 4 (quarter), 8 (quaver), 16 (semiquaver)).  (default: 16)&lt;br /&gt;
      ex: -q 8, --quant 16  (default: 16)&lt;br /&gt;
-b beautyvalue | --beauty beautyvalue: beauty value (value &amp;gt; 0).  (default: 0)&lt;br /&gt;
      ex: -q 8, --quant 16  (default: 16)&lt;br /&gt;
-s | --sequencing: just sequencing (sequencing and processing are default if both parameters -s and -p are omitted)&lt;br /&gt;
-p | --processing: just processing, (sequencing and processing are default if both parameters -s and -p are omitted)&lt;br /&gt;
--connection: don't try to make connections. By default, jsequencer2lily try to make connections to hardware ports, and to jack-keyboard&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Usage examples:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./jsequencer2lily -f new_york.ly&lt;br /&gt;
&lt;br /&gt;
./jsequencer2lily -f new_york.ly --title 'Let it Be' --time 4/4 --tempo 80 --key CM&lt;br /&gt;
&lt;br /&gt;
./jsequencer2lily -f new_york.ly --quant 16 --title 'Let it Be' --composer 'The Beatles' --opus 'Ballad, pop music' --tagline 'Music engraving by LilyPond. File generated by jsequencer2lily (GNU sequencer)' --clef treble --time 4/4 --tempo 80 --key CM --delaybars 2 --pdf yes --viewscore yes --midi yes&lt;br /&gt;
&lt;br /&gt;
./jsequencer2lily -f new_york.ly --title 'Let it Be' --time 4/4 --tempo 80 --key CM --sequencing --debug&lt;br /&gt;
&lt;br /&gt;
./jsequencer2lily -f new_york.ly --title 'Let it Be' --time 4/4 --tempo 80 --key CM --processing --debug -q 16 --beauty 100&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=LINKS AND DOWNLOAD=&lt;br /&gt;
*project wiki: http://wiki.joanillo.org/index.php/Jsequencer2lily:_README&lt;br /&gt;
*download: [[Fitxer:Jsequencer2lily-1.0.0.tar.gz]]&lt;br /&gt;
*video: http://youtu.be/o5CLrfvZB9k&lt;br /&gt;
&lt;br /&gt;
=FAQ=&lt;br /&gt;
1. I listen klick too loud. Different solutions: try another metronome, use a mixer in you connection chain... but the simple way is to edit &lt;br /&gt;
klick sounds and atenuate the signal. klick audio samples are found in a typical installation in /usr/share/klick/samples&lt;br /&gt;
&lt;br /&gt;
2. Can I use jsequencer2lily with OS X? Sure, but the developer didn't already tested. JACK and lilypond have their OS X version. Is possible&lt;br /&gt;
to install Evince (pdf visualizer) in OS X. If you want to use another pdf reader is necessay to change a line of code and recompile. Also is&lt;br /&gt;
possible to use --pdf no option.&lt;br /&gt;
&lt;br /&gt;
3. Can I use jsequencer2lily with Windows? In theory yes, since JACK and lilypond have their Windows versions. However, the developer can't&lt;br /&gt;
give no support.&lt;br /&gt;
&lt;br /&gt;
=TODO=&lt;br /&gt;
*Triplets are not implemented in this version, and it will not be implemented in the near future.&lt;br /&gt;
*demi-semiquavers (quantization = 32)&lt;br /&gt;
&lt;br /&gt;
=ABOUT THE AUTHOR, LICENCE AND SUPPORT=&lt;br /&gt;
Copyright (C) 2013 - Joan Quintana Compte (joanillo) - joanqc at gmail.com&lt;br /&gt;
&lt;br /&gt;
Using and testing this software is very welcome.&lt;br /&gt;
Not hesistate to ask any questions.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
This program is free software; you can redistribute it and/or&lt;br /&gt;
modify it under the terms of the GNU General Public License&lt;br /&gt;
version 2 as published by the Free Software Foundation.&lt;br /&gt;
&lt;br /&gt;
This program is distributed in the hope that it will be useful,&lt;br /&gt;
but WITHOUT ANY WARRANTY; without even the implied warranty of&lt;br /&gt;
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the&lt;br /&gt;
GNU General Public License for more details, in COPYING.TXT file.&lt;br /&gt;
&lt;br /&gt;
If you have not received a copy of this file along with this program, write to&lt;br /&gt;
the Free Software Foundation, Inc.,&lt;br /&gt;
59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Autor}}, Novembre 2013&lt;/div&gt;</summary>
		<author><name>Joan</name></author>
		
	</entry>
</feed>