Questions tagged [audio]

Questions about audio hardware and software in Linux and other UNIX operating systems.

Also, check tags: and .

1936 questions
251
votes
12 answers

How do I make my pc speaker beep

Using bash, how can I make the pc speaker beep? Something like echo 'beepsound' > /dev/pcspkr would be nice.
Stefan
  • 24,830
  • 40
  • 98
  • 126
123
votes
7 answers

Error when trying to connect to bluetooth speaker: `org.bluez.Error.Failed`

I'm running Debian Jessie 8.2. I have a bluetooth USB dongle connected to my machine. I run sudo bluetoothctl -a then do the following: [NEW] Controller 5C:F3:70:6B:57:60 debian [default] Agent registered [bluetooth]# scan on Discovery started [CHG]…
Username
  • 801
  • 3
  • 21
  • 38
112
votes
8 answers

Set volume from terminal

Is it possible to set the audio volume using the terminal instead of clicking the speaker icon in the top bar? The reason I want to do this is that my keyboard does not have volume increase/decrease buttons and I find it annoying to reach for the…
Tristian
  • 1,499
  • 2
  • 13
  • 13
106
votes
7 answers

How to use command line to change volume?

I am trying to control the volume using my programming script. How can I do the following in Fedora 15, Ubuntu linux? Mute/ Unmute Volume up and volume down Note: Please note that I use a web USB microphone/speaker and also Analogue…
user11085
101
votes
10 answers

How do I split a flac with a cue?

I've got a full album flac and a cue file for it. How can I split this into a flac per track? I'm a KDE user, so I would prefer a KDE/Qt way. I would like to see command line and other GUI answers as well, but they are not my preferred method.
xenoterracide
  • 57,918
  • 74
  • 184
  • 250
95
votes
6 answers

How to COMPLETELY turn off system beep sounds forever for good for real

I use Nautilus to explore my files. I use a Debian-based OS with KDE Plasma 5. I use the keyboard a lot. When I press the key up when navigating files, if I'm already at the extremity of the list of files, Nautilus sends a big system beep which I…
Guillaume Chevalier
  • 973
  • 1
  • 7
  • 14
90
votes
2 answers

Trim audio file using start and stop times

I have an FFmpeg command to trim audio: ffmpeg -ss 01:43:46 -t 00:00:44.30 -i input.mp3 output.mp3 The problem I have with this command is that option -t requires a duration (in seconds) from 01:43:46. I want to trim audio using start/stop times,…
whitewings
  • 2,377
  • 7
  • 32
  • 53
85
votes
8 answers

How do I split an audio file into multiple?

I found something for videos, which looks like this. ffmpeg -i * -c:v libx264 -crf 22 -map 0 -segment_time 1 -g 1 -sc_threshold 0 -force_key_frames "expr:gte(t,n_forced*9)" -f segment output%03d.mp4 I tried using that for an audio file, but only…
DisplayName
  • 11,468
  • 20
  • 73
  • 115
62
votes
7 answers

How can I play a sound when script execution is ready?

I am executing every now and then some python scripts which take quite long to execute. I execute them like this: $ time python MyScript.py How can I play a sound as soon as the execution of the script is done? I use Ubuntu 10.10 (Gnome desktop).
Martin Thoma
  • 2,802
  • 5
  • 34
  • 45
60
votes
2 answers

redirect sound (microphone) via ssh, how to telephone via ssh?

How can I redirect the microphone of one computer to listen to it on another computer via ssh? Which is the right device or which is the right command line? Some years ago it was easy and fun to redirect sound from a remote microphone to a local…
erik
  • 16,959
  • 4
  • 32
  • 46
57
votes
5 answers

How to enable my keyboard's volume keys in XFCE?

My keyboard has dedicated keys to change the audio volume and to mute/unmute audio. How can I make these work in XFCE?
Nova
  • 2,806
  • 2
  • 18
  • 34
55
votes
9 answers

Add album-art cover to mp3/ogg file from command-line in batch mode?

I am looking for a software in Linux, that will add the album-art/cover to each of the selected files in batch-mode. The album art is a jpg/png stored in my computer. It will be awesome if it can import from internet. Currently I have tried both…
BaRud
  • 1,599
  • 2
  • 15
  • 26
55
votes
6 answers

Change PulseAudio Input/Output from Shell?

I have a set of nice wireless headphones which I use from time to time, in addition to my speakers and normal microphone. I'd like to write a script to switch between one input and output source and another, essentially a switch between my…
Naftuli Kay
  • 38,686
  • 85
  • 220
  • 311
52
votes
10 answers

Audio-only youtube player

I would like to find an application external to the internet browser that would play only youtube sound. Preferably a very light one, CLI or GUI.
user32012
51
votes
5 answers

Generating random noise for fun in /dev/snd/

Recently I have been exploring the enchanted /dev folder. I want to write some random data to an audio device in order to generate some noise. I am using ALSA. So I instruct cat to pipe some random data to the playback file in the /dev folder... …
jones
  • 727
  • 2
  • 7
  • 7
1
2 3
99 100