Page 1 of 2

Send and Receive MIDI !!

Posted: Thu Mar 04, 2010 4:34 pm
by MouseUp
With RunRev, is there a way to send and receive MIDI data via a USB to Midi interface connected to the Mac?

I loved using hyperMidi back in the day with HyperCard:

http://www.earlevel.com/

Image

I wish we could get Nigel Redmon, the writer of the HyperMidi external to update it to work with RunRev. Being able to access data coming into and going out of a Midi to USB interface would open up tremendous possibilities for musicians. Wonderful things like custom Midi utilities, synth editors, and synth librarians could be written in RunRev.

Re: Send and Receive MIDI !!

Posted: Thu Mar 04, 2010 6:04 pm
by FourthWorld
Have you written Nigel? He may just find the idea of giving new life to his old code quite attractive.

Re: Send and Receive MIDI !!

Posted: Thu Mar 04, 2010 10:49 pm
by MouseUp
Yes, I have emailed and spoken to him on the phone.

...Keeping my fingers crossed!

Re: Send and Receive MIDI !!

Posted: Wed Apr 28, 2010 6:14 am
by pderocco
MouseUp wrote:With RunRev, is there a way to send and receive MIDI data via a USB to Midi interface connected to the Mac?
I managed to do output with an external, both for the Mac and for Windows. The best I was able to do for input was to capture input into a software FIFO, and then have a timer message in Revolution check the FIFO every 100ms or so. This works fine for things like collecting the responses to commands from a MIDI editor, but not for performance input.

I had hoped that the SendCardMessage function in the externals API would let me inject messages into Revolution from my external, but I was told it can only be called by the Revolution app main thread, not by some other thread.

Re: Send and Receive MIDI !!

Posted: Wed Apr 28, 2010 4:54 pm
by mwieder
Paul- I found pretty much the same thing. I implemented the HC "play" command in my external as well, but the single-threadedness of rev made it much better to implement the play command with timing in a stack and send out individual notes. Things like polyphony were next to impossible in an external by itself.

Re: Send and Receive MIDI !!

Posted: Sat May 15, 2010 10:55 am
by René Micout
I asked Nigel if Redmon had plans for RunRev, that's what he replied:

"
Hi René,
Sorry, I have no plans at this time for RunRev. I wish it was economical, but the market is just too small, and the work too great. If RunRev executed AppleScript natively (not just from a container), I'd consider it, since I did some work a couple of years ago writing a proof of concept OSAX.
Regards,
Nigel
"

Re: Send and Receive MIDI !!

Posted: Wed Aug 08, 2012 12:54 pm
by Thierry
Hi,

Please, have a look at SunnYmidi Version 2.0.

Sorry, I can't put an url here :(
Google LiveCode sunnYmidi.

Regards,
Thierry

Re: Send and Receive MIDI !!

Posted: Wed Aug 08, 2012 2:51 pm
by Klaus
Bonjour Thierry,

don't worry, I'm sure most users will find your Midi stuff after clicking the link in your signature :D


Best

Klaus

Re: Send and Receive MIDI !!

Posted: Wed Aug 08, 2012 3:09 pm
by Thierry
Hallo Klaus,

Thanks for this; I even wasn't aware they accept an url in the signature :)

But what do we have to do to type url in the text ?

Is this forbidden for French guys :)

By the way, sunnYmidi v2.0 connect Midi In and OUT devices...

Regards,
Thierry

Re: Send and Receive MIDI !!

Posted: Wed Aug 08, 2012 3:34 pm
by Klaus
Hi Thierry,
Thierry wrote:Is this forbidden for French guys :)
definitvely YES! Remember that this in an ENGLISH (OK, Scottish) forum!
:D :D :D

No, I think you need a certain amount of posting before you can post a link here.


Best

Klaus

Re: Send and Receive MIDI !!

Posted: Sat Apr 06, 2013 5:39 am
by MouseUp
I am happy to report that Thierry's SunnYmidi Version 2.0 is very nice and works well for many Midi output things. I have written many rather interesting and useful scripts using it to transmit Midi data out of the Mac into my Midi music synths and it works very well. Thanks to Thierry! This is such great news as I have waited more than 10 years for Midi capabilities to be added to LiveCode.

I truly hope Thierry will continue developing more features into version 3 of his SunnYmidi Midi external!

Here is the link to his site...

http://sunny-tdz.com

mouseUp

Re: Send and Receive MIDI !!

Posted: Wed Apr 24, 2013 5:02 pm
by PaulDaMacMan
As an alternative to expensive externals, you can use MIDImyApp command line (CLI) tool via 'open process' and then use it to send raw MIDI hex bytes to the MIDI Bus:
bibiko.de/music/MIDImyAPP
It can be even be used in conjunction with a .plist file to trigger shell commands as well as having built in direct GarageBand control (Transport functions)

I miss HyperMIDI too ... hell I even miss the basic HyperCard music note player!

Re: Send and Receive MIDI !!

Posted: Sun Dec 13, 2015 5:55 pm
by MouseUp
Any news on an external to allow both Midi In and Midi Out with LiveCode? This would open up a world of possibilities to the music community!

Please, someone tell me they are working on a way to do Midi In and Out with LiveCode.

Re: Send and Receive MIDI !!

Posted: Sun Dec 13, 2015 6:11 pm
by Klaus
MouseUp wrote:Any news on an external to allow both Midi In and Midi Out with LiveCode?
No.
MouseUp wrote:Please, someone tell me they are working on a way to do Midi In and Out with LiveCode.
No, they aren't, MIDI in LC has a very low priority in Scotland.
Hey, we don't even have reliable crossplatform media (audio/video) playback in LC currently! 8)

Re: Send and Receive MIDI !!

Posted: Mon Dec 21, 2015 5:24 pm
by Thierry
MouseUp wrote:Any news on an external to allow both Midi In and Midi Out with LiveCode?
Hi mouseUp,

Here is a Midi Controler device ( http://www.akaipro.com/product/apc-mini )
which has been successfully used as an input and output device for a Livecode app using sunnYmidi.
APCmini-2.png
APCmini-2.png (102.5 KiB) Viewed 6578 times
Please, someone tell me they are working on a way to do Midi In and Out with LiveCode.
and a fleeting glimpse of what can be done:
sunnY 2015-12-21 à 17.16.48.png
Kind regards,

Thierry