Git Product home page Git Product logo

frescobaldi's Introduction

README for Frescobaldi

Note about maintenance

Frescobaldi is unfortunately close to being unmaintained at present. Releases are extremely difficult to do due to deep packaging issues especially on macOS (issues with the macOS label) and Frescobaldi is still using PyQt5, which is now obsolete (#1407). Help to resolve these issues and continue the development of Frescobaldi is very welcome.

About Frescobaldi

Homepage: http://www.frescobaldi.org/ Main author: Wilbert Berendsen

Frescobaldi is a LilyPond sheet music text editor. It aims to be powerful, yet lightweight and easy to use. Frescobaldi is Free Software, freely available under the General Public License.

Features:

  • Powerful text editor with syntax highlighting and automatic completion
  • Music view with advanced two-way Point & Click
  • Midi player to proof-listen LilyPond-generated MIDI files
  • Midi capturing to enter music
  • Powerful Score Wizard to quickly setup a music score
  • Snippet Manager to store and apply text snippets, templates or scripts
  • Use multiple versions of LilyPond, automatically selects the correct version
  • Built-in LilyPond documentation browser and built-in help
  • Configurable document outline view to navigate large LilyPond scores easily
  • Smart layout-control functions like coloring specific objects in the PDF
  • Import ABC, Midi and MusicXML using the LilyPond-provided tools
  • Experimental export to MusicXML
  • Modern user interface with configurable colors, fonts and keyboard shortcuts
  • Translated into: Dutch, English, French, German, Italian, Swedish, Czech, Russian, Spanish, Galician, Turkish, Polish, Brazilian, Ukrainian, Traditional Chinese, Simplified Chinese and Japanese.

Music functions:

  • Transpose music
  • Change music from relative to absolute and vice versa
  • Change the language used for note names
  • Change the rhythm (double, halve, add/remove dots, copy, paste) etc
  • Hyphenate lyrics using word-processor hyphenation dictionaries
  • Add spanners, dynamics, articulation easily using the Quick Insert panel
  • Update LilyPond syntax using convert-ly, with display of differences

Frescobaldi is designed to run on all major operating systems (Linux, macOS and Windows). It is named after Girolamo Frescobaldi (1583-1643), an Italian composer of keyboard music in the late Renaissance and early Baroque period.

Here is an idea of the basic Frescobaldi workflow:

  • Start Frescobaldi
  • Open a .ly file or create one using File->New from template or Tools->Setup new Score... and fill in some music
  • Press Ctrl+M to run LilyPond
  • If the LilyPond output shows errors, press Ctrl+E to jump to the first error
  • If you see other mistakes in the music, click the notes to move the text cursor there
  • Fix the errors or mistakes in the text
  • Press Ctrl+M again to update the music view
  • When a piece is finished, press Ctrl+Shift+P once to run LilyPond with point and click turned off (this results in a much smaller PDF file).

Frescobaldi is written in Python and uses PyQt for its user interface.

Installation instructions for the program and MIDI support as well as other information can be found in the Wiki. Other requirements and installation instructions may also be found in the INSTALL.md file.

frescobaldi's People

Contributors

alexschr avatar anthonyfok avatar arnaldorusso avatar bmjcode avatar brownian avatar codeworm96 avatar cognot avatar dliessi avatar drydh avatar elmamyra avatar fedelibre avatar igneus avatar jeanas avatar juntamura1959 avatar ksnortum avatar mamoch avatar mr-bronson avatar oleastre avatar peterbjuhr avatar philmassart avatar rdoursenaud avatar sebleblanc avatar shimpe avatar shivansh-bajaj avatar snyoung avatar stweil avatar uliska avatar wbsoft avatar wenxin-bupt avatar wyj1026 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

frescobaldi's Issues

indentation settings

It would be useful to be able to set indentation in Frescobaldi up, e.g. similarly as in the SciTE text editor:

  • use tabs/spaces for indentation
  • how many spaces make an indentation unit

wish: simple midi keyboard entry

Now that frescobaldi nows about midi, it would be nice if pressing a midi key would enter the corresponding note name (or chord in more advanced uses) in the source code.

May be some midikeys / controls could also be associated to frescobaldi actions. If one of the action would be change the duration of the last note, or enter a rest, we could enter a melody from a midi keyboard really fast.

wish: midi volume, fast forward

1)well, it would be nice to have control over the volume like in timidity. my sound is at 100% mostly too quiet, with timidity i can push it up to 500% or more (and i need this every day).

  1. and it would be nice to change the amount of "fast forward". it seems to be 10 seconds?! well, it would be nice to say in the preferences: fast forwar for xy seconds. AND: it would be very nice to make forward in measures, not in seconds. with a second button, perhaps?! with this i could navigate very fast through my music with midi ...

