Recent

Author Topic: MIDI  (Read 3568 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: 1260
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: 4219
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/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and 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: 2514
    • 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...

Key-Real

  • Full Member
  • ***
  • Posts: 189
Re: MIDI
« Reply #8 on: May 23, 2023, 09:42:49 am »

 

TinyPortal © 2005-2018