Re: [PD] microtonal pitch glide using Risset's bell

2010-11-18 Thread J bz
Andrew  Collin,

Many thanks you guy's hugely appreciated, problem understood, and just in
time too.

Much fatherly love,

Jb

On 17 November 2010 23:17, Andrew Faraday jbtur...@hotmail.com wrote:

  Also a valid solution,



 --
 From: cold...@mac.com
 Date: Wed, 17 Nov 2010 14:33:15 -0800
 To: jbee...@gmail.com
 CC: pd-list@iem.at
 Subject: Re: [PD] microtonal pitch glide using Risset's bell


 Hi Julian,

 To make this work you can modify the partial.pd abstraction to receive the
 frequency message as a signal. e.g. replace this bit:


  [r frequency]
 ||
 [*  ]
 |
 [+  $4]
 |

 with this:

[r~ frequency]
 |  |
 [*~  ]
 |
 [+~  $4]
 |


 then send something like

 [72, 72.4 15(
 |
 [line~]
 |
 [mtof~]
 |
 [s~ frequency]


 Does that make sense, dad?

 congratulations,
 Collin





 On Nov 17, 2010, at 2:41 AM, pd-list-requ...@iem.at wrote:

 Message: 2

 Date: Wed, 17 Nov 2010 10:37:35 +

 From: J bz jbee...@gmail.com

 Subject: [PD] microtonal pitch glide using Risset's bell

 To: pd-list@iem.at

 Message-ID:

 aanlktim8hsjvmfn3ho5rynrtqyx=rz1qylx9g-qsd...@mail.gmail.com

 Content-Type: text/plain; charset=iso-8859-1


 Dear List,


 I have a basic rip of the Risset Bell from the tutorial patches and I can't

 seem to figure out how to make the overall pitch glide from one microtone
 to

 another from midi number 72 to 72.4 over 15ms, for example?


 A month old baby and a looming deadline has turned my brain into mush...


 Patch is attached (it's for an upcoming performance of John Cage's

 'Ryoanji').


 All good wishes,


 Julian



 ___ 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] lowest latency ARM board for Pd

2010-11-18 Thread Olm-e
thanks for all this, will try to find some time this week for this...

(building on the openmoko is a thing I'll do when I have more experience
with the system ;) )

Ol.

ogeem.be
okno.be

