Re: [PD] Scatter objects using [repeat]

2013-11-26 Thread IOhannes m zmölnig
On 2013-11-26 00:32, Cyrille Henry wrote:
> hello,
> 
> look at the patch in gem help/02.advenced/20.double-gemhead_vs_repeat
> the right patch of this patch is almost what you want.
> you just have to insert 2 tabread instead of the select. the tabread
> should point to 3 random table.
> 

or give [random] a seed, so it will generate the sme PRN-sequence in
each frame. change the seed whenever you want to change the scattering.
(afair, this is also in the examples)


oh, and don't use [repeat]; instead of [until]+[gemlist], which doesn't
require zexy at all (only Pd-vanilla+Gem)

gfmadsr
IOhannes




signature.asc
Description: OpenPGP digital signature
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] why overlaps affect frequency of [osc~]?

2013-11-26 Thread Alexandre Torres Porres
Howdy, ever tried to compute a hann window inside a subpatch where the FFT
is happening?

And then if you're overlapping it by 4, do you see that only 1/4 of the
cycle from [osc~] came up?

That means the [osc~] frequency was 1/4 what it should be...

Now, why and how does it happen? I just have no clue at all.

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


Re: [PD] Connect Bluetooth devices

2013-11-26 Thread sebaroc...@gmail.com
Thanks for your answer Martin.

When i create comport object i receive this error:

[comport] ** ERROR ** could not get termios-structure of device /dev/ttyS0
[comport] opening serial port 0 failed!

I connected my phone using bluetooth, started transferring a file and in
that moment sent the [devices] message to comport, what i got in the
console was:
*[comport]: available serial ports:*

Any ideas? I just need to detect the bluetooth device and get the signal
strength...

Thanks you!!




2013/11/25 Martin Peach 

> If you send a [devices( message to [comport] it will print  a list of
> available ports in the console. If your bluetooth device is in the list you
> can open it using the name it has in the list.
>
> Martin
>
>
> On 2013-11-25 17:00, sebaroc...@gmail.com wrote:
>
>> Hi everybody,
>>
>> I would like to connect my mobile with a pure data patch, my main
>> objective is just get the strength of the signal, ie if the mobile is
>> near the pc or far.
>>
>> Exist any object in pure date in order to achieve this? I was searching
>> and found him and comport objects, but i couldn't manage to make it work.
>>
>> Thanks you!
>>
>> Cheers,
>> Sebastián
>>
>>
>> ___
>> 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] spectral mapping, anyone?

2013-11-26 Thread Eran Sachs
Peiman, It works great! I've been messing various sounds all day now, plus 
there's a thing in my computer with Barry Vercoe's name on it which I find 
oddly elevating.However, if I understand the wrap function correctly, it 
substitutes bin values for values of other bins through whatever function you 
apply. But the bins are still all derived from the FFT procedure. Or am I 
missing something there?
What I would like to do is to move from bins to partials, so that they are 
essentially mapped to harmonic overtones of a given fundamental according to 
nearest match. Like a clever phase-vocoder Autotune of some kind. 
Is there a way to do that, to the best of anyone's knowledge? 

Much obliged,E.
Date: Mon, 25 Nov 2013 15:12:50 +
Subject: Re: [PD] spectral mapping, anyone?
From: peimankhosr...@gmail.com
To: eransa...@hotmail.com
CC: por...@gmail.com; jaime.oliv...@gmail.com; pd-list@iem.at

yes csound6 should work on windows too as far as I know.



www.peimankhosravi.co.uk || RSS Feed || Concert News



On 24 November 2013 22:06, Eran Sachs  wrote:




Thanks Peiman.Alas, I'm living the life of a PC/Windows user. AFAICT, no 
csound6? Z

Date: Sun, 24 Nov 2013 20:27:39 +
Subject: Re: [PD] spectral mapping, anyone?

From: peimankhosr...@gmail.com
To: eransa...@hotmail.com
CC: por...@gmail.com; jaime.oliv...@gmail.com; pd-list@iem.at


With spectral warping you can do any frequency-based manipulation, depending on 
the transfer function. I have one for pd but it requires Csound to be installed 
and a couple of other externals. See attached. On an intel mac and with pd 
vanilla 4.5.3/4 this should just work out of the box as long as you have csound 
6 installed.  


P






www.peimankhosravi.co.uk || RSS Feed || Concert News




On 24 November 2013 20:12, Eran Sachs  wrote:





oops, I messed up the names. sorry. Once more, with feeling:
Josep,Making harmonic sounds sound inharmonic can be down with spectral 
shifting. Try looking at Hilbert~ or at spec2_shift~ on extended.



But Alexandre, I'd also would be interested in stuff that can manipulate the 
spectrum.  I also made a little graphic control to all the cross-synthesis 
objects in FFTease. if anyone is interested I can post.


A few years ago I tried to replicate the technique that Trevor Wishart refers 
to as "Spectral Focusing", namely - one that moves the other way - from 
inharmonic to harmonic sonds, by moving from bins to partials (a little like 
FFTease's pvtune~, but moving bins to nearest matching partial).


I'm still looking for such an object. Does anyone have any suggestions? 
Zax.


From: eransa...@hotmail.com
To: por...@gmail.com; jaime.oliv...@gmail.com


Date: Sun, 24 Nov 2013 21:58:50 +0200
CC: pd-list@iem.at
Subject: Re: [PD] spectral mapping, anyone?




Alexandre,Making harmonic sounds sound inharmonic can be down with spectral 
shifting. Try looking at Hilbert~ or at spec2_shift~ on extended.

But Jaime, I'd also would be interested in that. 

A few years ago I tried to replicate the technique that Trevor Wishart refers 
to as "Spectral Focusing", namely - one that moves the other way - from 
inharmonic to harmonic sonds, by moving from bins to partials (a little like 
FFTease's pvtune~, but moving bins to nearest matching partial).


I'm still looking for such an object. Does anyone have any suggestions? 
Zax.



Date: Sun, 24 Nov 2013 01:05:29 -0200
From: por...@gmail.com
To: jaime.oliv...@gmail.com


CC: pd-list@iem.at
Subject: Re: [PD] spectral mapping, anyone?

Hi, I'm Alexandre, I can send you stuff
cheers



2013/11/11 Jaime E Oliver 

These are older, but I understand E. Lyon might re-release them?
http://www.somasa.qub.ac.uk/~elyon/LyonSoftware/MaxMSP/FFTease/



J



On Nov 11, 2013, at 7:23 AM, Jeppi Jeppi  wrote:






Hi,just looking for some ready to be used spectral mapping effects implemented 
in pd, anything available?Specifically, just a way to slightly remap harmonics 
to make pitched sounds inharmonic.


There is a paper by Alexandre 
http://www.uni-weimar.de/medien/wiki/images/Dissonance_Model_Toolbox_in_Pure_Data.pdf
 but I couldn't find the link to the sources.




Many thanks in advance!Josep m
___
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 


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


___

Pd-list@iem.at mailing list

UN

Re: [PD] Scatter objects using [repeat]

2013-11-26 Thread Antonio Roberts
> or give [random] a seed, so it will generate the sme PRN-sequence in
> each frame. change the seed whenever you want to change the scattering.
> (afair, this is also in the examples)
Thanks, this mostly does what I want.

Overall, I would like to be able to slow down the positioning of the
shapes and have them move into place (using [line] ) rather than jump.
Is this just a limitation of using [gemlist] and [until]/[repeat]?

Antonio

On 26 November 2013 08:21, IOhannes m zmölnig  wrote:
> On 2013-11-26 00:32, Cyrille Henry wrote:
>> hello,
>>
>> look at the patch in gem help/02.advenced/20.double-gemhead_vs_repeat
>> the right patch of this patch is almost what you want.
>> you just have to insert 2 tabread instead of the select. the tabread
>> should point to 3 random table.
>>
>
> or give [random] a seed, so it will generate the sme PRN-sequence in
> each frame. change the seed whenever you want to change the scattering.
> (afair, this is also in the examples)
>
>
> oh, and don't use [repeat]; instead of [until]+[gemlist], which doesn't
> require zexy at all (only Pd-vanilla+Gem)
>
> gfmadsr
> IOhannes
>
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
>



-- 

anto...@hellocatfood.com
http://www.hellocatfood.com


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


Re: [PD] Scatter objects using [repeat]

2013-11-26 Thread Cyrille Henry



Le 26/11/2013 13:18, Antonio Roberts a écrit :

or give [random] a seed, so it will generate the sme PRN-sequence in
each frame. change the seed whenever you want to change the scattering.
(afair, this is also in the examples)

Thanks, this mostly does what I want.

Overall, I would like to be able to slow down the positioning of the
shapes and have them move into place (using [line] ) rather than jump.
Is this just a limitation of using [gemlist] and [until]/[repeat]?


with simple math you can interpolate between 2 position.
interpolate_position = (X*position_2 + (1-X)*position_1)
where X vary from 0 to 1.
you can do that with both the random /seed or with table (using iem_tab)

c



Antonio

On 26 November 2013 08:21, IOhannes m zmölnig  wrote:

On 2013-11-26 00:32, Cyrille Henry wrote:

hello,

look at the patch in gem help/02.advenced/20.double-gemhead_vs_repeat
the right patch of this patch is almost what you want.
you just have to insert 2 tabread instead of the select. the tabread
should point to 3 random table.



or give [random] a seed, so it will generate the sme PRN-sequence in
each frame. change the seed whenever you want to change the scattering.
(afair, this is also in the examples)


oh, and don't use [repeat]; instead of [until]+[gemlist], which doesn't
require zexy at all (only Pd-vanilla+Gem)

gfmadsr
IOhannes



___
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] pd-l2ork on mint olivia

2013-11-26 Thread t'es in t'es bat
Hello,
i try to get pd-l2ork work on mint 15.
It's like an ubuntu 13.04 but with many improvements
So i try installing and i get a big issue with
sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev libglew-dev
libftgl-dev libquicktime-dev
i got that error:

The following packages have unmet dependencies:
  libgl1-mesa-dev: Depends: mesa-common-dev (= 9.1.7-1ubuntu2) but will not
be installed
Depends: libgl1-mesa-glx (= 9.1.7-1ubuntu2) but 9.2.0 ~
git20131002 +9.2.2 eb55601-0ubuntu0sarvatt ~ raring must be installed
Depends: libdrm-dev (> = 2.4.24) but will not be
installed
E: Unable to correct problems, broken packages mode "keep state"

So impossible to compile.

Is there a way to get a mesa lib working ?

Does anybody succeed to use pd-l2ork works on Mint 15 ?
Some tuto somewhere ?

Thanks

David LeP0le


TNTB
P/: 06 86 86 12 19
SKYPE/: tntb.net
|
http://www.tntb.net
http://www.databit.me
http://www.circuitpixel.net

/_̲_̲̅_─ ̲̲͋_̲̅
 _ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_─ ̲̲͋_̲̅
_ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_─ ̲̲͋_̲̅
 _ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_─ ̲̲͋_̲̅
 _ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] pd-l2ork on mint olivia need advices

2013-11-26 Thread t'es in t'es bat
Hello,
i try to get pd-l2ork work on mint 15.
It's like an ubuntu 13.04 but with many improvements
So i try installing and i get a big issue with
sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev libglew-dev
libftgl-dev libquicktime-dev
i got that error:

The following packages have unmet dependencies:
  libgl1-mesa-dev: Depends: mesa-common-dev (= 9.1.7-1ubuntu2) but will not
be installed
Depends: libgl1-mesa-glx (= 9.1.7-1ubuntu2) but 9.2.0 ~
git20131002 +9.2.2 eb55601-0ubuntu0sarvatt ~ raring must be installed
Depends: libdrm-dev (> = 2.4.24) but will not be
installed
E: Unable to correct problems, broken packages mode "keep state"

So impossible to compile.

Is there a way to get a mesa lib working ?

Does anybody succeed to use pd-l2ork works on Mint 15 ?
Some tuto somewhere ?

Thanks

David LeP0le
TNTB
P/: 06 86 86 12 19
SKYPE/: tntb.net
|
http://www.tntb.net
http://www.databit.me
http://www.circuitpixel.net

/_̲_̲̅_─ ̲̲͋_̲̅
 _ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_─ ̲̲͋_̲̅
_ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_─ ̲̲͋_̲̅
 _ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_─ ̲̲͋_̲̅
 _ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Scatter objects using [repeat]

2013-11-26 Thread Py Fave
look into [line] help you can choose a lower time grain than the default one .
it will make things smoother

with simple math you can interpolate between 2 position.
interpolate_position = (X*position_2 + (1-X)*position_1)
where X vary from 0 to 1.

thanks Cyrille , it wil be useful to me too ...
math lessons are way back for me ...


2013/11/26 Cyrille Henry :
> with simple math you can interpolate between 2 position.
> interpolate_position = (X*position_2 + (1-X)*position_1)
> where X vary from 0 to 1.

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


[PD] line grain and Gem ; Was Re: Scatter objects using [repeat]

2013-11-26 Thread Cyrille Henry



Le 26/11/2013 14:26, Py Fave a écrit :

look into [line] help you can choose a lower time grain than the default one .
it will make things smoother

line default grain is 20ms.
so it's perfect for 50fps rendering. (or 25 fps if you don't mind extra 
computation)
if you render at 40 fps, you should set it to 1000/40 = 25ms (so increasing it, 
not lowering)

