GLydian with Mac OSX

  • Thread starter Thread starter spakuloid
  • Start date Start date
spakuloid

spakuloid

New member
Hey there-
I'm having trouble getting the G-Lydian software to work with OSX.4.9 with all the latest java upgrades. I know my midiman 1x1 is functioning because I use it to dump line 6 patches back and forth to my hard drive with my other rig. Any ideas why there is no midi going to and from the G-Major? I have tried setting it to omni.

Also - a user manual of sorts would really be great. Just a pdf setup guide.

The program looks great BTW. Can't wait to get it to function.
 
:|::QBB:
spakuloid":35e73 said:
Hey there-
I'm having trouble getting the G-Lydian software to work with OSX.4.9 with all the latest java upgrades. I know my midiman 1x1 is functioning because I use it to dump line 6 patches back and forth to my hard drive with my other rig. Any ideas why there is no midi going to and from the G-Major? I have tried setting it to omni.

Also - a user manual of sorts would really be great. Just a pdf setup guide.

The program looks great BTW. Can't wait to get it to function.
Hello,
It is always good to here from a Mac user even if it is about a problem.
Idea of user manual is always in my list of TO DOs but when ever I get some time to work on GLydian I tend to enhance the features of it rather than documenting. But it is time now we should spend some time on user manual.
I hope you are using GLydian version 1.4 which is available in this forum.
As usual I have to ask you few common questions.
1. Were you able to use any other software to communicate with G-Major using your midi interface, Like to do a bulk dump. because G-Major is known to have problems with few Midi interfaces.

2. What is the version of java installed in your system. You can do this by just starting up the terminal and typing
java -version
GLydian needs java 1.5 or grater installed in your system.

3. Can you run GLydian using terminal.
move to the folder where you extracted GLydian.zip and then move to bin folder. now type following
java -cp .;GLydian.jar GLydian
this should start up GLydian and it should spit out all the debug messages to the terminal. Now go to MIDI->Midi port setup and see what midi devices available for in and out. select appropriate ports.
Now
a. try to receive playing patch from G-Major by clicking Rx Playing button
b. try to send the patch being edited in GLydian to G-Major by clicking Tx Playing button.

Now copy the stuff thrown on to the terminal and send it to me.
May be that will explain what was wrong.
Thanks,
GLydian
 
I will try this and get back to you this afternoon. Thanks for the quick reply.

here is my java info:

java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)
Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing)
 
Midi Dump and receive works.

Can not seem to get Terminal to open G-Major. I am not used to using terminal but if you give me explicit instructions - I am sure I can make it work.

Even dragging the G-Lydian folder into terminal and then typing what you highlighted does not work. I get this:



Last login: Sat Apr 7 15:30:50 on ttyp1
Welcome to Darwin!
David-McClellans-Computer:~ davidmcclellan$ java -cp .;GLydian.jar GLydian
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)

where options include:
-client to select the "client" VM
-server to select the "server" VM
-jvm is a synonym for the "client" VM [deprecated]
-hotspot is a synonym for the "client" VM [deprecated]
The default VM is client.

-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A : separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-version:<value>
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:<libname>[=<options>]
load native agent library <libname>, e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:<pathname>[=<options>]
load native agent library by full pathname
-javaagent:<jarpath>[=<options>]
load Java programming language agent, see java.lang.instrument
-bash: GLydian.jar: command not found
David-McClellans-Computer:~ davidmcclellan$
 
Hi
open up the Mac terminal, change the directory to where you have extracted the GLydian zip
Now just go to GLydian folder where you can see GLydian.jar and ./resources folder.

then type:

java -classpath .:GLydian.jar GLydian

it should start GLydian and spit off all the junk I am writing on to the console. You can copy the out put once you get the error.

Here is another way to do it:
And if you want to redirect the output to a file just type
java -classpath .:GLydian.jar GLydian &> glydian_output.txt
then it will create a file glydian_output.txt and dump the output messages to that file. you can send me that file.when you get errors.

