Re: [livecode] audio source in linux

From: Kassen <signal.automatique_at_gmail.com>
Date: Sat, 3 May 2008 11:42:03 +0200

2008/5/3 <zmoelnig_at_iem.at>:

> in unix everything is a file, even your soundcard output.
> so just send the "numbers" (in binary that is) to the correct file.
>
> like that:
> # cat /dev/hda > /dev/dsp
>
> agreed, it is not the most creative example; i like this one better:
> # find /usr/src/linux-headers-2.6.24-16 -type f -exec cat '{}' \; >
> /dev/dsp
>
> however, you need OSS for this (luckily there is the OSS emulation for
> ALSA)
>
>
Ah! But then one could -instead of a file's contents- also use the build-in
math and scripting functions for synthesis....

Not at all practical but I'd love to see it done.

Kas.
Received on Sat May 03 2008 - 09:44:34 BST

This archive was generated by hypermail 2.4.0 : Sun Aug 20 2023 - 16:02:23 BST