c



with simple math you can interpolate between 2 position.
interpolate_position = (X*position_2 + (1-X)*position_1)
where X vary from 0 to 1.

thanks Cyrille , it wil be useful to me too ...
math lessons are way back for me ...


2013/11/26 Cyrille Henry :

with simple math you can interpolate between 2 position.
interpolate_position = (X*position_2 + (1-X)*position_1)
where X vary from 0 to 1.


___
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] Connect Bluetooth devices

2013-11-26 Thread Martin Peach
I don't know how bluetooth works on linux but on Windows and Mac you get 
a list of serial ports for bluetooth that exist even when no bluetooth 
device is associated with them.

Maybe if you are not actually using the port it will show up?


Martin

On 2013-11-26 05:51, sebaroc...@gmail.com wrote:

Thanks for your answer Martin.

When i create comport object i receive this error:

[comport] ** ERROR ** could not get termios-structure of device /dev/ttyS0
[comport] opening serial port 0 failed!

I connected my phone using bluetooth, started transferring a file and in
that moment sent the [devices] message to comport, what i got in the
console was:
/[comport]: available serial ports:/

Any ideas? I just need to detect the bluetooth device and get the signal
strength...

Thanks you!!




2013/11/25 Martin Peach mailto:martin.pe...@sympatico.ca>>

