Send and Receive MIDI !!

Something you want to see in a LiveCode product? Want a new forum set up for a specific topic? Talk about it here.

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

MouseUp
Posts: 41
Joined: Sun Feb 14, 2010 3:41 pm

Send and Receive MIDI !!

Post by MouseUp » Thu Mar 04, 2010 4:34 pm

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.
Thanks,

MouseUp

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 6862
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Send and Receive MIDI !!

Post by FourthWorld » Thu Mar 04, 2010 6:04 pm

Have you written Nigel? He may just find the idea of giving new life to his old code quite attractive.
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

MouseUp
Posts: 41
Joined: Sun Feb 14, 2010 3:41 pm

Re: Send and Receive MIDI !!

Post by MouseUp » Thu Mar 04, 2010 10:49 pm

Yes, I have emailed and spoken to him on the phone.

...Keeping my fingers crossed!
Thanks,

MouseUp

pderocco
Posts: 44
Joined: Fri May 16, 2008 1:26 am

Re: Send and Receive MIDI !!

Post by pderocco » Wed Apr 28, 2010 6:14 am

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.
Ciao,
Paul

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2827
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: Send and Receive MIDI !!

Post by mwieder » Wed Apr 28, 2010 4:54 pm

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.

René Micout
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4
Joined: Sat May 15, 2010 10:52 am

Re: Send and Receive MIDI !!

Post by René Micout » Sat May 15, 2010 10:55 am

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
"

Thierry
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 652
Joined: Wed Nov 22, 2006 3:42 pm
Location: France
Contact:

Re: Send and Receive MIDI !!

Post by Thierry » Wed Aug 08, 2012 12:54 pm

Hi,

Please, have a look at SunnYmidi Version 2.0.

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

Regards,
Thierry
Thierry Douez - https://sunny-tdz.com
Pourquoi tant de notes lorsqu'il suffit de jouer les plus belles... [Barbara]

Klaus
Posts: 11223
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Send and Receive MIDI !!

Post by Klaus » Wed Aug 08, 2012 2:51 pm

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

Thierry
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 652
Joined: Wed Nov 22, 2006 3:42 pm
Location: France
Contact:

Re: Send and Receive MIDI !!

Post by Thierry » Wed Aug 08, 2012 3:09 pm

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
Thierry Douez - https://sunny-tdz.com
Pourquoi tant de notes lorsqu'il suffit de jouer les plus belles... [Barbara]

Klaus
Posts: 11223
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Send and Receive MIDI !!

Post by Klaus » Wed Aug 08, 2012 3:34 pm

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

MouseUp
Posts: 41
Joined: Sun Feb 14, 2010 3:41 pm

Re: Send and Receive MIDI !!

Post by MouseUp » Sat Apr 06, 2013 5:39 am

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

PaulDaMacMan
Posts: 197
Joined: Wed Apr 24, 2013 4:53 pm
Contact:

Re: Send and Receive MIDI !!

Post by PaulDaMacMan » Wed Apr 24, 2013 5:02 pm

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!
https://github.com/PaulMcClernan/

MouseUp
Posts: 41
Joined: Sun Feb 14, 2010 3:41 pm

Re: Send and Receive MIDI !!

Post by MouseUp » Sun Dec 13, 2015 5:55 pm

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.
Thanks,

MouseUp

Klaus
Posts: 11223
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Send and Receive MIDI !!

Post by Klaus » Sun Dec 13, 2015 6:11 pm

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)

Thierry
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 652
Joined: Wed Nov 22, 2006 3:42 pm
Location: France
Contact:

Re: Send and Receive MIDI !!

Post by Thierry » Mon Dec 21, 2015 5:24 pm

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 2610 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
Thierry Douez - https://sunny-tdz.com
Pourquoi tant de notes lorsqu'il suffit de jouer les plus belles... [Barbara]

Post Reply

Return to “Feature Requests”