SiriusHardware
Posts: 520
Joined: Thu Aug 02, 2012 9:09 pm
Location: UK

Native RISCOS MIDI sequencer?

Sat Dec 22, 2012 1:51 pm

Following up a suggestion in another thread far, far away, can I ask if anyone knows of a native RISCOS MIDI sequencer which has been / could potentially be ported to Pi RISCOS? I'm not looking for anything with audio recording / playback capability, just a multitrack midi recorder / player similar to first-generation versions of Cubase.

Obviously, such a port would either need to be able to recognise and run with a USB-> 5 DIN midi interface, or more ideally to be able to use the Pi's onboard UART with the addition of optocoupler input / output driver hardware.

I'm aware that there is apparently a high-performance port of Hatari (ST emulator) already working under Pi RiscOS, but I am assuming (perhaps incorrectly) that Hatari (Pi) hasn't been tinkered with to allow use of the onboard UART as one of the possible MIDI interfaces.

zproc
Posts: 31
Joined: Mon Sep 03, 2012 12:05 pm

Re: Native RISCOS MIDI sequencer?

Fri Feb 08, 2013 5:29 pm

I don't know if Hatari on RISC OS has any MIDI... it's stated in the doc that Hatari has only MIDI on linux, it has to be able to use /dev/snd/midi or something like that, but I know nothing about Risc OS...

SiriusHardware
Posts: 520
Joined: Thu Aug 02, 2012 9:09 pm
Location: UK

Re: Native RISCOS MIDI sequencer?

Mon Feb 11, 2013 6:55 pm

zproc wrote:I don't know if Hatari on RISC OS has any MIDI... it's stated in the doc that Hatari has only MIDI on linux, it has to be able to use /dev/snd/midi or something like that, but I know nothing about Risc OS...
I'm guessing that if you just compiled the original Hatari source as arm code instead of x86 code, the part dealing with the MIDI interface would most likely still be trying to use a PC-style Roland MPU401 or Soundblaster clone of the same interface on i/o address 330, where they are usually found on PCs.

For Hatari MIDI to work on the Pi, the part dealing with communication with the MIDI interface would have to be re-written to use either a plug-in USB midi interface (which I would imagine would be hard) or the Pi's UART - marginally less difficult, except for the fact that the UART does not natively support 31250 baud as a standard baud rate. Or does it? And if not, is that something which could be incorporated into a future update for RISCOS?

sborrill
Posts: 1
Joined: Wed Feb 26, 2014 5:03 pm

Re: Native RISCOS MIDI sequencer?

Thu Feb 27, 2014 8:33 am

MelIDI is about to be released as open-source and 32-bit ready

http://www.melidi.co.uk/

The problem remains about the lack of hardware MIDI drivers. MelIDI uses MIDISupport which means, unlike the old days, you only need to write the actual driver bit to hook into MIDISupport, not the whole MIDI stack

microbitsuk
Posts: 33
Joined: Fri Sep 09, 2011 10:04 am
Location: Perth WA

Re: Native RISCOS MIDI sequencer?

Thu Feb 27, 2014 9:04 am

Good News Stephen, When can we expect it to be available???

User avatar
Shawty
Posts: 59
Joined: Fri Nov 16, 2012 1:22 am
Location: North East UK

Re: Native RISCOS MIDI sequencer?

Tue Sep 09, 2014 6:32 pm

Remember everyone that ALL midi interfaces on any of the ROS products from Rhapsody right through to Sibleus 7 , where ALL implemented as Relocatable Modules.

Which module you loaded in depended on which driver you wanted to use, and the original Acorn MIDI interface used SWI numbers in it's relocatable module that where somewhere in the 0x404XX range.

Chris's acorns (http://chrisacorns.computinghistory.org.uk/) I believe has a PDF scan of the original MIDI programmers guide.

All you would need to do would be write a Relocatable Module, that made a public interface available that exposed a compatible set of SWI vectors available in the same number range.

Midi compatible programs should then in theory find these SWI vectors and start sending MIDI Data to them.

I have some C source code kicking around somewhere for a serial port midi driver I started writing for my A5000 many years ago, but never got finished. At the time I had a Yamaha MU10 XG that had a MIDI Serial interface on it, which I wanted to use with RiscOS apps. So I started to write my own MIDI driver. I'm sure anyone with enough passion and knowledge would be able to build on it and bring it up to date, changing it to work with other hardware in the R-Pi version.

Shawty
still crazy (Even since the days of my BBC Model B) BEST and only way to be ;-)

IM: @shawty_ds on twitter
if you remember the Acorn and BBC days then I was "!Shawty! of DSPD" (Author of the BBC B Sound Tracker suite, and the Dreamscape demo)


dfeugey
Posts: 119
Joined: Mon Nov 03, 2014 2:38 pm
Location: France

Re: Native RISCOS MIDI sequencer?

Mon Nov 03, 2014 2:42 pm

Just for information: there is already a working MIDI module for RISC OS 5. It's not complete, but I can play tunes from maestro on a pocket expander with it. It works perfectly. We just need software now: 32bit ports of old titles, or changes to Hatari/DosBox in order to support hardware MIDI.

Bye, David
RISC OS FR - All RISC OS, in french (but not only)
http://www.riscos.fr/

dfeugey
Posts: 119
Joined: Mon Nov 03, 2014 2:38 pm
Location: France

Re: Native RISCOS MIDI sequencer?

Wed Nov 26, 2014 1:05 pm

There is now a web page about Midi under RISC OS, with Maestro (the base application for music).
http://www.riscos.fr/ressources/midi-maestro/index.html
RISC OS FR - All RISC OS, in french (but not only)
http://www.riscos.fr/

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 15178
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: Native RISCOS MIDI sequencer?

Sun Feb 08, 2015 12:13 am

FYI the PI's hardware is perfectly capable of generating the MIDI baud rate for the UART, so all you need to add MIDI interface to a PI is a couple of cheap optocouplers, a few resistors and a couple of DIN connectors.

SiriusHardware
Posts: 520
Joined: Thu Aug 02, 2012 9:09 pm
Location: UK

Re: Native RISCOS MIDI sequencer?

Wed Feb 11, 2015 12:07 am

mahjongg wrote:FYI the PI's hardware is perfectly capable of generating the MIDI baud rate for the UART, so all you need to add MIDI interface to a PI is a couple of cheap optocouplers, a few resistors and a couple of DIN connectors.
But is it still necessary to twiddle about with the clock parameters to bend a nearby serial baud rate up or down to get 31250? Or is 31250 now a legitmately settable baudrate in its own right?

Return to “RISCOS”