If you send a [devices( message to [comport] it will print  a list
of available ports in the console. If your bluetooth device is in
the list you can open it using the name it has in the list.

Martin


On 2013-11-25 17:00, sebaroc...@gmail.com
 wrote:

Hi everybody,

I would like to connect my mobile with a pure data patch, my main
objective is just get the strength of the signal, ie if the
mobile is
near the pc or far.

Exist any object in pure date in order to achieve this? I was
searching
and found him and comport objects, but i couldn't manage to make
it work.

Thanks you!

Cheers,
Sebastián


_
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] pd-l2ork on mint olivia need advices

2013-11-26 Thread Ivica Bukvic
Hi,

This may be because Mint and possibly newer Ubuntu distros fragment
packages differently than 12.04 I use to develop pd-l2ork. Try installing
pd-l2ork using dpkg command provided on the online documentation and if you
encounter errors like the ones you listed try:

sudo apt-get -f install

Hope this helps!

BTW if anyone out there is a packaging guru and would like to improve
pd-l2ork's deb control files please do not hesitate to contact me--there
must be a better way to do this.

P.S. please note that the latest deb now requires tclxapian package that ia
not available by default on Arch and possibly other distros--we are
currently working on figuring out how to address this.
On Nov 26, 2013 8:19 AM, "t'es in t'es bat"  wrote:

> Hello,
> i try to get pd-l2ork work on mint 15.
> It's like an ubuntu 13.04 but with many improvements
> So i try installing and i get a big issue with
> sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev libglew-dev
> libftgl-dev libquicktime-dev
> i got that error:
>
> The following packages have unmet dependencies:
>   libgl1-mesa-dev: Depends: mesa-common-dev (= 9.1.7-1ubuntu2) but will
> not be installed
> Depends: libgl1-mesa-glx (= 9.1.7-1ubuntu2) but 9.2.0
> ~ git20131002 +9.2.2 eb55601-0ubuntu0sarvatt ~ raring must be installed
> Depends: libdrm-dev (> = 2.4.24) but will not be
> installed
> E: Unable to correct problems, broken packages mode "keep state"
>
> So impossible to compile.
>
> Is there a way to get a mesa lib working ?
>
> Does anybody succeed to use pd-l2ork works on Mint 15 ?
> Some tuto somewhere ?
>
> Thanks
>
> David LeP0le
> TNTB
> P/: 06 86 86 12 19
> SKYPE/: tntb.net
> |
> http://www.tntb.net
> http://www.databit.me
> http://www.circuitpixel.net
>
> /_̲_̲̅_─ ̲̲͋_̲̅
>  _ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_─ ̲̲͋_̲̅
> _ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_─ ̲̲͋_̲̅
>  _ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_─ ̲̲͋_̲̅
>  _ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_
>
>
>
> ___
> 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] spectral mapping, anyone?

2013-11-26 Thread peiman khosravi
Hello,

Yes, your description of warp is correct.

Partial detection is more tricky because often the energy in 4 or more FFT
bins amounts to one partial. So firstly, you need to derive the partials
from the FFT data, then you need to quantise the partials' frequencies.

One possible cheat would be to trace the loudest FFT-bins and then transfer
their energy to the bins whose frequencies are nearest to the harmonics of
a given fundamental.

If I'm not mistaken, at a sampling rate of 44100 and an FFT size of 4096,
the frequency of bin 10 would be calculated as (44100/4096)*10=107.66. Just
note that only FFT-size/2+1 bins are usable. That's the Nyquist frequency
(half of the sampling frequency). If you take 107.66 as your fundamental
(and zero all the bins below that) then you can do the following:

For each analysis window...
1- Detect the next FFT bin whose magnitude is above a certain threshold
2- Transfer the frequency and amplitude content of this bin to the nearest
harmonic of the fundamental. So for input bin 15 (and a fundamental
frequency of 107.66) this would be bin 20. The bin number to frequency
mapping is linear so it's easy to calculate.

Even, using fiddle~, you can get the fundamental frequency from the input
and have it change dynamically from window to window.

You're likely to get some bubbly artefacts thought, but once you have a
basic working patch you should be able to fine tune it. So you may want to
group the bins so that you transfer not just the energy in one bin but also
the bins around it. You might also want to do some averaging of the
amplitude of 6 windows or so to avoid rapidly changing values, before you
pass the signal into a threshold detector. I can do this in Csound but I'm
not that familiar with how FFT works in PD and I don't have a patch that
does this. If I get the time I might make one next weekend though and post
it here.

P




*www.peimankhosravi.co.uk  || RSS Feed
 || Concert News
*


On 26 November 2013 11:48, Eran Sachs  wrote:

> Peiman,
> It works great! I've been messing various sounds all day now, plus there's
> a thing in my computer with Barry Vercoe's name on it which I find oddly
> elevating.
> However, if I understand the wrap function correctly, it substitutes bin
> values for values of other bins through whatever function you apply. But
> the bins are still all derived from the FFT procedure. Or am I missing
> something there?
>
> What I would like to do is to move from bins to partials, so that they are
> essentially mapped to harmonic overtones of a given fundamental according
> to nearest match. Like a clever phase-vocoder Autotune of some kind.
>
> Is there a way to do that, to the best of anyone's knowledge?
>
> Much obliged,
> E.
> --
> Date: Mon, 25 Nov 2013 15:12:50 +
>
> Subject: Re: [PD] spectral mapping, anyone?
> From: peimankhosr...@gmail.com
> To: eransa...@hotmail.com
> CC: por...@gmail.com; jaime.oliv...@gmail.com; pd-list@iem.at
>
> yes csound6 should work on windows too as far as I know.
>
>
>
>
> *www.peimankhosravi.co.uk  || RSS Feed
>  || Concert News
> *
>
>
> On 24 November 2013 22:06, Eran Sachs  wrote:
>
> Thanks Peiman.
> Alas, I'm living the life of a PC/Windows user. AFAICT, no csound6?
> Z
>
> --
> Date: Sun, 24 Nov 2013 20:27:39 +
>
> Subject: Re: [PD] spectral mapping, anyone?
> From: peimankhosr...@gmail.com
> To: eransa...@hotmail.com
> CC: por...@gmail.com; jaime.oliv...@gmail.com; pd-list@iem.at
>
>
> With spectral warping you can do any frequency-based manipulation,
> depending on the transfer function. I have one for pd but it requires
> Csound to be installed and a couple of other externals. See attached. On an
> intel mac and with pd vanilla 4.5.3/4 this should just work out of the box
> as long as you have csound 6 installed.
>
> P
>
>
>
>
>
>
> *www.peimankhosravi.co.uk  || RSS Feed
>  || Concert News
> *
>
>
> On 24 November 2013 20:12, Eran Sachs  wrote:
>
> oops, I messed up the names. sorry. Once more, with feeling:
>
> Josep,
> Making harmonic sounds sound inharmonic can be down with spectral
> shifting. Try looking at Hilbert~ or at spec2_shift~ on extended.
>
> But Alexandre, I'd also would be interested in stuff that can manipulate
> the spectrum.
> I also made a little graphic control to all the cross-synthesis objects in
> FFTease. if anyone is interested I can post.
>
> A few years ago I tried to replicate the technique that Trevor Wishart
> refers to as "Spectral Focusing", namely - one that moves the other way -
> from inharmonic to harmonic sonds, by moving from bins to partials (a
> little like FFTea

Re: [PD] pd-l2ork on mint olivia need advices

2013-11-26 Thread t'es in t'es bat
Hello,
same issue with :
sudo apt-get -f install libgl1-mesa-dev libglu1-mesa-dev libglew-dev
libftgl-dev libquicktime-dev
Even if i try each alone it's the same error
E: Unable to correct problems, broken packages mode "keep state"
How can i find these broken packages
Synaptic don't show anything...

thanks



TNTB
P/: 06 86 86 12 19
SKYPE/: tntb.net
|
http://www.tntb.net
http://www.databit.me
http://www.circuitpixel.net

/_̲_̲̅_─ ̲̲͋_̲̅
 _ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_─ ̲̲͋_̲̅
_ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_─ ̲̲͋_̲̅
 _ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_─ ̲̲͋_̲̅
 _ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_




2013/11/26 Ivica Bukvic 

> Hi,
>
> This may be because Mint and possibly newer Ubuntu distros fragment
> packages differently than 12.04 I use to develop pd-l2ork. Try installing
> pd-l2ork using dpkg command provided on the online documentation and if you
> encounter errors like the ones you listed try:
>
> sudo apt-get -f install
>
> Hope this helps!
>
> BTW if anyone out there is a packaging guru and would like to improve
> pd-l2ork's deb control files please do not hesitate to contact me--there
> must be a better way to do this.
>
> P.S. please note that the latest deb now requires tclxapian package that
> ia not available by default on Arch and possibly other distros--we are
> currently working on figuring out how to address this.
> On Nov 26, 2013 8:19 AM, "t'es in t'es bat"  wrote:
>
>> Hello,
>> i try to get pd-l2ork work on mint 15.
>> It's like an ubuntu 13.04 but with many improvements
>> So i try installing and i get a big issue with
>> sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev libglew-dev
>> libftgl-dev libquicktime-dev
>> i got that error:
>>
>> The following packages have unmet dependencies:
>>   libgl1-mesa-dev: Depends: mesa-common-dev (= 9.1.7-1ubuntu2) but will
>> not be installed
>> Depends: libgl1-mesa-glx (= 9.1.7-1ubuntu2) but 9.2.0
>> ~ git20131002 +9.2.2 eb55601-0ubuntu0sarvatt ~ raring must be installed
>> Depends: libdrm-dev (> = 2.4.24) but will not be
>> installed
>> E: Unable to correct problems, broken packages mode "keep state"
>>
>> So impossible to compile.
>>
>> Is there a way to get a mesa lib working ?
>>
>> Does anybody succeed to use pd-l2ork works on Mint 15 ?
>> Some tuto somewhere ?
>>
>> Thanks
>>
>> David LeP0le
>> TNTB
>> P/: 06 86 86 12 19
>> SKYPE/: tntb.net
>> |
>> http://www.tntb.net
>> http://www.databit.me
>> http://www.circuitpixel.net
>>
>> /_̲_̲̅_─ ̲̲͋_̲̅
>>  _ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_─ ̲̲͋_̲̅
>> _ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_─ ̲̲͋_̲̅
>>  _ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_─ ̲̲͋_̲̅
>>  _ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_
>>
>>
>>
>> ___
>> 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] why overlaps affect frequency of [osc~]?