In above commands
.:GLydian.jar
part is the path to program jar file and the resource folder. So actually you can run it from anywhere if you give the correct path to those two itmes.
 
I'm gonna take this one BABY step at a time because I am NOT a programming person.

1. I open Terminal and get a new SHELL WINDOW. which reads:

Last login: Sun Apr 8 16:21:18 on ttyp1
Welcome to Darwin!
David-McClellans-Computer:~ davidmcclellan$


2. In order to change the working directory I DRAG and DROP the PURE JAVA folder on my desktop (that contains the unzipped GLydian program) onto the OPEN TERMIANL WINDOW - and the working directory is changed to THIS:

Last login: Sun Apr 8 16:21:18 on ttyp1
Welcome to Darwin!
David-McClellans-Computer:~ davidmcclellan$ /Users/davidmcclellan/Desktop/Pure\ Java/



{{{{IF there is a better way to do this then I need EXPLICIT INSTRUCTIONS on how - because mac help says if you drag and drop the folder it changes the directory. I DO NOT know how to navigate through directories using terminal.}}}

3. I CUT and PASTE YOUR COMPUTER CODE: java -classpath .:GLydian.jar GLydian ---into the terminal and hit ENTER.

4. This is what I get:

Last login: Sun Apr 8 16:11:14 on ttyp2
Welcome to Darwin!
David-McClellans-Computer:~ davidmcclellan$ /Users/davidmcclellan/Desktop/Pure\ Java/ java -classpath .:GLydian.jar GLydian &> glydian_output.txt
David-McClellans-Computer:~ davidmcclellan$ java -classpath .:GLydian.jar GLydian
Exception in thread "main" java.lang.NoClassDefFoundError: GLydian
David-McClellans-Computer:~ davidmcclellan$ /Users/davidmcclellan/Desktop/Pure\ Java/Java -classpath .:GLydian.jar GLydian
-bash: /Users/davidmcclellan/Desktop/Pure Java/Java: No such file or directory
David-McClellans-Computer:~ davidmcclellan$ /Users/davidmcclellan/Desktop/Pure\ Java/ java -classpath .:GLydian.jar GLydian
-bash: /Users/davidmcclellan/Desktop/Pure Java/: is a directory
David-McClellans-Computer:~ davidmcclellan$


5. The GLydian program does not open.

I have no clue what I am doing wrong here. Help. BABY STEPS. :doh:
 
I GOT IT TO WORK FINALLY!!!!!

HERE IS THE CODE:

Last login: Sun Apr 8 16:38:16 on ttyp2
Welcome to Darwin!
David-McClellans-Computer:~ davidmcclellan$ cd /Users/davidmcclellan/Desktop/Pure\ Java/
David-McClellans-Computer:~/Desktop/Pure Java davidmcclellan$ java -classpath .:GLydian.jar GLydian
GLydian Patch editor for T.C.Electronics G-MAJOR GUITAR PROCESSOR
Version 1.3.0 beta
Author : Nandana Perera
Thanks to DowntownPauly for the great MIDI deciphering work!
This is a beta version of the program. It may contain bugs and unfinished features. We depend on your feedback, So please give us your bug reports and feature requests
THIS PROGRAM PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
Before load
-- listing properties --
MAINDISPALY_BACKGROUND_OVERLAY_IMG=resources/GLydianTextureGradiant3.png
LABLE_FONT_STYLE=0
MIDI_DIVICE_OUT=
EDIT_FONT=Arial
MENU_FONT_STYLE=0
RACK_U1_WIDTH=765
MENU_FONT_SIZE=10
LABLE_FONT=Tahoma
TITLEBAR_BACKGROUND_IMG=resources/TitleBarBacground.png
NO_OF_ITEMS_IN_A_MENU=15
MAINDISPALY_BACKGROUND_IMG=resources/GLydianTexture6.png
DB_FILE=/Users/davidmcclellan/Desktop/Pure Ja...
EFFECT_BACKGROUND_IMG=resources/GLydianTexture6.png
RACK_EQPANEL_WIDTH=180
WORK_DIR=.
MIDI_DIVICE_IN=
EFFECT_BACKGROUND_ON_OVERLAY_IMG=resources/GLydianTextureGradiant3.png
LABLE_FONT_SIZE=10
MENU_FONT=Tahoma
RACK_U1_HEIGHT=115
RACK_MAIN_DISPLAY_HEIGHT=200
EDIT_FONT_SIZE=11
RACK_MAIN_DISPLAY_WIDTH=320
RACK_EQPANEL_HEIGHT_WIDE_FORMAT=210
WIDE_SCREEN_FORMAT=true
RACK_MAIN_DISPLAY_HEIGHT_WIDE_FORMAT=170
After Load
-- listing properties --
MAINDISPALY_BACKGROUND_OVERLAY_IMG=resources/GLydianTextureGradiant3.png
LABLE_FONT_STYLE=0
MIDI_DIVICE_OUT=Real Time Sequencer
EDIT_FONT=Arial
MENU_FONT_STYLE=0
RACK_U1_WIDTH=765
MENU_FONT_SIZE=10
LABLE_FONT=Tahoma
TITLEBAR_BACKGROUND_IMG=resources/TitleBarBacground.png
NO_OF_ITEMS_IN_A_MENU=15
MAINDISPALY_BACKGROUND_IMG=resources/GLydianTexture6.png
DB_FILE=/Users/davidmcclellan/Desktop/GLydian...
RACK_MAINDISPLAY_HEIGHT=230
EFFECT_BACKGROUND_IMG=resources/GLydianTexture6.png
RACK_EQPANEL_WIDTH=180
WORK_DIR=.
MIDI_DIVICE_IN=Real Time Sequencer
EFFECT_BACKGROUND_ON_OVERLAY_IMG=resources/GLydianTextureGradiant3.png
LABLE_FONT_SIZE=10
MENU_FONT=Tahoma
RACK_U1_HEIGHT=115
RACK_MAINDISPLAY_WIDTH=310
RACK_EQPANEL_HEIGHT=230
RACK_MAIN_DISPLAY_HEIGHT=200
EDIT_FONT_SIZE=11
RACK_MAIN_DISPLAY_WIDTH=320
RACK_EQPANEL_HEIGHT_WIDE_FORMAT=210
WIDE_SCREEN_FORMAT=true
RACK_MAIN_DISPLAY_HEIGHT_WIDE_FORMAT=170
height: 625.0 Width: 1092.0
>>>> GET PATCH: FACTORY NUMBER: 0
Received
null
>>>> GET PATCH: FACTORY NUMBER: 0
Received
null
Focus lost :1
>>>> GET PATCH: USER NUMBER: 1
Received
null
>>>> GET PATCH: FACTORY NUMBER: 2
Received
null
>>>> GET PATCH: FACTORY NUMBER: 2
Received
null
Focus lost :5
>>>> GET PATCH: FACTORY NUMBER: 5
Received
null
>>>> GET PATCH: FACTORY NUMBER: 0
Received
null
 
I noticed that in the code I pasted above it says Version 1.3.0 beta - HOWEVER in the program HELP > ABOUT GLYDIAN Tab window it reads clearly Version 1.4 beta

Perhaps there is some mismatch and that is why my midi does not work with it.
 
:|::QBB:
spakuloid":f4a0e said:
I noticed that in the code I pasted above it says Version 1.3.0 beta - HOWEVER in the program HELP > ABOUT GLYDIAN Tab window it reads clearly Version 1.4 beta

Perhaps there is some mismatch and that is why my midi does not work with it.
Hi,
Bravo, you are doing good on figuring things out your self.
For now ignore the Version mismatch. I'll check it later. But the problem you are having is GLydian does not know what MIDI ports to use for communicate with G-Major. It looks like you have not done the MIDI setup for GLydian yet. My bad I forgot to mention that before.

Please do the same steps you did last time to run GLydian from terminal.
Now go to MIDI menu and click on MIDI Setup sub menu. It will pop-up MIDI setup dialog. See if you can select the correct MIDI in and out ports in to the selection boxes.
 
Yeah I already tried this earlier. Midi port options in GLyd have no dropdown options other than REAL TIME SEQUENCER. I have my MIDI set up corretly through the Mac using Midi setup utility. For some reason GLYD will not give me any other port options.
 
:|::QBB:
spakuloid":51047 said:
Yeah I already tried this earlier. Midi port options in GLyd have no dropdown options other than REAL TIME SEQUENCER. I have my MIDI set up corretly through the Mac using Midi setup utility. For some reason GLYD will not give me any other port options.
I am really sorry for taking you guys this far to figure out this problem. It looks like by default Java is not supporting external MIDI communication in Mac OS X. Big bummer. Suck you Steve Jobs.
But do not give up hopes. I found one shareware product called "Mandolane MIDI SPI" which enables the external MIDI communication in java. They have free demo version, which displays some reminder dialog. If you don't mind trying it out here is the details.
Download the package from:
http://www.mandolane.co.uk/dlMandoMidi.html
And the readme guide says
Installation
------------
1) Drag the files libMandoMidiJNILib.jar and libMandoMidiJNILib.jnilib to the folder /Library/Java/Extensions. Both files have to be present for it to work.

