Re: [PD] URGENT! :Overlap add synthesis

2010-01-11 Thread Frank Barknecht
Hallo,
Frank Barknecht hat gesagt: // Frank Barknecht wrote:

 So basically you just generate several phase shifted phasor signals from a
 single [phasor~] object using multiplication 

Uhm, addition.

Ciao
-- 
Frank

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] URGENT! :Overlap add synthesis

2010-01-10 Thread Frank Barknecht
Hallo,
Gün KARAGÖZ hat gesagt: // Gün KARAGÖZ wrote:
 I have created frames database in Matlab. I get IR and button data of
 Wiimote to control overlap-add period. I want to realize Time Domain
 Pitch Synchronous OverLap Add (TD-PSOLA) algorithm in pd
 
 I will get overlap period data from Wiimote IR data.
 
 For example, I have four frames. All 4 frames have different
 T0(period) values. When I put it them in order, I decide by Wiimote
 data which frames will be mixed by position. And also Wiimote data
 gives me the T0(period) of TD-PSOLA.
 
 e.g.
 T01=100, T02=300, T03=650, T04=900
 wiimoteData= 250
 newFrame=((300-250)*frame1+(250-100)*frame2)/(200)
 olaPeriod= wiimoteData=250
 
 newFrame continously overlap-add synthesized by olaPeriod. As the
 wiimoteData changes, calculation of newFrame is done again. newFrame
 is sent to DAC.
 
 The problem is how can I do overlapAdd syhthesis in Pd?

I think, what you try to do here is described in Miller's book as an
overlapping sampler. You will need to do some number mangling, but the general
principle is in Chapter 2 of it: 
http://crca.ucsd.edu/~msp/techniques/latest/book-html/node26.html

So basically you just generate several phase shifted phasor signals from a
single [phasor~] object using multiplication and [wrap~] (the overlap step)
and  use these to look up the windowing signals and the source signals from
some tables, then add these signals again by simply using [+~] (the add
step).

Ciao
-- 
Frank

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] URGENT! :Overlap add synthesis

2010-01-09 Thread Gün KARAGÖZ
Hello everyone!

I am working on my senior design project. It's about creating digital
musical instrument.

This is my senior design project description:
The main task is to develop a package of signal processing algorithms
that can perform real-time audio signal synthesis driven by a
Wii-remote controller. The project has two parts: analysis (database
construction) and synthesis. In the analysis part, Matlab tools will
be designed that construct a sound database automatically from a given
recording.  The tasks in this part are: fundamental frequency
estimation, stable frame region detection, frame extraction. In the
synthesis part, a real-time signal processing environment, PureData,
will be used to get the Wii controller signal, synthesize the audio
signal using the database created in the analysis part with the
frequency defined by the controller signal and send the synthetic
signal to the soundcard.

I have completed all steps except overlap add synthesis in Puredata.
Is there any tutorial how we can make overlap add synthesis in pure
data?

I need a bit urgent help because of deadline! Thank you for everything.

-- 
Gun KARAGOZ - http://www.gunkaragoz.net

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] URGENT! :Overlap add synthesis

2010-01-09 Thread Hans-Christoph Steiner


Not sure what overlap add is, but perhaps you mean additive?  There  
are a bunch of tutorials included in Help - Help Browser -  
3.audio.examples.


.hc

On Jan 9, 2010, at 2:35 PM, Gün KARAGÖZ wrote:


Hello everyone!

I am working on my senior design project. It's about creating digital
musical instrument.

This is my senior design project description:
The main task is to develop a package of signal processing algorithms
that can perform real-time audio signal synthesis driven by a
Wii-remote controller. The project has two parts: analysis (database
construction) and synthesis. In the analysis part, Matlab tools will
be designed that construct a sound database automatically from a given
recording.  The tasks in this part are: fundamental frequency
estimation, stable frame region detection, frame extraction. In the
synthesis part, a real-time signal processing environment, PureData,
will be used to get the Wii controller signal, synthesize the audio
signal using the database created in the analysis part with the
frequency defined by the controller signal and send the synthetic
signal to the soundcard.

