Re: [music-dsp] WSOLA on RealTime

2018-10-04 Thread Evan Balster
A simpler answer: You can't double the speed of the audio coming from a microphone as you play it out the speaker, because the microphone only provides 1 second of audio every second. If you doubled the speed you would only have 1/2 second of audio output every second. You can *totally *double

Re: [music-dsp] WSOLA on RealTime

2018-10-03 Thread Alex Dashevski
Hi, Could you tell me how to use soundTouch API if I want only to do resampling ? I mean: convert from 48Khz to 8Khz or 8Khz to 48Khz I guess that setRate with SETTING_USE_AA_FILTER. What length should put ? I talk about https://gitlab.com/soundtouch/soundtouch/tree/master/source/SoundTouch

Re: [music-dsp] WSOLA on RealTime

2018-10-01 Thread Eugene Cherny
Hi Alex, Your question was “why buffers will collide” in response to the Robert’s answer: “time-scaling is not normally thought of as real-time because your input and output buffer pointers will collide”. Did I understand correctly, that you want to understand why time stretching can’t be

Re: [music-dsp] WSOLA on RealTime

2018-10-01 Thread Nigel Redmon
I think if you try to code up a simple pitch shifter—say, with linear interpolation—you’ll figure it out pretty quickly. You have to write a sample before you read it, obviously, and to pitch up, the read pointer is moving faster than the write pointer—or slower to pitch down. The faster one

Re: [music-dsp] WSOLA on RealTime

2018-10-01 Thread Alex Dashevski
Hi, Yes. I have seen it but I didn't find the answer on my question. Thanks, Alex ‫בתאריך יום ב׳, 1 באוק׳ 2018 ב-19:46 מאת ‪Nuno Santos‬‏ <‪ nunosan...@imaginando.pt‬‏>:‬ > Hey Alex, > > Have you seen this article before? > > https://www.surina.net/article/time-and-pitch-scaling.html > > It has

Re: [music-dsp] WSOLA on RealTime

2018-10-01 Thread Nuno Santos
Hey Alex, Have you seen this article before? https://www.surina.net/article/time-and-pitch-scaling.html It has a complete and detailed description on how time and pitch scaling works. Hope it helps! Best regards, Nuno > On 1

[music-dsp] WSOLA on RealTime

2018-10-01 Thread Alex Dashevski
Hi, I got this answer from Robert: WSOLA fundamentally does time-scaling. time compression or time stretching without changing pitch. time-scaling is not normally thought of as real-time because your input and output buffer pointers will collide. My question is: Why buffers will collide ?

Re: [music-dsp] WSOLA on RealTime

2018-09-30 Thread Alex Dashevski
> r...@audioimagination.com‬‏>:‬ > >> >> >> Original Message ---- >> Subject: Re: [music-dsp] WSOLA on RealTime >> From: "Alex Dashevski" >> Date: Thu, Septembe

Re: [music-dsp] WSOLA on RealTime

2018-09-30 Thread Alex Dashevski
riginal Message > Subject: Re: [music-dsp] WSOLA on RealTime > From: "Alex Dashevski" > Date: Thu, September 27, 2018 2:15 am > To: music-dsp@music.columbia.edu > Cc: "robert bristow-johnson" >

Re: [music-dsp] WSOLA on RealTime

2018-09-27 Thread Vladimir Pantelic
On Thu, Sep 27, 2018, 19:39 Alex Dashevski wrote: > Hi, > The current code has problem. > if I send you the current code, can you help me with implementation ? Are > you familiar with android ? > comp.dsp would read: "please do my homework for me" ___

Re: [music-dsp] WSOLA on RealTime

2018-09-27 Thread robert bristow-johnson
Original Message Subject: Re: [music-dsp] WSOLA on RealTime From: "Alex Dashevski" Date: Thu, September 27, 2018 2:15 am To: music-dsp@music.columbia.edu Cc: "robert

Re: [music-dsp] WSOLA on RealTime

2018-09-27 Thread Spencer Jackson
/> >> JACOB PENN.MUMUKSHU >> 612.388.5992 >> >> On September 26, 2018 at 2:21:29 PM, robert bristow-johnson ( >> r...@audioimagination.com) wrote: >> >> >> >> Original Message -

Re: [music-dsp] WSOLA on RealTime

2018-09-27 Thread alex dashevski
-johnson (r...@audioimagination.com <mailto:r...@audioimagination.com> ) wrote: Original Message ---- Subject: Re: [music-dsp] WSOLA on RealTime From: "Jacob Penn" mailto:penn.ja...@gmail.com> > Date: Wed, September 26, 2018 5:0

Re: [music-dsp] WSOLA on RealTime

2018-09-27 Thread gm
-- Subject: Re: [music-dsp] WSOLA on RealTime From: "Jacob Penn" mailto:penn.ja...@gmail.com>> Date: Wed, September 26, 2018 5:00 pm To: r...@audioimagination.com <mailto:r...@audioimagination.com> music-dsp@music.columbia.edu

Re: [music-dsp] WSOLA on RealTime

2018-09-27 Thread Alex Dashevski
MUKSHU > 612.388.5992 > > On September 26, 2018 at 2:21:29 PM, robert bristow-johnson ( > r...@audioimagination.com) wrote: > > > > ------------ Original Message > Subject: Re: [music-dsp] WSOLA on RealTime > From: "

Re: [music-dsp] WSOLA on RealTime

2018-09-26 Thread Jacob Penn
n.com) wrote: Original Message Subject: Re: [music-dsp] WSOLA on RealTime From: "Jacob Penn" Date: Wed, September 26, 2018 5:00 pm To: r...@audioimagination.com music-

Re: [music-dsp] WSOLA on RealTime

2018-09-26 Thread robert bristow-johnson
Original Message Subject: Re: [music-dsp] WSOLA on RealTime From: "Jacob Penn" Date: Wed, September 26, 2018 5:00 pm To: r...@audioimagination.com music-dsp@music.co

Re: [music-dsp] WSOLA on RealTime

2018-09-26 Thread Jacob Penn
. -- r b-j Original Message ---- Subject: [music-dsp] WSOLA on RealTime From: "Alex Dashevski" Date: Wed, September 26, 2018 3:25 pm To: music-dsp@music.columbia.edu -- > Can I implemen

[music-dsp] WSOLA on RealTime

2018-09-26 Thread Alex Dashevski
Can I implement WSOLA on realtime(audio buffer) ? I need to do resampling ? Right ? Thanks, Alex ___ dupswapdrop: music-dsp mailing list music-dsp@music.columbia.edu https://lists.columbia.edu/mailman/listinfo/music-dsp

Re: [music-dsp] WSOLA on RealTime

2018-09-03 Thread Alex Dashevski
Who can help me please ? 2018-09-01 14:36 GMT+03:00 Alex Dashevski : > Hi, > > I found this code: > https://gitlab.com/soundtouch/soundtouch/blob/master/source/ > SoundStretch/main.cpp > It is implantation of the WSOLA in cpp that read input from file and write > changed audio to output file. >

[music-dsp] WSOLA on RealTime

2018-09-01 Thread Alex Dashevski
Hi, I found this code: https://gitlab.com/soundtouch/soundtouch/blob/master/source/SoundStretch/main.cpp It is implantation of the WSOLA in cpp that read input from file and write changed audio to output file. I want to change openFiles function so that, reading the audio from microphone and play