I can do soxi -d * to get audio length information in hours, minutes, and seconds. However it would only give me info on the individual audio length. If I wanted to see the audio length for the entire folder, how can I accomplish such task? like when you do “wc -w” it shows the sum of everything at the
Tag: audio
Can’t hear sound when audio is being played in Pyglet (Raspberry Pi 4B, Raspbian)
I am running the latest version of Raspbian on the Raspberry Pi with Python 2.7 and 3.7 installed. For a project, I need to implement some spatial/binaural audio file playback capabilities in Python, and Pyglet (version 1.5.6) (https://pypi.org/project/pyglet/, https://github.com/pyglet/pyglet) seems to be the simplest option with least dependencies. However, I am not being able to hear audio output through the
SDL audio randomly becomes distorted on Linux
I have a strange issue with SDL audio. It will randomly become distorted. It’s completely random, I can’t reliably reproduce it at all. Sometime it starts being distorted seconds after the program starts, other times I’ve played with the software, let it run over night and it’ll still be working in the morning. It could have to do with SDL,
udpsink doesnt seem to stream anything but filesink works
I have trouble streaming pulse audio monitor via rtp to an audio player like vlc or gst-launch with udpsrc this command works and the file has audio that is currently being played but when i use this, vlc (from an android phone) tells me that it cannot play the stream with uri rtp://ip-addr:4000 and gst-launch from same machine starts but
File information of .raw audio files using terminal in linux
How to get file information like sampling rate, bit rate etc of .raw audio files using terminal in linux? Soxi works for .wav files but it isn’t working for .raw. Answer If your life depended on discovering an answer you could make some assumption to tease apart the unknowns … however there is no automated way since the missing header
How to properly set up ALSA device
Edit: This question is different than the proposed duplicate because I’m asking How do you set the period/buffer size that will work with multiple targets each with different sound hardware?. I have created some code that attempts to set up ALSA before playback of an OGG file. The code below works on one embedded Linux platform, but on another it
Adjust volume of both input mp3 files while merging using ffmpeg
I am using the following command to merge two audio files (mp3) into one output.mp3 Kindly suggest me how to adjust volume level of both input files to some specific level. I have found the following filter variable but don’t exactly know how to adjust into my command. Any help will be much appreciated.Thanks Answer You would use
FFmpeg not copying all audio streams
I’m having trouble getting ffmpeg to copy all audio streams from a .mp4 file. After hours of searching online, it appears this should copy all streams (as shown in example 4 here): in.mp4 contains 3 streams: Video Audio track 1 Audio track 2 out.mp4 (which should be identical to in.mp4) contains only 2 streams: Video Audio track 1 FFmpeg does
FFmpeg audio crossfade
I’m trying to merge several videos using ffmpeg and apply the cross-fade transition in between. I got video cross-fade working by referring to this. At the same time I need to have audio also to have cross-fade applied for original audios associated with each video. I referred several places but they resulted, Buffer queue overflow, dropping. This, this and this
Audio Channel change/swap automatically
I am working with digital TV in Linux platform. Currently I am facing with one issue in audio. When I give stereo audio to Function and after long time running the audio channels get swapped. That is, right channel audio hearing in Left channel and Left in Right. I dumped the PCM data in to a file before giving to