Questions tagged [soundtouch]

An open-source audio processing library for changing the Tempo, Pitch and Playback Rates of audio streams or audio files

46 questions
1
vote
0 answers

SoundTouch C++ API to change tempo of sound in Linux?

How to use soundtouch C++ API to change tempo of sound file in Linux? I have to perform following command line functionality with SoundTouch C++ library. soundstretch in.wav out.wav -tempo=30
raj123
  • 564
  • 2
  • 10
  • 27
1
vote
0 answers

Want to create custom audio effect in native c/c++ for android

I am working on project which deals with audio video playback in Android KitKat. I am able to play video using video view and it's MediaPlayer helps to modify the audio track of video. I know about Playbackparams which can be used for pitch and…
1
vote
1 answer

call soundtouch code in my c code, the programe crashed

I want to call C++ method in pure c code, and I follow a article. The bridge is below: extern "C" { void setSampleRateForC(SoundTouch *p, uint rate) {p->setSampleRate(rate);} void setChannelsForC(SoundTouch *p, uint channels){…
badboy_tqj
  • 300
  • 2
  • 14
1
vote
0 answers

Using setTempo and putSamples in SoundTouch

Which samples does SoundTouch::setTempo affect, those already in the FIFO or those that are going to be put into the FIFO by SoundTouch::putSamples? That is, does SoundTouch::setTempo commit or prepare a tempo change?
user877329
  • 6,717
  • 8
  • 46
  • 88
1
vote
0 answers

iOS SoundTouch framework song BPM Detection example

I am still looking for a working code which calculates BPM, did any of you solve this code? Appreciate any help. This is the code I have and it returns either 0 value or wrong value (compared with BPM value online) -(void) calcBPM { NSString…
newTech
  • 11
  • 3
1
vote
1 answer

Initializing global objects as a pointer is the only way that succeeds

In a JNI .cpp file I have a struct with a SoundTouch* (SoundTouch is a C++ audio processing that I am wrapping for use in an Android project) and I initialize a vector of the structs as global objects like this: struct SoundTouchExt { …
Steve M
  • 9,296
  • 11
  • 49
  • 98
1
vote
1 answer

Converting a short[] from SoundTouch audio library for playback

I'm attempting to use the SoundTouch C++ library for audio speed and pitch changes in an Android app. I have successfully pushed a Java byte[] array (from a .wav) through JNI, returned it, and played it back with an AudioTrack. The next step is…
Steve M
  • 9,296
  • 11
  • 49
  • 98
1
vote
1 answer

SoundTouch and JNI

I want to call this native method from java: void SoundTouch::putSamples(const SAMPLETYPE *samples, uint nSamples) In My Java code I have this: public native void putSamples(byte[] samples, int nSamples); Now I want to write the JNI part to…
user717572
  • 3,626
  • 7
  • 35
  • 60
1
vote
0 answers

how to use soundtouch library in android

I had gone through the SoundTouch library i.e. SoundTouch and build it as mention here. But I am not getting is how to use this compiled library in my android project.So, anybody having any idea or example of how to use this library in android.I…
Jagdeep Singh
  • 1,200
  • 1
  • 16
  • 34
1
vote
0 answers

Porting SoundTouch for Android

I have been trying to write an application for Android that will allow me to slow down and speed up music in real time. I came across the SoundTouch library, which even states that it can be used in Android via the jni. However, the source only…
Tom C
  • 232
  • 1
  • 6
  • 17
0
votes
3 answers

Linux command line / PHP bpm detection

I am currently using getID3() to read mp3 tag data such as artist name, filesize, duration etc. All of this happens on the fly when a user uploads a file to my site. However I would like to automatically detect the tempo in bpm of each song in…
gordyr
  • 6,078
  • 14
  • 65
  • 123
0
votes
1 answer

Soundtouch bpm iPhone

I'm trying to integrate a mechanism to calculate the BPM of the song in the iPod library(also on iphone). Searching on the web I found that the most used and reliable libraries to do this things is soundtouch.Anyone has experience with this library?…
Pablosproject
  • 1,374
  • 3
  • 13
  • 33
0
votes
0 answers

How to upload audio file with fetch into audio context?

I am trying to upload an mp3 from my computer into a soundtouch audio context in order to change the tempo and pitch. HTML

0
votes
0 answers

java.lang.UnsatisfiedLinkError when using .dll file

I am trying to use SoundTouch for a personal project (written in Java) as I think it is exactly what I need to modify audio clips (http://www.surina.net/soundtouch/). I am not building an Android app but have based a test program on the Android…
0
votes
1 answer

How to use NAudio/SoundTouch to stream MP3 in ASP.NET MVC 5?

I am completely new to working with audio. I eventually want to stream an MP3 to a web page and allow user to alter the tempo. I got a HTML5 audio element set up and it can stream a MP3 fine. I can import the MP3 into NAudio.AudioFileReader and…
heath
  • 1,047
  • 1
  • 14
  • 31