and THANKS for the measure-display in the build-in-midi-player. it is very helpful for me!

Crash when the Music View opens a PDF file

I'm running Frescobaldi 2.0.0-1 on Ubuntu 12.04. The program crashes consistently when I try to open many (but not all) of my existing .ly files, exiting with the following error:

python: /build/buildd/sip4-4.13.2/siplib/siplib.c:8164: sip_api_convert_from_new_type: Assertion `(((td)->td_flags & 0x0007) == 0x0000)' failed.
Aborted (core dumped)

A stacktrace is available on Launchpad at: https://bugs.launchpad.net/ubuntu/+source/frescobaldi/+bug/939196

The crash happens immediately upon selecting the file and clicking the "Open" button, and whether or not it happens seems to depend on the file (i.e. it's not random; with most files, Frescobaldi crashes, with a few, it consistently opens them).

Icons missing in 2.0.3

After downloading the tar.gz for 2.0.3 and installing. Frescobaldi miss about 70% of icons that were there in 2.0.0. It uses text description instead. For instance, 'New', 'Open'.

This is on mac os x 10.6.8, dependencies installed with port.

Running from the source folder does not solve the problems, although the icons are really in the tango folder.

Python is 2.7.2, QT is 4.7

1.9.2: midi kills the application on Linux.

Hi,

Linux 64 bits, Qt 4.7.1, portmidi 2.1.7 freshly compiled.

Every time I attempt to play the midi output, I get:

File "/dsk/fronsac1/local/users/cognot/workspace/frescobaldi-2.0/frescobaldi_app/qmidi/player.py", line 61, in run
self.timer_start_playing()
File "/dsk/fronsac1/local/users/cognot/workspace/frescobaldi-2.0/frescobaldi_app/midifile/player.py", line 314, in timer_start_playing
self._output.reset()
File "/dsk/fronsac1/local/users/cognot/workspace/frescobaldi-2.0/frescobaldi_app/midifile/output.py", line 54, in reset
self.reset_controllers()
File "/dsk/fronsac1/local/users/cognot/workspace/frescobaldi-2.0/frescobaldi_app/midifile/output.py", line 79, in reset_controllers
send(event.ControllerEvent(c, event.MIDI_CTL_RESET_CONTROLLERS, 0))
File "/usr/lib64/python2.6/contextlib.py", line 23, in exit
self.gen.next()
File "/dsk/fronsac1/local/users/cognot/workspace/frescobaldi-2.0/frescobaldi_app/midifile/output.py", line 113, in sender
self.send_events(l)
File "/dsk/fronsac1/local/users/cognot/workspace/frescobaldi-2.0/frescobaldi_app/midifile/output.py", line 135, in send_events
self.output.write(l)
File "/dsk/fronsac1/local/users/cognot/workspace/frescobaldi-2.0/frescobaldi_app/portmidi/init.py", line 206, in write
self._output.Write(data)
File "/dsk/fronsac1/local/users/cognot/workspace/frescobaldi-2.0/frescobaldi_app/portmidi/ctypes_pypm.py", line 112, in Write
_check_error(err)
File "/dsk/fronsac1/local/users/cognot/workspace/frescobaldi-2.0/frescobaldi_app/portmidi/ctypes_pypm.py", line 189, in _check_error
"PortMIDI-ctypes error [{0}]: {1}".format(err_no, err_msg))
MidiException: PortMIDI-ctypes error [-9994]: PortMidi: `Invalid MIDI message Data'

Trouble is after that, I get a couple of errors due to (a wild guess) the midi player thread accessing things in the Qt Gui thread:

QObject::installEventFilter(): Cannot filter events for objects in a different thread.
QObject::installEventFilter(): Cannot filter events for objects in a different thread.
QObject::setParent: Cannot set parent, new parent is in a different thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QObject::installEventFilter(): Cannot filter events for objects in a different thread.
QObject::installEventFilter(): Cannot filter events for objects in a different thread.
QObject::installEventFilter(): Cannot filter events for objects in a different thread.
QObject::installEventFilter(): Cannot filter events for objects in a different thread.
QObject::installEventFilter(): Cannot filter events for objects in a different thread.
QObject::installEventFilter(): Cannot filter events for objects in a different thread.
QObject::installEventFilter(): Cannot filter events for objects in a different thread.

