MIOS Studio for Mac users

/Edit TK: this thread is expired, it discusses workarounds for the obsolete, Java based MIOS Studio 1

 

MIOS Studio 2 works natively on Mac OS without workarounds:

-> http://www.ucapps.de/mios_studio.html

 

 

Original Article from Adam:

 

Hi All,

Bob Lang, creator of Mandolane (/edit TK: previously called Plumstone), has update the Mandolane MIDI drivers for Java 1.5 and this will hopefully allow Mac users who are running Java 1.5 to run MIOS Studio.

Not being a Mac user myself, I haven’t been able to test this. However, Bob has succesfully gotten MIOS Studio to run on Tiger by using Java 1.5 and his new version of Plumstone. Although untested, he has updated Plumstone in a way that should be backwards compatible with Java 1.4 and I have updated MIOS Studio to also be backwards compatible - therefore anyone running older versions of OS X and Java 1.4 are encouraged to also test this out. The latest beta version of MIOS Studio is available here, please note that some features such as the SysEx Upload and Memory Read/Write are not fully implemented yet.

If any Mac users can try this out and report their findings it’d be a great help. Also, please keep checking Bob’s Mandolane site for any updates and/or official releases.

Cheers,

  • Adam

Update 2008-03-21: an alternative software is available here:
http://www.humatic.de/htools/mmj.htm

In distance to Plumstone/Mandolane it’s free!

Update 2009-09-03: mmj has been discontinued, it doesn’t work with 64bit Java, and it doesn’t work under Snow Leopard (even when 32bit JRE is selected)
Please use Mandolane again

hum…

the latest beta (5_1) starts, but the windows are very buggy (there’s some issue with the window refreshing, sometimes they dissappear :frowning:

…and I can’t say it’s sending anything (tested the LCD debug section, but apparently nothing happend…

:-\

…forgot to mention: I’m running Tiger (10.4.3) on a Power PC with Java 1.4.2_09

Hi,

Try this : http://www.apple.com/support/downloads/java2se50release1.html

Hi Rowan,

Does this mean you have MIOS Studio working with Java 1.5 and Plumstone?

Cheers,

  • Adam

hello

i tried to control reason 3 with the virtual keyboard over mios studio beta 5_1 and plumpstone 1.3.

it worked pretty well!

cheers

agent

Good to hear.  I’ve been quietly working on MIOS Studio, among many other things the Virtual Keyboard has been vastly improved:

  • The keyboard now has buttons in additions to knobs.

  • The knobs/buttons/expression wheels can now be changed to send Control Change, Note On/Off, Program Change or Pitch Wheel messages.

  • All settings/values are saved on exit and restored when opening MIOS Studio again.

  • There are spin boxes for sending Bank Select MSB/LSB in addition to Program Change messages.

  • Adam

Hi Adam,

reg. features, here is one I would like to see. :slight_smile:

Somebody had problems with the program upload directly after power-on. The core already sent out an upload request, but the voltage hasn’t reached the required range before MIOS Studio started to upload the first block. For some reasons, something went wrong and the core crashed (ramp-up phase is always mysterious)

The upload procedure could be made more stable - either

  o by adding a < 2s delay after an upload request, before the first block will be sent

  o or (this is what I would prefer) by sending a known “bad” block (e.g. a write block with 0 bytes content), and to wait for the expected error response. This would reset the timeout value, so that the core is ready for receiving again under relaxed conditions (MIOS Studio has 3 seconds to send the first “good” block)

Best Regards, Thorsten.

/Edit: mS replaced by s

Hi Thorsten,

The easiest way to do it is to add the delay before it begins uploading. Did you mean < 2 seconds (you put  < 2mS)? I have added a delay of 1.5 seconds before uploading and this works fine.  I’ll add it to the TODO list to try and get the second method to work.

  • Adam

Thanks! Yes, I meant seconds (statement corrected for forum search function)

I just had another idea: an even more secure way to upload new code is the following:

  1) send a “bad” block and wait for error response

  2a) if MIOS is uploaded (code starts at 0x0000), upload a dummy block which contains two “reset” instructions, located at 0x0000

  2b) if the .hex file contains some code which is located in between 0x100-0xffff (0xffff because of PIC18F4620), upload a dummy block which contains one “reset”, located at 0x3300

  2c) in all other cases (no code between 0x0000-0xffff) just upload the data and ignore this algorithm

  3) don’t continue if this dummy block hasn’t been uploaded correctly, because it should ensure, that no code is executed until the complete .hex file has been uploaded successfully

  4) upload all blocks execept for the block which contains the “reset” instruction(s)

  5) at the end, overwrite the block which contains the “reset” instruction(s)

This algorithm ensures, that uncomplete code will never be executed, if something unexpected happened during the upload phase (e.g. low power, disconnected MIDI cables, MIDI interface driver crash or whatever)

If required, I could try to implement this into MIOS Studio by myself (in this case, please send me the most recent source code)

Best Regards, Thorsten.

I am cleaning up the class structure and a lot of the code in MIOS Studio, once I am happier with it I will send it to you so you can try and implement this new feature.

  • Adam

Try this : http://www.apple.com/support/downloads/java2se50release1.html

I finally succeeded too in installing MIOS Studio.  :smiley:

I got MIOS Studio 5.1 beta working with the Java2 5.0 release 3:

http://www.apple.com/support/downloads/java2se50release3.html

Hower, the problem was, that I haven’t read the release notes.  :-X

Once you have downloaded and installed Java5, it isn’t automatically used by MIOS Studio. There should be a program resided in /Applications/Utilities/Java/J2SE 5.0/

Open it and set it to prefer 5.0 over 4.2

Thanks for MIOS Studio!  :wink:

Michael

Hi,

Sorry if this has been answered already but I couldnt find anything about it anywhere else. How can you use the MIOS studio with mac os 9.1 ? I downloaded the MJR but it wont open the jar file. There does not seem to be any other java downloads from apple for older OS’es. Is there a method or an alternative? Perhaps I have missed something!

Thanks,

John

Sorry, I’m not sure of the status of Java on earlier Mac releases. Perhaps some other Mac users can chime in??

As far as I know, you need at least Java 1.4 for the MIDI stuff, and that’s only available for OS X

Yeh macs aren’t famous for backwards compatibility :wink:

Pfffff

Don’t get me wrong dude, IMO that’s a good thing… Expensive though… But the “right way” usually is.

I think I’ve made my thoughts clear about Apple’s support for Java before. Apple’s page says it best:

http://www.apple.com/macosx/features/java/

Still only shipping with 1.4 after how long? Pfff…

Yeh for the same reason as the JRE on windows sucks b*lls… Cause Sun won’t let Apple and M$ in on the game…

I’ve got no problem downloading and running the latest Java for MS (98 through to XP) or Linux…