cosmin O_O wrote:
 Ok, there is also a full pd-extended version for armel (except
 pix_kaleidoscope and curve3d) there:

 http://www.servideo.org/debian/

 Cosmin

 
 CC: o...@ogeem.be; pd-list@iem.at
 From: h...@at.or.at
 To: horiacos...@hotmail.com
 Subject: Re: [PD] lowest latency ARM board for Pd
 Date: Wed, 17 Nov 2010 11:22:01 -0500


 This would be great to have as a wiki page on puredata.info, thanks
 for making the build.

 .hc

 On Nov 17, 2010, at 9:27 AM, cosmin O_O wrote:

 Hi,

 That's simple:

 Install pd-extended (Armel version)


 There is no OpenGL support on the Freerunner so Gem, pdp, pidip
 are not compiled on this version.



 1/ Install dependencies:

 wget 
 http://www.debian-multimedia.org/pool/main/d/debian-multimedia-keyring/debian-multimedia-keyring_2008.10.16_all.deb

 dpkg -i debian-multimedia-keyring_2008.10.16_all.deb

 nano -w /etc/apt/sources list

 and add: deb http://www.debian-multimedia.org lenny main non-free

 then:

 apt-get install x-ttcidfont-conf tcllib libfftw3-3 libflite1
 libjack0 libmp3lame0 libogg0 libspeex1 libvorbis0a libvorbisenc2
 libvorbisfile3 tcl8.5 tk8.5 


 2/ Install Pd-extended for armel

 wget http://www.servideo.org/debian/Pd-0.42.5-extended_light_armel.deb

 dpkg -i Pd-0.42.5-extended_light_armel.deb

 Note that if you had previously troubles with the dependencies of
 pd-extended, make a dpkg -P pdextended

 3/ go to:  

 /usr/share/applications/pd-extended.desktop
 and replace 
 Exec=pasuspender -- /usr/bin/pdextended -alsa %F
 by:
 Exec=pdextended -alsa (-- depending the space left, you should
 install also alsa-base for that)
 or by:
 Exec=pdextended -oss (-- my choice)

 4/Run Pd-extended or puredata on the Freerunner:

 a/ Go to Main Menu  Applications  QX
 b/ Select options (white file on the bottom left) and click
 favourites
 c/ Select pd-extended
 d/ Quit QX and come back to QX
 e/ Select pd-xextended and set on options the settings like
 for example: prevent suspending, Prevent screen diming, Use
 Window Manager and Full screen and save.
 f/ Select pd-extended
 g/ Launch pd-extended with Options  Launch.


 If you want to install puredata instead of pd-extended:

 apt-get install puredata


 Best,

 Cosmin




  Date: Wed, 17 Nov 2010 12:58:45 +0100
  From: o...@ogeem.be mailto:o...@ogeem.be
  To: pd-list@iem.at mailto:pd-list@iem.at
  Subject: Re: [PD] lowest latency ARM board for Pd
  
  I would be happy to know how you did install pd on your
 freerunner... I
  did tried to install from rep (using debian QText v28) and it doesn't
  start, PDa seems too old to install (need osso-esd wich is not
 available...)
  
  I had been able to install it before but not anymore :/
  
  any hints ?
  
  tks
  
  Ol.
  
  ogeem.be
  okno.be
   Subject: Re: [PD] lowest latency ARM board for Pd
   To: cosmin O_O horiacos...@hotmail.com
 mailto:horiacos...@hotmail.com
   Cc: pd-list@iem.at mailto:pd-list@iem.at
   Message-ID: 4cdd2b53.9050...@iem.at
 mailto:4cdd2b53.9050...@iem.at
   Content-Type: text/plain; charset=iso-8859-1
  
   On 11/12/2010 11:11 AM, cosmin O_O wrote:
   
   I don't know if I done the good way of measurments, but I've
 only choose the 10ms option on audio buffer and test some
 patches to see if the sound was correct.
   And it was (without cranks).
  
   
  
   ah i see.
   the 10ms option does not mean so much. it only affects the
 buffer Pd
   uses internally; the audio-subsystem will add latency on top of
 that.
  
   the only reliable way to test latency is to measure it (by
 means of cables).
  
   which OS are you running on the FreeRunner? FSO? android?
  
   fgamr
   IOhannes
  
   -- next part --
  
  
  ___
  Pd-list@iem.at mailto:Pd-list@iem.at mailing list
  UNSUBSCRIBE and account-management
 - http://lists.puredata.info/listinfo/pd-list
 ___
 Pd-list@iem.at mailto:Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management
 - http://lists.puredata.info/listinfo/pd-list



 

 “We must become the change we want to see. - Mahatma Gandhi



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 

[PD] Recording and playing back

2010-11-18 Thread Wallace
Hi,

I want to write a little patch in order to record 30seconds of audio,
playing it back and then again recording and playing it back, and so
on.

Any examples/objects to suggest ?

thx

-- 
     _.|| _. _  _