2) If you are updating then be sure to change both files - the software won't work if only one file is updated.

3) If you have previously installed Plumstone, then you should de-install it by dragging the plumstoneserv.jar file out of /Library/Java/Extensions to the trash

4) To de-install Mandolane MIDI SPI, drag the jar and jnilib files to the trash.

This has nothing to do with GLydian, it is basically upgrading your java to support external MID communication.
Now try to run GLydian as usual and see if you can select the MIDI ports in MIDI setup section in GLydian.
If you decide to go with Mandolane and install it please let us know and I will update my comments in download section.
And Big thanks to you for helping out to figure out the issue.
Thanks,
GLydian

Please note I have no any association with Mandolane MIDI SPI and only found out today but it was also referred by the people did initial opensource Java sound API .(http://www.jsresources.org/faq_general.html#ask_apple)
 
I'll try it and post when I get a free moment from work.

Thanks for all the great suport!! ;)
 
OK - Tried it out using Mandalone MIDI SPI and it works like a charm.

Awesome - thanks for the help!!
 
:|::QBB:
spakuloid":f1277 said:
OK - Tried it out using Mandalone MIDI SPI and it works like a charm.

Awesome - thanks for the help!!

Big thanks to you for helping us to test it on Mac OS.
Please upload a screen-shot when you get a chance.
And I'll update my comments in download section on Mac installation.
Does that demo version of Mandalone is time limited.