Later followed by an X error which I assume is a consequence of this, and which kills the application.

I have no such problem on Windows.

Regards,
Richard.

MIDI player takes over whole audio system

I'm running Frescobaldi 2.0.0 on Ubuntu 12.04. When Frescobaldi is open it is impossible to play other sound sources (CD/audio file, YouTube video, ...): they simply refuse to play until Frescobaldi is closed. Upon Frescobaldi closing, any such audio playback starts up again.

Example test:

  • open Frescobaldi and try to play back a Lilypond-generated MIDI file.
  • while the MIDI is playing back, open a terminal and type: mplayer some-audio-file.ogg -- the audio will not play, mplayer will remain trapped at time 0:00.
  • stop MIDI playback (the audio file will still not play) and close Frescobaldi (now the audio file will start playing).

QPixmap: Must construct a QApplication before a QPaintDevice

Hey all,

I'm trying to get frescobaldi up and running on Mac OS X. I'm getting:

QPixmap: Must construct a QApplication before a QPaintDevice
Abort trap: 6

Once popplerqt is installed. It is difficult to tell if this problem arises from popplerqt or from frescobaldi. I don't think that QPixmap is used anywhere in the popplerqt source, and I know it is used in the frescobaldi source, so perhaps it is a communication error between the two and/or something triggered only by certain Qt libraries (i.e. debug libraries). Anyway, if you find that a QPixmap is being constructed before a QApplication and can push a patch fixing this, I'd be happy to test it out.

wish: more staves for piano in score wizard

Submitted by a Thomas Ruedas per e-mail:

I would like to suggest a feature that seems to be absent from the Score Setup Wizard.

As you will know, especially in 20th-century piano music, it is not so uncommon to have a PianoStaff with three individual staves, grouped together by one large brace, instead of the traditional two; in an actual score, there may be passages in one piece that have two and others that have three staves.

It would be useful to provide for a PianoStaff setup with up to four individual staves in the Parts section of the Setup Wizard, with the default of course set to two staves.

wish: apply, copy, paste ligatures and articulations

I really enjoy the possibility to apply/copy/paste a rythm, and I think the same feature with ligatures, articulations and some other expressive marks (why not dynamics?) would be useful too.
For example, I transcribed a long part with always the same skeleton, to print a beam above a rest:

r8 lad16-.[r lad-.] r | r8 lad16-.[r lad-.] r | r8 si16-.[r si-.] r | r8 si16-.[r si-.] r

I could apply a “8 16 16 16 16" rythm very easily, but I would have loved to apply a “x [ x ] x” ligature and a “x . x . x" articulation.
I know I could have wrote “simile”, I also know the case is a bit different as there are no “explicit” or “implicit” ligatures or articulations. But still, this would be very useful!
To make it even more easy-to-use, what about mixing rythms and articulations in a same feature?

Unable to insert Czech characters with háček: ď, ť, ň etc.

Some of the characters with háček, such as ě, š, č, have their own keys in the Czech keyboard, but some less common ones haven't. They are inserted using a dead key. But unfortunatelly, pressing the dead key in Frescobaldi inserts a háček as a separate character.
(No other application on my system behaves like this - so I am convinced that this strange behavior must have it's reason somewhere in Frescobaldi and not e.g. in my keyboard settings.)

Convert-ly

I was trying to update some of my files (from about 2.13.x to 2.15) and when I clicked on the menu item, the dialog came up with the following:

Could not start C:\Program Files\LilyPond\usr\bin\convert-ly:

[Error 2] The system cannot find the file specified

Do I somehow need to change my paths or something? If so, how do I do that?

Thanks.

Using \repeat in \lyricmode confuses syntax coloring

As recommended by Lilypond documentation I used repeat in Lyricmode to match repeat in the other parts.
Doing so all the text after the repeat is closed is now colored black as in:

lyrics = \lyricmode {
\repeat volta 2 { Cail -- loux cail -- laus ka -- mie -- ny I -- chi col -- bo -- ri pe -- dras al ha -- ja }
Il ceuil -- le des cail -- loux c'est un gen -- til be -- nêt.
}

word wrap

Does the editor component feature word wrap yet? I couldn't find either a menu entry nor a shortcut. Toggling line numbers might also be a wishlist request (unfortunately, I'm still hardwired to the KatePart shortcut defaults...)

