Skip to content
3 juillet 2025

Lazarus Components

Watch Online
  • Home
  • 2024
  • mars
  • 12
  • asound

https://github.com/MarkMLl/asound


  • Sound

asound

Matthius 12 mars 2024 2 min read

Partial interface for Pascal with static and dynamic linkage, coded with reference to fpalsa etc.

This provides as much functionality as I currently need for emitting warning or acknowledgement « jingles » via a sound card and amplifier using either PCM or a MIDI sequencer device, plus an interface for writing a filter between a MIDI keyboard and sound generator.

It is intended to be lightweight, and to support dynamic linkage for cases where ALSA is unavailable at runtime. As much documentation as possible has been transcribed in a form which the Lazarus IDE will pick up as hints.

The reader is strongly advised to have Lazarus’s project groups addon, to build in the order given and to start reading code with examples/BeepDemoCode noting that this imports AlsaPcmDemo and AlsaSeqDemo.

AlsaPcmDemo imports either AsoundPcm or AsoundPcm_dynamic, with the code being otherwise unchanged.

AlsaSeqDemo imports a crude parser from WatchXyzMidi. WatchXyzMidi imports either AsoundSeq or AsoundSeq_dynamic, with the code being otherwise unchanged.

There is definite scope for improvement in the demo code’s MIDI note sequencing, which suffers from being a hasty transcript of some much older stuff. However as it stands it is sufficient for the author’s requirement, and avoids a substantial amount of overhead inherent in other libraries.

At a lower level there is extra complexity, mostly hidden in include files, which results in the API being presented either as a statically-linked unit or as an object which conceals dynamic linkage. Conveniently, Pascal allows an application program to use identical calling syntax in both cases.

French

Gestion du son et du midi.

Continue Reading

Previous: StrumPract

Related Stories

StrumPract
1 min read
  • Sound
StrumPract is various tools for musicians and music lovers, like:     DJ console for auto-mixing, with...
Read More
Shoutcast Explorer
1 min read
  • Sound
Shoutcast Explorer is a small Open Source browser and player for shoutcast radios stations. it find radios...
Read More
Web Player Creator
1 min read
  • Sound
Lazarus Web Player Creator creates a static HTML web player. If your musics are free you can...
Read More

Articles récents

  • SnapModbus
  • InstallAware 2025
  • Intraweb for Lazarus
  • LazTTF2Vector
  • NTSC/CRT port

Commentaires récents

Aucun commentaire à afficher.

Archives

  • juin 2025
  • avril 2025
  • mars 2025
  • février 2025
  • janvier 2025
  • décembre 2024
  • août 2024
  • juin 2024
  • avril 2024
  • mars 2024
  • mai 2023
  • avril 2023
  • janvier 2023
  • décembre 2022
  • novembre 2022
  • août 2022
  • juin 2022
  • décembre 2021
  • novembre 2021
  • octobre 2021
  • septembre 2021
  • juillet 2021
  • mai 2021
  • avril 2021
  • mars 2021
  • janvier 2021
  • décembre 2020
  • novembre 2020
  • octobre 2020
  • septembre 2020
  • août 2020
  • mai 2020
  • novembre 2019
  • mai 2019
  • janvier 2019
  • octobre 2018
  • septembre 2018
  • juillet 2018
  • juin 2018
  • mai 2018
  • avril 2018
  • novembre 2017
  • septembre 2017
  • juillet 2017
  • mai 2017
  • mars 2017
  • janvier 2017
  • décembre 2016
  • septembre 2016
  • juillet 2016
  • juin 2016
  • septembre 2013
  • août 2013
  • juillet 2013
  • avril 2013
  • mars 2013
  • février 2013
  • janvier 2013
  • novembre 2012
  • octobre 2012
  • septembre 2012
  • août 2012
  • juillet 2012
  • juin 2012
  • avril 2012
  • mars 2012
  • février 2012
  • janvier 2012
  • décembre 2011
  • novembre 2011
  • octobre 2011
  • août 2011
  • juillet 2011
  • juin 2011
  • mai 2011
  • avril 2011
  • mars 2011
  • février 2011
  • janvier 2011
  • décembre 2010
  • novembre 2010
  • octobre 2010
  • septembre 2010
  • août 2010
  • juillet 2010
  • juin 2010
  • mai 2010
  • mars 2010
  • février 2010
  • janvier 2010
  • décembre 2009
  • novembre 2009
  • septembre 2009
  • août 2009
  • juillet 2009
  • juin 2009
  • avril 2009
  • mars 2009
  • janvier 2009
  • décembre 2008
  • novembre 2008
  • septembre 2008
  • juillet 2008
  • mai 2008
  • février 2008
  • janvier 2008

Catégories

  • 3D
  • 3D
  • 3D and 2D, Games
  • Applications
  • Audio
  • Bar/QR Codes
  • Buttons
  • Colors
  • Compilers
  • Components with sources
  • Components without sources
  • Compressing
  • Compressing
  • Crypting
  • Crypting
  • Data/Persistence
  • Data/Persistence
  • Data/Persistence
  • Demos and restrictions
  • Demos, applications, forms, themes, languages
  • DLL
  • DLL
  • Documents
  • Drivers
  • Editing
  • Education
  • Education
  • Emulation
  • Emulation
  • Exemple
  • File Systems
  • File Systems
  • File, Systems
  • Files and bases
  • Files and bases
  • Firewall
  • For Android
  • For Lazarus
  • For Lazarus
  • Forms
  • Forms
  • Fun, graphics, charts
  • Fun, graphics, charts
  • Games
  • Games
  • Genealogy
  • Graphics
  • Graphics and Charts
  • Graphs and stats
  • Hardware
  • Hardware
  • Hardware, sound, video, system, network
  • Hardware, sound, video, system, network
  • HTML/XML
  • HTML/XML
  • Images
  • Installing
  • Languages
  • Languages
  • LAZARUS
  • Log and tests
  • Mail
  • Management
  • Maps
  • Math
  • Math
  • Menus
  • Network
  • Network
  • Network
  • Network
  • Neural Networks and AI
  • Neural Networks and AI
  • Office
  • OS
  • Packaging
  • Panels
  • Players
  • Professions
  • Professions
  • Programming
  • Programming
  • Programming
  • Projects with sources and components
  • Projects without sources
  • Recognition
  • Reports
  • RSS
  • Science/Industry
  • Science/Industry
  • Scripts
  • Searching
  • Security
  • Security
  • Servers
  • Sound
  • Sound
  • Suite
  • System
  • Teaching
  • Teaching
  • Testing
  • Testing
  • Text
  • Text
  • Text, reports
  • Text/Recognition
  • Themes
  • Threading
  • Timers
  • Tools
  • Tools
  • Trees
  • Vectors
  • Video
  • Videos
  • Videos
  • Visual Components
  • Visual Components
  • Web
  • Web
  • Web, XML
  • Web, XML
  • Word processing
  • XML/HTML
  • XML/HTML

You may have missed

SnapModbus
2 min read
  • Hardware
SnapModbus: an open-source multi-platform Modbus suite (libraries and tools).It’s not written in FreePascal but there is an...
Read More
InstallAware 2025
2 min read
  • Installing
InstallAware 2025 is a cross-platform tool for application developers looking to self-publish (and update) their software on...
Read More
Intraweb for Lazarus
1 min read
  • HTML/XML
Web components IntraWeb 16 requires a license key version 11 (starts with +0011, the same used in...
Read More
LazTTF2Vector
1 min read
  • Graphics
This program reads TrueType font files and displays the entered text using CADSys4. The result can be...
Read More
Copyright © All rights reserved. | darklinks by AF themes.