Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Sound unter Linux ansprechen/programmieren?

Empfohlene Antworten

Veröffentlicht

Hi,

ich möchte mal gerne wissen, wie ich sound unter Linux programmieren kann?

Wie muss ich das anstellen?

Brauch ich Tcl/Tk oder gehts auch einfacher??

Ich möchte einfach, dass wenn ein Fehler passiert, dass ein Piepton bzw. eine Serie von Pieptönen ausgegeben wird.

Benötige ich dazu eine spezielle Programmiersprache oder nicht?

Hi,

ich weiss nicht ob Dir das hilft, aber bei vielen Programmiersprache, wie auch in c, ist ein Signalton mit \a zu erzwingen. Musik ist das aber keine.

Bsp.:

#include<stdio.h>

int main() {

printf("Signalton\a");

}

Wenns nen bisschen mehr sein soll.

Die Soundkarte kann wie alle Geräte mit hilfe einer Gerätedatei

im /dev Verzeichnis angesprochen werden.

Ich hab im Moment kein Linux zur Hand aber wenn ich mich richtig erinnere kann man eine Wavedatei mit

cat datei.wav > /dev/sound aus den Lautsprechern tönen lassen.

Hoagi

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.