dead keys seems to no more work in 2.06

Bonjour,
I'm french and need some things like û, ô ï ê and few other ones.
But, after installing 2.06 (thank for this great job !!), dead keys doesn't work anymore. It seems to happen only in frescobaldi.
I'm running debian wheezy.
Well, perhaps you can do something...

cordialement,

"Insert" menu is appeneded to "Insert" menu...

I can see this in the latest master. Steps to reproduce: launch Frescobaldi, click on "Insert" in main menubar, click on empty document, click again on "Insert"... "Insert" menu will grow every time it's clicked.

Frescobaldi: 2.0.5
Python: 2.7.2+
Qt: 4.7.3
PyQt4: 4.8.5
sip: 4.12.4
Operating System:
Linux-3.0.0-17-generic-x86_64-with-Ubuntu-11.10-oneiric

Update: Steps to reproduce even simple: launch frescobaldi, out mouse over "Insert", then get mouse out of "Insert", then mouseover again. Every time "Insert" is under mouse, it gets appended with initial "Insert" menu again.

Sorry for my english.

shortcut for comment

In frescobaldi-1.2 I could mark a line as a comment with the shortcut Strg-D. This doesn't work with frescobaldi-2*.
I need this shortcut very often.
Is there an other way to do this.

I love frescobaldi an I need it.
Thank You for Your work.

Best regards

1.9.2: Search box placement and size does not accont for scrollbars.

Hi,

I've been following the 2.x line for some time now, and would like to report something that has been annoying me for some time.

When you try a find or find/replace, the searchbox that opens does not account for scrollbars in the editing area, i.e.:

  • if you have a very small text file everything is ok,
  • if the file length exceeds what can be displayed a vertical scrollbar appears (which is expected) bu it comes on top of the searchbox close button (it is stil accessible, but half hidden).
  • if a line length exceeds what can be displayed a horizontal scrollbar appears (which is also expected). But this time for a simple search it almost hides the search text input (to the point of making it unreadable)...

It would be better to move it out of the text window to avoid that problem entirely.

Another annoyance (please tell me if you want a seperate issue on that) is that the search box does not take the focus. Hitting enter while in a search is sent to the main editing window.

Regards,
Richard.

PS: otherwise great job on this. And good luck when you will get to the point where you will begin to tackle the problem of making an installer for windows, as I feel this one will be a challenge in itself (I'm running this on windows at home, and although having it working has been a relatively easy, getting all the bells and whistles working with the various third parties (preview, midi) is a bit of a pain...

wish: more extensive snippet api

(sumbitted by Nicolas M) via the frescobaldi mailinglist)

I'd like for example moving the cursor to the next/previous note with
keyboard shortcuts. but I think it's not currently possible.
it would be nice to provide a custom mode with access to QPlainTextEdit
to provide the method setTextCursor.
and/or, better yet, create a small API with methods to facilitate access
to QTextDocument like jedit:
http://www.jedit.org/api/org/gjt/sp/jedit/textarea/TextArea.html.
This will facilitate access to people who are not familiar with Python
and PyQt.

you could create methods like:
goToNextNote
goToPreviousNote
goToNextMeasure
goToNextLine
moveCursorPosition
insertText
setSelectedText
...

and facilitate access to modules "music.py" and "tokeniter.py"
getNotesInBlock
getNoteAfterCursor
getTokensInBlock
isChordAt
getTimeSignatureAt
...

it would be nice also to provide a debug mode with a console, to use
"print" in the code or create a "print" method which sends an event to
this console.
this is already possible by running frescobaldi in a console, but it is
not practical.

you could also eventually create a database, allowing users to share
snippets.

Folding: I am able to fold only one item at a time...

...it means, once I fold one score/it's part/whatever, I can't fold anything else until I unfold the one folded item again. I suppose this isn't how the folding functionality should be working...

Frescobaldi: 2.0.5
Python: 2.6.6
Qt: 4.6.3
PyQt4: 4.7.3
sip: 4.10.2

poppler with qt4 support enabled but; "Could not load the poplerqt4 module"

Hi.
In the Music View, I see message "Could not load the poplerqt4 module"
I use frescobaldi-2.0.3 and gentoo linux. For my linux distribution, poppler support for qt installed and these libs are present:

