Recent

Author Topic: ALSA support on Linux: now has full sequencer (MIDI) interface  (Read 961 times)

MarkMLl

  • Hero Member
  • *****
  • Posts: 8429
ALSA support on Linux: now has full sequencer (MIDI) interface
« on: December 26, 2023, 08:27:18 pm »
I have just updated my ALSA (asound) interfaces at https://github.com/MarkMLl/asound to include a fairly complete transcript of the sequencer (i.e. MIDI) API. This does not try to call libc, which historically was the cause of versioning problems.

(My recollection is that) it was based initially on the output of h2pas merged with documentation text such that Lazarus should display sensible hints etc., then run through a (so-far unpublished) program which outputs interface files for load-time and on-demand library linkage.

There's a working filter demo in the examples directory, although I must say that I find some of the naming conventions uncomfortable: things that are named like pointers but turn out not to be and vice-versa.

Up to a point, the filter supports a dynamically-loaded plugin as the backend. It works, but I'm not entirely happy with naming conventions etc. and there's details like automatic reload if the backend is recompiled which I've not merged from earlier work. I might revisit this, but it won't be immediate.

Provided in the hope that it's of some use to the community.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

 

TinyPortal © 2005-2018