Questions tagged [audio-analysis]

To be used for questions related to the process of analyzing audio streams or files.

The process of analyzing audio streams or files.

93 questions
1
vote
1 answer

How to interpret audio bytes?

I want to write a Voice Stress Analysis tool. I'm opening the audio stream for reading: TargetDataLine line; AudioFormat format = new AudioFormat((float) 44100, 16, 1, true, false); DataLine.Info info = new DataLine.Info(TargetDataLine.class,…
Mihail Burduja
  • 3,196
  • 2
  • 22
  • 28
1
vote
2 answers

How to find X seconds of silence in a mp3 file?

I need to find a silence in a mp3 file. Simple as that. For example: Find a silence GREATER than X seconds in "file.mp3", then send an errorcode 0 if X seconds of silence found, or errorcode 1 if not found the silence. I can try it in Batch, VBS,…
ElektroStudios
  • 19,105
  • 33
  • 200
  • 417
1
vote
1 answer

Identifying silence at the end of an mp3 using java

Trying to detect silence at the end of audio in mp3 format, well all formats would be useful but mp3 format is the most important
Paul Taylor
  • 13,411
  • 42
  • 184
  • 351
0
votes
1 answer

Python - Measure LIVE audio volume

I have two audios frequently playing on my computer, one loud and one soft. I would like to measure the live audio volume playing on my pc, and if it exceeds a certain value, then it would execute a function. How would this be achieved, if…
0
votes
0 answers

How to loop through multiple audio files to extract MFCC features to feed to CNN model?

need some help with MFCC feature extraction on librosa. My goal is to calculate MFCC from 160 audio files and use the output to train a convolutional neural network. But I'm having some issues with the code. I'm primarily a c++ user, so python is…
0
votes
0 answers

Creating a varying sized image object in moviepy

I am looking to create a visual effect in python which will relate the output of an audio file (WAV) to the size of an object, similar to how many chat platforms will show a ring around a profile pic of the person you are chatting with which will…
0
votes
0 answers

How to get the mfcc of song(.wav) using python?

I have been trying to create mfcc of every file in my dataset. I want to create a preprocessing fuction which takes the source_path as input and returns dictionary mydict with two keys label , mfcc. I have tried to create the following function def…
0
votes
1 answer

opensmile in Python save as .arff

I am using Python with the library opensmile. My target is to generate *.arff files to use in Weka3 ML-Tool. My problem is, that It is rather unclear for me how to save the extracted features into an *.arff file. for example: import opensmile smile…
0
votes
1 answer

Read rtmp live streaming video using python

I am streaming a session using rtmp server(NGINX). I got the stream url as rtmp://ip:port/live/stream_name. How can I read the live stream in my python code(or any other) to do live transcription?
0
votes
1 answer

Audio signal Filtering

I am trying to filter audio signal with a butterworth bandpass filter (C# from NWaves Nuget) then use audacity to get the frequency analysis of filtered signal to check and validate the result. Raw signal No filter I used NWaves nuget to get the…
0
votes
1 answer

Inverse FFT in Processing Minim

I'm trying to output my computer microphone input to the speakers output using Minim in Processing. The aim of the project is to analyze an input (the microphone, a sound file, etc), make some alterations to its frequency spectrum, and finally…
Simone Scala
  • 1
  • 1
  • 2
0
votes
1 answer

Why does sorting a list of onsets into numbers the size of the Sample Depth of the song (1024) always result in 20

ok so i'm not exactly sure how to describe this problem as i'm new to Audio analysis as a whole so i'm going to explain it step by step. So i have this algorithm here written in csharp // Put into groups for (int i = 0; i < onsets.Count-1; i++){ …
0
votes
0 answers

For MATLAB mirfeatures function I get the valid interpreter syntax error

Following this manual page 195, I run the f = mirfeatures(a), where a is a miraudio('mysong.wav') object. Then I want to get the results stored in f. However, I get the following error after this command: f.dynamics.rms{1} Brace indexing is not…
MRM
  • 1,099
  • 2
  • 12
  • 29
0
votes
0 answers

Building wheel for essentia

import essentia I installed anaconda in my local machine. I need to use essentia for audio analysis and audio-based music information retrieval. However, there is error when I do " pip install essentia " "Building wheel for essentia…
Angela
  • 1
  • 1
0
votes
1 answer

Detect audio clipping in RTMP live stream using Python

I have a live RTMP audio/video stream which I want to analyse for clipping in the audio stream. The audio is encoded using either OGG, MP3 or AAC. Any thoughts on how I can do this, or what Python library I can use for this? Many thanks in…
Eelco
  • 1
  • 2