PG Music Home
Posted By: Pipeline Biab SGU MGU to Text Chords Win Lin (Mac ?) - 01/08/20 10:33 PM
Not sure what version the Mac one works on ?
https://sixthhappiness.github.io/articles/chart-translate/index.html
Thanks to Andrew Choi for creating it.

Full Screen Pic

Attached picture ChartTranslate.gif
Posted By: RayL Re: Biab SGU MGU to Text Chords Win Lin (Mac ?) - 02/11/20 11:52 AM
Nice idea. But it will not work on any current Mac that is running OSX Catalina until the author updates it to follow Apple's security rules.

Attached picture Screen Shot 2020-02-11 at 9.51.42 AM.png
I think the only way to tackle Apple's app redundancy policy (where just about every app that is older than a few months has to be made redundant with each update and the developer has to come out of retirement and run behind Apple to re-code it or spend $$$$ to code a 64bit version of it)
is use the free VirtualBox with Windows (you can get a Window 10 product key on eBay cheap for a new install only) and use the Windows version of the app, use VirtualBox with an older version of Mac maybe with Rosetta even for PPC apps.
If you don't mind paying for a virtual machine look at Run 32-bit apps on Catalina with Parallels DesktopĀ®

Apple fined for slowing down old iPhones

See the link under this video to download VirtualBox High Sierra VMDK
https://www.youtube.com/watch?v=VhbMyn9iI98



https://www.youtube.com/watch?v=-b6yaKVOwzA
Finally I see some perks in not upgrading my Mac's OS for so long wink

No "security" issues to stop me here, ta cool
By the way, Pipeline, his MyJazzband thing sounds really cool but all his links seem to be dead, if you managed to grab them before they went down or know of alternative places to find them?
They are in the first post as an attachment ChartTranslate_Win-Mac-Lin.zip.mp4
But the links seem to still be working I think you had an issue with the browser you were another time, unless his server was down.
That service his blog refers to hasn't been up for weeks now, so I took that for simply n/a anymore at all. I'll see what your link gives me, thanks.
The links were down a while back, I let him know and he fixed them.
Try clearing the cache Apple + R or command + R or right click the refresh button or ctrl + F5.

Attached File
blog.gif  (0 downloads)
Interesting but still no show for me. Whenever I try click on his .zip link for MJB lite, I just keep getting the same triangle alert page with the text

"Members Webspace has been retired

Please visit www.shaw.ca/appretirement for more details."

Haven't gotten around to checking the actual contents of your file however, things getting a bit hectic with my current project.
try these
https://sixthhappiness.github.io/articles/chart-translate/charttranslate.zip

https://sixthhappiness.github.io/articles/chart-translate/dist.zip

https://sixthhappiness.github.io/articles/chart-translate/dist.tgz
I think you may have misunderstood me, I got that application just fine. It's the MyJazzBand application that he talks about which I can't seem to get a hold of, neither the Lite version nor the (presumably) 'full' version.
Sorry, I remember now I could not download that either from
https://sixthhappiness.github.io/articles/myjazzband-2-lite/index.html

There is one here
https://macdownload.informer.com/myjazzband/
Andrew is very helpful you can contact him sixthhappiness(at)gmail.com
I told him about the dead links for the chart translator and he fixed them.

MyJazzBand is a MIDI jazz accompaniment generation application that incorporates intelligent jazz chord and scale analysis, a modern native Mac OS X Cocoa user interface, Band-in-a-Box file format compatibility, and much more.
MyJazzBand can import chord sequences from Band-in-a-Box files. This lets you use BIAB files you already have and the large number of BIAB "real-books" you can download from the Internet.






Attached File
MyJazzBand.gif  (58 downloads)
That helps! The one thing I did not have in this latest reply was how to get a hold of the man himself. So with that new piece of information I can get out of your hair about this whole thing now and move forward on my own, thanks cool

Oh, and I've read that quoted outline you've included about the program already too, it cites precisely why I'm so interested in getting it in the first place wink
Thanks for putting me back onto that ! the download links are fixed now
https://sixthhappiness.github.io/articles/myjazzband-2-lite/index.html
I can add that to Reaper to generate up jazz tracks from user input chords.
I tried it on Win10 worked fine, not working on 10.9 or 10.14 (suppose to work on Tiger 10.4), I think you have 10.9
I sent Andrew the error and ask if it's an easy fix or a major issue. Let's hope it's a simple fix !

It works like the chart translator just drag the SGU MGU or text file on mjb2lite.exe/app and it will create a jazz midi file.

I uploaded (below) some midi samples converted from some SGUs dragged onto mjb2lite.exe there's also Blues #40 from the text info below and the apps that I will update if the Mac version is fixed.

Quote:
MYJAZZBAND 2 LITE

MyJazzBand 2 Lite (MJB2Lite) is a complete rewrite of my shareware
program MyJazzBand. MyJazzBand, now discontinued, was a MIDI
application for generating jazz accompaniments. MJB2Lite has been
written as a prototype for testing composition algorithms that will be
used in MyJazzBand 2, a shareware program that I hope to build and
release in the future.

Information about and downloads for MJB2Lite can be found at my
website:

http://www.sixthhappiness.ca/index.html

Please ask questions about and discuss the MJB2Lite program on the
bulletin board at that website,

MJB2Lite is an on-going project and will be updated from time to time.
I am also hoping that the release of MJB2Lite will serve as
"advertisement" for my website and my future shareware. For these and
other reasons, please do not redistribute MJB2Lite. The software
license I have chosen for it prohibits you from doing so. I will
greatly appreciate it if you provide a link to my website instead.

FILE FORMAT

MJB2Lite reads chord charts in its "native" format: text files with
extensions ".mjb" or ".toe". Here is an example of the contents of
such a file:

