Questions tagged [acoustics]

Acoustics is a branch of physics studying the properties of sounds. This tag may be used to identify any programming problem related to the generation, propagation, reception, and processing of sounds.

77 questions
2
votes
2 answers

What are the principles behind acoustic fingerprinting?

What kind of API's or frameworks are used to assign a note of music a value? Like how would an application like Shazzam take in a note from the microphone and know what to do with it? To me it's amazing a phones microphone and some nifty logic can…
paglynn
  • 69
  • 7
2
votes
2 answers

Why do you need to segment the audios 5-30 seconds each for building the acoustic model?

Sphinx4 requires the audio in the acoustic model to be segmented 5-30 seconds each. Why? And how do you segment the audio? When will you segment it at 5 seconds or at 10 seconds or at 25 seconds? Thank you dear sir!
Allen Pol
  • 51
  • 1
  • 6
2
votes
2 answers

How to Ouput different wave signals through external PC speakers with C++?

For my school project I would like to know if anyone can help me in finding a way of outputting sound in real time through the speakers of my PC. This has to be donevia my sound Card while at the same time playing with parameters of the signal…
1
vote
1 answer

How to load sound files and data in R for bioacoustic analysis (MonitoR)?

I am trying to follow this bioacoustics in R guide to help me run analysis on some frog chirps. I am also looking at this MonitoR guide as they're trying to accomplish the same thing (using templates to run against sound files). As I have over…
FrogDude
  • 13
  • 5
1
vote
1 answer

Detect last zero-crossing

I'm generating an exponential sweep with the following function: @jit(nopython=True) def generate_exponential_sweep(time_in_seconds, sr): time_in_samples = time_in_seconds * sr exponential_sweep = np.zeros(time_in_samples, dtype=np.double) …
1
vote
1 answer

Which acoustic parameters might be useful for distinguishing between various broadband signals?

I'm working on creating a gunshot classifier that is (hopefully) able to distinguish between three different gun types that are used for different poaching purposes in Central Africa (large game vs. small game). I've collected recordings in Central…
1
vote
2 answers

Organising large number of files into folders using R?

Apologies for the simplicity of the question as I am a novice with R. I have a large number of 1-minute audio files, with 1 minute recorded every 5 minutes. I need them organised by hour and saved to a new folder, so every 12 files need to be saved…
HarHar
  • 35
  • 5
1
vote
1 answer

arlpy.bf.steering doesn't exist in ARL py tools package

I am trying to run this example from ARL py Tools documentation for generating Barlett Beampattern which mentions usage of arlpy.bf.steering(); but when I try to run it says steering() not found. sd = arlpy.bf.steering(np.linspace(0, 5, 11), 1500,…
Deep
  • 616
  • 1
  • 9
  • 17
1
vote
2 answers

Using A-Weighting on time signal

Im trying to solve this for a couple of weeks now but it seems like Im not able to wrap my head around this. The task is pretty simple: Im getting a signal in voltage from a microfone and in the end I want to know how loud in dB(A) it is out…
1
vote
1 answer

Why is my MATLAB code printing every value within the for loop?

I have code that breaks up a sound file into 1 sec chunks, calculates the RMS of the chunk, then plots all chunks. It works fine until I edited it to make it read through a folder rather than one user loaded file at at time. Now it prints every…
brc
  • 99
  • 8
1
vote
0 answers

Apply acoustic indices to each component of a list of wave objects in R

I am looking to apply a function which computes four acoustic indices (Hf, AEI, ACI and NDSI) to a list of 55 60-second wave objects. I have found code which applies the function to a .wav file, however I'm having difficulty in altering the code to…
HarHar
  • 35
  • 5
1
vote
1 answer

How do I create a loop function to apply acoustic indices from "soundecology" to specific sections of .wav files using R

I have a large quantity of .wav files that I need to analyze using the acoustic indices from the "soundecology" package in R. However, the recordings do not have uniform start times and I need to analyze specific periods of time within the files. I…
parksnrec1
  • 69
  • 7
1
vote
0 answers

Seewave: reading in multiple .wav files in a dataframe

I am attempting to cut .wav files according to start and end points I have assigned to each .wav file in a dataframe. I have tried using a for loop to read in each .wav file then run the function that cuts that .wav file. Unfortunately I can't seem…
1
vote
3 answers

Methods for simulating moving audio source

I'm currently researching an problem regarding DOA (direction of arrival) regression for an audio source, and need to generate training data in the form of audio signals of moving sound sources. In particular, I have the stationary sound files, and…
Jihan Yin
  • 97
  • 6
1
vote
1 answer

Unexpected results using octaveFilter in Matlab

I'm aiming at obtaining a 1/3 octave band frequency signal for specific centre frequencies. I want to use Matlab's octaveFilter functionality but I was expecting to get a single 1/3 octave band peak at 1000 Hz, but instead far left and far right of…
mldmnn
  • 139
  • 5