It is currently Fri Jul 28, 2017 12:51 am

All times are UTC - 6 hours


Forum rules


Please see forum announcement for description and rules!



Post new topic Reply to topic  [ 12 posts ] 
Author Message
 
PostPosted: Thu Jul 04, 2013 4:09 pm 
Offline
User avatar

Joined: Sat Jan 29, 2005 4:22 am
Posts: 790
i like the barfly i was using for years but it does not work for my new system any others out there

_________________
Choose you this day, whom ye shall serve


Top
 Profile  
Reply with quote  
 
PostPosted: Thu Jul 04, 2013 9:06 pm 
Offline
User avatar

Joined: Sun Mar 20, 2011 6:39 am
Posts: 219
Location: Northwest Indiana
I checked the Barfly website, www.barfly.dial.pipex.com. Quote:

"Please note that BarFly does not currently work under OS 10.7 (Lion). While I may be able to fix this at some point, there are a number of technical problems, and it's not likely to happen in the very near future."

So I imagine you're not alone. While I'm sorry you're experiencing this problem, I'm glad you brought it up, because now I know to hold off on upgrading my own system. Thanks!


Top
 Profile  
Reply with quote  
 
PostPosted: Thu Jul 04, 2013 9:07 pm 
Offline

Joined: Thu Feb 07, 2008 3:30 pm
Posts: 562
Location: Ohio
I use 'Ernie' on OS 10.7 - I have not tried it on 10.8 or 10.9 yet

edit: I used to use Barfly and Skink - I used the latter most before converting to Ernie

_________________
“When a Cat adopts you there is nothing to be done about it except put up with it until the wind changes.” T.S. Elliot


Top
 Profile  
Reply with quote  
 
PostPosted: Thu Jul 04, 2013 10:15 pm 
Offline

Joined: Thu Feb 07, 2008 3:30 pm
Posts: 562
Location: Ohio
a link to Ernie:

http://geophysics.kos.net/ernie/

_________________
“When a Cat adopts you there is nothing to be done about it except put up with it until the wind changes.” T.S. Elliot


Top
 Profile  
Reply with quote  
 
PostPosted: Fri Jul 05, 2013 2:50 am 
Offline
User avatar

Joined: Tue Jan 17, 2012 4:51 pm
Posts: 75
Location: Prague, CZ
I use EasyABC http://www.nilsliberg.se/ksp/easyabc/
I used Ernie before, but it was unstable and EasyABC seems to work better.


Top
 Profile  
Reply with quote  
 
PostPosted: Fri Jul 05, 2013 9:58 am 
Offline
User avatar

Joined: Sat Jan 29, 2005 4:22 am
Posts: 790
kmarty wrote:
I use EasyABC http://www.nilsliberg.se/ksp/easyabc/
I used Ernie before, but it was unstable and EasyABC seems to work better.

i did the easyabc, but it works weird, does not delete songs right, it felt glitchy-- it echoed too

_________________
Choose you this day, whom ye shall serve


Top
 Profile  
Reply with quote  
 
PostPosted: Fri Jul 05, 2013 10:40 am 
Offline
User avatar

Joined: Tue Jan 17, 2012 4:51 pm
Posts: 75
Location: Prague, CZ
Weird newlines: Yes, it randomly mixing '\r' and '\n' as a newline (it is a bug).
Echo: It uses system midi sequencer which is weird since some version of OS X. That's general problem of OS X, not just EasyABC. Result is quiet and echoed.

Nevertheless it is the best ABC editor/player I've found yet for MT. Sad, isn't it?


Top
 Profile  
Reply with quote  
 
PostPosted: Sat Jul 06, 2013 7:15 am 
Offline
User avatar

Joined: Sat Jan 29, 2005 4:22 am
Posts: 790
kmarty wrote:
Weird newlines: Yes, it randomly mixing '\r' and '\n' as a newline (it is a bug).
Echo: It uses system midi sequencer which is weird since some version of OS X. That's general problem of OS X, not just EasyABC. Result is quiet and echoed.

Nevertheless it is the best ABC editor/player I've found yet for MT. Sad, isn't it?

too bad Barfly was great

_________________
Choose you this day, whom ye shall serve


Top
 Profile  
Reply with quote  
 
PostPosted: Sat Jul 06, 2013 7:56 pm 
Offline

Joined: Sat Nov 21, 2009 10:45 pm
Posts: 670
I don't understand the problems expressed about EasyABC. There are a couple of errors in the last release though. If you are having trouble with EasyABC drop me a note off list about it and I'll try to help. I've been using it since it first came out and except for those glitches in the last version (fixed in the version I have) have not had any serious issues.