Name: Blues #40
Meter: 4/4
Style: Swing
Key: F
Tempo: 132
Chorus: bars 1 to 12 (repeat 3 times)
Sections: 1A
| FMaj7 | Em7b5 A7 | Dm7 G7 | Cm7 F7 |
| BbMaj7 | Bbm7 | Am7 | Abm7 Db7 |
| Gm7 | C7 | FMaj7 D7 | Gm7 C7 |
| FMaj7 |

You can input your own chord charts using a text editor and save the
file in "plain text" format with an extension of ".mjb" or ".toe".

MJB2Lite can also read chord charts in files written by the
Band-in-a-Box program. Numerous files in this format can be found on
the Web. Look for them with Google, for example:

http://www.google.com/search?hl=en&rls=en&q=band-in-a-box+files+jazz&btnG=Search

BIAB format files have extensions ".sg?" or ".mg?", where ? is a digit
or letter.

Currently MJB2Lite can only generate accompaniment for a chart in 4/4
time in a "swing" style. The style works well only in medium tempo.

USAGE

On Mac OS X, the downloaded and unzipped folder MJB2Bite should
contain the application MJB2Lite. Drag and drop one or more input
files in the MJB2Lite "native" or BIAB format (e.g., the included
sample input file "Blues #40.mjb") onto this application icon. The
generated MIDI accompaniment file will have the same name as input
file, but with the ".mid" extension added to the end. The MJBLite
window will stay open so you can read the error messages if there are
any. To quit MJB2Lite, choose "quit" from its menu. The generated
MIDI files can be played in the Finder or QuickTime Player, or
imported into any MIDI sequencer.

On Windows (tested only on Windows XP), the downloaded and unzipped
folder "dist" should contain the program "mjb2lite.exe". Drag and
drop one or more input files onto this program icon. Alternatively,
you can invoke this program from the command line:

mjb2lite <inputfile> ...

The generated MIDI file can be played in Windows Media Player
(double-click on the MIDI file), or whichever program you have set up
to handle MIDI files in Windows.

On other systems (such as Linux and BSD), make sure you have Python
2.5 installed. The downloaded, gunzipped, and untarred directory
"dist" should contain the file mjb2lite.py. In a shell, type:

python mjb2lite.py <inputfile> ...

Alternatively make mjb2lite.py executable using "chmod". Then type:

./mjb2lite.py <inputfile> ...

If you have questions, please ask them on the bulletin board.

Enjoy the MJB2Lite program!

Andrew Choi.
akochoi (at) shaw (dot) ca
Brill, I'll grab the lot and have a look at all of this... you big "fixer", you cool
The error is because 10.4 used an older version of python.
I tried a lot of workarounds but haven't got it to work natively.
However I did get it to work with Wine, so if you have Wine installed:
in the terminal type
Code:
wine cmd


then change directory to the unzipped windows version, type
Code:
cd Downloads\mjb2lite-win-dist


then with the .SGU or .mjb file in the same folder, type
Code:
mjb2lite.exe "my song.SGU"


it will the create the midi file my song.SGU.mid

if you don't get the Windows command prompt with
Code:
wine cmd

then in the terminal type
Code:
sudo ln -s /Applications/Wine\ Stable.app/Contents/Resources/wine/bin/wine /usr/local/bin/wine
sudo ln -s /Applications/Wine\ Stable.app/Contents/Resources/wine/bin/winecfg /usr/local/bin/winecfg
sudo ln -s /Applications/Wine\ Stable.app/Contents/Resources/wine/bin/msiexec /usr/local/bin/msiexec

If you installed 64-bit wine also:
Code:
sudo ln -s /Applications/Wine\ Stable.app/Contents/Resources/wine/bin/wine64 /usr/local/bin/wine64



Attached picture wine-mac-mjb2lite.png
I'm not sure I understood all of that (meaning I didn't), but given my fairly old OS I was pretty hopeful that it would work but it doesn't smirk
After dropping the included "Blues #40.mjb" file onto MJBLite as instructed, I get an applescript error (of which I understand even less) and then have to force-quit the program to get out of it again. Is this the error you're now referring to?

Attached picture Screen shot 2020-03-15 at 15.48.41.png
And now I find that ChartTranslate also gives a constant AppleScript error! So at the end of the day I can't use either of his highly promising programs smirk

Attached picture Screen shot 2020-03-16 at 15.13.40.png
Yes that's the error, 10.4 came with an earlier version of Python this is what the app is using.
If you open terminal and type python --version you should get 2.7.5 on 10.9 but Tiger was using 2.3.5
The easiest solution is install Wine and they will all work using the Win version of the apps.
Ah right, now I'm with you, thanks for clarifying.

Still a bit of a disappointment, here's hoping the renewed interest in his programs from here (which are obviously quite dated) sparks his incentive for updating.
ReaTrak-mjb2lite.mp4
https://forum.cockos.com/showthread.php?p=2258950#post2258950

Have a look here https://www.mellowood.ca/mma/
there's a Win and Mac version.
Will do, ta cool
...and http://jchordbox.sourceforge.net/ Mac/Lin/Win
I must be dense for I only can locate the wrong platform version of this last one smirk
It should be multiplatform Java
extract
jchordbox-0.5b
and in the lib folder you should have
jchordbox.jar
run it and use the arrow key to navigate

there is one listed here for Mac but it's v0.10 jar
https://mac.softpedia.com/get/Utilities/JChordBox.shtml
Just tried it on the Mac 10.9
works good ! use cursor keys, enter or esc to navigate.
Another one I can add to Reaper as it can use command lines, just got to work out the chord xml input.



Attached File
JChordBox-Mac2.gif  (23 downloads)
Worth a shot, ta again
© PG Music Forums