I have completed all steps except overlap add synthesis in Puredata.
Is there any tutorial how we can make overlap add synthesis in pure
data?

I need a bit urgent help because of deadline! Thank you for  
everything.


--
Gun KARAGOZ - http://www.gunkaragoz.net

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list






All information should be free.  - the hacker ethic





___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] URGENT! :Overlap add synthesis

2010-01-09 Thread Justin Glenn Smith
I think he just means standard overlap add fft 
http://en.wikipedia.org/wiki/Overlap-add_method

Which is what fft~ and ifft~ do already, if I am not mistaken.

Hans-Christoph Steiner wrote:
 
 Not sure what overlap add is, but perhaps you mean additive?  There
 are a bunch of tutorials included in Help - Help Browser -
 3.audio.examples.
 
 .hc
 
 On Jan 9, 2010, at 2:35 PM, Gün KARAGÖZ wrote:
 
 Hello everyone!

 I am working on my senior design project. It's about creating digital
 musical instrument.

 This is my senior design project description:
 The main task is to develop a package of signal processing algorithms
 that can perform real-time audio signal synthesis driven by a
 Wii-remote controller. The project has two parts: analysis (database
 construction) and synthesis. In the analysis part, Matlab tools will
 be designed that construct a sound database automatically from a given
 recording.  The tasks in this part are: fundamental frequency
 estimation, stable frame region detection, frame extraction. In the
 synthesis part, a real-time signal processing environment, PureData,
 will be used to get the Wii controller signal, synthesize the audio
 signal using the database created in the analysis part with the
 frequency defined by the controller signal and send the synthetic
 signal to the soundcard.

 I have completed all steps except overlap add synthesis in Puredata.
 Is there any tutorial how we can make overlap add synthesis in pure
 data?

 I need a bit urgent help because of deadline! Thank you for everything.

 -- 
 Gun KARAGOZ - http://www.gunkaragoz.net

 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list
 
 
 
 
 
 
 All information should be free.  - the hacker ethic
 
 
 
 
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list
 


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] URGENT! :Overlap add synthesis

2010-01-09 Thread Gün KARAGÖZ
I have created frames database in Matlab. I get IR and button data of
Wiimote to control overlap-add period. I want to realize Time Domain
Pitch Synchronous OverLap Add (TD-PSOLA) algorithm in pd

I will get overlap period data from Wiimote IR data.

For example, I have four frames. All 4 frames have different
T0(period) values. When I put it them in order, I decide by Wiimote
data which frames will be mixed by position. And also Wiimote data
gives me the T0(period) of TD-PSOLA.

e.g.
T01=100, T02=300, T03=650, T04=900
wiimoteData= 250
newFrame=((300-250)*frame1+(250-100)*frame2)/(200)
olaPeriod= wiimoteData=250

newFrame continously overlap-add synthesized by olaPeriod. As the
wiimoteData changes, calculation of newFrame is done again. newFrame
is sent to DAC.

The problem is how can I do overlapAdd syhthesis in Pd?

This is the brief explanation of problem I think :)




On 1/10/10, Justin Glenn Smith noisesm...@gmail.com wrote:
 I think he just means standard overlap add fft
 http://en.wikipedia.org/wiki/Overlap-add_method

 Which is what fft~ and ifft~ do already, if I am not mistaken.

 Hans-Christoph Steiner wrote:

 Not sure what overlap add is, but perhaps you mean additive?  There
 are a bunch of tutorials included in Help - Help Browser -
 3.audio.examples.

 .hc

 On Jan 9, 2010, at 2:35 PM, Gün KARAGÖZ wrote:

 Hello everyone!

 I am working on my senior design project. It's about creating digital
 musical instrument.

 This is my senior design project description:
 The main task is to develop a package of signal processing algorithms
 that can perform real-time audio signal synthesis driven by a
 Wii-remote controller. The project has two parts: analysis (database
 construction) and synthesis. In the analysis part, Matlab tools will
 be designed that construct a sound database automatically from a given
 recording.  The tasks in this part are: fundamental frequency
 estimation, stable frame region detection, frame extraction. In the
 synthesis part, a real-time signal processing environment, PureData,
 will be used to get the Wii controller signal, synthesize the audio
 signal using the database created in the analysis part with the
 frequency defined by the controller signal and send the synthetic
 signal to the soundcard.

 I have completed all steps except overlap add synthesis in Puredata.
 Is there any tutorial how we can make overlap add synthesis in pure
 data?

 I need a bit urgent help because of deadline! Thank you for everything.

 --
 Gun KARAGOZ - http://www.gunkaragoz.net

 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list



 


 All information should be free.  - the hacker ethic





 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list



 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list



