Tag Info

New answers tagged

0

I saw that I can change the device of the audio-stream


1

Answer: @derobert pointed out the "sox" and "play" command are part of the same package but does different thing. The 3600 below is the time interval in seconds. sox -n note.mp3 synth 3600 sin 347 The above code will generate an hour long tone without playing it. play -n note.mp3 synth 3600 sin 347 The above code will play the tone for an hour AND ...


1

Install the good old apetag, then do something like this: find /some/dir -iname '*.mp3' -exec apetag -i {} -m overwrite \; It's probably a good idea to make backups, and try the operation on a small subset of files first.


0

If the kernel has auditing support enabled (which is unlikely for an embedded distribution), you can get notified when somebody accesses the sound device files. Otherwise, this must be done in userspace. The ALSA library has support for virtual devices that can call a hook function in a shared library. This is rather undocumented; the only example is the ...


0

X2Go Having had trouble with FreeRDP's server component, I would have tried FreeNX, since NX has been around for a while, but this post pointed out that CentOS 7 now ships with X2Go instead of NX, so I installed that on my CentOS 7 system. When I connected from my Windows 8 machine, it worked well, with sound, except it seemed to make the remote display ...


1

You don't mount Audio CDs. You can read about it here Mount CD ROM in Linux at 4. Mounting Audio CD chapter. In order to listen to a music CD all what needs to be done is to insert music CD ( Compact Dics ) into CD-ROM/DVD-ROM drive and fire up you favorite music CD player. In order to listen to Audio CD you can refer to this article Mplayer: Play ...


1

You could try to use these commands in the terminal: mkdir /mnt/cd && mount /dev/cdrom /mnt/cd Else try this in the terminal: sudo mkdir /mnt/cd && sudo mount /dev/cdrom /mnt/cd Or, if mkdir works: mkdir /mnt/cd && sudo mount /dev/cdrom /mnt/cd Or, if the directory has already been created: sudo mount /dev/cdrom /mnt/cd ...


2

The kernel documentation describes bdl_pos_adj as follows (see ALSA-Configuration.txt and HD-Audio.txt): bdl_pos_adj - Specifies the DMA IRQ timing delay in samples. Passing -1 will make the driver to choose the appropriate value based on the controller chip. (sic). On Intel controllers, the default is 1 (which is ...


1

If you want/need to use sox for this you can use its trim command: for i in *.mp3 do sox "$i" sample-"$i" trim 0 10 done The splitting you can also do with the commandline utility that is part of mp3splt. You explicitly set the output file with -o, so the originals are not touched, just remove them after you are done with them. This allows you to ...


0

fuser /dev/audio (or whatever devices and paths there are to your OS's sound device(s))


0

If your system is using pulseaudio you could use pactl: pactl set-sink-volume 0 +15% or pactl set-sink-volume 0 -5dB though you could also specify an integer or a linear factor: set-sink-volume SINK VOLUME [VOLUME ...] Set the volume of the specified sink (identified by its symbolic name or numerical index). VOLUME can be speciā€ ...


1

The other solution1 has some inconveniences: - it requires root access - it's a global change so it affects all users - upgrading sound-theme-freedesktop restores the file For the record, the proper way to do it (and avoid all of the above) is via a custom sound theme that disables2 the default sound file used by gnome-screenshot (the name of the file is ...


0

in OS X use the following: osascript -e "set Volume 7" highest osascript -e "set Volume 1" lowest osascript -e "set Volume 3.5" middle You can even set the volume to other fractional levels: osascript -e "set Volume 1.75" 25% volume


3

Possibly sox would be an option. Invoked like this: sox sound.wav sound.dat it writes a textual representation of the sample data to the file sound.dat. Depending on the options you can get a file with the time since the beginning in the first column and a normalized sample volume in second column, e.g.: ; Sample Rate 44100 ; Channels 1 0 ...


1

You can enclose your command in a loop: for file in *.flac;do outfile="${file%.*}.png" sox "$file" -n spectrogram "$outfile" done As for file naming, the sox(1) man page seems to suggest you can explicitly name your output file on the command line so you can use that within the loop. The first line in the loop makes use of Bash's parameter ...


0

A friendly user of the chrome-os, Aseda, pointed me to the hterm/Secure Shell FAQ. The audible bell can be disabled by opening up the Javascript console by pressing CTRL + SHIFT + J and then typing: term_.prefs_.set('audible-bell-sound', '')


1

On Gentoo I use PulseAudio's built-in equalizer. Any further info can be found here: https://wiki.gentoo.org/wiki/PulseAudio#Equalizer


0

You can do this with the audio cd function of k3b. Just add the files to the project and start the burning process. K3b will transcode the files before actually burning them. If you need additional encoders in order to achieve transcoding, you will be notified about that.



Top 50 recent answers are included