Questions tagged [audio]

For questions about the recording and playback of speech and music on your computer, as well as for problems about the sound component of videos.

Virtually, all computers have the ability to output sounds, either via an internal speaker, via 3.5mm, or USB connectors to headphones, external speakers and even hi-fi equipment.

To record sounds, you need either a microphone or a line in connection and software to capture the sound.

7148 questions
1577
votes
6 answers

How do I make a machine "blank screen" for a period of time (as a penalty) if certain noise levels are reached?

My kids (4 and 5) yell a lot when playing games on the computer. I found an effective cure for this. When I hear loud noises, I ssh into the game computer and do: chvt 3; sleep 15; chvt 7 This will turn off the screen for 15 seconds on Linux.…
Leonid Volnitsky
  • 8,473
  • 3
  • 13
  • 8
604
votes
11 answers

From a quality perspective, what is better: turning volume up in the software, in the OS, or on the speakers?

If music isn't loud enough, how do I get the best quality (even if the difference is in fact so small it's negligible)? By making the music louder in my music player, game or other sound-producing software program? By raising the volume at the…
Qqwy
  • 4,417
  • 3
  • 15
  • 18
294
votes
15 answers

Combine one image + one audio file to make one video using FFmpeg

This should be pretty trivial, but I can't find a way to get it to work. I want FFmpeg to take one JPEG image and an audio file as input and generate a video file of the same duration as the audio file (by stretching the still image for the whole…
matteo
  • 4,199
  • 6
  • 20
  • 22
202
votes
6 answers

How can I normalize audio using ffmpeg?

I want the loudest peak sound in a movie clip to be as loud as the codec allows, then have every other sound amplified accordingly. What's a practical example in order to accomplish this using ffmpeg?
Jon Skarpeteig
  • 2,141
  • 3
  • 13
  • 8
161
votes
1 answer

ffmpeg - replace audio in video

How to replace the audio in a video file using an audio file using ffmpeg? I imagine the command looks like: ffmpeg -i v.mp4 -i a.wav -MAGIC video-new.mp4 This is very similar to How to replace an audio stream in a video file with multiple audio…
qubodup
  • 8,365
  • 7
  • 36
  • 49
125
votes
9 answers

Is there a way to listen to the input sound on Mac OS X?

Is there any easy way to listen to the input on a Mac? For example, assume I have a microphone hooked up to the input (i.e. line in) of my Mac, and I have headphones hooked up to the output of my Mac: is there any way that I can hear what I say in…
Senseful
  • 4,150
  • 10
  • 37
  • 46
122
votes
6 answers

Can I write (200 MB - 150 min) music to a (700 MB - 80 min) CD?

I have mp3 songs of audio quality 320 kbps. The total size of the songs is around 200 MBs with a total playing time of around 150 minutes. Can I write these songs to an audio CD, whose specs are following: 52x top recording speed on a CD-R/RW…
skm
  • 923
  • 4
  • 9
  • 17
121
votes
14 answers

How can I control the master volume in Windows?

Some keyboards have volume controls on them that can be pressed anytime to control the master volume. My keyboard does not have that. Is there a way that I can create a key macro that will work like the volume controls on those keyboards? It…
Phenom
  • 6,597
  • 25
  • 81
  • 121
120
votes
7 answers

Is there a way to restart audio without restarting a Windows 7 computer?

Sometimes, when I start my machine, the volume control is set to 100, but it plays relatively quiet. I can fix it by rebooting my machine. Is there a way to restart audio devices, without rebooting the computer?
xylar
  • 1,373
  • 3
  • 10
  • 12
112
votes
15 answers

Bad sound through bluetooth headphones

I have a problem with the sound quality of a pair of Acoustic CHP600BT Solutions Bluetooth Headphones - Black. When I connect these headphones to my phone (Samsung S2 plus), the sound quality is perfect, but when connecting to my laptop the sound…
iCoRe
  • 1,221
  • 2
  • 9
  • 3
110
votes
7 answers

FFMPEG: Convert m4a to mp3 without significant loss

I have a load of audio files (about 1000) which I want to convert from m4a to mp3 so I can use play them on a CD player which has a USB port. I tried doing something simple like: ffmpeg -i FILE.m4a FILE.mp3 but this seems to reduce the bitrate to a…
user3728501
  • 2,486
  • 6
  • 28
  • 46
110
votes
10 answers

Play MP3 or WAV file via the Linux command line

I would like to make an alarm system backed by a Ubuntu (no graphical interface) box, which plays various announcement and alarm audio tracks (.mp3 or .wav) via the command line. For example: $ root> audioplay ./hello.wav The audio should come from…
c2h2
  • 2,363
  • 3
  • 18
  • 18
109
votes
6 answers

Does DisplayPort carry sound as HDMI does?

Does DisplayPort carry sound as HDMI does? Specifically, I am looking at Lenovo Laptops T410 or T510. I'm wondering if the spec permits for audio over DP, and if possible whether the Lenovo laptops I mentioned implement it.
Matt
  • 6,231
  • 20
  • 57
  • 79
103
votes
6 answers

"reload" mac audio drivers without rebooting

I have an external audio interface (M-audio fast track c400). In order to get my macbook to recognize it (display in audio/midi setup), I have to reboot, which is a hassle. I have had other m-audio interfaces that were automatically detected when…
RyanM
  • 1,153
  • 2
  • 8
  • 7
92
votes
2 answers

What do ALSA devices like "hw:0,0" mean? How do I figure out which to use?

I've searched over and over and can't find any explanation of what "hw:0,0" means. How do I determine the number of my USB audio card? MPD requires me to enter something like this: audio_output { type "alsa" name …
endolith
  • 7,507
  • 25
  • 84
  • 121
1
2 3
99 100