I've never heard the echoing problem. EasyABC uses abc2MIDI to playback. Perhaps you have an early version with an early version of abc2MIDI that has the problems. I don't have that problem here.


Top
 Profile  
Reply with quote  
 
PostPosted: Sun Jul 07, 2013 6:09 am 
Offline
User avatar

Joined: Tue Jan 17, 2012 4:51 pm
Posts: 75
Location: Prague, CZ
The only thing what concern me in EasyABC is strange behaviour with newlines. Everytime I editing "abc" file, after that I open it with vim editor and check whether newlines are good. Sometime yes, sometime not (didn't find the reason why EasyABC corrupts it).
When ABC file is with "unix lines" ('\n' or '0A'), then only edited lines are weird (newly added newlines has '\r\n'). When ABC file is with "DOS newlines" ('\r\n' or '0D0A') then all lines which wasn't edited are corrupted (they has just '\r' as newline):
Image
Image

About echo/reverb and quiet play I'm convinced that it is not caused by EasyABC (abc2midi), because it is general thing in Mountain Lion. You can create MID file everywhere else and when is played (for example in QuickLook) in OS X, it is quiet and with reverb.


Top
 Profile  
Reply with quote  
 
PostPosted: Sun Jul 07, 2013 8:23 pm 
Offline

Joined: Sat Nov 21, 2009 10:45 pm
Posts: 670
Hmmm. The end line issue shows up everywhere because of the different ways different operating systems handle the different line ends. I'm sure you know that though. I do not know the code in that area of the program, but will try to contact some folks and see what I can see. I'll get back to you if I discover what the issues are.

I don't use Mountain Lion (OS 10.7 here) so I can' speak for that MIDI issue. Fascinating though...and stupid if Apple really did it on purpose...


Top
 Profile  
Reply with quote  
 
PostPosted: Mon Jul 08, 2013 3:28 am 
Offline
User avatar

Joined: Tue Jan 17, 2012 4:51 pm
Posts: 75
Location: Prague, CZ
cboody wrote:
... I do not know the code in that area of the program, but will try to contact some folks and see what I can see....
There is funny that source code itself has the same problem (i.e. mixed dos/unix newlines) :-).
Also I'm not sure that it is a good idea to open a text file as a binary file - it bring more troubles because of using os.linesep and/or explicit separating/including '\r' for DOS/Windows:
Quote:
Do not use os.linesep as a line terminator when writing files opened in text mode (the default); use a single '\n' instead, on all platforms.
Which doesn't have to be used when file is opened as text file.

EDIT: I'm not familiar with Python, but this should be minimal solution to me:
Code:
--- easy_abc.py.orig    2012-07-23 18:50:58.000000000 +0200
+++ easy_abc.py 2013-07-08 21:44:44.000000000 +0200
@@ -1862,7 +1862,11 @@
         self.tune_list.SetAutoLayout(True)
         self.editor = stc.StyledTextCtrl(self, -1)
         self.editor.SetCodePage(stc.STC_CP_UTF8)
-       
+        if wx.Platform == "__WXMSW__":
+            self.editor.SetEOLMode(stc.STC_EOL_CRLF)   # for DOS/Windows
+        else:
+            self.editor.SetEOLMode(stc.STC_EOL_LF)     # almost every OS except DOS/Windows
+
         self.music_pane = MusicScorePanel(self, lambda: self.zoom_factor, self.settings['can_draw_sharps_and_flats'])
         self.music_pane.SetBackgroundColour((255, 255, 255))
         self.music_pane.OnNoteSelectionChangedDesc = self.OnNoteSelectionChangedDesc
@@ -3042,12 +3046,13 @@
             wx.MessageBox(_("Could not find file.\nIt may have been moved or deleted. Choose File,Open to locate it."), _("File not found"), wx.OK)
             return

-        if wx.Platform == "__WXMAC__":
-            text = text.replace('\r\n', '\r')
-        else:
+        # '\r' was used by pre-OS X Mac. All Macs with OS X has '\n' as newline as well as unix(-like) systems (incl. Linux)
+        if wx.Platform == "__WXMSW__":
             text = re.sub('\r+', '\r', text)
             if not '\n' in text:
-                text = text.replace('\r', '\r\n')       
+                text = text.replace('\r', '\r\n')
+        else:
+            text = text.replace('\r\n', '\n')

         self.current_file = filepath
         self.document_name = os.path.basename(filepath)

But still, better should be treat with ABC files as with text files, not binary files.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
[ Time : 0.135s | 13 Queries | GZIP : On ]
(dh)