\/\/(_|||(_|(_ (/_

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


Re: [PD] Recording and playing back

2010-11-18 Thread André Bandeira

There is an example in Kreidler's tutorial, that simulates the Alvin Lucier's 
piece.

___
 
 
André Damião Bandeira
(11)9819-1999
www.soundcloud.com/dami-1
www.myspace.com/basavizi
 





 


From: teoria.musi...@hotmail.com
To: wallacechemi...@gmail.com
Subject: RE: [PD] Recording and playing back
Date: Thu, 18 Nov 2010 14:12:20 +




 
There is an example in Kreidler's tutorial, that simulates the Alvin Lucier's 
piece.

___
 
 
André Damião Bandeira
(11)9819-1999
www.soundcloud.com/dami-1
www.myspace.com/basavizi
 





 
 Date: Thu, 18 Nov 2010 14:05:32 +0100
 From: wallacechemi...@gmail.com
 To: pd-list@iem.at
 Subject: [PD] Recording and playing back
 
 Hi,
 
 I want to write a little patch in order to record 30seconds of audio,
 playing it back and then again recording and playing it back, and so
 on.
 
 Any examples/objects to suggest ?
 
 thx
 
 -- 
  _.|| _. _  _
 \/\/(_|||(_|(_ (/_
 
 ___
 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] Recording and playing back

2010-11-18 Thread Wallace
2010/11/18 André Bandeira teoria.musi...@hotmail.com:
 There is an example in Kreidler's tutorial, that simulates the Alvin
 Lucier's piece.

that sounds interesting, in which part of the book is the example ?

thx

-- 
     _.|| _. _  _
\/\/(_|||(_|(_ (/_

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


[PD] Pd + HTML on Android

2010-11-18 Thread chrism
Get Pure Data patches working on Android devices with HTML + 
Javascript user interfaces:


http://code.google.com/p/pd-webkit-droid/

Have fun,

Chris.

---
http://mccormick.cx


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


Re: [PD] Preset saving with SSSAD

2010-11-18 Thread Frank Barknecht
Hi,

if you're using the latest version of sssad (which also is two years old
or so), then you can use the saveonly message to save only the
settings of one sssad instance. Also see how it's done in the rj
library.

Ciao
-- 
Frank

On Wed, Nov 17, 2010 at 04:51:20PM +0100, András Murányi wrote:
 i'm having a kind of naive question.
 I've been using the glorious SSSAD abstraction (with [presetstore]) to
 saveload presets in a huge patch, but i'm missing more and more the ability
 to saveload presets for individual parts of the patch only. E.g. i have two
 sequencers in the patch, for which i wish to saveload presets
 independently. I know it's easy to send presets to individual parts when you
 have hand-made those presets, but what about saving?
 Is it that the current architecture of SSSAD does not allow this? Then is
 there a way to modify/develop it to make this possible? Or if it allows, how
 to do it?
 Any ideas highly appreciated!
 
 Thanks,
 Andras

 ___
 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] Recording and playing back

2010-11-18 Thread jurgen
ayoh you can't look through the book and find it yourself? ts ts ts...

On Nov 18, 2010, at 10:21 PM, Wallace wrote:

 There is an example in Kreidler's tutorial, that simulates the Alvin
 Lucier's piece.
 
 that sounds interesting, in which part of the book is the example ?
 
 thx
 
 -- 
  _.|| _. _  _
 \/\/(_|||(_|(_ (/_

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


[PD] Trying to track a ghost pdtk_canvas_getscroll call

2010-11-18 Thread Ivica Ico Bukvic
Hi all,

I have a real pickle in trying to debug Pd. Namely, when I grep-ed every
single instance of pdtk_canvas_getscroll and commented it out, it still
gets invoked somehow and I am at a loss how. I know it occurs as many
times as there are objects selected that have been moved (so it is
definitely per-object) 

The only thing I managed to isolate so far is the following code:
g_editor.c

void gobj_displace(t_gobj *x, t_glist *glist, int dx, int dy)
{
if (x-g_pd-c_wb  x-g_pd-c_wb-w_displacefn)
(*x-g_pd-c_wb-w_displacefn)(x, glist, dx, dy);
}

I am however unable to decipher what function is exactly being called by
(*x-g_pd-c_wb-w_displacefn). I only found in g_canvas.h definition of
w_displacefn as part of _widgetbehavior struct but nowhere (except in
iemgui objects) is it linked to anything I can actually understand.
Where does this struct get initialized?

Any help on this one would be most appreciated as that will put a stop
on me pulling my hairs out :-)

Best wishes,

Ico


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


Re: [PD] Stupid arduino question

2010-11-18 Thread Dafydd Hughes
Hey Thanks Collin! I'll check this out.

Encoder=pain in the ass!

On Tue, Oct 26, 2010 at 1:57 PM, Collin cold...@mac.com wrote:
 This is a little late, so you may not want to get into it, but I once hacked
 firmata a little, so that it could read an encoder. I'll attach it.
 Collin




 On Oct 26, 2010, at 12:13 AM, pd-list-requ...@iem.at wrote:

 Message: 5

 Date: Mon, 25 Oct 2010 22:48:21 -0400

 From: Dafydd Hughes dafyd...@gmail.com

 Subject: Re: [PD] Stupid arduino question

 To: Mathieu Bouchard ma...@artengine.ca

 Cc: pd-list@iem.at

 Message-ID: 7c5029d0-90fd-4212-86fc-892f0fbcb...@gmail.com

 Content-Type: text/plain; charset=iso-8859-1

 Thanks everybody for the advice. I think, as this needs to be done
 Wednesday, it's time to lose the rotary encoders in favour of pots and use
 pduino (thank you pduino!!) and analog ins.

 It's so rare for me that the analog version is simpler and cleaner than the
 digital!

 cheers

 dafydd



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


Re: [PD] Trying to track a ghost pdtk_canvas_getscroll call

2010-11-18 Thread Ivica Ico Bukvic
Never mind... My brain finally decided to get out of bed and join me in
my office... Apologies for spam...

On Thu, 2010-11-18 at 11:22 -0500, Ivica Ico Bukvic wrote:
 Hi all,
 
 I have a real pickle in trying to debug Pd. Namely, when I grep-ed every
 single instance of pdtk_canvas_getscroll and commented it out, it still
 gets invoked somehow and I am at a loss how. I know it occurs as many
 times as there are objects selected that have been moved (so it is
 definitely per-object) 
 
 The only thing I managed to isolate so far is the following code:
 g_editor.c
 
 void gobj_displace(t_gobj *x, t_glist *glist, int dx, int dy)
 {
 if (x-g_pd-c_wb  x-g_pd-c_wb-w_displacefn)
 (*x-g_pd-c_wb-w_displacefn)(x, glist, dx, dy);
 }
 
 I am however unable to decipher what function is exactly being called by
 (*x-g_pd-c_wb-w_displacefn). I only found in g_canvas.h definition of
 w_displacefn as part of _widgetbehavior struct but nowhere (except in
 iemgui objects) is it linked to anything I can actually understand.
 Where does this struct get initialized?
 
 Any help on this one would be most appreciated as that will put a stop
 on me pulling my hairs out :-)
 
 Best wishes,
 
 Ico
 
 
 ___
 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] Trying to track a ghost pdtk_canvas_getscroll call

2010-11-18 Thread Mathieu Bouchard

On Thu, 18 Nov 2010, Ivica Ico Bukvic wrote:

I have a real pickle in trying to debug Pd. Namely, when I grep-ed every 
single instance of pdtk_canvas_getscroll and commented it out, it still 
gets invoked somehow and I am at a loss how. I know it occurs as many 
times as there are objects selected that have been moved (so it is 
definitely per-object)


Use execinfo.h's backtrace() so that sys_vgui prints the name of the 
calling function just before each line is printed while in -d 1 mode.


 ___
| Mathieu Bouchard  tél: +1.514.383.3801  Villeray, Montréal, QC
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Recording and playing back

2010-11-18 Thread stéfan piat
http://pd-tutorial.com/english/ch03s04.html

2010/11/18 jurgen noise@gmail.com

 ayoh you can't look through the book and find it yourself? ts ts ts...

 On Nov 18, 2010, at 10:21 PM, Wallace wrote:

  There is an example in Kreidler's tutorial, that simulates the Alvin
  Lucier's piece.
 
  that sounds interesting, in which part of the book is the example ?
 
  thx
 
  --
   _.|| _. _  _
  \/\/(_|||(_|(_ (/_

 ___
 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, Linux and USB multichannel interface

2010-11-18 Thread Carlo Benzi
Hi!
I have a question:
is there a USB multichannel interface (for example 8 in - 8 out) running
under ubuntustudio or studio64 (processor:  Intel Pentium M 740 with 1 GB
ram)?
I'd like to buy it in order to use Pure Data with this equipment.
Thanks a lot for your help!
Best greetings
Carlo
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Trying to track a ghost pdtk_canvas_getscroll call

2010-11-18 Thread Hans-Christoph Steiner


On Nov 18, 2010, at 12:50 PM, Mathieu Bouchard wrote:


On Thu, 18 Nov 2010, Ivica Ico Bukvic wrote:

I have a real pickle in trying to debug Pd. Namely, when I grep-ed  
every single instance of pdtk_canvas_getscroll and commented it  
out, it still gets invoked somehow and I am at a loss how. I know  
it occurs as many times as there are objects selected that have  
been moved (so it is definitely per-object)


Use execinfo.h's backtrace() so that sys_vgui prints the name of  
the calling function just before each line is printed while in -d 1  
mode.



That sounds useful, do you have an example of how that you could share?

.hc




Programs should be written for people to read, and only incidentally  
for machines to execute.

 - from Structure and Interpretation of Computer Programs


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


Re: [PD] Trying to track a ghost pdtk_canvas_getscroll call

2010-11-18 Thread Mathieu Bouchard

On Thu, 18 Nov 2010, Hans-Christoph Steiner wrote:


That sounds useful, do you have an example of how that you could share?


There's short_backtrace in gridflow/src/gridflow.cxx

And there's another similar thing in segfault.cxx

They also use cxxabi.h to decode C++ symbols (those that start with _Z)

 ___
| Mathieu Bouchard  tél: +1.514.383.3801  Villeray, Montréal, QC
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] The (not) doppler distortion (was: overdriven speaker)

2010-11-18 Thread Mathieu Bouchard

On Wed, 17 Nov 2010, Martin Schied wrote:

did you speak about the doppler distortion? true doppler distortion is 
harmonic for a single sine wave, but not for 2 or more sines of 
different frequencies.


Then can you explain what's wrong in my reasoning ? (the formulas I wrote)

It assumes the signal is periodic (even if the period is long ; harmonics 
are relative to that period, and not the period of either sine wave)


Suppose you have two sine waves of frequencies a,b related by a common 
base frequency gcd(a,b)... what are the frequencies of the non-harmonics ?

I'm talking about something detectable.

It's the same effect known as frequency modulation, in this case a 
signal being its own carrier.


When a signal is its own carrier, you are below a certain threshold of 
detectability of frequency change. It's one of the uncertainty principles 
(closely related to Heisenberg's). When you do FM with a true carrier, the 
carrier has to be a lot higher in frequency, and that decides how much 
data you can carry with the carrier. That's the difference between actual 
FM transmission, and something that's only using the same formula as FM.


The difficulty in prediction of a spectrum is that the carrier is an 
always changing mix of frequencies and not a single sine wave like for a 
radio station transmitter or in the most simplest case of frequency 
modulation synthesizers, but it is pretty easy to find out it is non 
harmonic by listening...


non-harmonic related to what ?

Well, if you tried it with an [osc~ 200] and an [osc~ 1000], for example, 
you'd see that by increasing the intensity of the effect gradually from 0, 
harmonics come up and down, and at first they are multiple of 200 Hz, but 
for some reason, for very high values, there are other multiples of 100 Hz 
that appear. I'm missing something because gcd(200,1000)=200, not 100, but 
at least the harmonics aren't completely weird.


I want to add that the vd~ approach is not the perfect implementation 
for the above described frequency modulatuon. the carrier is delayed 
against the modulating signal a bit.


You can add another [vd~] or [delread~] to fix that. I think I did that in 
some other version of haut-parleur-doppler.pd, and if not, I did similar 
things with other effects.



Like this it simulates a moving listener instead a moving sound source.


But there is no difference between a moving listener and a moving source, 
apart from the wind.


What you mean is, regardless of whether it happens in the listener or the 
source, the motion is out of phase with the actual signal.


Also for a single sine wave the change of the spectrum differs by 
variation of the delay.


Yes, and for several sine waves too. But I think that it doesn't change 
the nature of the beast very much.


A more close to reality simulation which does only fm without delay 
requires a variable (interpolating?) write into the delayline.


Why would you need to do it on write, instead of on read ?

Unfortunately I don't know of such externals already existing. However I 
don't expect the effects being very different from the vd~ method.


What if they aren't _any_ different ?

A slow 20Hz sinewave modulating some high frequencies will not sound 
very different if the 20Hz is delayed or not. A 20 hz sound will have a 
duration which is much longer that the delay.


But it depends on the gain you choose. Suppose you have a weapons-grade 
giant speaker, with a membrane of a few hectares...


I mean, play with the [*~] and you can get the delay variation to be 
bigger than the period of a sinewave.


 ___
| Mathieu Bouchard  tél: +1.514.383.3801  Villeray, Montréal, QC___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list