2013-11-26 Thread IOhannes m zmölnig
On 2013-11-26 11:19, Alexandre Torres Porres wrote:
> Howdy, ever tried to compute a hann window inside a subpatch where the FFT
> is happening?
> 
> And then if you're overlapping it by 4, do you see that only 1/4 of the
> cycle from [osc~] came up?
> 
> That means the [osc~] frequency was 1/4 what it should be...
> 
> Now, why and how does it happen? I just have no clue at all.
> 

that is mainly because the "sample rate" within the overlapped canvas is
higher than the sample rate outside.
(e.g. if you are doing an overlap of 2, you are in fact processing the
double amount of data in the same time, so your overlapping "sample
rate" is 88200 if the non-overlapping rate is 44100).
the same happens if you raise the "samplerate" via "upsampling".


[osc~] uses the sample-rate information (within the signal data
structure) to calculate the phase of a cosine-table lookup.

btw, there has been a long-standing feature request [1] to extend the
signal-structure to hold both overlap factor and sample-rate, so
signal-processing objects could handle upsampling and overlapping
differently.
(speaking of which, it would also be nice, if any dsp object could have
a notion of the current overlap cycle)


gfmasr
IOhannes


[1] https://sourceforge.net/p/pure-data/feature-requests/16/



signature.asc
Description: OpenPGP digital signature
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pd-l2ork on mint olivia need advices

2013-11-26 Thread Ivica Bukvic
You need to run sudo apt-get -f install without anything following that
command.
On Nov 26, 2013 9:19 AM, "t'es in t'es bat"  wrote:

> Hello,
> same issue with :
> sudo apt-get -f install libgl1-mesa-dev libglu1-mesa-dev libglew-dev
> libftgl-dev libquicktime-dev
> Even if i try each alone it's the same error
> E: Unable to correct problems, broken packages mode "keep state"
> How can i find these broken packages
> Synaptic don't show anything...
>
> thanks
>
>
>
> TNTB
> P/: 06 86 86 12 19
> SKYPE/: tntb.net
> |
> http://www.tntb.net
> http://www.databit.me
> http://www.circuitpixel.net
>
> /_̲_̲̅_─ ̲̲͋_̲̅
>  _ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_─ ̲̲͋_̲̅
> _ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_─ ̲̲͋_̲̅
>  _ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_─ ̲̲͋_̲̅
>  _ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_
>
>
>
>
> 2013/11/26 Ivica Bukvic 
>
>> Hi,
>>
>> This may be because Mint and possibly newer Ubuntu distros fragment
>> packages differently than 12.04 I use to develop pd-l2ork. Try installing
>> pd-l2ork using dpkg command provided on the online documentation and if you
>> encounter errors like the ones you listed try:
>>
>> sudo apt-get -f install
>>
>> Hope this helps!
>>
>> BTW if anyone out there is a packaging guru and would like to improve
>> pd-l2ork's deb control files please do not hesitate to contact me--there
>> must be a better way to do this.
>>
>> P.S. please note that the latest deb now requires tclxapian package that
>> ia not available by default on Arch and possibly other distros--we are
>> currently working on figuring out how to address this.
>> On Nov 26, 2013 8:19 AM, "t'es in t'es bat" 
>> wrote:
>>
>>> Hello,
>>> i try to get pd-l2ork work on mint 15.
>>> It's like an ubuntu 13.04 but with many improvements
>>> So i try installing and i get a big issue with
>>> sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev libglew-dev
>>> libftgl-dev libquicktime-dev
>>> i got that error:
>>>
>>> The following packages have unmet dependencies:
>>>   libgl1-mesa-dev: Depends: mesa-common-dev (= 9.1.7-1ubuntu2) but will
>>> not be installed
>>> Depends: libgl1-mesa-glx (= 9.1.7-1ubuntu2) but
>>> 9.2.0 ~ git20131002 +9.2.2 eb55601-0ubuntu0sarvatt ~ raring must be
>>> installed
>>> Depends: libdrm-dev (> = 2.4.24) but will not be
>>> installed
>>> E: Unable to correct problems, broken packages mode "keep state"
>>>
>>> So impossible to compile.
>>>
>>> Is there a way to get a mesa lib working ?
>>>
>>> Does anybody succeed to use pd-l2ork works on Mint 15 ?
>>> Some tuto somewhere ?
>>>
>>> Thanks
>>>
>>> David LeP0le
>>> TNTB
>>> P/: 06 86 86 12 19
>>> SKYPE/: tntb.net
>>> |
>>> http://www.tntb.net
>>> http://www.databit.me
>>> http://www.circuitpixel.net
>>>
>>> /_̲_̲̅_─ ̲̲͋_̲̅
>>>  _ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_─ ̲̲͋_̲̅
>>> _ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_─ ̲̲͋_̲̅
>>>  _ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_─ ̲̲͋_̲̅
>>>  _ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_
>>>
>>>
>>>
>>> ___
>>> 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] pd-l2ork on mint olivia need advices

2013-11-26 Thread Ivica Bukvic
Ugh, just read the rest of your message. I guess we need to investigate
what are the exact package names for Mint and rebuild the package to for
Mint format? Can you list what packages are missing and what are the
closest package names you have in synaptic? Thanks!
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] why overlaps affect frequency of [osc~]?

2013-11-26 Thread Alexandre Torres Porres
thanks master

well, I was betting it was that, and it actually brings me to more direct
questions I should have asked before. So here they go.

Simply put: How come and why does overlapping affect the sample rate?

> the same happens if you raise the "samplerate" via "upsampling".

I guess this is what's really confusing, cause I can't seem to get it.

If you do upsampling with block, for instance, you don't get this frequency
change issue with [osc~]. It'll run the same frequency, no problem... but
overlapping will do that somehow.

Why the hell the actual upsampling does not affect it?