/usr/lib64/libpoppler-qt4.so
/usr/lib64/libpoppler-qt4.so.3
/usr/lib64/libpoppler-qt4.so.3.7.0

Anyway, there is no package for gentoo called "poppler-qt4", since it is obsolated with just "poppler" that qt support is enabled. So any idea for the why frescobaldi does not work with my poppler-0.18.3? What should I do?

Note: I am trying to create a gentoo ebuild for frescobaldi-2 to put in pro-audio overlay. So gentoo users can install easily.

have to run the 'engrave' command two times in order to see changes in the preview

(Current development version)

Since two days or so it has seemed that the preview is broken somehow. After making changes in the source I have to run LilyPond (Ctrl-M) two times in order to see the changes in the preview.

I'm not sure it's Frescobaldi's fault - I tried to checkout some older commit which worked well and it didn't help. I'm confused about it, because I haven't changed anything relevant for LilyPond in the system...

Crash on startup

Last commit I am able to run is 7238fa6 (Sat Mar 17). Since then Frescobaldi crashes on startup. (See error message below.)
(Maybe it is just because the development version is in a state now which doesn't allow running it for regular users - then I will simply wait for the next release and you may ignore this issue.)

Versions of important stuff:
Python 2.6.6
PyQt4 4.7.3 (from Debian Squeeze - package 'python-gt4')
python-poppler-qt4 0.16.2

Running commit 35eb0ec (current master HEAD) crashes with this message:

Traceback (most recent call last):
File "./frescobaldi", line 3, in
import frescobaldi_app.main
File "/home/igneus/apps/frescobaldi/frescobaldi_app/main.py", line 138, in
main()
File "/home/igneus/apps/frescobaldi/frescobaldi_app/main.py", line 119, in main
win = mainwindow.MainWindow()
File "/home/igneus/apps/frescobaldi/frescobaldi_app/mainwindow.py", line 110, in init
self.createMenus()
File "/home/igneus/apps/frescobaldi/frescobaldi_app/mainwindow.py", line 777, in createMenus
menu.createMenus(self)
File "/home/igneus/apps/frescobaldi/frescobaldi_app/menu.py", line 66, in createMenus
m.addMenu(f(mainwindow))
File "/home/igneus/apps/frescobaldi/frescobaldi_app/menu.py", line 224, in menu_tools
m.addMenu(menu_tools_pitch(mainwindow))
File "/home/igneus/apps/frescobaldi/frescobaldi_app/menu.py", line 251, in menu_tools_pitch
ac = pitch.Pitch.instance(mainwindow).actionCollection
File "/home/igneus/apps/frescobaldi/frescobaldi_app/plugin.py", line 85, in instance
result.init(obj)
File "/home/igneus/apps/frescobaldi/frescobaldi_app/pitch/init.py", line 48, in init
qutil.addAccelerators(m.actions())
File "/home/igneus/apps/frescobaldi/frescobaldi_app/qutil.py", line 123, in addAccelerators
for prio, pos, accel in source:
File "/home/igneus/apps/frescobaldi/frescobaldi_app/qutil.py", line 113, in find
for prio, matches in finditers(action):
File "/home/igneus/apps/frescobaldi/frescobaldi_app/qutil.py", line 105, in finditers
key = action.shortcut()[-1] & ~Qt.ALT & ~Qt.SHIFT & ~Qt.CTRL & ~Qt.META
IndexError: sequence index out of range

wish: Jack Transport

Hey there,

what about Jack-Transport in the very nice build-in MIDI-Player of Frescobaldi? So we could sync LilyPond with other sequencers. For me very important, because I want to compose for Electronics AND orchestral / Piano.

.ly is missing by saving

hi there

when i save e.g. "song1" in frescobaldi 2.0.1, it saves as "song1" instead of "song1.ly". i think, the .ly should be added automatically (manually is ok)

best regards

musix

Open file in running instance doesn't work on windows

All is said in the title. The bug is critical on Windows.
When i change the setting in the menu, I obtain this error (see below).
If I quit the program with this setting still activated, I cannot launch Frescobaldi any more ! (either by opening a file or starting the program “normally”) (I cannot copy the message Windows gives me, but it mentions lines 43, 98, 118)

Traceback (most recent call last):
  File "C:\Program Files\Frescobaldi\frescobaldi_app\preferences\__init__.py", line 140, in saveSettings
    app.settingsChanged()
  File "C:\Program Files\Frescobaldi\frescobaldi_app\signals.py", line 175, in emit
    l.call(args, kwargs)
  File "C:\Program Files\Frescobaldi\frescobaldi_app\signals.py", line 241, in call
    self.func(*args[self.argslice], **kwargs)
  File "C:\Program Files\Frescobaldi\frescobaldi_app\remote\__init__.py", line 133, in setup
    init() if enabled() else quit()
  File "C:\Program Files\Frescobaldi\frescobaldi_app\remote\__init__.py", line 59, in init
    for name in ids():
  File "C:\Program Files\Frescobaldi\frescobaldi_app\remote\__init__.py", line 98, in ids
    i = generate_id()
  File "C:\Program Files\Frescobaldi\frescobaldi_app\remote\__init__.py", line 118, in generate_id
    return '-'.join(name)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 2: ordinal not in range(128)

2.0.1: some icons are too small (minor)

Some icons in the tool menu are too small, I don't know if it's due to windows or not:
http://img197.imageshack.us/img197/8610/frescobaldismallicons.png
(It's not a very serious issue of course)

I love the new windows installer, now Frescobaldi considered as a true program and it notably allows windows taskbar to show a list of recent files, which is quite useful.

Adding hypen files in the installer was a great idea, but I was a bit disappointed not to find any french one… (but the portugues file works pretty well with french lyrics ! :D)

unfortunate shorcut for Macos

On mac Command-M is usually used for minimizing the window. Command-R (like Run) or Command-T (like Typeset) would be a better choice.

Keyboard input ignored after using point-and-click from Music View

If I use point-and-click to focus on a position in the relevant source file window, and then immediately type some input from the keyboard, all subsequent input is lost, and I can only recover the situation by closing Frescobaldi and re-starting.

Point -and-click works if I follow up the point-and-click by clicking on the highlighted position in the source-file window.

Once you type text with the focus on the wrong window (i.e. the music view window) no amount of clicking between windows will restore the input focus to the keyboard.

Ian Hulin

1.9.2: midi tempo unstable.

Hi,

Here is a weird one.

Platform: linux Mandriva 2010, Qt 4.7, Python 2.7, all 64 bits.
Midi setup: backend is fluidsynth, startted through QSynth.

Playing a midi file from the frescobaldi player shows an unstable tempo. Note lengths are a bit erratic, while global measure length seems ok (hard to tell precisely, it's more a feeling than true measurement).

Now for the weird part: if I attach another midi player to the same midi port at the same time, not playing anything, then the tempo from frescobaldi is correct.. I discovered this by chance when tring to figure out if it was my midi setup at fault of frescobaldi 1.9.2, so I started frescobaldi 1.1.6 (installed from the system) and all of a sudden 1.9.2 worked fine...

I'll recheck later on windows.

Regards,
Richard.

wish: MIDI player should handle partial (pickup) bars

The beat changes in the inbuilt MIDI player (1.1, 1.2, 1.3, 1.4; 2.1, 2.2, 2.3, 2.4; etc.) fail to take into account partial/pickup bars when placing the beat.

This can be seen by compiling the following snippet and then playing back the MIDI:

\score {
  {
    \time 4/4
    \tempo 4 = 40
    \partial 8
    c'8 | c'4 c' c' c' |
  }
  \midi{}
  \layout{}
}

... where the actual beat is desynchronized from the music by the value of the pickup 8th.

Installation of 2.0.1 to openSUSE failed

After apparently installing frescobaldi successfully, I get the following message when trying to run it:

john@linux-nntb:/usr/local/bin> frescobaldi
Traceback (most recent call last):
File "/usr/local/bin/frescobaldi", line 3, in
import frescobaldi_app.main
File "/usr/local/lib/python2.7/site-packages/frescobaldi_app/main.py", line 115, in
startmain()
File "/usr/local/lib/python2.7/site-packages/frescobaldi_app/main.py", line 61, in startmain
help=_("Encoding to use"))
File "/usr/lib/python2.7/optparse.py", line 1018, in add_option
raise TypeError, "invalid arguments"
TypeError: invalid arguments

clicking on Chord Names in preview does not set selection in source code

This was tested on MacOS with Frescobaldi 2.0.1 and Lilypond 2.15.24. When I click on a chord name, the Lilypond application is launched but nothing happen. Also, the text bubble when leaving the mouse over a chord name indicates either nothing or "(0:0)".

See the examples in:
http://www.lilypond.org/doc/v2.15/Documentation/notation/displaying-chords#displaying-chords

The one with the chord name exceptions displays (0:0) while for the others nothing happens.

2.0: Bugs with windows

Hi,

I've been waiting for Frescobaldi 2.0 for a while, since I'm a Windows user and this version was supposed to work well on this OS.

Yet, I'm encountering many bugs (I've been trying the bug report system, but I use a webmail and the command I wrote inWindows registry doesn't work with Frescobaldi).

First, I tried to install poppler. After many researchs, I think I've been successful, as Frescobaldi seems to “detect” poppler (I have no error message linked to poppler website left in the preview window). But I still can't have any preview… (the window remains dark grey)
(I didn't try anything with the integrated midi-player)

Then, opening a .ly file is impossible (Frescobaldi runs during 0,01 second before closing, but whithout any error).
When I try a drag'n'drop to open a file, I have this error (sometimes it's longer):

Traceback (most recent call last):
File "C:\Python27\lib\site-packages\frescobaldi_app\mainwindow.py", line 188, in slotViewChanged
self.updateWindowTitle()
File "C:\Python27\lib\site-packages\frescobaldi_app\mainwindow.py", line 220, in updateWindowTitle
name.append(util.homify(doc.url().toLocalFile()))
File "C:\Python27\lib\site-packages\frescobaldi_app\util.py", line 62, in homify
homedir = os.path.expanduser('~')
File "C:\Python27\lib\ntpath.py", line 301, in expanduser
return userhome + path[i:]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 11: ordinal not in range(128)

After this error, I have the file in my tab bar with the right filename, but the file is empty (Fortunately, it doesn't “destroy” the file, Frescobaldi just can't load it).
(I remarked that the UnicodeDecodeError thing seems to occur very often, but I don't know why. Perhaps a matter of accented characters? (I'm french, so there are many of them !))

However, I can create a file and save it (but then I can't re-open it anymore), and the setup-wizard is OK.
Running Lilypond is also possible, and I can have the .pdf and .mid files. But I have some internal errors, like :

Traceback (most recent call last):
File "C:\Python27\lib\site-packages\frescobaldi_app\musicview\__init__.py", line 102, in openDocument
self.widget().openDocument(doc)
File "C:\Python27\lib\site-packages\frescobaldi_app\musicview\widget.py", line 111, in openDocument
self._links = pointandclick.links(document)
File "C:\Python27\lib\site-packages\frescobaldi_app\musicview\pointandclick.py", line 62, in links
l = _cache[document] = Links(document)
File "C:\Python27\lib\site-packages\frescobaldi_app\musicview\pointandclick.py", line 82, in __init__
m = textedit_match(link.url())
TypeError: expected string or buffer

(A problem with the point-and-click feature I think. So I tried Ctrl+Shift+P (to avoid it). The PDF preview still doesn't appear though.)

Sometimes, when parsing or typing a function, I encounter a bug, even if the syntax color is OK. It just interrumpts me.
Features like copy-paste rythm, quick insert, lyrics hyphenation (with Scribus's dicts) etc. are working perfectly well.

I also have a bug (unicodeerror) when I open “Lilypond preferences” in the option menu (even if I can change the options there).

At least, Frescobaldi doesn't “crash”, like it did when I once tried to install a previous version, some months ago. But I can't say it “works”. I'm very disappointed : Frescobaldi's features are enjoyable and well-designed, but I still can't use them !

I hope this report will help !

(Please excuse my poor english : I'm french !)

disconnecting/stopping MIDI synth while playing crashes Frescobaldi

When a MIDI softsynth is stopped while Frescobaldi is playing, PortMIDI in some Linux distributions (notably Ubuntu which I'm using currently) halts the whole program, prompting "PortMidi found host error Operation not permitted, type Enter..." on the console and then exits the whole application.

This problem is due to the Ubuntu libportmidi0 currently being a debug build somehow.

It needs to be tested if a non-debug build just causes a normal exception in this case. MIDI playback can be stopped then gracefully, possibly with a message. PortMIDI needs to be re-initialized then to see the updated devices list. This is currently being done via a button in the settings, but could also be done automatically.

use corrent encoding when opening HTML files

Currently, HTML files are opened using UTF-8 without checking the encoding set in either the <?xml> declaration or the http-equiv Content-Type header's charset value.

Frescobaldi only looks at the coding: document variable.

Of course Frescobaldi should have per filetype encoding checks and maybe even a guessing algorithm.

Printing score under Mac OS X

Something I didn't manage to get working is printing a score; I've never had problems with source code printing, it only occurs with the pdf rendering.

In both cases, the beginning of the process is normal:

  • clicking the menu line (print score or print source code) gives the same Print dialog box (I guess QT calls for a standard OS print dialog).

Then, in the case of source code, printing starts (if I choose to print to a pdf, the pdf is created without problem). If it's about printing the score, I got the message "Could not send the document to the printer".

As explained in a previous issue, PDF is first translated to ps before being sent to the printer. Is it working that way for both source code and score ? If not, could it be a source of that problem ?

I tried the lpr command with the Terminal, and it mainly works (with some margins problem), so I guess the problem is elsewhere.

Something that could help : usually, I run Frescobaldi from a shell script packed in a bundled Mac app. But when running Frescobaldi from the terminal (python frescobaldi), the "print score" menu line is greyed (inactive), while the "print source code" is working (but produces a warning in the terminal "2012-02-09 13:04:10.547 Python[54617:f07] Incorrect NSStringEncoding value 0x0000 detected. Assuming NSASCIIStringEncoding. Will stop this compatiblity mapping behavior in the near future.")

Philippe

printing only the first page

hi there,

i am using debian sid with frescobaldi 2.0.1 and nearly all works fine. but...today i tried to print a fuge with three pages (landscape a4). frescobaldi only prints the first page (i tried several printer options, but nothing changed).

with gtklp printing was fine. is this a known bug?

regards

markus aka musix

I'm your new biggest fan!

Wilbert,

I love Frescobaldi for Windoze! Even though I'm not a big fan of Windows, it's what I have on this computer, so I use it. Just a question, however. I've been opening some of my current LilyPond pieces (done previously on LilyPondTool) and making small experimental additions. When I click -M to compile, or use the menu item (preview), it seems to compile and show the time required, but does not change the PDF. Then I do it a second time, and -- bingo -- it's changed! What's the reason it seems to take two compiles to accomplish a small change? Am I doing something incorrectly?

MIDI crash

i use debian-sid and frescobaldi 2.0.1.

when i start jack (before problem 2 starts today), then qsampler with some instruments, then frescobaldi with MIDI on port 0 everything works fine. but - when i close jack & qsampler and switch to another midi-port like timidity port 0 frescobaldi crashes sometime.

after working with frescobaldi & siwtching midi (jack, no jack), i can´t select timidity or port 0 anymore! i restartet the computer, i tried to start timidity without jack, i tried to connect timidity in jack but nothing happens. the midi-preferences only show "Midi Through Port-0" or "qjackctl". both didn´t work for anything. i searched for a configurationfile of frescobaldi but found none. what now? at this moment i can´t use the built-in-player anymore :( i use timidity as player and load some midi-files. what can i do? just build the newiest frescobaldi?

suggestion: midi-built-in-player: volume-control like in itmidity

Cannot use development version of lilypond from Frescobaldi

I've successfully built a development version of LilyPond from git. I use Edit/Preferences/LilyPond Preferences.
I add the development version to the list. I have the full path to the LilyPond development version (/home/ian/src/lilypond/build/out/bin/lilypond) entered in the edit box. I have ticked the 'set as default' option and clicked OK on the Preferences box, yet the next compilation from within Frescobaldi will only use the stable 2.14.2 version.

Ian Hulin

planned: LilyPrompt (was: wish: "lisp")

hi there,

do you know lisp? this porgrammer language compiles immadiatly when programming. so, what about such a "function" for frescobaldi in the future? i mean ... you write "c4 d e f g2 g a4 a a a g1" and frescobaldi will engrave only these notes - "realtime" - and adds this to the existing notes?!

this would be a very luxury feature. no basic feature, but something for frescobaldi V3.0 ?! :)

greetings.

wrong midi-sound when saved and engraved

i work on a piece for woodwinds. when i changed the music, saved and engraved and wanted to play my midi at, let´s say, measure 5 and not at the beginning, the midi instrument is always the piano, not the chosen woodwinds. when i start the build-in player at the beginning and then switch forward, all works fine till the next save&engrave.

so, the start of the midifile with the built-in-player of frescobaldi at the beginning is necessary for the right sounds.

i use debian sid (minimal) with frecobaldi 2.0.1 and lilypond 2.14 with timidity (fluidsynth-sounds) in the preferences.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.