GLydian
 
How hard would it be to make it so that you can type in numeric values as well as moving the dials with the mouse to adjust parameters?

The dials seem a bit small. Not that I am complaining -- I think it is great. Just a comment after using it a bit. :D
 
:|::QBB:
spakuloid":f2d1d said:
How hard would it be to make it so that you can type in numeric values as well as moving the dials with the mouse to adjust parameters?

The dials seem a bit small. Not that I am complaining -- I think it is great. Just a comment after using it a bit. :D

It is not that hard but I am not quit clear how the interface should behave. May be pop-up a small text box when user start typing numbers.

But for now you can use up/down arrow keys for big step changes and left/right arrow keys for small changes.
Click mouse and drag is for getting to the ballpark and then
single clicks will change one small step to the side you click.
If you have a wheel mouse it should work too.
Let me know if these work in Mac OS too.
Thanks
GLydian
 
gLydian doesn't start... I followed all instructions above but... it doesn't work! here's the code I get from the terminal

thank you for all this great work, you're making things better for a lot of people!


PaoloBook:/Applications/GLydian/Pure Java PaoloB$ java -classpath .:GLydian.jar GLydian
GLydian Patch editor for T.C.Electronics G-MAJOR GUITAR PROCESSOR
Version 1.3.0 beta
Author : Nandana Perera
Thanks to DowntownPauly for the great MIDI deciphering work!
This is a beta version of the program. It may contain bugs and unfinished features. We depend on your feedback, So please give us your bug reports and feature requests
THIS PROGRAM PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
Before load
-- listing properties --
MAINDISPALY_BACKGROUND_OVERLAY_IMG=resources/GLydianTextureGradiant3.png
LABLE_FONT_STYLE=0
MIDI_DIVICE_OUT=
EDIT_FONT=Arial
MENU_FONT_STYLE=0
RACK_U1_WIDTH=765
MENU_FONT_SIZE=10
LABLE_FONT=Tahoma
TITLEBAR_BACKGROUND_IMG=resources/TitleBarBacground.png
NO_OF_ITEMS_IN_A_MENU=15
MAINDISPALY_BACKGROUND_IMG=resources/GLydianTexture6.png
DB_FILE=/Applications/GLydian/Pure Java/GLydi...
EFFECT_BACKGROUND_IMG=resources/GLydianTexture6.png
RACK_EQPANEL_WIDTH=180
WORK_DIR=.
MIDI_DIVICE_IN=
EFFECT_BACKGROUND_ON_OVERLAY_IMG=resources/GLydianTextureGradiant3.png
LABLE_FONT_SIZE=10
MENU_FONT=Tahoma
RACK_U1_HEIGHT=115
RACK_MAIN_DISPLAY_HEIGHT=200
EDIT_FONT_SIZE=11
RACK_MAIN_DISPLAY_WIDTH=320
RACK_EQPANEL_HEIGHT_WIDE_FORMAT=210
WIDE_SCREEN_FORMAT=true
RACK_MAIN_DISPLAY_HEIGHT_WIDE_FORMAT=170
Can't find properties file. Using defaults.
Exception in thread "main" java.lang.NullPointerException
at javax.swing.Spring$WidthSpring.getMinimumValue(Spring.java:328)
at javax.swing.Spring$CompoundSpring.getMinimumValue(Spring.java:399)
at javax.swing.Spring$CompoundSpring.getMinimumValue(Spring.java:399)
at javax.swing.Spring$CompoundSpring.getMinimumValue(Spring.java:399)
at javax.swing.Spring.range(Spring.java:173)
at javax.swing.Spring.getStrain(Spring.java:179)
at javax.swing.Spring$SumSpring.setValue(Spring.java:444)
at javax.swing.SpringLayout.layoutContainer(SpringLayout.java:995)
at java.awt.Container.layout(Container.java:1401)
at java.awt.Container.doLayout(Container.java:1390)
at java.awt.Container.validateTree(Container.java:1473)
at java.awt.Container.validateTree(Container.java:1480)
at java.awt.Container.validateTree(Container.java:1480)
at java.awt.Container.validateTree(Container.java:1480)
at java.awt.Container.validateTree(Container.java:1480)
at java.awt.Container.validateTree(Container.java:1480)
at java.awt.Container.validateTree(Container.java:1480)
at java.awt.Container.validateTree(Container.java:1480)
at java.awt.Container.validateTree(Container.java:1480)
at java.awt.Container.validate(Container.java:1448)
at java.awt.Window.pack(Window.java:495)
at GLydian.main(GLydian.java:47)
 
version 1.3 seems to work :confused: maybe a problem with file paths? I've noticed that 1.4 pure java zip file extracts in a different folder than 1.3 version.... :scared:
 
Back
Top