Questions tagged [tarsosdsp]

TarsosDSP is a Java library for audio processing. Its aim is to provide an easy-to-use interface to practical music processing algorithms implemented, as simply as possible, in pure Java and without any other external dependencies. The library tries to hit the sweet spot between being capable enough to get real tasks done but compact and simple enough to serve as a demonstration on how DSP algorithms works.

TarsosDSP features an implementation of a percussion onset detector and a number of pitch detection algorithms: YIN, the Mcleod Pitch method and a “Dynamic Wavelet Algorithm Pitch Tracking” algorithm. Also included is a Goertzel DTMF decoding algorithm, a time stretch algorithm (WSOLA), resampling, filters, simple synthesis, some audio effects, and a pitch shifting algorithm.

To show the capabilities of the library, TarsosDSP example applications are available. Head over to the TarosDSP release directory for freshly baked binaries and code smell free (that is the goal anyway), oven-fresh sources.

Some information about TarsosDSP can be found in the paper TarsosDSP, a Real-Time Audio Processing Framework in Java, by Joren Six, Olmo Cornelis, and Marc Leman, in Proceedings of the 53rd AES Conference (AES 53rd), 2014.

60 questions
0
votes
0 answers

TarsosDSP live delay and pitch change in voice Android

I am trying to create an Android application that will allow the user to talk and hear their voice live and also add a delay and change the pitch of that voice in real time through two seekbars. I am currenlty trying to o in with TarsosDSP library…
0
votes
0 answers

Frequency Detection Libraries with Android Jetpack Compose

I have a problem in Frequency Detection. I was using TarsosDSP for Android, but when I updated to use Android 14, the Jetpack Compose libraries, and the ViewModel, it isn't running on physical devices. I have not been able to see the log. View…
0
votes
0 answers

Failed to resolve: be.tarsos.dsp:core:2.5 / be.tarsos.dsp:jvm:2.5

I am trying to create a Native Module (Android) for my React Native project. In order to do so I wanted to add a new dependency, namely TarsosDSP. Following the docs I added this to my /android/build.gradle repositories { google() maven { …
0
votes
1 answer

How to open an application or a program in Python?

To read the codes of a program in Python or how to access the codes of an application I want to look at the code inside the program, but I don't know how to access it in Python. Is there a library that I can use to solve my problem?
Idi
  • 1
0
votes
1 answer

TarsosDSP Android applying lowpass filter and saving to wav gives choppy results

I am using TarsosDSP library to apply a low pass filter on a wav file. Here is the code. private void eq2(File file) throws FileNotFoundException { new AndroidFFMPEGLocator(this); InputStream inputStream = new FileInputStream(file); …
shivanshPurple
  • 150
  • 1
  • 12
0
votes
0 answers

Is it possible to create pitch diagram in real time with TarsosDSP in Flutter?

Or is there are any better way to do it? https://github.com/JorenSix/TarsosDSP https://matt.aimonetti.net/posts/2019-07-drawing-waveforms-in-flutter/
Andreas
  • 127
  • 8
0
votes
0 answers

TarsosDSP, IllegalStateException

I'm using TarsosDSP for an android project, and I'm getting this error: Unable to start activity ComponentInfo{com.example.song2sheet/com.example.song2sheet.RecordingActivity}: java.lang.IllegalStateException: startRecording() called on an…
0
votes
1 answer

Clicking sound when doing FFT.forwardTransform()

I'm trying to visualize the FFT of a sound while listening to it using the TarsosDSP library. However, when listening to it, there is a loud clicking noise that's being played and I can't seem to understand where this is coming from. This is…
0
votes
1 answer

Android: Using getMaxAmplitude() from MediaRecorder while using PercussionOnsetDetector from TarsosDSP

I am trying to get the amplitude reading from every clap it detects but every time it detects a clap, I kept getting either an IllegalStateException or 0 from the getMaxAmplitude(). Am I doing anything wrong? Is there a way around this? Please let…
0
votes
0 answers

Android: Reading Amplitude/Decibels for clapping detection using PercussionOnsetDetector from TarsosDSP

I am having trouble from getting the Amplitude/Decibel value while using PercussionOnsetDetector from TarsosDSP. I have researched everywhere and found nothing from my searches that are relevant to my problem. I have tried using MediaRecorder…
0
votes
1 answer

Problem with Clapping detection using TarsosDSP for Android Java

I am having problems with detecting clapping sounds using TarsosDSP. PitchDetectioHandler somehow works but when it comes to using PercussionOnsetDetector, it does not detect anything. Am I doing anything wrong here? @Override protected void…
0
votes
1 answer

Saving FloatArray audio buffer to a wav file on Android

I'm having issues finding a solution to saving a FloatArray buffer of audio data produced from TarsosDSP on Android, using Kotlin. The goal is to have a buffer of 1 second of audio, that is continuously updated with new buffer data, and older data…
0
votes
1 answer

How to stream from mic, process and play immediately back with Tarsos

I need to stream from mic, process sound and play it immediately back. I thought to use Tarsos, but I can't figure out how to have Tarsos' AudioPlayer to play the result back immediately. So far I can stream from mic + process + save as .pcm file. I…
Marco
  • 35
  • 1
  • 7
0
votes
1 answer

Tarsos WriterProcessor produces no output content

I can't write a file when using WriterProcessor provided by Tarsos. The file exists, and no error is shown. But the file is empty, when I play it, there is no sound. final Float srf = 44100.0F; dispatcher =…
lukas
  • 81
  • 6
0
votes
0 answers

How to get audio spectrum from TarsosDSP

I am trying to get the audio spectrum from the microphone stream on an Android. I am using TarsosDSP to do the heavy lifting. But cannot seem to get results that make any sense in the process event. I am trying to get 8 frequencies and show their…
vbisbest
  • 241
  • 1
  • 14