Recent

Author Topic: MIDI  (Read 868 times)

Mr.X

  • New Member
  • *
  • Posts: 13
MIDI
« on: April 11, 2019, 02:13:21 am »
Is there a cross-platform MIDI library for Lazarus?

Mike.Cornflake

  • Hero Member
  • *****
  • Posts: 1250
Re: MIDI
« Reply #1 on: April 11, 2019, 02:47:11 am »
Personally dunno - I'm not that familiar with midi.  For playback there are assorted cross platform multimedia libraries. 

This would be my first port of call to research.  I've heard good stuff
http://wiki.freepascal.org/uos
http://fredvs.github.io/uos/ 

Another thought occurs.  VLC can play midis
https://wiki.videolan.org/Midi/
FPC ships with a VLC wrapper - see fpc\packages\libvlc
There's also a third party wrapper: https://prog.olsztyn.pl/paslibvlc/

If you're chasing something different - others may be able to help
Lazarus Trunk/FPC Trunk on Windows [7, 10]
  Have you tried searching this forum or the wiki?:   http://wiki.lazarus.freepascal.org/Alternative_Main_Page
  BOOKS! (Free and otherwise): http://wiki.lazarus.freepascal.org/Pascal_and_Lazarus_Books_and_Magazines

Mr.X

  • New Member
  • *
  • Posts: 13
Re: MIDI
« Reply #2 on: April 11, 2019, 02:50:40 am »
Thank you for your reply.

I'm talking about MIDI commands, not file playback, but appreciate your efforts.

lucamar

  • Hero Member
  • *****
  • Posts: 2128
Re: MIDI
« Reply #3 on: April 11, 2019, 12:04:39 pm »
Try searching for "MIDI"  in the forum. There has been a few topics relatively recently.
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus 2.0.2/2.0.4  - FPC 3.0.4 on:
(K|L)Ubuntu 12..16, Windows XP SP3, various DOSes.

Mr.X

  • New Member
  • *
  • Posts: 13
Re: MIDI
« Reply #4 on: April 11, 2019, 09:42:25 pm »
Did that before posting. No conclusive answer.

Mr.X

  • New Member
  • *
  • Posts: 13
Re: MIDI
« Reply #5 on: April 29, 2019, 01:29:31 am »
Is there a way to call MacOS CoreMIDI functions within Lazarus?

avra

  • Hero Member
  • *****
  • Posts: 1731
    • Additional info
Re: MIDI
« Reply #6 on: April 29, 2019, 01:42:27 am »
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

Mr.X

  • New Member
  • *
  • Posts: 13
Re: MIDI
« Reply #7 on: April 29, 2019, 02:33:30 am »
Windows only: https://bitbucket.org/avra/ct4laz/downloads/pl_win_midi.zip
Thanks, but Windows is easy, lots of examples. Looking for MacOS solutions...