Difference between revisions of "ALSA"

From HaskellWiki
Jump to navigation Jump to search
(added information from MIDI article)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The [http://www.alsa-project.org/main/index.php/Main_Page Advanced Linux Sound Architecture] can be addressed by currently two different projects:
+
The [http://www.alsa-project.org/main/index.php/Main_Page Advanced Linux Sound Architecture] is addressed by currently three different projects.
  +
* The following three packages were derived from the <code>alsa</code> package below
* <code>alsa</code>: Complete ALSA support (audio signals and MIDI), [http://code.haskell.org/alsa/ darcs repository]
 
  +
** {{HackagePackage|id=alsa-core}}: Core ALSA functionality, currently only ALSA exceptions
* <code>alsa-midi</code>: ALSA sequencer support (aka MIDI), [http://darcs.haskell.org/alsa-midi/ darcs repository], [http://hackage.haskell.org/cgi-bin/hackage-scripts/package/alsa-midi hackage], [http://open-projects.net/~shahn/index.php?seite=code old project page], note that this package is no longer supported in favor of the alsa package.
 
  +
** {{HackagePackage|id=alsa-pcm}}: audio signal input and output
  +
** {{HackagePackage|id=alsa-seq}}: [[MIDI]] handling
  +
* {{HackagePackage|id=alsa}}: Complete ALSA support (audio signals and [[MIDI]]). The original [http://code.haskell.org/alsa/original/ darcs repository] has been converted to a [http://github.com/yav/alsa-haskell.git git repository], but there are some enhancements in [http://code.haskell.org/~thielema/alsa/revised/ another darcs repository]
 
* {{HackagePackage|id=alsa-midi}}: ALSA sequencer support (aka [[MIDI]]), [http://code.haskell.org/~thielema/alsa-midi/ darcs repository], [http://open-projects.net/~shahn/index.php?seite=code old project page], note that this package is no longer supported in favor of the first mentioned package collection.
  +
  +
Related packages are
  +
* {{HackagePackage|id=midi-alsa}}: Conversion between data types of the <code>alsa</code> package and the <code>midi</code> package
  +
  +
  +
== Troubleshooting ==
  +
  +
If you get a message like
  +
  +
Configuring alsa-core-0.5.0.1...
  +
Cabal-simple_mPHDZzAJ_2.2.0.1_ghc-8.4.3: The pkg-config package 'alsa' version
  +
>=1.0.14 is required but it could not be found.
  +
  +
then you need to install the alsa development packages. On Debian or Ubuntu, do
  +
  +
sudo apt install libasound2-dev
   
 
[[Category:Music]]
 
[[Category:Music]]

Latest revision as of 08:05, 18 March 2019

The Advanced Linux Sound Architecture is addressed by currently three different projects.

Related packages are

  • midi-alsa: Conversion between data types of the alsa package and the midi package


Troubleshooting

If you get a message like

   Configuring alsa-core-0.5.0.1...
   Cabal-simple_mPHDZzAJ_2.2.0.1_ghc-8.4.3: The pkg-config package 'alsa' version
   >=1.0.14 is required but it could not be found.

then you need to install the alsa development packages. On Debian or Ubuntu, do

   sudo apt install libasound2-dev