And does this mean that overlap of 4 and upsampling of 4x makes it really
run at 16x the sample rate?

cheers


2013/11/26 IOhannes m zmölnig 

> On 2013-11-26 11:19, Alexandre Torres Porres wrote:
> > Howdy, ever tried to compute a hann window inside a subpatch where the
> FFT
> > is happening?
> >
> > And then if you're overlapping it by 4, do you see that only 1/4 of the
> > cycle from [osc~] came up?
> >
> > That means the [osc~] frequency was 1/4 what it should be...
> >
> > Now, why and how does it happen? I just have no clue at all.
> >
>
> that is mainly because the "sample rate" within the overlapped canvas is
> higher than the sample rate outside.
> (e.g. if you are doing an overlap of 2, you are in fact processing the
> double amount of data in the same time, so your overlapping "sample
> rate" is 88200 if the non-overlapping rate is 44100).
> the same happens if you raise the "samplerate" via "upsampling".
>
>
> [osc~] uses the sample-rate information (within the signal data
> structure) to calculate the phase of a cosine-table lookup.
>
> btw, there has been a long-standing feature request [1] to extend the
> signal-structure to hold both overlap factor and sample-rate, so
> signal-processing objects could handle upsampling and overlapping
> differently.
> (speaking of which, it would also be nice, if any dsp object could have
> a notion of the current overlap cycle)
>
>
> gfmasr
> IOhannes
>
>
> [1] https://sourceforge.net/p/pure-data/feature-requests/16/
>
>
> ___
> 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] why overlaps affect frequency of [osc~]?

2013-11-26 Thread Alexandre Torres Porres
>  [1] https://sourceforge.net/p/pure-data/feature-requests/16/

Not sure if I got what the request was requesting.

"the parameter s->s_sr isn't defined properly, as
s->s_sr=(fs*overlap) has nothing to do with the actual sampling
interval applied to the audio data."

Is this bit just saying overlap in [block~] is done wrong and shouldn't
affect sample rate?

Cause I'd be right there with it...



2013/11/26 IOhannes m zmölnig 

> On 2013-11-26 11:19, Alexandre Torres Porres wrote:
> > Howdy, ever tried to compute a hann window inside a subpatch where the
> FFT
> > is happening?
> >
> > And then if you're overlapping it by 4, do you see that only 1/4 of the
> > cycle from [osc~] came up?
> >
> > That means the [osc~] frequency was 1/4 what it should be...
> >
> > Now, why and how does it happen? I just have no clue at all.
> >
>
> that is mainly because the "sample rate" within the overlapped canvas is
> higher than the sample rate outside.
> (e.g. if you are doing an overlap of 2, you are in fact processing the
> double amount of data in the same time, so your overlapping "sample
> rate" is 88200 if the non-overlapping rate is 44100).
> the same happens if you raise the "samplerate" via "upsampling".
>
>
> [osc~] uses the sample-rate information (within the signal data
> structure) to calculate the phase of a cosine-table lookup.
>
> btw, there has been a long-standing feature request [1] to extend the
> signal-structure to hold both overlap factor and sample-rate, so
> signal-processing objects could handle upsampling and overlapping
> differently.
> (speaking of which, it would also be nice, if any dsp object could have
> a notion of the current overlap cycle)
>
>
> gfmasr
> IOhannes
>
>
> [1] https://sourceforge.net/p/pure-data/feature-requests/16/
>
>
> ___
> 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] spectral mapping, anyone?

2013-11-26 Thread Alexandre Torres Porres
well, let me tell you how I did it, I can send some of my last work, but,
as usual, needs some cleaning up and documenting.

But basically I'm using [sigmund~], then getting "tracks" output to use all
the partial information to feed an oscillator bank for resynthesis. This is
pretty much what you can call a phase vocoder, hence you can tweak with it
and mess around with partials.

I also have a patch where you can control the partials individually and
very arbitrarily.

So, for spectral mapping, what I do is I try to map all the harmonic
relationship from partials and "detune" them according to a different
"harmonic series".

It's a lot of work getting all of the data mapped and in order, then apply
the math and stuff. It's also tricky because you need the right tuning of
[sigmund~] to get better results according to the kind of musical audio
signal that is coming through...

Anyway, anyone got a better idea than that?

I think that if you use FFT you will go crazy trying yo get this right, and
I assume that [sigmund~] does work in the best way for this and it is based
on FFT anywy (Am I right?).

Cheers


2013/11/26 peiman khosravi 

> Hello,
>
> Yes, your description of warp is correct.
>
> Partial detection is more tricky because often the energy in 4 or more FFT
> bins amounts to one partial. So firstly, you need to derive the partials
> from the FFT data, then you need to quantise the partials' frequencies.
>
> One possible cheat would be to trace the loudest FFT-bins and then
> transfer their energy to the bins whose frequencies are nearest to the
> harmonics of a given fundamental.
>
> If I'm not mistaken, at a sampling rate of 44100 and an FFT size of 4096,
> the frequency of bin 10 would be calculated as (44100/4096)*10=107.66. Just
> note that only FFT-size/2+1 bins are usable. That's the Nyquist frequency
> (half of the sampling frequency). If you take 107.66 as your fundamental
> (and zero all the bins below that) then you can do the following:
>
> For each analysis window...
> 1- Detect the next FFT bin whose magnitude is above a certain threshold
> 2- Transfer the frequency and amplitude content of this bin to the nearest
> harmonic of the fundamental. So for input bin 15 (and a fundamental
> frequency of 107.66) this would be bin 20. The bin number to frequency
> mapping is linear so it's easy to calculate.
>
> Even, using fiddle~, you can get the fundamental frequency from the input
> and have it change dynamically from window to window.
>
> You're likely to get some bubbly artefacts thought, but once you have a
> basic working patch you should be able to fine tune it. So you may want to
> group the bins so that you transfer not just the energy in one bin but also
> the bins around it. You might also want to do some averaging of the
> amplitude of 6 windows or so to avoid rapidly changing values, before you
> pass the signal into a threshold detector. I can do this in Csound but I'm
> not that familiar with how FFT works in PD and I don't have a patch that
> does this. If I get the time I might make one next weekend though and post
> it here.
>
> P
>
>
>
>
> *www.peimankhosravi.co.uk  || RSS Feed
>  || Concert News
> *
>
>
> On 26 November 2013 11:48, Eran Sachs  wrote:
>
>> Peiman,
>> It works great! I've been messing various sounds all day now, plus
>> there's a thing in my computer with Barry Vercoe's name on it which I find
>> oddly elevating.
>> However, if I understand the wrap function correctly, it substitutes bin
>> values for values of other bins through whatever function you apply. But
>> the bins are still all derived from the FFT procedure. Or am I missing
>> something there?
>>
>> What I would like to do is to move from bins to partials, so that they
>> are essentially mapped to harmonic overtones of a given fundamental
>> according to nearest match. Like a clever phase-vocoder Autotune of some
>> kind.
>>
>> Is there a way to do that, to the best of anyone's knowledge?
>>
>> Much obliged,
>> E.
>> --
>> Date: Mon, 25 Nov 2013 15:12:50 +
>>
>> Subject: Re: [PD] spectral mapping, anyone?
>> From: peimankhosr...@gmail.com
>> To: eransa...@hotmail.com
>> CC: por...@gmail.com; jaime.oliv...@gmail.com; pd-list@iem.at
>>
>> yes csound6 should work on windows too as far as I know.
>>
>>
>>
>>
>> *www.peimankhosravi.co.uk  || RSS Feed
>>  || Concert News
>> *
>>
>>
>> On 24 November 2013 22:06, Eran Sachs  wrote:
>>
>> Thanks Peiman.
>> Alas, I'm living the life of a PC/Windows user. AFAICT, no csound6?
>> Z
>>
>> --
>> Date: Sun, 24 Nov 2013 20:27:39 +
>>
>> Subject: Re: [PD] spectral mapping, anyone?
>> From: peimankhosr...@gmail.com
>> To: eransa...@hotmail.com
>> CC: por...@gmail.com; jaime.oliv.

