Megadrum Config Tool (comming soon!)

Discussions of any related software

Moderator: Related software moderators

Re: Megadrum Config Tool (comming soon!)

Postby dmitri » Sat Nov 15, 2008 8:57 pm

Is it me only or when doing 'Actions for selected pad->from MD' it doesn't work for the Kick pad? 'Actions for all settings-from MD' does load the Kick pad though.
dmitri
Site Admin
 
Posts: 8709
Joined: Fri Aug 03, 2007 8:05 pm

Re: Megadrum Config Tool (comming soon!)

Postby efbe » Sat Nov 15, 2008 10:43 pm

dmitri wrote:
elrules wrote:I have been finding some difficulties with some sysex messages not being sent correctly to megadrum. But if I use MIDI-OX as a bridge, they are sent correctly. It must be a buffer size issue I think. I don't know if I will be able to fix it, so the program will not be completely standalone. It will require midi ox configured like this:
Config tool -> Midi-OX -> megadrum

instead of the desired:
Config tool -> Megadrum

Well, I'll keep on investigating this issue after I've finished the program, as now it works with midi-ox chained.

With MIDI-OX it'll rely on Windows, so it'll loose multi platform feature.


Where is suddely the link to the program ??

OK found it back on the page before this Sorry

EFBE
efbe
 
Posts: 31
Joined: Sun Aug 03, 2008 1:18 pm

Re: Megadrum Config Tool (comming soon!)

Postby japi » Sun Nov 16, 2008 1:08 am

I use linux (and xp & vista also) but my megadrum is not finished :D
I'm working on it, so I will give you feedback as soon as I can try it out

Mac nah :P
japi
 
Posts: 180
Joined: Tue Oct 07, 2008 2:03 pm
Location: Buenos Aires, Argentina

Re: Megadrum Config Tool (comming soon!)

Postby dmitri » Sun Nov 16, 2008 1:44 am

elrules wrote:I am also interested in the tests made by Linux and Mac users. Arent't there any Mac or Linux megadrum's users?? common!! :D

This an error I get when trying to run it under linux:

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at megadrum.Common.getUserProfileFolder(Common.java:141)
at megadrum.MegadrumConfigTool.readConfigurationFiles(MegadrumConfigTool.java:79)
at megadrum.MegadrumConfigTool.<init>(MegadrumConfigTool.java:28)
at megadrum.MegadrumConfigTool$2.run(MegadrumConfigTool.java:1920)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
dmitri
Site Admin
 
Posts: 8709
Joined: Fri Aug 03, 2007 8:05 pm

Re: Megadrum Config Tool (comming soon!)

Postby kimouette » Sun Nov 16, 2008 7:00 am

elrules wrote:I am also interested in the tests made by Linux and Mac users. Arent't there any Mac or Linux megadrum's users?? common!!

:!: :!: :!: :Mac user here! Please do it for Mac users! So few midi tools for us! :!: :!: :!:


My Megadrum is finished but I currently only have one piezo to do some tests... oh and one defective potentiometer (but that's not any help!)

I tried using your previous link http://www.serfin.eu/configtool/install.jnlp,
But I get a "Java Web Start- System configuration" error message saying that (and I'm translating from french to english here)...

"It's impossible to run Megadrum Config Tool because the application asked for a JRE version 1.6+ that is not locally installed"

Remember this old post?
Only developpers using Xeon et Core 2 Duo Intel Leopard Machines can run Java 1.6
Apple's official website still only talks about 1.5 updates
In the meantime, somebody took the source code and ported it to Mac, I dont know if it's stable nor reliable! SoyLatte: Java 6 Port for Mac OS X 10.4 and 10.5 (Intel)" by Landon Fuller.

I'm running a PowerPc G4 processor and Mac Os 10.4.11
And I'll do whatever tests you need if you're willing to develop a Mac version of the Megadrum Config Tool!

Please do it!!!
:)
kimouette
 
Posts: 265
Joined: Fri Jun 27, 2008 5:19 am

Re: Megadrum Config Tool (comming soon!)

Postby efbe » Sun Nov 16, 2008 9:18 am

elrules wrote:Well, I have uploaded a beta version so you can test it.
I have tested all the actions that can be done. Everything works, including the firmware update for windows users
Tested in a Windows XP pc.

http://www.serfin.eu/configtool/install.jnlp

You must have Java 6 installed.
Click the link and select "Open with Java Web Start Launcher"
The app should popup with an mini-help screen. Configure it and it will show.
It is adviced to have megadrum connected with the first run of the program, but it is not obligatory.
Later, it will be better to run the program after megadrum has been connected to USB, since the program will open the midi ports correctly. But anyway I think it also works if you connect megadrum aftter runing the app

The link will be operative till we all together decide it is stable. When that occurs, I hope dmitri accepts my proposal of uploading it to megadrum.info instead of the server of the place I work :D


I try to run it under Vista, but there is something wrong with the Lay-out, once You click on menu's etc.
The Lay-out get's sort of multiplied...

I can not check if it actuly works...

EFBE
efbe
 
Posts: 31
Joined: Sun Aug 03, 2008 1:18 pm

Re: Megadrum Config Tool (comming soon!)

Postby elrules » Sun Nov 16, 2008 12:21 pm

I try to run it under Vista, but there is something wrong with the Lay-out, once You click on menu's etc.
The Lay-out get's sort of multiplied...
Can you post a screenshot of what you see?

I tried using your previous link http://www.serfin.eu/configtool/install.jnlp,
But I get a "Java Web Start- System configuration" error message saying that (and I'm translating from french to english here)...

"It's impossible to run Megadrum Config Tool because the application asked for a JRE version 1.6+ that is not locally installed"
If you can run with no problems java 1.5 applications then the solution for mac users is very easy. I can recompile it to be 1.5 compliant, so you can run it. I specified the installer to require java 1.6 but the application can run with java 1.5. I only need to add separately a library that it is integrated in java 1.6 but it was an addon for 1.5.

This an error I get when trying to run it under linux:

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at megadrum.Common.getUserProfileFolder(Common.java:141)
Dmitri, this error you get is due to the System.getProperty("userprofile") method. In windows it gets the environment variable C:\Documents and settings\user. I wrongly thought that in linux it will give me something like /home/user/. As in windows vista and linux the administrator rights are very restrictive, that was the option I thought about to be able to save configuration files. Any guess on how to save user settings? If I write a file without no route, then if you run the app from the desktop link it will write the .ini files to the desktop and that is not very clean... It depends on what link you run. I need to find a path for the config files that can be accessed without restrictions for the 3 OS (windows, mac and linux) If you have any idea let me know

Is it me only or when doing 'Actions for selected pad->from MD' it doesn't work for the Kick pad? 'Actions for all settings-from MD' does load the Kick pad though.
It is not only you :D I will fix it hehe

- The Hihat pedal meter works inverse to the LCD display, anyway with me.
You are right.

Well, it seems I have some work to do ;)
elrules
 
Posts: 629
Joined: Thu Nov 29, 2007 4:51 pm
Location: Murcia, Spain, Europe, The World

Re: Megadrum Config Tool (comming soon!)

Postby japi » Sun Nov 16, 2008 1:05 pm

elrules wrote:Any guess on how to save user settings? If I write a file without no route, then if you run the app from the desktop link it will write the .ini files to the desktop and that is not very clean... It depends on what link you run. I need to find a path for the config files that can be accessed without restrictions for the 3 OS (windows, mac and linux) If you have any idea let me know


Either make it arbitrary to /etc/megadrum for example (all linux has "etc" directory) or use the enviroment variable $HOME that expands to current user home directory. You could have for example "$HOME/megadrum/megadrum.ini" as the configuration file.

dvr:~# echo $HOME
/root
japi
 
Posts: 180
Joined: Tue Oct 07, 2008 2:03 pm
Location: Buenos Aires, Argentina

Re: Megadrum Config Tool (comming soon!)

Postby dmitri » Sun Nov 16, 2008 1:24 pm

japi wrote:
elrules wrote:Any guess on how to save user settings? If I write a file without no route, then if you run the app from the desktop link it will write the .ini files to the desktop and that is not very clean... It depends on what link you run. I need to find a path for the config files that can be accessed without restrictions for the 3 OS (windows, mac and linux) If you have any idea let me know


Either make it arbitrary to /etc/megadrum for example (all linux has "etc" directory)

/etc if for system wide settings and only writeable by privileged users. Not the right place to save user settings.
or use the enviroment variable $HOME that expands to current user home directory. You could have for example "$HOME/megadrum/megadrum.ini" as the configuration file.

dvr:~# echo $HOME
/root

$HOME is unix specific. I guess it will break compatibility with Windows. There should be a proper way in Java to get a user home/configuration directory.
dmitri
Site Admin
 
Posts: 8709
Joined: Fri Aug 03, 2007 8:05 pm

Re: Megadrum Config Tool (comming soon!)

Postby elrules » Sun Nov 16, 2008 1:34 pm

dmitri wrote:$HOME is unix specific. I guess it will break compatibility with Windows. There should be a proper way in Java to get a user home/configuration directory.
For showing the help web file, I use a method that gets the variable "os.name". If it contains "win" it launches a command, if it contains "mac" it launchs another, and with the rest (linux) it uses another. Maybe I could distinguish the .ini folder with that method..
With windows I use the user profile
with linux, which folder is sure to have privileges to be writen? Maybe /tmp/ ?
Last edited by elrules on Sun Nov 16, 2008 1:36 pm, edited 2 times in total.
elrules
 
Posts: 629
Joined: Thu Nov 29, 2007 4:51 pm
Location: Murcia, Spain, Europe, The World

PreviousNext

Return to Related Software

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 17 guests