-- 
Gun KARAGOZ - http://www.gunkaragoz.net

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] URGENT! :Overlap add synthesis

2010-01-09 Thread Justin Glenn Smith
[ifft~] does overlap add of fft data.

I think you can do this by reading the data from matlab into [array] objects 
and using a [block~] object to control the ifft frame size.

The help files for [ifft~], [array], and [block~] should be helpful, you may 
also want to look at the help files in help section I, in particular 
I03.resynthesis.pd.

Gün KARAGÖZ wrote:
 I have created frames database in Matlab. I get IR and button data of
 Wiimote to control overlap-add period. I want to realize Time Domain
 Pitch Synchronous OverLap Add (TD-PSOLA) algorithm in pd
 
 I will get overlap period data from Wiimote IR data.
 
 For example, I have four frames. All 4 frames have different
 T0(period) values. When I put it them in order, I decide by Wiimote
 data which frames will be mixed by position. And also Wiimote data
 gives me the T0(period) of TD-PSOLA.
 
 e.g.
 T01=100, T02=300, T03=650, T04=900
 wiimoteData= 250
 newFrame=((300-250)*frame1+(250-100)*frame2)/(200)
 olaPeriod= wiimoteData=250
 
 newFrame continously overlap-add synthesized by olaPeriod. As the
 wiimoteData changes, calculation of newFrame is done again. newFrame
 is sent to DAC.
 
 The problem is how can I do overlapAdd syhthesis in Pd?
 
 This is the brief explanation of problem I think :)
 
 
 
 
 On 1/10/10, Justin Glenn Smith noisesm...@gmail.com wrote:
 I think he just means standard overlap add fft
 http://en.wikipedia.org/wiki/Overlap-add_method

 Which is what fft~ and ifft~ do already, if I am not mistaken.

 Hans-Christoph Steiner wrote:
 Not sure what overlap add is, but perhaps you mean additive?  There
 are a bunch of tutorials included in Help - Help Browser -
 3.audio.examples.

 .hc

 On Jan 9, 2010, at 2:35 PM, Gün KARAGÖZ wrote:

 Hello everyone!

 I am working on my senior design project. It's about creating digital
 musical instrument.

 This is my senior design project description:
 The main task is to develop a package of signal processing algorithms
 that can perform real-time audio signal synthesis driven by a
 Wii-remote controller. The project has two parts: analysis (database
 construction) and synthesis. In the analysis part, Matlab tools will
 be designed that construct a sound database automatically from a given
 recording.  The tasks in this part are: fundamental frequency
 estimation, stable frame region detection, frame extraction. In the
 synthesis part, a real-time signal processing environment, PureData,
 will be used to get the Wii controller signal, synthesize the audio
 signal using the database created in the analysis part with the
 frequency defined by the controller signal and send the synthetic
 signal to the soundcard.

 I have completed all steps except overlap add synthesis in Puredata.
 Is there any tutorial how we can make overlap add synthesis in pure
 data?

 I need a bit urgent help because of deadline! Thank you for everything.

 --
 Gun KARAGOZ - http://www.gunkaragoz.net

 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list


 


 All information should be free.  - the hacker ethic





 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list


 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list

 
 


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list