[PD] best way of plotting distribution of events in logarithmic plot

2013-11-26 Thread flad chester
Hi list, i was wondering which is the best way of plotting
distribution of events in logarithmic plot in puredata.

I have a patch that randomly triggers sound events at different
frequencies and magnitude.
I need to plot these events in a logarithmic plot( frequencies vs magnitude) .

Which is the easiest way of achieving this in pd?


cheers


Flad

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


Re: [PD] why overlaps affect frequency of [osc~]?

2013-11-26 Thread IOhannes m zmölnig
On 2013-11-26 19:37, Alexandre Torres Porres wrote:
>>  [1] https://sourceforge.net/p/pure-data/feature-requests/16/
> 
> Not sure if I got what the request was requesting.
> 
> "the parameter s->s_sr isn't defined properly, as
> s->s_sr=(fs*overlap) has nothing to do with the actual sampling
> interval applied to the audio data."

the question is how you define samplerate.
a simplisitic approach simply takes the number of samples processed
within e.g. 1 second.
if you do overlap by 2, you process each incoming sample twice, so the
number of samples that passes through the object is doubled, and thus
the sample rate is doubled as well.

this however doesn't really make sense, if you use that samplerate to
calculate the period of a periodic signal, like [osc~] does.

e.g. an [osc~ 689.062] will have a period length of 64 samples (@44.1kHz).

when we do upsampling, the internal samplerate is 88.2kHz, thus the
period length is 128 samples.
when going back to the original samplesize, you need to do downsampling,
which basically means to only take every second sample (in the most
simple form), so you end up with half of the samples discarded and the
period size of 64 again.

however, with overlapping things are not as simple. the internal
samplerate is again 88.2kHz, the period length 128 samples.
but this gives us two problems:
- imagine that the blocksize was still 64 samples (both in the parent
canvas and in the reblocked (overlapped) sub-canvas). but [osc~] will
create a "continuous" signal between two calls, as it doesn't know
anything about overlapping. this is plain wrong for overlapping signals,
where the odd frames should be considered continous, and the even frames
are continuous, but not both together.
- when going back to the non-overlapping parent canvas, we again have to
reduce the number of samples by a factor-of-two. but this time the
algorithm used is to align the half-blocks and "sum" the up.
but this means, that you still have a period size of 128 samples. which
will make ~344Hz in the parent patch...(and the odd artifacts you get
from the problem #1)

hope this clears things a bit.

the statement in the feature-request/bugtracker kind of addresses this:
in Pd the signal-block's "sample rate" is not the inverse of the "actual
sampling interval" (think nyquist and the like) but "the number of
samples processed in a given time" - which simply isn't the same if you
do overlapping


fmdsar
IOhannes



signature.asc
Description: OpenPGP digital signature
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] gridflow archlinux

2013-11-26 Thread Fero Kiraly
hallo,
cant compile. any suggestions ?
thanks

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


Re: [PD] pd-l2ork on mint olivia need advices

2013-11-26 Thread t'es in t'es bat
hello
i'd just check and i find all the packages in synaptic
but if i try to select for install i got a message saying package not
certified, risk of attack from bad people or something.
If i ckeck for install the package become red and i got a broken package
message...
It seem to be a problem with my system ?
Impossible to get the mesa-dev or quicktime-dev package...
so what can i do ?

thanks

TNTB
P/: 06 86 86 12 19
SKYPE/: tntb.net
|
http://www.tntb.net
http://www.databit.me
http://www.circuitpixel.net

/_̲_̲̅_─ ̲̲͋_̲̅
 _ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_─ ̲̲͋_̲̅
_ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_─ ̲̲͋_̲̅
 _ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_─ ̲̲͋_̲̅
 _ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_




2013/11/26 Ivica Bukvic 

> Ugh, just read the rest of your message. I guess we need to investigate
> what are the exact package names for Mint and rebuild the package to for
> Mint format? Can you list what packages are missing and what are the
> closest package names you have in synaptic? Thanks!
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] gridflow archlinux

2013-11-26 Thread IOhannes m zmölnig
On 2013-11-26 21:43, Fero Kiraly wrote:
> hallo,
> cant compile. any suggestions ?

report error messages.

gfmsar
IOhannes




signature.asc
Description: OpenPGP digital signature
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] why overlaps affect frequency of [osc~]?

2013-11-26 Thread Alexandre Torres Porres
> hope this clears things a bit.

I can't see how it could be any clear :D

thanks so much for the detailed explanation, really appreciate it

I finally know how overlapping is actually done behind the scenes now, cool

And yeah, objects like [osc~] should totally be aware of this matter and do
it correctly

On the other hand, I'm getting really nice and distorted wicked sounds from
this error, and I'm gonna use it! haha

All the best

2013/11/26 IOhannes m zmölnig 

> On 2013-11-26 19:37, Alexandre Torres Porres wrote:
> >>  [1] https://sourceforge.net/p/pure-data/feature-requests/16/
> >
> > Not sure if I got what the request was requesting.
> >
> > "the parameter s->s_sr isn't defined properly, as
> > s->s_sr=(fs*overlap) has nothing to do with the actual sampling
> > interval applied to the audio data."
>
> the question is how you define samplerate.
> a simplisitic approach simply takes the number of samples processed
> within e.g. 1 second.
> if you do overlap by 2, you process each incoming sample twice, so the
> number of samples that passes through the object is doubled, and thus
> the sample rate is doubled as well.
>
> this however doesn't really make sense, if you use that samplerate to
> calculate the period of a periodic signal, like [osc~] does.
>
> e.g. an [osc~ 689.062] will have a period length of 64 samples (@44.1kHz).
>
> when we do upsampling, the internal samplerate is 88.2kHz, thus the
> period length is 128 samples.
> when going back to the original samplesize, you need to do downsampling,
> which basically means to only take every second sample (in the most
> simple form), so you end up with half of the samples discarded and the
> period size of 64 again.
>
> however, with overlapping things are not as simple. the internal
> samplerate is again 88.2kHz, the period length 128 samples.
> but this gives us two problems:
> - imagine that the blocksize was still 64 samples (both in the parent
> canvas and in the reblocked (overlapped) sub-canvas). but [osc~] will
> create a "continuous" signal between two calls, as it doesn't know
> anything about overlapping. this is plain wrong for overlapping signals,
> where the odd frames should be considered continous, and the even frames
> are continuous, but not both together.
> - when going back to the non-overlapping parent canvas, we again have to
> reduce the number of samples by a factor-of-two. but this time the
> algorithm used is to align the half-blocks and "sum" the up.
> but this means, that you still have a period size of 128 samples. which
> will make ~344Hz in the parent patch...(and the odd artifacts you get
> from the problem #1)
>
> hope this clears things a bit.
>
> the statement in the feature-request/bugtracker kind of addresses this:
> in Pd the signal-block's "sample rate" is not the inverse of the "actual
> sampling interval" (think nyquist and the like) but "the number of
> samples processed in a given time" - which simply isn't the same if you
> do overlapping
>
>
> fmdsar
> IOhannes
>
>
> ___
> 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] spectral mapping, anyone?

2013-11-26 Thread Alexandre Torres Porres
oh, and the thing about the FFTease object is that it always fits the
partials into a fixed scale. I mean the frequencies are always the same,
and the scale isn't transposed according to a continuous fundamental. Maybe
it's because it's using and dealing with the fixed bins in the FFT... not
sure. Now I'm trying to do that according to the fundamental in a more
loose and free way.


2013/11/26 Alexandre Torres Porres 

