[PD] Photo and wifi

2008-03-15 Thread t'es in t'es bat
Hello tout le monde,
i try to make a connection between 2 numeric cameras  and pd by wifi.
My idea is to get the picture from the camera in jpeg format into pd live
and direct.
After i'll want to put some effect and then screen a picture made from 2
different sources.
Is there a lib that give that kind of work
i'm on OSx 10.3 and 10.4 and ubuntu
thanks

-- 
TNTB
t'es in t'es bat
1 Rue Camille Pelletant
13210 St Remy de Provence
T/: 04 90 26 95 09
P/: 06 86 86 12 19
+
http://www.tntb.net
===

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


[PD] msd change mass of mass

2008-03-15 Thread marius schebella
hi,
is someone working on msd? I wonder why it is not possible to change the 
mass of a mass dynamically with something like [setMass m1 1.5(
is this function not supported because it is not possible, or just 
because it was not implemented yet.
marius.

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


Re: [PD] msd change mass of mass

2008-03-15 Thread Charles Henry
Are you talking about some kind of mass, spring, damper equation?

We could write such a thing with just a biquad~ or fexpr~, if that
makes life easier.  It's just a little bit of math.

Chuck

On Sat, Mar 15, 2008 at 1:32 PM, marius schebella
[EMAIL PROTECTED] wrote:
 hi,
  is someone working on msd? I wonder why it is not possible to change the
  mass of a mass dynamically with something like [setMass m1 1.5(
  is this function not supported because it is not possible, or just
  because it was not implemented yet.
  marius.

  ___
  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] [folder_list] problems

2008-03-15 Thread Ben Carney
Hello all,
I am having trouble running hardoff's brilliant patch on my mac pro. one of
the abstractions it requires is
[folder_list]. i just get the old  could create message. I have just
installed the latest version os pd extended.
could this be an intel chip issue?

-- Thanks,

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


Re: [PD] msd change mass of mass

2008-03-15 Thread marius schebella
yes, I was talking about an external called msd.
I am not sure if biquad~ or fexpr~ can help. Is it possible to create 
harmonic sounds by sending impulses into a biquad~? that would really 
help. right now I am playing with msd in a block~ 1 subpatch, which is 
not very efficient.
marius.

Charles Henry wrote:
 Are you talking about some kind of mass, spring, damper equation?
 
 We could write such a thing with just a biquad~ or fexpr~, if that
 makes life easier.  It's just a little bit of math.
 
 Chuck
 
 On Sat, Mar 15, 2008 at 1:32 PM, marius schebella
 [EMAIL PROTECTED] wrote:
 hi,
  is someone working on msd? I wonder why it is not possible to change the
  mass of a mass dynamically with something like [setMass m1 1.5(
  is this function not supported because it is not possible, or just
  because it was not implemented yet.
  marius.

  ___
  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] msd change mass of mass

2008-03-15 Thread Andy Farnell


I would be interested to see an example of that Chuck

Assuming Marius and I fairly understand LTIs, how would we end up
with coefficients for Biquad starting with units like mass, Youngs
modulus etc?  

And biquads are quite efficient, so if we had a little helper abstraction 
that calculated an MSD type behaviour that would be very nice.

If I remember the msd externals are bit hungry. 



On Sat, 15 Mar 2008 14:20:56 -0500
Charles Henry [EMAIL PROTECTED] wrote:

 Are you talking about some kind of mass, spring, damper equation?
 
 We could write such a thing with just a biquad~ or fexpr~, if that
 makes life easier.  It's just a little bit of math.
 
 Chuck
 
 On Sat, Mar 15, 2008 at 1:32 PM, marius schebella
 [EMAIL PROTECTED] wrote:
  hi,
   is someone working on msd? I wonder why it is not possible to change the
   mass of a mass dynamically with something like [setMass m1 1.5(
   is this function not supported because it is not possible, or just
   because it was not implemented yet.
   marius.
 
   ___
   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


-- 
Use the source

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


Re: [PD] msd change mass of mass

2008-03-15 Thread marius schebella
ok, I can create some nice sounds with biquad~ and fexpr~, but with 
biquad~ I still have the problem, that I cannot change the settings 
dynamically. otoh fexpr~ might be a solution.
uhmm, andy, I do *not* (yet?) fairly understand the maths behind that. I 
kind of avoided biquad~ and filters, I guess it's now or never.
marius.


Charles Henry wrote:
 Are you talking about some kind of mass, spring, damper equation?
 
 We could write such a thing with just a biquad~ or fexpr~, if that
 makes life easier.  It's just a little bit of math.
 
 Chuck
 
 On Sat, Mar 15, 2008 at 1:32 PM, marius schebella
 [EMAIL PROTECTED] wrote:
 hi,
  is someone working on msd? I wonder why it is not possible to change the
  mass of a mass dynamically with something like [setMass m1 1.5(
  is this function not supported because it is not possible, or just
  because it was not implemented yet.
  marius.

  ___
  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] msd change mass of mass

2008-03-15 Thread cyrille henry


marius schebella a écrit :
 yes, I was talking about an external called msd.
 I am not sure if biquad~ or fexpr~ can help. Is it possible to create 
 harmonic sounds by sending impulses into a biquad~?
yes, serch for resonator on this list. there was an exemple using fexpr~  (i 
think)

 that would really 
 help. right now I am playing with msd in a block~ 1 subpatch, which is 
 not very efficient.
use pmpd~


cyrille

 marius.
 
 Charles Henry wrote:
 Are you talking about some kind of mass, spring, damper equation?

 We could write such a thing with just a biquad~ or fexpr~, if that
 makes life easier.  It's just a little bit of math.

 Chuck

 On Sat, Mar 15, 2008 at 1:32 PM, marius schebella
 [EMAIL PROTECTED] wrote:
 hi,
  is someone working on msd? I wonder why it is not possible to change the
  mass of a mass dynamically with something like [setMass m1 1.5(
  is this function not supported because it is not possible, or just
  because it was not implemented yet.
  marius.

  ___
  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] Compiling netsend~/netreceive~ on intel mac

2008-03-15 Thread Philip Rivera

Hello,

This is my first post to this list, so I'm not quite sure how it works 
yet.  I've been trying to compile Olaf Matthews netsend~ and netreceive~ 
objects for pd for an intel mac.  Has anyone had any success with this, 
or has binaries already compiled.  Haven't been able to find anything on 
the web about it.


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


Re: [PD] msd change mass of mass

2008-03-15 Thread Charles Henry
I have forgotten some things here.  That's why it took so long, but I
think I've got it mostly right.

There are two type of mass spring systems, depending on what kind of
input you have.

force-driven: such as a loudspeaker--the coil induces a force on a
permanent magent.

velocity driven: a crankshat-piston assembly--rotates with a fixed
speed;classic problems for vibration isolation.

but I'm only going to cover the first one here.

these two type of inputs are similar to electronic circuits: a voltage
source (force) and a current source (velocity)

so, a mechanical circuit would look like:

 |-(M)---(S)(D)---|
(F)  |
 ||

all in series

Suppose our output is the velocity.

F=m*a  (the force on a mass is in the same direction as its acceleration)
F=c*v  (the damping force is in the opposite direction of velocity)
F=k*d  (the spring force is in opposite direction of displacement)


F(t)=m*dv/dt + c*v + k*integral(t0 to t, v*dt)
Laplace transform:
F(s)=(m*s+c+k/s)*V(s)

And the transfer function:

F(s)   1/k*s
-- = --
V(s)   (m/k)*s^2 + (c/k)*s + 1

And there are three cases:  underdamped, critically damped, and over damped
(I'm not sure how to do the z-transform for a critically damped
system, but I think we can figure it out).

poles:
-0.5*c/m  +/- 0.5*sqrt( (c/m)^2 - 4k/m )
zero:
0

Note, when c goes to 0, we get a harmonic oscillator at angular
frequency w=k/m rad/sec, which is correct.  When we increase the
damping, we get terms of e^(-0.5*c/m*t) which damps the solution.


Under-damped case (the resonant system):
(c/m)^2 - 4k/m  0


I'm reluctant to try to use a bi-linear tranform, here.  I'd like to
look it up in a table!  I've worked through these problems before, but
I can't remember what you do differently with the numerator... I think
it indicates a mixture of sines/cosines.

z-transform of
(s+a)/ ((s+a)^2 + b^2)   is
(1 - z^(- 2)*e^(-aT)*cos(b*T) ) / (1 - z^(-1)*e^(-aT)*cos(b*T) +
z^(-2)*e^(-2*a*T) )

T is 1/fs, our sample rate

z-transform of
1/((s+a)^2 + b^2)  is

1/b * z^(-1) * e^(-aT)*sin(b*T) / (1 - z^(-1)*e^(-aT)*cos(b*T) +
z^(-2)*e^(-2*a*T) )


so, s/ ((s+a)^2 + b^2)   is

(1 - a/b * z^(-1) * e^(-aT)*sin(b*T) -  z^(- 2)*e^(-aT)*cos(b*T) ) /
(1 - z^(-1)*e^(-aT)*cos(b*T) + z^(-2)*e^(-2*a*T) )

In our case, a=0.5*c/m and b=0.5*sqrt( abs((c/m)^2 - 4k/m ))

and our biquad coefficients are:
ff1=1
ff2= -a/b*e^(-aT)*sin(b*T)
ff3= -e^(-aT)*cos(b*T)
fb1=e^(-aT)*cos(b*T)
fb2=-e^(-2*a*T)

I've put together a little patch, calculator and example biquad.  This
took a little more time than I expected, and I'm running out of steam
here.  Try it out, and see if it's what you had in mind.

There are two more cases to cover, but this is probably the one you
want.  I may come back to this later


Chuck

On Sat, Mar 15, 2008 at 3:09 PM, marius schebella
[EMAIL PROTECTED] wrote:
 yes, I was talking about an external called msd.
  I am not sure if biquad~ or fexpr~ can help. Is it possible to create
  harmonic sounds by sending impulses into a biquad~? that would really
  help. right now I am playing with msd in a block~ 1 subpatch, which is
  not very efficient.
  marius.



  Charles Henry wrote:
   Are you talking about some kind of mass, spring, damper equation?
  
   We could write such a thing with just a biquad~ or fexpr~, if that
   makes life easier.  It's just a little bit of math.
  
   Chuck
  
   On Sat, Mar 15, 2008 at 1:32 PM, marius schebella
   [EMAIL PROTECTED] wrote:
   hi,
is someone working on msd? I wonder why it is not possible to change the
mass of a mass dynamically with something like [setMass m1 1.5(
is this function not supported because it is not possible, or just
because it was not implemented yet.
marius.
  
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list
  
  




mass_spring_damper.pd
Description: Binary data
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] msd change mass of mass

2008-03-15 Thread Charles Henry
  Note, when c goes to 0, we get a harmonic oscillator at angular
  frequency w=k/m rad/sec, which is correct.  When we increase the
  damping, we get terms of e^(-0.5*c/m*t) which damps the solution.

made a typo here:

angular frequency w=sqrt(k/m) rad/sec
and f=sqrt(k/m)/2pi Hz

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


Re: [PD] Guitar Heroes controller

2008-03-15 Thread James Rojsirivat
Just an update. Bought PC/Mac version of Guitar Heroes III today. Looks like 
the controller is an Xbox 360 version since the logo is smack on there. Can't 
seem to get it recognized with [hid] on OS X, but was able to get hidin help 
patch to recognize it. a bit of garbage in the information it was spitting out, 
but the main buttons work nicely. Any idea why OS X pd extended is not 
recognizing the device? Maybe I'm not setting it up correctly.

James
 
***
astroboy2520
Visit my blogs: http://triphop-universe.blogspot.com
  http://videokilledtheradiostar.vox.com
Myspace: http://www.myspace.com/astroboy2520
Skype: astroboy2520
MSN: astroboy2520[at]sbcglobal.net


- Original Message 
From: Hans-Christoph Steiner [EMAIL PROTECTED]
To: Hans-Christoph Steiner [EMAIL PROTECTED]
Cc: Derek Holzer [EMAIL PROTECTED]; James Rojsirivat [EMAIL PROTECTED]; 
pd-list@iem.at
Sent: Wednesday, March 12, 2008 7:54:49 PM
Subject: Re: [PD] Guitar Heroes controller


I found something on this page about Guitar Hero + Max/MSP.  He says  
the Xbox version works fine with a computer while the PS2 version  
needs an adapter.  The adapter looks like it is for adapting a  
different plug type, though, not for plugging in a USB PS2 controller.

http://theguitarzeros.com/download_fretbuzz.php

.hc

On Mar 12, 2008, at 10:53 PM, Hans-Christoph Steiner wrote:


 On a related note, I just bought one of these very nice controllers  
 called a gametrak.  It is basically like two 3D joysticks but  
 instead of sticks, it has strings which you can clip on to things  
 to track them in 3D.  The cheesy promo video gives you a good idea  
 of what you can do with it:

 http://www.in2games.uk.com/corporate/press-item.php?pressid=5

 I used one that Jonas Hielscher let me borrow and I plugged it in  
 and it just worked with [hid].  I just got the one I ordered, it is  
 a PlayStation 2 controller, I am not sure which Jonas' is.  But  
 with mine, it shows up in [hid] fine, but I don't get any data from  
 it.

 Anyone know, is there something special about PS2 USB controllers?

 .hc


 On Mar 12, 2008, at 8:12 PM, Derek Holzer wrote:

 Should just be HID protocol. Check the help patch for the [hid]  
 object
 (in Extended or self-compiled) and see what parameters come in. After
 that, enjoy mapping them to something and rock out!

 d.

 James Rojsirivat wrote:
 I've seen some developments with the Guitar Heroes controller on
 Max/MSP. I've been unable to get the one patch I found to really  
 open in
 PD. I'd love to try to do something with it. Anyone has any  
 experience
 developing and working with the Mac/PC version of the controller  
 in PD?
 Any tips would greatly be appreciated.

 -- 
 derek holzer ::: http://www.umatic.nl ::: http://blog.myspace.com/ 
 macumbista
 ---Oblique Strategy # 71:
 Fill every beat with something

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



 -- 
 --

 There is no way to peace, peace is the way.   -A.J. Muste






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


Re: [PD] Miller's PD-Guitar Workshop LAC 2008

2008-03-15 Thread Tom Erbe
If you don't want to build your own, RMC has a preamp/breakout box

http://www.rmcpickup.com/fanoutbox.html

Slightly expensive though...

On Mar 14, 2008, at 10:02 AM, Miller Puckette wrote:

 Hi all,

 I believe mine is a GK-2A as well.  I built an unbalanced preamp and
 power supply, and didn't get any appreciable hum.  (However, I do
 sometimes get ground loop trouble batween computers and audio systems
 and sometimes have to ground lift my computer and monitor, which is a
 bit dangerous.)

 I've put the files up on http://crca.ucsd.edu/~msp/lac/ but I don't
 know if they'll be too useful for folks who weren't there to see what
 the patches did.  Roughly speaking, the patch works out the techniques
 described in the patch for guitar paper.

 cheers
 Miller

 On Fri, Mar 14, 2008 at 09:18:46AM -0700, [EMAIL PROTECTED] wrote:

 I am trying to get some more information about which Pickup was  
 used by
 Miller (was it the GK-3 ??)

 Hi Luigi and list,

 here's what I use:

 -Roland GK-2A pickup ( http://www.roland.com/products/en/GK-2A/specs.html 
  )
 -a homebrew 6-channel preamp which gives 6 balanced line signals  
 that go
 straight into my soundcard.
 First the preamp's signal was not balanced but I got ground loop  
 noise at
 some venues.
 Even before that, I had a preamp built into my roland GR-50, but  
 then I
 figured I wasn't going to use that anyway, so I got rid of it  
 completely.
 The preamp also provides power for the GK-2A.
 Although the pickup is right next to the bridge, after eq-ing out  
 some
 highs I can get pretty decent results.
 I have some recordings online if you want.

 gr,
 Tim


 ___
 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

- - - - -
tom erbe ~ [EMAIL PROTECTED] ~ studio director - computer music ~ ucsd  
department of music




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


Re: [PD] msd change mass of mass

2008-03-15 Thread Andy Farnell



You're a hero Chuck. This tallys well with the equations in Perrys book.
What I was missing is the step where you get the transfer function.


I made (attached) a little test rig. What isn't looking right is the underdamped
behaviour. I was expecting to see a decaying oscillation around the top
point. Maybe my test has errors.

a.
 



On Sat, 15 Mar 2008 19:16:29 -0500
Charles Henry [EMAIL PROTECTED] wrote:

   Note, when c goes to 0, we get a harmonic oscillator at angular
   frequency w=k/m rad/sec, which is correct.  When we increase the
   damping, we get terms of e^(-0.5*c/m*t) which damps the solution.
 
 made a typo here:
 
 angular frequency w=sqrt(k/m) rad/sec
 and f=sqrt(k/m)/2pi Hz
 
 ___
 PD-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list


-- 
Use the source


msd-chuck.tar.gz
Description: Binary data
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Compiling netsend~/netreceive~ on intel mac

2008-03-15 Thread Roman Haefeli
On Sat, 2008-03-15 at 18:38 -0500, Philip Rivera wrote:
 Hello,
 
 This is my first post to this list,

yo, hi and welcome to this list.

  so I'm not quite sure how it works yet.  I've been trying to compile
 Olaf Matthews netsend~ and netreceive~ 

i assume you mean [netsend] and [netreceive]. afaik, there are no signal
versions of them.

 objects for pd for an intel mac.  Has anyone had any success with
 this, or has binaries already compiled.  Haven't been able to find
 anything on the web about it.

the simplest way of getting the externals is to install pd-extended,
which is pd with almost all available externals pre-compiled for many
platforms.

check:
http://puredata.info/downloads

roman




___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


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


[PD] bang~ =64 samples

2008-03-15 Thread marius schebella
hi,
is there an alternative for bang~ that will work with blocksizes smaller 
than 64 samples?
or is there a chance to fix bang~?
marius.

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


Re: [PD] bang~ =64 samples

2008-03-15 Thread Miller Puckette
You can do it combining bang~ with sub-64-sample message delays.

cheers
M

On Sat, Mar 15, 2008 at 10:05:46PM -0400, marius schebella wrote:
 hi,
 is there an alternative for bang~ that will work with blocksizes smaller 
 than 64 samples?
 or is there a chance to fix bang~?
 marius.
 
 ___
 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] bang~ =64 samples

2008-03-15 Thread marius schebella
hi miller,
not exaclty sure what sub-64-sample message delays means?
block~ 64 64? or 64 delays each 0.0226757369615 ms.
will test this.
marius.

Miller Puckette wrote:
 You can do it combining bang~ with sub-64-sample message delays.
 
 cheers
 M
 
 On Sat, Mar 15, 2008 at 10:05:46PM -0400, marius schebella wrote:
 hi,
 is there an alternative for bang~ that will work with blocksizes smaller 
 than 64 samples?
 or is there a chance to fix bang~?
 marius.

 ___
 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] bang~ =64 samples

2008-03-15 Thread Miller Puckette
Bang~ goes off at 64-sample intervals (1.45 msec) - but for instance
a 0.725 msec delay would sync a message to 32 sample into a 64 sample
buffer.  Of course you might need objects that can deal with messages on
such a fine time grain.  Tne only one I know of is vline~ (which is the
one I use for this kind of thing.)

cheers
M

On Sat, Mar 15, 2008 at 10:45:05PM -0400, marius schebella wrote:
 hi miller,
 not exaclty sure what sub-64-sample message delays means?
 block~ 64 64? or 64 delays each 0.0226757369615 ms.
 will test this.
 marius.
 
 Miller Puckette wrote:
  You can do it combining bang~ with sub-64-sample message delays.
  
  cheers
  M
  
  On Sat, Mar 15, 2008 at 10:05:46PM -0400, marius schebella wrote:
  hi,
  is there an alternative for bang~ that will work with blocksizes smaller 
  than 64 samples?
  or is there a chance to fix bang~?
  marius.
 
  ___
  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


Re: [PD] bang~ =64 samples

2008-03-15 Thread marius schebella
...uhmm, negative.
I created now a subpatch with the 64 delays, and get good timer 
measurements of 0.0226757 ms. but when I hook it up to sig~ the signal 
is still only updated every 64 samples. same btw with vline~. I was 
trying [$1 1.45( into line~, but that only a bad fake, and the ring 
modulator effect is still there...
am I missing something?
marius.

Miller Puckette wrote:
 Bang~ goes off at 64-sample intervals (1.45 msec) - but for instance
 a 0.725 msec delay would sync a message to 32 sample into a 64 sample
 buffer.  Of course you might need objects that can deal with messages on
 such a fine time grain.  Tne only one I know of is vline~ (which is the
 one I use for this kind of thing.)
 
 cheers
 M
 
 On Sat, Mar 15, 2008 at 10:45:05PM -0400, marius schebella wrote:
 hi miller,
 not exaclty sure what sub-64-sample message delays means?
 block~ 64 64? or 64 delays each 0.0226757369615 ms.
 will test this.
 marius.

 Miller Puckette wrote:
 You can do it combining bang~ with sub-64-sample message delays.

 cheers
 M

 On Sat, Mar 15, 2008 at 10:05:46PM -0400, marius schebella wrote:
 hi,
 is there an alternative for bang~ that will work with blocksizes smaller 
 than 64 samples?
 or is there a chance to fix bang~?
 marius.

 ___
 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


Re: [PD] bang~ =64 samples

2008-03-15 Thread marius schebella
using tables now, coming closer!
m.

marius schebella wrote:
 ...uhmm, negative.
 I created now a subpatch with the 64 delays, and get good timer 
 measurements of 0.0226757 ms. but when I hook it up to sig~ the signal 
 is still only updated every 64 samples. same btw with vline~. I was 
 trying [$1 1.45( into line~, but that only a bad fake, and the ring 
 modulator effect is still there...
 am I missing something?
 marius.
 
 Miller Puckette wrote:
 Bang~ goes off at 64-sample intervals (1.45 msec) - but for instance
 a 0.725 msec delay would sync a message to 32 sample into a 64 sample
 buffer.  Of course you might need objects that can deal with messages on
 such a fine time grain.  Tne only one I know of is vline~ (which is the
 one I use for this kind of thing.)

 cheers
 M

 On Sat, Mar 15, 2008 at 10:45:05PM -0400, marius schebella wrote:
 hi miller,
 not exaclty sure what sub-64-sample message delays means?
 block~ 64 64? or 64 delays each 0.0226757369615 ms.
 will test this.
 marius.

 Miller Puckette wrote:
 You can do it combining bang~ with sub-64-sample message delays.

 cheers
 M

 On Sat, Mar 15, 2008 at 10:05:46PM -0400, marius schebella wrote:
 hi,
 is there an alternative for bang~ that will work with blocksizes 
 smaller than 64 samples?
 or is there a chance to fix bang~?
 marius.

 ___
 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


Re: [PD] Compiling netsend~/netreceive~ on intel mac

2008-03-15 Thread Philip Rivera
Actually, I mean the two signal rate versions that were written by Olaf 
Mathews.  They let you stream signal rate data over the network in a 
similar fashion.  I have no problem compiling them under my ubuntu 
machine, but they wont compile correctly on mac intel.  I think they 
might need some makefile tweekage?


heres a link to the source and some ppc versions.

http://www.nullmedium.de/dev/netsend~/

Roman Haefeli wrote:

On Sat, 2008-03-15 at 18:38 -0500, Philip Rivera wrote:
  

Hello,

This is my first post to this list,



yo, hi and welcome to this list.

  

 so I'm not quite sure how it works yet.  I've been trying to compile
Olaf Matthews netsend~ and netreceive~ 



i assume you mean [netsend] and [netreceive]. afaik, there are no signal
versions of them.

  

objects for pd for an intel mac.  Has anyone had any success with
this, or has binaries already compiled.  Haven't been able to find
anything on the web about it.



the simplest way of getting the externals is to install pd-extended,
which is pd with almost all available externals pre-compiled for many
platforms.

check:
http://puredata.info/downloads

roman




___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de



  


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


Re: [PD] msd change mass of mass

2008-03-15 Thread marius schebella

one more.
not at all cpu-friendly but a real msd.
m.

Andy Farnell wrote:



You're a hero Chuck. This tallys well with the equations in Perrys book.
What I was missing is the step where you get the transfer function.


I made (attached) a little test rig. What isn't looking right is the underdamped
behaviour. I was expecting to see a decaying oscillation around the top
point. Maybe my test has errors.

a.
 




On Sat, 15 Mar 2008 19:16:29 -0500
Charles Henry [EMAIL PROTECTED] wrote:


 Note, when c goes to 0, we get a harmonic oscillator at angular
 frequency w=k/m rad/sec, which is correct.  When we increase the
 damping, we get terms of e^(-0.5*c/m*t) which damps the solution.

made a typo here:

angular frequency w=sqrt(k/m) rad/sec
and f=sqrt(k/m)/2pi Hz

___
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


#N canvas 114 22 1068 663 10;
#X obj 209 212 cnv 15 100 40 empty empty empty 20 12 0 14 -96960 -66577
0;
#X obj 334 211 cnv 15 100 40 empty empty empty 20 12 0 14 -96960 -66577
0;
#X obj 458 212 cnv 15 100 40 empty empty empty 20 12 0 14 -96960 -66577
0;
#N canvas 335 49 771 605 subb 0;
#X obj 86 308 msd;
#X obj 156 558 outlet~;
#X obj 86 351 unpack;
#X obj 401 48 inlet;
#X msg 59 283 bang \, get massesPos 1;
#X obj 86 329 route massesPosNo;
#X msg 370 213 forceX 1 \$1;
#X obj 370 142 moses 20;
#X obj 370 164 * 0.05;
#X floatatom 478 65 5 0 0 0 - - -;
#X obj 478 118 /;
#X msg 478 96 1;
#X obj 478 44 inlet;
#X obj 571 44 inlet;
#X obj 86 258 spigot;
#X obj 370 272 spigot;
#X floatatom 133 256 5 0 0 0 - - -;
#X obj 119 234 r \$0-frommet;
#X floatatom 423 265 5 0 0 0 - - -;
#X obj 403 239 r \$0-fromnoi;
#X obj 232 350 0;
#X msg 247 327 0;
#X obj 178 415 tabwrite \$0-bu;
#X obj 232 372 t f f;
#X obj 232 392 + 1;
#X obj 179 436 table \$0-bu 64;
#X obj 676 36 block~ 1;
#X text 309 386 hack hack hack...;
#X obj 370 122 random 1;
#N canvas 166 43 493 434 bang-64-sub 0;
#X obj 94 77 bang~;
#X obj 94 229 delay 0.0226757;
#X obj 56 278 outlet;
#X obj 272 274 outlet;
#X obj 94 149 t b b b;
#X obj 196 229 bang;
#X msg 113 172 stop;
#X connect 0 0 4 0;
#X connect 1 0 5 0;
#X connect 1 0 2 0;
#X connect 4 0 2 0;
#X connect 4 0 1 0;
#X connect 4 1 6 0;
#X connect 4 2 3 0;
#X connect 5 0 1 0;
#X connect 6 0 1 0;
#X restore 59 26 pd bang-64-sub;
#X obj 156 536 tabread~ \$0-bu;
#X obj 156 494 phasor~ 689.062;
#X msg 243 472 0;
#X obj 156 514 *~ 64;
#X obj 86 211 inlet;
#X floatatom 570 71 5 0 0 0 - - -;
#X obj 370 187 * 0.01;
#X connect 0 0 5 0;
#X connect 2 1 22 0;
#X connect 3 0 0 0;
#X connect 4 0 0 0;
#X connect 5 0 2 0;
#X connect 6 0 15 0;
#X connect 7 0 8 0;
#X connect 8 0 36 0;
#X connect 9 0 7 1;
#X connect 9 0 10 1;
#X connect 9 0 11 0;
#X connect 10 0 8 1;
#X connect 11 0 10 0;
#X connect 12 0 9 0;
#X connect 13 0 35 0;
#X connect 13 0 36 1;
#X connect 14 0 0 0;
#X connect 15 0 0 0;
#X connect 17 0 14 1;
#X connect 17 0 16 0;
#X connect 19 0 15 1;
#X connect 19 0 18 0;
#X connect 20 0 23 0;
#X connect 21 0 20 1;
#X connect 23 0 24 0;
#X connect 23 1 22 1;
#X connect 24 0 20 1;
#X connect 28 0 7 0;
#X connect 29 0 4 0;
#X connect 29 0 20 0;
#X connect 29 0 28 0;
#X connect 29 1 21 0;
#X connect 29 1 32 0;
#X connect 30 0 1 0;
#X connect 31 0 33 0;
#X connect 32 0 31 1;
#X connect 33 0 30 0;
#X connect 34 0 14 0;
#X connect 36 0 6 0;
#X restore 101 461 pd subb;
#X obj 102 559 dac~;
#X obj 101 110 metro 400;
#X obj 101 88 tgl 15 0 \$0-frommet \$0-tomet empty 17 7 0 10 -262144
-1 -1 0 1;
#X msg 101 408 forceX 1 \$1;
#X floatatom 136 384 5 0 0 0 - - -;
#X floatatom 153 87 5 0 0 0 - - -;
#X msg 221 394 setK l \$1;
#X text 463 209 change damping;
#X msg 244 420 setD l \$1;
#X obj 204 338 pack 1 1 0;
#X text 336 209 change rigidity;
#X text 228 184 ~ 1;
#X text 605 217 (rigidity + damping together should not exceed double
of mass...);
#X text 180 531 can get very loud otherwise..;
#X text 360 185 keep low \, maybe 0.2;
#X obj 614 335 hsl 151 15 0 1000 0 0 empty \$0-noise empty -2 -8 0
10 -262144 -1 -1 4300 1;
#X obj 614 358 hsl 151 15 0 1 0 0 empty \$0-amount empty -2 -8 0 10
-262144 -1 -1 250 1;
#X text 775 333 noise;
#X text 775 353 amount of force;
#N canvas 125 455 583 331 presets 0;
#X obj 70 197 s \$0-rigidity;
#X obj 80 217 s \$0-damping;
#X obj 100 237 s \$0-noise;
#X obj 110 257 s \$0-amount;
#X obj 60 177 s \$0-mass;
#X obj 332 94 r \$0-frommet;
#X obj 422 95 r \$0-fromnoi;
#X obj 332 114 sel 1;
#X obj 422 114 sel 1;
#X msg 332 135 0;
#X obj 332 160 s \$0-tonoi;
#X msg 422 135 0;
#X obj 422 160 s \$0-tomet;
#X obj 60 147 unpack 0 0 0 0 0 0;
#X obj 187 177 sel 1;
#X msg 187 198 1;
#X obj 251 232 s \$0-tonoi;
#X obj 185 232 s \$0-tomet;
#X msg 218 198 1;
#X obj