Rebol Talk Forum  |  Getting Started  |  Newbie Help  |  Topic: Rebol and MIDI for synth control
Pages: [1] Print
Author Topic: Rebol and MIDI for synth control  (Read 1118 times)
BitNutter
Newbie
*
Offline Offline

Posts: 2


View Profile
Rebol and MIDI for synth control
« on: April 25, 2006, 04:18:40 AM »

It seems Rebol would make an ideal tool for custom MIDI control by allowing users to quickly make on-screen interfaces with which to control external synthesizers. MIDI is afterall just a serial protocol.

But tell me please... How, exactly, would I address the MIDI port and would the method vary depending on the platform?

Thanks , BitNutter
Logged
rebolek
Newbie
*
Offline Offline

Posts: 17


View Profile
Re: Rebol and MIDI for synth control
« Reply #1 on: April 25, 2006, 04:40:30 AM »

Hi BitNutter,

there's no standard way for MIDI in REBOL. You can use serial port with REBL but first you need to set proper speed and that's not possible from REBOL AFAIK.

I think the best way is to find some standard MIDI library and write REBOL interface to it. Unfortunately, this is limited only to licenced REBOL version. Hopefully library interface will be free in R3.
Logged
Gabriele
Full Member
***
Offline Offline

Posts: 182


View Profile WWW
Re: Rebol and MIDI for synth control
« Reply #2 on: April 25, 2006, 04:52:05 AM »

Actually, you can set the speed etc. via REBOL. So if your midi ports are accessible as standard serial ports (i.e. COM1 on Windows, etc) you should be able to work with them via serial:// . You'd need to implement the MIDI protocol yourself though, so it may still be easier to use an existing library as Rebolek suggests.
Logged
Carl
Global Moderator
Newbie
*
Offline Offline

Posts: 18

Carl Sassenrath, designer of the REBOL Language.


View Profile WWW
Re: Rebol and MIDI for synth control
« Reply #3 on: April 25, 2006, 10:38:04 PM »

I think MIDI in REBOL would be very cool... and powerful too.  You should be able to do it today, as Gabriele mentioned.  R3 will also be able to support it better, but there's no need to wait for that to get started...

PS: I'm not an expert an MIDI, although I did some work with it when it first got started back in the early Amiga days (the MIDI creators visited us a lot to get the Amiga team more interested in supporting MIDI.. I thought it was so cool, I only wish we had done a better job with MIDI support on the Amiga).
Logged

-Carl, the REBOL guy.
rebolek
Newbie
*
Offline Offline

Posts: 17


View Profile
Re: Rebol and MIDI for synth control
« Reply #4 on: April 26, 2006, 03:45:28 AM »

I was thinking little bit deeper about it. Most of today's MIDI interfaces are connected to gameport or to USB. I haven't seen MIDI interface on serial port from my Amiga times. And I'm not sure if it's possible to access those ports from REBOL.

So I think it probably should be better to make some library interface. I'm thinking about PortAudio and PortMidi which are multiplatform (Win, Lin, Mac) libraries with non-restrictive licences.
Logged
BitNutter
Newbie
*
Offline Offline

Posts: 2


View Profile
Re: Rebol and MIDI for synth control
« Reply #5 on: May 03, 2006, 04:26:14 AM »

Rebolek,
You are right, most MIDI interfaces are USB these days so I guess I would have to buy a version of Rebol  before I can experiment with this.

Carl,
You must have done something right with the Amiga MIDI implementation. I enjoyed using Bars and Pipes and used it to produce music for TV by locking an external VTR to the Amiga with MIDI Timecode. It was a very productive setup.

Thanks all.

Logged
Anton
Jr. Member
**
Offline Offline

Posts: 66

Rebol veteran


View Profile WWW
Re: Rebol and MIDI for synth control
« Reply #6 on: August 21, 2006, 04:05:26 AM »

My advice would be to look for a program which connects MIDI applications to ethernet. Then rebol just needs to connect to a port.
So the rebol side should then be pretty OS independent. Of course, you need to find that MIDI <-> ethernet program, which will probably be OS dependant.
Logged
Pages: [1] Print 
Rebol Talk Forum  |  Getting Started  |  Newbie Help  |  Topic: Rebol and MIDI for synth control
Jump to:  

  
Quick Search...

Advanced search
  
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 03, 2008, 10:09:11 PM
Username: Password: Session Length:
  

News: 01-09-08

Alpha version of REBOL 3 has been released!


  
2315 Posts in 597 Topics by 4205 Members
Latest Member: TimTearton

  Rebol Talk Forum | Powered by SMF 1.0.9.
© 2001-2005, Lewis Media. All Rights Reserved.

RT design by Defiant Pc