> well, let me tell you how I did it, I can send some of my last work, but,
> as usual, needs some cleaning up and documenting.
>
> But basically I'm using [sigmund~], then getting "tracks" output to use
> all the partial information to feed an oscillator bank for resynthesis.
> This is pretty much what you can call a phase vocoder, hence you can tweak
> with it and mess around with partials.
>
> I also have a patch where you can control the partials individually and
> very arbitrarily.
>
> So, for spectral mapping, what I do is I try to map all the harmonic
> relationship from partials and "detune" them according to a different
> "harmonic series".
>
> It's a lot of work getting all of the data mapped and in order, then apply
> the math and stuff. It's also tricky because you need the right tuning of
> [sigmund~] to get better results according to the kind of musical audio
> signal that is coming through...
>
> Anyway, anyone got a better idea than that?
>
> I think that if you use FFT you will go crazy trying yo get this right,
> and I assume that [sigmund~] does work in the best way for this and it is
> based on FFT anywy (Am I right?).
>
> Cheers
>
>
> 2013/11/26 peiman khosravi 
>
>> Hello,
>>
>> Yes, your description of warp is correct.
>>
>> Partial detection is more tricky because often the energy in 4 or more
>> FFT bins amounts to one partial. So firstly, you need to derive the
>> partials from the FFT data, then you need to quantise the partials'
>> frequencies.
>>
>> One possible cheat would be to trace the loudest FFT-bins and then
>> transfer their energy to the bins whose frequencies are nearest to the
>> harmonics of a given fundamental.
>>
>> If I'm not mistaken, at a sampling rate of 44100 and an FFT size of 4096,
>> the frequency of bin 10 would be calculated as (44100/4096)*10=107.66. Just
>> note that only FFT-size/2+1 bins are usable. That's the Nyquist frequency
>> (half of the sampling frequency). If you take 107.66 as your fundamental
>> (and zero all the bins below that) then you can do the following:
>>
>> For each analysis window...
>> 1- Detect the next FFT bin whose magnitude is above a certain threshold
>> 2- Transfer the frequency and amplitude content of this bin to the
>> nearest harmonic of the fundamental. So for input bin 15 (and a fundamental
>> frequency of 107.66) this would be bin 20. The bin number to frequency
>> mapping is linear so it's easy to calculate.
>>
>> Even, using fiddle~, you can get the fundamental frequency from the input
>> and have it change dynamically from window to window.
>>
>> You're likely to get some bubbly artefacts thought, but once you have a
>> basic working patch you should be able to fine tune it. So you may want to
>> group the bins so that you transfer not just the energy in one bin but also
>> the bins around it. You might also want to do some averaging of the
>> amplitude of 6 windows or so to avoid rapidly changing values, before you
>> pass the signal into a threshold detector. I can do this in Csound but I'm
>> not that familiar with how FFT works in PD and I don't have a patch that
>> does this. If I get the time I might make one next weekend though and post
>> it here.
>>
>> P
>>
>>
>>
>>
>> *www.peimankhosravi.co.uk  || RSS Feed
>>  || Concert News
>> *
>>
>>
>> On 26 November 2013 11:48, Eran Sachs  wrote:
>>
>>> Peiman,
>>> It works great! I've been messing various sounds all day now, plus
>>> there's a thing in my computer with Barry Vercoe's name on it which I find
>>> oddly elevating.
>>> However, if I understand the wrap function correctly, it substitutes bin
>>> values for values of other bins through whatever function you apply. But
>>> the bins are still all derived from the FFT procedure. Or am I missing
>>> something there?
>>>
>>> What I would like to do is to move from bins to partials, so that they
>>> are essentially mapped to harmonic overtones of a given fundamental
>>> according to nearest match. Like a clever phase-vocoder Autotune of some
>>> kind.
>>>
>>> Is there a way to do that, to the best of anyone's knowledge?
>>>
>>> Much obliged,
>>> E.
>>> --
>>> Date: Mon, 25 Nov 2013 15:12:50 +
>>>
>>> Subject: Re: [PD] spectral mapping, anyone?
>>> From: peimankhosr...@gmail.com
>>> To: eransa...@hotmail.com
>>> CC: por...@gmail.com; jaime.oliv...@gmail.com; pd-list@iem.at
>>>
>>> yes csound6 should work on windows too as far as I know.
>>>
>>>
>>>
>>>

Re: [PD] spectral mapping, anyone?

2013-11-26 Thread Alexandre Torres Porres
haven't tried this warp thing, but will definately try it when I get the
chance

thanks!


2013/11/26 Eran Sachs 

> Peiman,
> It works great! I've been messing various sounds all day now, plus there's
> a thing in my computer with Barry Vercoe's name on it which I find oddly
> elevating.
> However, if I understand the wrap function correctly, it substitutes bin
> values for values of other bins through whatever function you apply. But
> the bins are still all derived from the FFT procedure. Or am I missing
> something there?
>
> What I would like to do is to move from bins to partials, so that they are
> essentially mapped to harmonic overtones of a given fundamental according
> to nearest match. Like a clever phase-vocoder Autotune of some kind.
>
> Is there a way to do that, to the best of anyone's knowledge?
>
> Much obliged,
> E.
> --
> Date: Mon, 25 Nov 2013 15:12:50 +
>
> Subject: Re: [PD] spectral mapping, anyone?
> From: peimankhosr...@gmail.com
> To: eransa...@hotmail.com
> CC: por...@gmail.com; jaime.oliv...@gmail.com; pd-list@iem.at
>
> yes csound6 should work on windows too as far as I know.
>
>
>
>
> *www.peimankhosravi.co.uk  || RSS Feed
>  || Concert News
> *
>
>
> On 24 November 2013 22:06, Eran Sachs  wrote:
>
> Thanks Peiman.
> Alas, I'm living the life of a PC/Windows user. AFAICT, no csound6?
> Z
>
> --
> Date: Sun, 24 Nov 2013 20:27:39 +
>
> Subject: Re: [PD] spectral mapping, anyone?
> From: peimankhosr...@gmail.com
> To: eransa...@hotmail.com
> CC: por...@gmail.com; jaime.oliv...@gmail.com; pd-list@iem.at
>
>
> With spectral warping you can do any frequency-based manipulation,
> depending on the transfer function. I have one for pd but it requires
> Csound to be installed and a couple of other externals. See attached. On an
> intel mac and with pd vanilla 4.5.3/4 this should just work out of the box
> as long as you have csound 6 installed.
>
> P
>
>
>
>
>
>
> *www.peimankhosravi.co.uk  || RSS Feed
>  || Concert News
> *
>
>
> On 24 November 2013 20:12, Eran Sachs  wrote:
>
> oops, I messed up the names. sorry. Once more, with feeling:
>
> Josep,
> Making harmonic sounds sound inharmonic can be down with spectral
> shifting. Try looking at Hilbert~ or at spec2_shift~ on extended.
>
> But Alexandre, I'd also would be interested in stuff that can manipulate
> the spectrum.
> I also made a little graphic control to all the cross-synthesis objects in
> FFTease. if anyone is interested I can post.
>
> A few years ago I tried to replicate the technique that Trevor Wishart
> refers to as "Spectral Focusing", namely - one that moves the other way -
> from inharmonic to harmonic sonds, by moving from bins to partials (a
> little like FFTease's pvtune~, but moving bins to nearest matching partial
> ).
>
> I'm still looking for such an object. Does anyone have any suggestions?
>
> Zax.
>
> --
> From: eransa...@hotmail.com
> To: por...@gmail.com; jaime.oliv...@gmail.com
> Date: Sun, 24 Nov 2013 21:58:50 +0200
>
> CC: pd-list@iem.at
> Subject: Re: [PD] spectral mapping, anyone?
>
> Alexandre,
> Making harmonic sounds sound inharmonic can be down with spectral
> shifting. Try looking at Hilbert~ or at spec2_shift~ on extended.
>
> But Jaime, I'd also would be interested in that.
> A few years ago I tried to replicate the technique that Trevor Wishart
> refers to as "Spectral Focusing", namely - one that moves the other way -
> from inharmonic to harmonic sonds, by moving from bins to partials (a
> little like FFTease's pvtune~, but moving bins to nearest matching partial
> ).
>
> I'm still looking for such an object. Does anyone have any suggestions?
>
> Zax.
>
>
> --
> Date: Sun, 24 Nov 2013 01:05:29 -0200
> From: por...@gmail.com
> To: jaime.oliv...@gmail.com
> CC: pd-list@iem.at
> Subject: Re: [PD] spectral mapping, anyone?
>
> Hi, I'm Alexandre, I can send you stuff
>
> cheers
>
>
> 2013/11/11 Jaime E Oliver 
>
> These are older, but I understand E. Lyon might re-release them?
>
> http://www.somasa.qub.ac.uk/~elyon/LyonSoftware/MaxMSP/FFTease/
>
> J
>
>
>
> On Nov 11, 2013, at 7:23 AM, Jeppi Jeppi  wrote:
>
> Hi,
> just looking for some ready to be used spectral mapping effects
> implemented in pd, anything available?
> Specifically, just a way to slightly remap harmonics to make pitched
> sounds inharmonic.
> There is a paper by Alexandre
> http://www.uni-weimar.de/medien/wiki/images/Dissonance_Model_Toolbox_in_Pure_Data.pdf
>  but
> I couldn't find the link to the sources.
>
>
> Many thanks in advance!
> Josep m
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.pure

