Author |
Topic: Cross-platform MIDI library? (Read 599 times) |
|
michael
Full Member
member is offline


Posts: 157
|
 |
Re: Cross-platform MIDI library?
« Reply #1 on: Aug 13th, 2017, 8:20pm » |
|
There may be some way to figure out how the sound system works and then access it in BBCSDL. I could do some research, but I don't plan to learn another language.
The pi is quite capable of sound and video on YouTube and performs quite well. There may be a simple way to play the midi files. One is Windows 10 install for the PI 3.
I have seen it on YouTube and perhaps that may be the key.
Here is the Windows 10 for Raspberry Pi 3 link... Just for curious people: https://www.windowscentral.com/how-install-windows-10-iot-raspberry-pi-3
|
| « Last Edit: Aug 13th, 2017, 10:08pm by michael » |
Logged
|
I like reinventing the wheel, but for now I will work on tools for D3D
|
|
|
Richard Russell
Administrator
member is offline


Posts: 803
|
 |
Re: Cross-platform MIDI library?
« Reply #2 on: Aug 13th, 2017, 8:46pm » |
|
on Aug 13th, 2017, 8:20pm, michael wrote:| There may be some way to figure out how the sound system works and then access it in BBCSDL. |
|
User 'hitsware' has already done it for the Raspberry Pi, with my help (did you miss his recent thread?) so there's nothing to "figure out"! Windows is of course also easy, and anyway BB4W already has built-in support for playing MIDI files.
Linux (86) can probably use the same method as the RPi - which is running Linux itself of course - so, as I said before, the problematical platforms are Mac OS and Android, on which the MIDI API looks potentially difficult to access (not least because on Mac OS it appears to be an Object Oriented API and on Android a Java API, of course).
So if you are wanting to help, it's those two platforms that need the most effort.
Quote:| Here is the Windows 10 for Raspberry Pi 3 link... Just for curious people |
|
This is a BBC BASIC support forum and there is no version of BBC BASIC that can run on Windows 10 IoT. 
Richard.
|
|
|
|
michael
Full Member
member is offline


Posts: 157
|
 |
Re: Cross-platform MIDI library?
« Reply #3 on: Aug 13th, 2017, 10:05pm » |
|
I do have a MacBook Pro and BBCSDL works well on it. I have made a few programs that do run quite well on it.
I will be working on more utilities for the Pi3 and Mac.
I didn't see the solution you worked out. It wasn't in my line of sight ..
As for the other mention I removed it, since it strays off forum focus content.
|
| « Last Edit: Aug 13th, 2017, 10:09pm by michael » |
Logged
|
I like reinventing the wheel, but for now I will work on tools for D3D
|
|
|
Richard Russell
Administrator
member is offline


Posts: 803
|
 |
Re: Cross-platform MIDI library?
« Reply #4 on: Aug 14th, 2017, 2:56pm » |
|
on Aug 13th, 2017, 10:05pm, michael wrote:| I do have a MacBook Pro and BBCSDL works well on it. |
|
What version of Mac OS are you running (and what's the newest version your Mac can run)? The latest I can run here is OS X 10.7 ('Lion') which is now quite old so the testing of BBCSDL that I am able to do is rather limited.
Quote:| As for the other mention I removed it, since it strays off forum focus content. |
|
Windows 10 IoT (which is an ARM variant of Windows 10 UWP) can only run 'Windows Store' apps, not desktop apps like BB4W or BBCSDL.
Richard.
|
|
Logged
|
|
|
|
michael
Full Member
member is offline


Posts: 157
|
 |
Re: Cross-platform MIDI library?
« Reply #5 on: Aug 14th, 2017, 7:10pm » |
|
Mac OS X 10.6.8 processor 2.4 GHZ intel Core 2 Duo
I have the latest BBCSDL for mac
|
| « Last Edit: Aug 14th, 2017, 7:12pm by michael » |
Logged
|
I like reinventing the wheel, but for now I will work on tools for D3D
|
|
|
Richard Russell
Administrator
member is offline


Posts: 803
|
 |
Re: Cross-platform MIDI library?
« Reply #6 on: Aug 14th, 2017, 8:47pm » |
|
on Aug 14th, 2017, 7:10pm, michael wrote: Oh well, I was hoping you could do some testing on a newer version than I have, but obviously not. 
Richard.
|
|
Logged
|
|
|
|
|