Minim is an audio library for processing environment.
Questions tagged [minim]
95 questions
6
votes
1 answer
Harmonics count in a music sample
To determine the richness of a sound, I would like to determine the number of harmonics in a sample of music. For that, I'm using Processing with the Minim library which gives me a full spectrum with a FFT. I'm wondering how to count all the peaks…

LaurentC
- 87
- 1
- 5
5
votes
1 answer
How do I use minim library in a java application to detect the beat of an audio source?
Hi everyone!
I am totally new to audio programming and would like to build a Java FX application that interact with audio from my microphone or line out.
I searched google for libraries and found minim which seems pretty popular. It is written for…

David Berg
- 1,958
- 1
- 21
- 37
4
votes
1 answer
Indices of k-minimum values along an axis of a numpy array
Is there a way to return the indices of k-minimum values along an axis of a numpy array without using loops?

Academia
- 3,984
- 6
- 32
- 49
3
votes
1 answer
Processing minim ERROR:NullPointerException
can anybody help me?
I don't know what happened:(
Heres the relevant part of the code:
import ddf.minim.*;
import ddf.minim.analysis.*;
import ddf.minim.effects.*;
import ddf.minim.signals.*;
import ddf.minim.spi.*;
import ddf.minim.ugens.*;
Minim…

any N
- 41
- 3
3
votes
1 answer
Getting Multiple Audio Inputs in Processing
I'm currently writing a Processing sketch that needs to access multiple audio inputs, but Processing only allows access to the default line in. I have tried getting Lines straight from the Java Mixer (accessed within Processing), but I still only…

Aemilia
- 43
- 6
3
votes
2 answers
Find volume of mic input using minim lib in Processing
I'm trying to get the volume level from my mic to adjust the size of a box (louder = bigger). But I have the following issues:
a) getGain seems to be giving me -64 constantly
b) getVolume doesnt seem to be available
I edited a Processing example…

Omar
- 1,081
- 1
- 9
- 14
3
votes
2 answers
Processing.org/Minim FFT Error
I'm trying to use the Minim FFT library, but when running an example sketch, I run into the the following issue:
The constructor FFT(int, float) is undefined.
I am guessing that this Java thinks I am trying to use some other constructor, but I…

james_dean
- 1,477
- 6
- 26
- 37
2
votes
2 answers
Non-realtime FFT analysis on audio file
I'm trying to run an spectrum analysis on a file. Since the file that I'd like to analyse can be quite long (40 min or so), analysing this in real time is not really an option for me.
I'm currently using Minin's FFT class, but it looks like I can…

Marco
- 625
- 6
- 24
2
votes
1 answer
ClassNotFoundException: ddf.minim.Minim
I came across this error for few hours.
I've been using minim to play a soundfile in my sketch on Windows 10.
Until yesterday it just worked fine, but today I came across the error.
java.lang.NoClassDefFoundError: ddf/minim/Recordable
or…

Kazu
- 21
- 3
2
votes
1 answer
Creating an array of Audio Frequency Amplitudes with Minim
I'm working on an audio visualization project that is based off of Minim. For part of this project, I need an array of frequency amps (I'll use this array to determine heights for the monitor bars). I have never used Minim before, so I apologize for…

KentAshfield
- 21
- 2
2
votes
1 answer
Integrate Processing with Minim Libraries in Website
I have seen similar questions posted before but seems the general answer is that it cannot be done.
So, here is my HTML code :
…
…
…
2
votes
1 answer
processing Minim: remove signal when it's amplitude is 0
So I'm making an audio program using processing and I came across a small road block in that when I tell minim to remove a audio signal (a Sine wave) from the audio output, it would end up with a small popping sound which I know is the program…

Muggy Ate
- 333
- 1
- 3
- 12
2
votes
2 answers
Difference in amplitude from the same source using FFT
I have a question regarding use of FFT. Using function getBand(int i) with Minim i can extract the amplitude of a specific frequency and do pretty maps of it. Works great.
However, this is a more of a curiosity question. When i look at the values…

Anders
- 6,188
- 4
- 26
- 31
2
votes
1 answer
Reversing a sound with Processing and Minim
I need to make a program in Processing that reverses a loaded .mp3 file, avoiding already implemented abstract functions (for example, a Minim function that reverses a given sound, though I still haven't found such). I've tried many ways by now and…

flapas
- 583
- 1
- 11
- 25
2
votes
1 answer
Processing minim null pointer
I am using processing with Minim, but I can't figure out how to play files, if the minim loading files are in another class. I used both AudioSnippet and AudioSample and they both give me NullPointerException. Here is a the PlayAudio class.
Minim…

Silent Ace
- 299
- 1
- 6
- 20