Re: [PD] pd-l2ork on mint olivia need advices

2013-11-26 Thread Ivica Bukvic
Without seeing the errors and knowing your setup it is difficult to say. If
Mint is anything like Ubuntu then you may need to enable additional
repositories. In Ubuntu they are called universe and you may possibly even
need to enable multiverse.

You may also encounter errors related to packages that are not signed or
repositories that are not signed. Assuming that you're using default
repositories this typically should not be a problem but again I don't know
what your situation is because I don't have enough information to say one
way or the other.

Hope this helps!
On Nov 26, 2013 4:02 PM, "t'es in t'es bat"  wrote:

> hello
> i'd just check and i find all the packages in synaptic
> but if i try to select for install i got a message saying package not
> certified, risk of attack from bad people or something.
> If i ckeck for install the package become red and i got a broken package
> message...
> It seem to be a problem with my system ?
> Impossible to get the mesa-dev or quicktime-dev package...
> so what can i do ?
>
> thanks
>
> TNTB
> P/: 06 86 86 12 19
> SKYPE/: tntb.net
> |
> http://www.tntb.net
> http://www.databit.me
> http://www.circuitpixel.net
>
> /_̲_̲̅_─ ̲̲͋_̲̅
>  _ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_─ ̲̲͋_̲̅
> _ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_─ ̲̲͋_̲̅
>  _ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_─ ̲̲͋_̲̅
>  _ _̲̅̅̅_̅_̲̲̅ ̲__̲_̲̅_
>
>
>
>
> 2013/11/26 Ivica Bukvic 
>
>> Ugh, just read the rest of your message. I guess we need to investigate
>> what are the exact package names for Mint and rebuild the package to for
>> Mint format? Can you list what packages are missing and what are the
>> closest package names you have in synaptic? Thanks!
>>
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] gridflow archlinux

2013-11-26 Thread Fero Kiraly
[paum@bookes gridflow-9.13]$ ./configure
./configure:25:in `': Use RbConfig instead of obsolete and deprecated
Config.
./configure:26:in `': uninitialized constant CONFIG (NameError)


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


[PD] 96khz and metronome tempi

2013-11-26 Thread Ali Momeni
hi all,
i'm trying to run pd 45-2 on os x 10.8,
with a MobileIO 2882 audio interface set to 96khz;
when i set the sampling rate to 96khz in the PD preferences and apply,
a 'metro 1000' puts out bangs every 2seconds or so (!!!).
when i set the sampling rate back to 44.1, all is well.


my search of the archive reported lots of postings regarding writesf~ and
96khz
but i didn't come across anything about event scheduler issues.

is this problem particular to my audio interface/os/pd-version or have
others seen it?


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


Re: [PD] Pure Data, libpd, help

2013-11-26 Thread Ed Kelly
Hello Andrei.

The Ninja Jamm patch has moved on a bit since then, but there are some things 
you should note.

1) Events can be encapsulated but audio paths cannot if you want the greatest 
efficiency from your target device (e.g. iPhone 4 - the minimum platform for 
Ninja Jamm). But try not to encapsulate below one level below the master patch, 
even for event-based subpatched, if you don't want to glitch.
2) you will probably have to write a few externals of your own if you cannot 
get the functions you need from vanilla Pd, and these need to be wrapped into 
the compilation of the app. Look at http://pdstatic.iem.at/externals-HOWTO/ for 
more info on how to write an external for Pure Data. Alternatively it is worth 
checking out the rjlib material from RJDJ at https://github.com/rjdj - v.good 
abstractions! 
I don't make the GUI for Ninja Jamm but...
3) the way a libpd patch is controlled by a GUI is by send and receive objects 
in Pd.
In my experience it is normal to make the objects in the GUI non-callback - 
i.e. if the GUI objects receive a message from Pd they do not send it back to 
Pd, but if a message is sent to the Pd patch it can send one back to the GUI.

I hope this helps.

Best wishes,
Ed




 



Ninja Jamm - a revolutionary new music remix app from Ninja Tune and Seeper, 
for iPhone and iPad
http://www.ninjajamm.com/


Gemnotes-0.2: Live music notation for Pure Data, now with dynamics!
http://sharktracks.co.uk/ 



On Tuesday, 26 November 2013, 22:13, Andrei Branea 
 wrote:
 
Hi Ed,
>My name is Andrei Branea and I recently graduated Creative Music Technology at 
>Bath Spa University. 
>
>I've been working with Pd during the last few years. Your Pd work is really 
>impressive, I remember having discovered Metastudio a couple of years ago, 
>when I was looking at projects presented at the PD conventions, and at the 
>time the patches were above my level of understanding.
>
>I recently discovered your work for the Seeper Ninja Tune app. I would like to 
>learn more about making and integrating Pd patches in apps using libpd, to get 
>in touch with apps developers and propose the addition of procedural audio to 
>their apps. 
>
>I had a look at the screenshot of the patch 
>(http://createdigitalmusic.com/files/2013/04/np-PD-patch-of-Ninja-Jamm-code-audio-engine.gif),
> and I found it striking that so much is on the main patch without using 
>encapsulation. I would appreciate if you could share your experience about 
>current limitations, challenges related to communication between Pd and the 
>operating system, and maybe other issues you have found essential in 
>integrating Pd as audio engine. 
>
>Please reply whenever you can spare a minute, it's not urgent, but actual 
>insight to the development process and understanding of it is very valuable to 
>me.
>
>All the best,
>
>Andrei.
>
>___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] gridflow archlinux

2013-11-26 Thread Charles Goyard
Hi,

Fero Kiraly wrote:
> [paum@bookes gridflow-9.13]$ ./configure
> ./configure:25:in `': Use RbConfig instead of obsolete and deprecated
> Config.
> ./configure:26:in `': uninitialized constant CONFIG (NameError)

That's because your tools are too up-to-date for gridflow. That often
happens with archlinux (which I use and love).

You'll have to dig a little in the new features/conventions for the 
build chain and modify gridflow files.

Lots of people use ubuntu or debian, which are slow (sometimes 2 years)
to adopt new version of some tools.

But that's the deal with archlinux: you know what you're doing, are
you're responsible for it :).

Cheers,
Charlot

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