Re: [PD] smartphone advice

2009-11-04 Thread Nicholas Mariette

Hi Hans,

I'm curious about the iPhone port:

What's the main broad goal of this effort? (I mean other than the  
obvious of having Pd working on iPhone, which will be great!).
Is the plan to have Pd for iPhone as an open-source app for the  
community? - i.e. for jailbroken itouch things?


Will the audio i/o code be open source (is that even possible with  
Apple), and if so, which license?

Or is this a private experiment?

Can you elaborate, or did I miss something on the list?

cheers
Nick



On Nov 4, 2009, at 4:46 AM, Hans-Christoph Steiner wrote:



Yes of course.  RIght now you can do everything in a Pd patch in  
both Android and iPhoneOS except input/output audio or MIDI.  So  
netsend/netreceive work, for example.  You could build a streaming  
externals to stream audio in/out.


We'll get the audio stuff ironed out soon, there is some code in the  
works.


.hc

On Nov 3, 2009, at 8:53 PM, João Pais wrote:

how about control? I was hoping of in the future perform in the  
middle of the room with a htc magic (or something) controlling my  
patch on the laptop in the stage. is osc already available in all  
these platforms?



Everything works but audio input and output, but that's in the  
works.  Externals work too, if you use a jailbroken device, you  
don't need to heed Apple's lame restrictions.


.hc

On Nov 3, 2009, at 4:39 AM, Si Mills wrote:


SO this is certainly interesting

When you say Pd builds for Android and iphone, but no audio, what  
does that mean? THe pd gui works?


I have a feeling, in the end, i might play devils advocate and go  
with the android phone.


On 29 Oct 2009, at 18:17, Hans-Christoph Steiner wrote:



THere are a number of developments in this regard:

- Pd (pd-gui-rewrite 0.43 branch) now builds directly for  
Android and Apple iPhoneOS.  Maemo should be pretty easy too.   
No audio yet, but that's in the works.


- Pd has been available in the Debian-armel branch for a while,  
that means lots of devices if you are willing to install your  
own OS.  You can install Debian in parallel with Android.


- you can build PDa to run on a wide range of free distros, like  
Maemo, Familiar, Angstrom, OpenMoko, reware for ipods, Palms, etc.


rjdj runs well on iPhoneOS, so that means Pd can be made to work  
well there.  Android will take a fair amount of work to get up  
to the same level, but in the long run will probably be easier  
since the platform is a lot more open.


.hc

On Oct 29, 2009, at 1:34 PM, marius schebella wrote:


same problem here, not sure what to get.
another device that might be worth checking out is the nokia  
n900,
which is/was scheduled for release some time this year. it runs  
maemo
(nokia's linux version) and - at least on former versions of  
maemo -

it was possible to get pd-anywhere running.
But I have not seen/tested it, so I cannot promise anything.
for now: I am not sure about the palm, the android g1, g2 both  
do not
run pd (yet...) and I think windows mobile neither, leaves the  
iphone.

marius.

2009/10/29 Chris McCormick ch...@mccormick.cx:

On Thu, Oct 29, 2009 at 03:33:24PM +, Si Mills wrote:
to Android as a platform, even though there is bog all for it  
at the
moment, but I feel there is going to be a massive explosion  
on that front

soon,


I also feel that, and I can see some people lighting the TNT.

Chris.

---
http://mccormick.cx

___
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






Using ReBirth is like trying to play an 808 with a long  
stick.-David Zicarelli




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









I have always wished for my computer to be as easy to use as my  
telephone; my wish has come true because I can no longer figure  
out how to use my telephone.  --Bjarne Stroustrup (creator of C++)



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



--
Friedenstr. 58
10249 Berlin (Deutschland)
Tel +49 30 42020091 | Mob +49 162 6843570
Studio +49 30 69509190
jmmmp...@googlemail.com | skype: jmmmpjmmmp






News is what people want to keep hidden and everything else is  
publicity.  - Bill Moyers




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

Re: [PD] latency issue

2009-10-16 Thread Nicholas Mariette

SNAP.
Maybe try using Jack?
(if you're not already)
It should save you a little CPU overhead, which might allow lower  
latency.

Nick


On Oct 16, 2009, at 7:22 AM, babsyco babsyco wrote:

Hi guys-I just have another fairly simple question. I'm running PD  
on a macbook pro with a 2.26 Intel Core 2 duo processor, 2 gig of  
memory 1067 MHz DDR3, and I'm using a terratec Phase 24FW external  
sound card. On my other computer (which was far inferior) using this  
soundcard with Cubase I had a latency of around 6ms (I couldn't get  
PD to run on it so I have no basis for comparison there), but  
running PD on this new setup I can't get the latency down below 20ms  
with it turning to mush. What do I need to change to get the latency  
down below 10ms-the soundcard, more ram, or is the processor just  
too slow?


Thanks so much.
Babsyco.

Let us find your next place for you! Need a place to rent, buy or  
share? ___

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] purepd atan2~ without expr/externals?

2009-07-28 Thread Nicholas Mariette
There are two approximations here:
http://www.dspguru.com/comp.dsp/tricks/alg/fxdatan2.htm

a rough implementation is attached.
I haven't listened to these yet though, so not sure how they sound.

Nick



 Hi,

 I'd like to use a signal [atan2~] in a Pd without externals nor
 [expr~] (i.e.  inn RjDj). Does anyone have a purepd implementation of
 it or maybe a pointer to some math/trigonometric
 identity/ln-substituion formula for atan2?

 Ciao
 --
  Frank BarknechtDo You RjDj.me?  _ __footils.org__

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



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


Re: [PD] Stereo simulation of multichannel audio [ot?]

2009-07-20 Thread Nicholas Mariette

Hi Joao,

It sounds like you need a stereo auralization of various multichannel  
diffusion pieces.


One option is to make a binaural down-mix of the multichannel  
material, although that has the restriction of only sounding good on  
headphones. This would still leave a decision on where to place sound  
sources, and how to do the auralization (i.e. how to do the room  
simulation, etc).


For stereo speaker playback, there is not really a canonical  
solution.  Again though, you could do an auralization of the intended  
diffusion to an intermediate format like ambisonics, then do a stereo  
decode.  This will not leave as much of a spatial impression as a  
binaural mix, but it will be more portable to different listening  
setups.


Either way there are still various (essentially aesthetic/artistic)  
decisions to make about the specification of the auralization.


So you might find that the best results for generalised playback  
(headphone or speakers), is just to make aesthetic decisions and do a  
multichannel downmix.


At any rate, if you want to explore ambisonic and/or binaural down- 
mixes, the IEM tools for doing this are all in Pd extended.


For more info on the binaural stuff, you can try the patches and  
publications here:

http://iem.at/Members/noisternig/bin_ambi

The patches are windows only, but they can be reconstituted from the  
IEM objects available for other platforms inside Pd Extended (or SVN).


cheers
Nick



Nicholas Mariette

Researcher
Audio and Acoustics group
LIMSI-CNRS, Orsay, France
http://www.limsi.fr/Scientifique/aa/
http://www.limsi.fr/Scientifique/ps/thmsonesp/SonEspace
http://soundsorange.net
nicholas.marie...@limsi.fr



On Jul 20, 2009, at 3:30 PM, João Pais wrote:


Hi,

my laptop trio Endphase (http://www.endphase.net/) is going to work  
out
our archived recordings, so that we get decent stereo versions to  
spread

around. Since many of them are multichannel (from 4 to 8) in different
setups (not necessarily only 2d around the audience), we'll be  
searching
for efficient ways to try to convert the original audio to stereo.  
That
is, having a good as possible compromise between both situations,  
knowing

that a 100% simulation is impossible.

This is a field that I don't know that well, and we're still in the
beginning of the work. Does anyone has any suggestions to which  
approaches

are best? Ambisonics, phase inversion, hrtf, home medicine? Are any of
these also available through Pd? (it would be nice to mix/spacialize  
the

materials in Pd)

Thanks,

João Pais

--
Friedenstr. 58
10249 Berlin (Deutschland)
Tel +49 30 42020091 | Mob +49 162 6843570
jmmmp...@googlemail.com | skype: jmmmpjmmmp

___
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] Stereo simulation of multichannel audio [ot?]

2009-07-20 Thread Nicholas Mariette


On Jul 20, 2009, at 4:07 PM, João Pais wrote:

It sounds like you need a stereo auralization of various  
multichannel diffusion pieces.


if that's the official name for it, yes, right.



Not sure about being official but Auralization is at least a term  
used in academic discussion and acoustics consultation for some years  
(maybe 15-20 years at least now?), meaning the scientific simulation  
of sound sources in real space with real acoustics.


e.g. see:
http://auralization.tkk.fi/EAAsymposium09

where you can find some publications, also some software and other  
stuff.


... that said, in audio engineering, it'd be a down-mix that you're  
after - and that can be done however you feel like it!


cheers
Nick


Either way there are still various (essentially aesthetic/artistic)  
decisions to make about the specification of the auralization.


So you might find that the best results for generalised playback  
(headphone or speakers), is just to make aesthetic decisions and do  
a multichannel downmix.


At any rate, if you want to explore ambisonic and/or binaural down- 
mixes, the IEM tools for doing this are all in Pd extended.


I should had said before: it would be good if the codings would be  
suitable for as many playback situations as possible, as they would  
also be heard in that way (cd, radio, stream, headphones, ...). But  
if for example the headphone version is particularly good, we might  
think about doing a version for it.


Also some words about the movements, which I didn't say first: there  
are several types of movements (each performance is different),  
sometimes circles, sometimes irregular ones, sometimes (very) slow,  
sometimes fast, ... They're not indispensable to the rest of the  
musical discourse going on, but they integrate with it [so we  
think]. So it would be nice to have at least an impression of the  
space, as it won't be *that* precise.



Thanks for your suggestions, I'll look into them later.



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


[PD] help needed: broadcast mode netsend(~) over UDP (from Mac OSX)

2009-07-15 Thread Nicholas Mariette

hi,

Can anyone advise on whether it's possible to do UDP broadcast (e.g.  
to 255.255.255.255 or more limited IP ranges) from netsend~ (by Olaf  
Matthes), or even netsend or other network objects?


I've tried this and have not had any luck.
I get this error:
connecting stream socket: Permission denied (13)

I then looked at the code of netsend~.
I'm using an updated version available (with source) at:
http://www.remu.fr/sound-delta/netsend~/

After some googling around about the (13) error, I tried setting  
SO_BROADCAST, which it seems might be necessary to enable broadcast  
mode.

This didn't help - I still get the permission denied message.

I have then tried several other network objects, like netsend (control  
data version), and have had no luck.
If I could get any of these going in broadcast mode, I might be able  
to modify code to make something work.


I've found some Pd list posts about broadcast working, but haven't  
been able to duplicate these results.

e.g.
http://markmail.org/thread/6bjcfzblukbynchp

I've been working on a simple 192.168.x.x network between 2 computers,  
with direct message sending working without problems.


I think I'm stuck for further ideas to get broadcast working...

Can anyone suggest a solution - or even a next move?!

cheers
Nick

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


Re: [PD] help needed: broadcast mode netsend(~) over UDP (from Mac OSX)

2009-07-15 Thread Nicholas Mariette

Here's a link to that thread about the SO_BROADCAST option...
http://markmail.org/message/s5xygbsbke5ly4bp
Nick


On Jul 15, 2009, at 5:40 PM, Nicholas Mariette wrote:


hi,

Can anyone advise on whether it's possible to do UDP broadcast (e.g.  
to 255.255.255.255 or more limited IP ranges) from netsend~ (by Olaf  
Matthes), or even netsend or other network objects?


I've tried this and have not had any luck.
I get this error:
connecting stream socket: Permission denied (13)

I then looked at the code of netsend~.
I'm using an updated version available (with source) at:
http://www.remu.fr/sound-delta/netsend~/

After some googling around about the (13) error, I tried setting  
SO_BROADCAST, which it seems might be necessary to enable broadcast  
mode.

This didn't help - I still get the permission denied message.

I have then tried several other network objects, like netsend  
(control data version), and have had no luck.
If I could get any of these going in broadcast mode, I might be able  
to modify code to make something work.


I've found some Pd list posts about broadcast working, but haven't  
been able to duplicate these results.

e.g.
http://markmail.org/thread/6bjcfzblukbynchp

I've been working on a simple 192.168.x.x network between 2  
computers, with direct message sending working without problems.


I think I'm stuck for further ideas to get broadcast working...

Can anyone suggest a solution - or even a next move?!

cheers
Nick


Nicholas Mariette

Researcher
Audio and Acoustics group
LIMSI-CNRS, Orsay, France
http://www.limsi.fr/Scientifique/aa/
http://www.limsi.fr/Scientifique/ps/thmsonesp/SonEspace
http://soundsorange.net
nicholas.marie...@limsi.fr





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


Re: [PD] Errors building PD from source

2009-07-02 Thread Nicholas Mariette

hi Ian,

I don't know about fixing the build errors, but I have another  
solution for making a custom Pd bundle that opens on other machines,  
with desired settings.


I outlined my process in an email to the pd list a year ago:
http://markmail.org/message/nyhvbqm6vaoiegzk

Maybe this approach will work for you?

cheers
Nick


Nicholas Mariette

Researcher
Audio and Acoustics group
LIMSI-CNRS, Orsay, France
http://www.limsi.fr/Scientifique/aa/
http://www.limsi.fr/Scientifique/ps/thmsonesp/SonEspace
http://soundsorange.net
nicholas.marie...@limsi.fr





On Jul 2, 2009, at 4:34 AM, Ian Andrews wrote:


Hi All,

I'm trying to build Pd-0.42-5 on Mac OSX 10.5.5 intel (tk/tcl8.5.7)  
It compiles ok but when I go to make it gives the following errors:


/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -Wno-error - 
O2  -o ../bin/pd-watchdog s_watchdog.c

ld: library not found for -lcrt1.10.5.o
ld: library not found for -lcrt1.10.5.o
collect2: ld returned 1 exit status
collect2: ld returned 1 exit status
lipo: can't open input file: /var/folders/JJ/JJlSAMjyENGNhM-Li9ZWvE++ 
+TI/-Tmp-//ccl7yaI2.out (No such file or directory)

make: *** [../bin/pd-watchdog] Error 1

As far as I can see from the man file ld searches first in /usr/lib.  
In /usr/lib there is a file called crt1.10.5.o


Anyone know what's going on?

I have also tried compiling Pd-0.41.4-extended but contrary to the  
install instructions there is no configure file in the src  
directory , just configure.in. Not quite sure how to proceed here.


Before anyone says 'why not use the binary' I'm building from source  
because I want to be able to start up PD from a shell script with  
various flags. IOW I need PD to start up and load a patch, set the  
correct output device, etc. automatically and reliably. Its for a  
gallery installation.  Any suggestion of alternative strategies  
would be welcome.


I'm fairly new to pd but I have been building from source on Macosx  
and linux for a few years. Usually I can work it out. This time I'm  
really stuck.


ian

___
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~ in osx 10.5

2009-05-25 Thread Nicholas Mariette

Try the updated netsend~ code here:
http://www.remu.fr/sound-delta/netsend~/

This should build on Mac PPC or Intel.


Nicholas Mariette

Researcher
Audio and Acoustics group
LIMSI-CNRS, Orsay, France
http://www.limsi.fr/Scientifique/aa/
http://www.limsi.fr/Scientifique/ps/thmsonesp/SonEspace
http://soundsorange.net
nicholas.marie...@limsi.fr





On May 20, 2009, at 8:38 PM, Hans-Christoph Steiner wrote:



That float_cast.h was the key bit of info.  It turns out that it was  
defining a version of lrint() using PowerPC assembler, that's why  
the i386 builds barfed on it.  I just defined a macro in the  
makefile so that it uses the built-in lrint() and it builds.  While  
I was at it, I checked in a bit to make it build universal by  
default.  So try this:


cd trunk/externals/olafmatt/netsend~
svn up
make clean pd_darwin

You should end up with two universal binaries.  There isn't any help  
patches, so if you get things working, please submit help patches to  
the patch tracker and I'll check them in.  You could also post the  
binaries somewhere.


.hc

On May 20, 2009, at 1:09 PM, Scott McCoid wrote:

Hello, I've been a long time lurker here on the mailing list and I  
may have some sort of a solution. I wanted to use netsend~ a while  
ago and had the same problem compiling it. I somehow found a  
solution in the pd mailing list archives but I've having trouble  
finding it again. Nonetheless, I do remember it involved modifying  
the float_cast.h file if I'm not mistaken. This ended up working,  
and the objects work with the test-netsend~.pd patch that comes  
with the files. However, a friend of mine and I were having trouble  
actually sending audio to each other (we were able to connect to  
each other).


I'm not sure if this is proper mailing list etiquette but I've  
uploaded netsend~.pd_darwin, netreceive~.pd_darwin, and the changed  
float_cast.h file to my website. Hopefully this works for people.


http://sdcc15.ucsd.edu/~smccoid/files/pd/

Oh, and I did compile this on a leopard/intel mac.

- Scott


On May 20, 2009, at 9:35 AM, Hans-Christoph Steiner wrote:



no luck there, I am on 10.5.7.  What's needed is an xcode update.   
If you installed xcode 3.0 and then upgraded, sometimes you can  
fix things by uninstalling the whole xcode thing, then  
reinstalling 3.1 directly.


.hc

On May 19, 2009, at 11:45 PM, Mario Mora wrote:


Andres

There is an update for leopard (10.5.6 -- 10.5.7) maybe that can  
fix the thing...




2009/5/19 Jose Luis Santorcuato santorcuat...@gmail.com
Leopard... is like a windows vista... hehehe... i have problems  
with blender... live ableton... the graphics... i am trying  
conect net send  and net receive... this week i think the patch  
be ok.


Cheers from Chile

José

http://www.chilemigra.cl
http://arselectronicachile.blogspot.com/
www.myspace.com/santorcuato




2009/5/19 Hans-Christoph Steiner h...@at.or.at


It seems to be an Mac OS X/Intel 10.5 issue, I get the same:

h...@palatschinken:netsend~  make pd_darwin
cc -DPD -DUNIX -DMACOSX -O2 -Wall -W -Wno-unused -Wno-parentheses  
-Wno-switch -I../../../pd/src -o netsend~.o -c netsend~.c
/var/folders/Yj/YjGPy6WhGTC8aZMfjwpxvTI/-Tmp-//ccp9MAda.s: 
614:no such instruction: `fctiw %st,%st'
/var/folders/Yj/YjGPy6WhGTC8aZMfjwpxvTI/-Tmp-//ccp9MAda.s: 
615:no such instruction: `stfd %st, -32(%ebp)'


make: *** [netsend~.pd_darwin] Error 1

Perhaps its worth reporting to Apple, that's probably a bug in  
their compiler.


.hc


On May 19, 2009, at 2:36 PM, Andres Ferrari wrote:


hello Hans,

the objects was compiled in OSX 10.5.5 with terminal (xcode  
installed in the system)


Do you have the objects compiled for leopard?




Message: 7
Date: Mon, 18 May 2009 15:31:10 -0700 (PDT)
From: Andres Ferrari an...@yahoo.com
Subject: [PD] compiling netsend~ in osx 10.5
To: pd-list@iem.at
Message-ID: 324298.20353...@web111404.mail.gq1.yahoo.com
Content-Type: text/plain; charset=iso-8859-1


hello,

I got netsend~ and netreceive~ sources from this website:
http://www.nullmedium.de/dev/netsend~/


when I compile them netreceive~..pd_darwin is created
without problem, but netsend~.pd_darwin don`t appear and the
terminal show:

ferraris-macbook41:net ferrari$ make pd_darwin
cc -DPD -DUNIX -DMACOSX -O2 -Wall -W -Wshadow -Wno-unused
-Wno-parentheses -Wno-switch -I../../src -Iinclude -o
netsend~.o -c netsend~.c
/var/folders/Pv/PvVeb-QFGxi7XEJGJnt4kk+++TI/-Tmp-//ccWJWAbj.s: 
614:no

such instruction: `fctiw %st,%st'
/var/folders/Pv/PvVeb-QFGxi7XEJGJnt4kk+++TI/-Tmp-//ccWJWAbj.s: 
615:no

such instruction: `stfd %st, -32(%ebp)'
make: *** [netsend~.pd_darwin] Error 1


any idea??

thanks!!!


Andr?s Ferrari G.

http://www.myspace.com/anfex







?Obt?n la mejor experiencia en la web!
Descarga gratis el nuevo Internet Explorer 8.
http://downloads.yahoo.com/ieak8/?l=e1




--

Message: 8
Date: Mon, 18

Re: [PD] packOSC BLOB

2009-05-11 Thread Nicholas Mariette

Yes, try netsend~ and netreceive~, by Olaf Matthes.

There's a recent update (with some fixes) available at:
http://www.remu.fr/sound-delta/netsend~/?page_id=7

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

or in svn:
http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/externals/olafmatt/netsend 
~/


- It doesn't seem to be in Pd-extended though...




Nicholas Mariette

Researcher
Audio and Acoustics group
LIMSI-CNRS, Orsay, France
http://www.limsi.fr/Scientifique/aa/
http://www.limsi.fr/Scientifique/ps/thmsonesp/SonEspace
http://soundsorange.net
nicholas.marie...@limsi.fr




On May 11, 2009, at 5:00 PM, Martin Peach wrote:


IOhannes m zmoelnig wrote:

Martin Peach wrote:

Wolfgang Jäger wrote:

Hello,

For sending audio efficiently over OSC I would need an OSC-BLOB.
Unfortunately the packOSC object supports no OSC-BLOBs.
Is there any possibility to send BLOBs?
since blob is an arbitrary type, you have to interpret/generate  
this list of bytes somehow in your patch.
if you are working that low-level, i guess you can also de/ 
construct OSC-packages on your own.

ciao



I can probably add a Blob type to [packOSC] and [unpackOSC]. The  
thing is that the blob type is supposed to consist of arbitrary  
bytes (8-bits), but Pd audio works with 32-bit floats. There is  
nothing [unpackOSC] can do with a received blob except output the  
list of bytes, so some other object would be needed to pack groups  
of 4 bytes into floats again.
It may end up being just as efficient to send a bunch of floats  
for each signal vector.
iirc, for the very project the decoding is done outside of Pd  
anyhow (on specialized hardware), so the problem of [unpackOSC] not  
knowing what to do with a blob is a minor issue here. (and the use  
of specialized hardware is the reason why data (low-resolution  
fixed-point numbers) should actually be packed in a blob rather  
than floating-point).
i still think (see above) that even [packOSC] cannot provide a  
consistent interface to pack blobs into an osc message that is  
sufficiently more simple to use than manually constructing OSC  
messages.


It might be interesting to have a [netsend~] and [netreceive~] pair  
that send/receive raw Pd sound vectors like [send~] -- no OSC or  
fancy formatting, just UDP packets with floats, except that the  
first element of the list would probably have to be the number of  
floats in the vector unless it's fixed for all time.


[osc~ 330]
|
[netsend~ 127.0.0.1 9998]

[netreceive~ 9998]
|
[dac~]


Martin



___
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] self-modifying and dynamic patching

2009-03-16 Thread Nicholas Mariette
I have an old patch called nm-grainer that used an earlier version of  
nqpoly to do granular synthesis using a self modifying patch to do  
variable polyphony.


http://soundsorange.net/cmsimple/index.php?projects:nm-grainer_granular_synthesis_patch_for_Pd
http://puredata.info/Members/nmariette/nm-grainer-description/?searchterm=nm-grainer

Nick


On Mar 11, 2009, at 6:55 PM, Derek Holzer wrote:

Would like to show some examples of dynamic and self-modifying Pd  
patches during a workshop here in Berlin. I know there are some in  
the archives (and maybe on people's HDs) somewhere, but damned if I  
can find them. Links to previkous posts or new examples welcome!


best!
Derek

--
::: derek holzer ::: http://blog.myspace.com/macumbista ::: http://www.vimeo.com/macumbista 
 :::

---Oblique Strategy # 163:
Turn it upside down

___
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] phase-canceling

2009-02-26 Thread Nicholas Mariette
On Feb 25, 2009, at 1:00 AM, mrz wrote:

 yes,i find it also not an absurd question.
 I had build a loop machine, and i did want to phase cancel the sound  
 is coming out of the speakers to be able recording and play again  
 new stuff over that loop in realtime (overdubbing). But as far as  
 i understand it is a really complex thing to do so as chuck allready  
 mentioned. But someone build allready a kind of feedback canceller  
 or is it simply not possible in the real world?
 Like, it's the best way simply EQ'ing your Soundsystem to have the  
 best result?

Best to do as bands do for singers or any other instrument when  
feedback is not desired... use a cardioid microphone with low  
sensitivity, and make the desired input signal much closer to the  
microphone than the speakers.  If possible, don't face the speakers  
into the microphone at all.  Even to achieve *some* feedback  
cancellation is very difficult, and true cancellation is impossible  
(except maybe theoretically for a totally known electro-acoustical  
system, with same number of emitters and receivers).  Feedback  
avoidance is slightly more possible (e.g. by small frequency shifts).   
At best, feedback suppression by narrow band filtering can only get  
you a few extra db of gain before feedback pops up somewhere else.
Nick


 all the best,
 moritz

 On Mon, Feb 23, 2009 at 7:19 PM, Charles Henry czhe...@gmail.com  
 wrote:
 Hi, yohannes

 No, it's not absurd.  Tell us a little bit more about your
 application.  I am out of the project game for now, but have some long
 term goals for solving this sort of problem.

 For example, you send a sound out your speakers.  You want to recieve
 a new sound from the room on microphone that is not the sound coming
 from the speakers.

 This becomes a system identification problem.  You need to find the
 delay between the speakers and microphone and the transfer function (a
 filter) between speakers and mic.  Then, you digitally apply the
 filter and delay to your signals as they would be played and subtract
 that copy from the signal received by the mic.

 Chuck



 On Mon, Feb 23, 2009 at 4:02 PM, yohannes this_is_...@web.de wrote:
  hello everybody,
 
  maybe sounds absurd:
 
  is it possible to cancel an whole signal of an mic input through
  phase-canceling?
 
  if yes, how can i do dat in pd?
 
 
 
  thanks a lot, yohannes
 
  ___
  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



 -- 
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
 http://www.myspace.com/moritzwettstein
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

 ___
 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] Phone application

2009-02-12 Thread Nicholas Mariette
Have a look at RjDj - which is essentially Pd for iPhone.
The coming beta release allows downloading new Pd patches (scenes)  
onto an iPhone.
http://www.rjdj.me/

or there's the Reware project:
http://dev.eyebeam.org/projects/reware/blog

from a Pd list mail from Hans-Christoph Steiner:
 I don't know if you have been following the Reware project, but that
 is a core idea of it.  Check out our first HOWTO for an intro:

 http://www.youtube.com/watch?v=tMnIh2lWB6M

Nick


On Feb 12, 2009, at 12:58 PM, josue moreno wrote:

 Hi there,

 is there a way to create a pd patch and make it works in a phone? It  
 doesnt have to be a playable patch, just a generative patch which  
 starts when open that can be used in any regular telephone.
 I found pd2j2me but that project is not maintained since 2005 and I  
 guess there must be something newer.

 The idea is to give it as a present to friends, so it doesnt have to  
 be difficult to install in a phone, like a Nokia N73 for instance

 Thank you,

 Josué


 Actualízate, descubre el nuevo Windows Live Messenger. ¡Descárgatelo  
 ya! ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list

Nicholas Mariette

Researcher
Audio and Acoustics group
LIMSI-CNRS, Orsay, France
http://www.limsi.fr/Scientifique/aa/
http://www.limsi.fr/Scientifique/ps/thmsonesp/SonEspace
http://soundsorange.net
nicholas.marie...@limsi.fr





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


Re: [PD] doco on iem_bin_ambi?

2009-01-22 Thread Nicholas Mariette
You can find the names of the available objects in the iem_bin_ambi  
library by looking in the extras folder in terminal like this (or open  
the package and browse in finder):

$ ls /Applications/Pd-extended-0.40.3.app/Contents/Resources/extra/ 
iem_bin_ambi/
bin_ambi_calc_HRTF.pd_darwinbin_ambi_reduced_decode_fft.pd_darwin   
 
bin_ambi_reduced_decode_fir2.pd_darwin
bin_ambi_reduced_decode.pd_darwin
bin_ambi_reduced_decode_fft2.pd_darwin  iem_bin_ambi-meta.pd
bin_ambi_reduced_decode2.pd_darwin  bin_ambi_reduced_decode_fir.pd_darwin

However, these objects are fairly low level and interdependent.
There appears to be some Pd console information from the objects, but  
for the best available example of how to use them, download and load  
the main patch from the windows package:
http://iem.at/Members/noisternig/bin_ambi

Then make sure you add all the necessary paths for all the  
abstractions in sub-folders, and other objects - e.g. iemmatrix etc.
I think you should be able to make the example environment work this  
way.

Nick
-
http://www.limsi.fr/Scientifique/ps/thmsonesp/SonEspace
http://soundsorange.net


On Jan 21, 2009, at 11:18 PM, e deleflie wrote:

 thanks Nick,

 I know I have the code installed on OSX because I can instantiate
 [import iem_bin_ambi]   but that doesn't tell me what the
 available objects are.

 So I guesss by trying to create [iem_bin_ambi] and [bin_ambi] (no idea
 if they are the right objects) ...and I get an error in the console:

 ...
 libdir_loader: added 'iem_bin_ambi' to the canvas-local objectclass  
 path
 libdir_loader: added 'iem_bin_ambi' to the canvas-local objectclass  
 path
 libdir_loader: added 'iem_bin_ambi' to the canvas-local objectclass  
 path
 error: maximum object loading depth 1000 reached
 iem_bin_ambi
 ... couldn't create

 All I need is the name of the blasted objects!

 Etienne

 On Thu, Jan 22, 2009 at 3:35 AM, Nicholas Mariette  
 nmari...@limsi.fr wrote:
 Documentation of iem_bin_ambi is mostly limited to the patches (and  
 some
 papers) as far as I'm aware.

 There is a package for iem_bin_ambi here (windows):
 http://iem.at/Members/noisternig/bin_ambi

 For OSX, I believe all the necessary objects are built and included  
 in Pd
 extended, under Pd-extended.app/Contents/Resources/extra/iem*
 (right click the app and Show Package Contents)

 I think you should just need to add the correct paths into Pd  
 preferences
 to make the patches from the windows bin_ambi package work.

 Nick
 -
 http://www.limsi.fr/Scientifique/ps/thmsonesp/SonEspace
 http://soundsorange.net




 Can anyone point me to any doco on iem_bin_ambi? ... (and iem_ambi  
 for
 that matter). Google is failling me ... maybe somewhere on my
 harddrive?

 I'm on OSX (in case that has significance)

 Etienne

 ___
 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] doco on iem_bin_ambi?

2009-01-21 Thread Nicholas Mariette
Documentation of iem_bin_ambi is mostly limited to the patches (and some
papers) as far as I'm aware.

There is a package for iem_bin_ambi here (windows):
http://iem.at/Members/noisternig/bin_ambi

For OSX, I believe all the necessary objects are built and included in Pd
extended, under Pd-extended.app/Contents/Resources/extra/iem*
(right click the app and Show Package Contents)

I think you should just need to add the correct paths into Pd preferences
to make the patches from the windows bin_ambi package work.

Nick
-
http://www.limsi.fr/Scientifique/ps/thmsonesp/SonEspace
http://soundsorange.net




 Can anyone point me to any doco on iem_bin_ambi? ... (and iem_ambi for
 that matter). Google is failling me ... maybe somewhere on my
 harddrive?

 I'm on OSX (in case that has significance)

 Etienne

 ___
 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-extended and command line parameters

2009-01-21 Thread Nicholas Mariette
Have a look at this list email:
http://lists.puredata.info/pipermail/pd-list/2008-10/065706.html
and a follow-up:
http://lists.puredata.info/pipermail/pd-list/2008-10/065709.html

- for ways of getting around the lack of command-line, and loading libraries
- in particular, a method for customising separate Pd instances for
different purposes.

I use this method successfully for working on customised versions of the
IEM bin_ambi tool, also RjDj, alongside Pd-extended and vanilla, all on
the same computer.

Nick
-
http://www.limsi.fr/Scientifique/ps/thmsonesp/SonEspace
http://soundsorange.net


 All,

 I cant get the command line parameters to work on Pd-extended. (OSX)

 Using the GUI 'startup' option doesn't work for me because I'm using 2
 instances of PD spread over a 2 core machine . talking to each
 other via jackdmp.

 I need to access the command line parameters so that I can configure
 the instances differently.

 Is there a secret to get command line params to work with Pd-extended?

 Etienne

 ___
 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 Float accuracy

2008-11-07 Thread Nicholas Mariette
I've had the 6-digit problem trying to print UTM position coordinates  
out of Pd.

If you know the range of your numbers, there are some ugly hacks that  
provide a limited solution.

Eg, for 1234.5678 you can pass the number through [int] and then  
subtract that from the original number to get the parts before and  
after the decimal, then print them separately and use external scripts  
to concatenate - or maybe you could convert them to symbols and  
concatenate in Pd before printing.

You could do similar things using [mod] for numbers above 1e+06, etc...

Nick



On Nov 7, 2008, at 10:08 AM, Roman Haefeli wrote:

 On Fri, 2008-11-07 at 09:45 +0100, IOhannes m zmoelnig wrote:
 Mark Sexton wrote:
 Hi
 I need PD to make simple but accurate calculations for a  
 sonification project. However there seems to be a problem working  
 accurately with floats that have 7 or more digits in total (before  
 or after the decimal point). PD always seem to round the figure to  
 6 digits whether in a calculation, or even typing a 7+ digit float  
 into a number box e.g. 1234.5678 rounded to 1234.57

 I've got a couple of ugly hacks to work around for now, but it  
 seems a fairly fundamental thing to do, so would be grateful to  
 hear if I'm missing a simple way to get PD to work accurately with  
 floats of any arbitrary length above 6 digits.


 you don't need anything.
 Pd does uses IEEE floating point values for numbers, you don't  
 loose a
 single bit.
 it's only the GUI that likes to round the numbers when displaying it.
 internally everything is correct (as far as it is possible using
 single precision floats)

 you could change the width of a number-box to see more digits.

 still only 6 digits are displayed. altough pd works internall with  
 IEEE
 32bit floating values, i couldn't think of an easy way to get them out
 of pd. both, print and the numberbox truncate the numbers.

 two ways - not very feasible, though - to get full precision out of pd
 come to my mind:

 - send the numbers over OSC to some other application
 - write the numbers to an audio file with 32bit bitlength. extract the
 numbers from there

 or has someone a better idea?

 roman


   
   
 ___
 Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo!  
 Mail: http://mail.yahoo.de


 ___
 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] Script in osx

2008-10-28 Thread Nicholas Mariette
I find that the Pd command line functionality is broken in many  
versions of Pd for OSX.  (at least i can't get it to work)
The latest Pd extended (0.40.3) DOES seem to work for the command line  
though, which is good news.

However, once you save preferences, they are saved into ~/Library/ 
Preferences/org.puredata.pd.plist and will be picked up by every Pd  
that you launch - e.g. the plain Pd versions.

So saving preferences only works if you only ever need one Pd setup.   
This is fine if you only use the full Pd extended.

For my purposes, I like to write Pd preferences directly into the  
preferences file and then move it into the Pd.app bundle.  This works  
for every Pd version, and if you never actually save preferences from  
within Pd, you can run different Pd.app bundles for different needs.   
OR, if you do save preferences, you can just re-move the  
org.puredata.pd.plist back into the appropriate bundle to restore  
separate preferences for different Pd.app bundles.

I went so far as writing a bash script that downloads Pd, writes  
preferences, moves them into the bundle, copies any libraries,  
abstractions or patches I want into the bundle, and renames the bundle  
to a custom name.

I think this is similar result to Hans' standalone app generator,  
though I haven't checked out how that works.  (i think it's a build  
process, more than plain script).

I've copied my template script below in case anyone wants to use it.   
You would have to customise it to your needs though.  Also, if you  
want to start a given patch at runtime, there are some limitations  
with moving the .app bundle to different locations.

cheers
Nick

http://soundsorange.net



here's the script
---
#!/bin/sh

current_dir=`pwd`
date_time=`date +20%y%m%d_%Hh%M`
echo
echo - current directory is:
echo ${current_dir}

# edit CUSTOM_PD_NAME to name your new customised Pd .app bundle
CUSTOM_PD_NAME=Pd_Custom.app
## edit PD_PATCH to name patch to load on starting the Pd.
#PD_PATCH=start_patch.pd
## edit PD_PATCH_DIR to name patch directory within custom Pd bundle.
#PD_PATCH_DIR=custompath/patches

# edit PD_INST_ORIGINAL to match Pd .app version and location
PD_INST_ORIGINAL=${current_dir}/Pd-0.41-4.app
PD_INST=${current_dir}/${CUSTOM_PD_NAME}
PD_BUNDLE_PATCH_DIR=/Contents/Resources/${PD_PATCH_DIR}
echo sudo cp ${current_dir}/${PD_PATCH} ${PD_INST_ORIGINAL}$ 
{PD_BUNDLE_PATCH_DIR}


## NOTE - in bash script file testing, spaces are important!
## NOTE also -f tests specifically for file, -e for existance of  
anything (eg app bundle)
## example:
#if [ -f testfilename ]
#then
#  echo testfilename exists!
#fi
#if [ ! -f testfilename ]
#then
#  echo testfilename doesn't exist!
#fi

# clean up previous raw Pd app
if [ -e $PD_INST_ORIGINAL ]
then
echo - Delete the old vanilla Pd app just in case it has been modified.
sudo rm -rf $PD_INST_ORIGINAL
else
echo - No old Pd app bundle exists.
fi

# clean up previous customised Pd app
if [ -e $PD_INST ]
then
echo - Delete the existing customised Pd in case it has been modified.
sudo rm -rf $PD_INST
else
echo - No existing customised Pd app bundle exists.
fi

# download new Pd if needed (if it doesn't already exist)
if [ ! -e pd-0.41-4.mac.tar.gz ]
then
echo - Downloading fresh vanilla Pd.
curl -o pd-0.41-4.mac.tar.gz 
http://crca.ucsd.edu/~msp/Software/pd-0.41-4.mac.tar.gz
else
echo - No need to download fresh vanilla Pd.
fi

# unzip the pd vanilla app that was either just downloaded or already  
existed
echo - Untar the fresh vanilla Pd.
tar -zxf pd-0.41-4.mac.tar.gz

# backup any old plist as before, and then remove it
if [ -e ~/Library/Preferences/org.puredata.pd.plist ]
then
echo - Backing up old org.puredata.pd.plist and deleting it ready for  
new one.
echo - Backup file is: ~/Library/Preferences/org.puredata.pd.backup_$ 
{date_time}.plist
cp ~/Library/Preferences/org.puredata.pd.plist ~/Library/Preferences/ 
org.puredata.pd.backup_${date_time}.plist
rm ~/Library/Preferences/org.puredata.pd.plist
fi

# copy any libraries you wish from /copy_to_externs/ directory into Pd  
bundle extras...
echo - Copying externals and patches into the Pd app bundle.
cp -R ${current_dir}/copy_to_externs/* ${PD_INST_ORIGINAL}/Contents/ 
Resources/extra/
# make directory for patches
sudo mkdir -p ${PD_INST_ORIGINAL}${PD_BUNDLE_PATCH_DIR}
# copy custom patches into this directory
sudo cp ${current_dir}/${PD_PATCH} ${PD_INST_ORIGINAL}$ 
{PD_BUNDLE_PATCH_DIR}

echo - Preparing permissions in the Pd app bundle.
# prepare file and directory permissions
sudo chmod -R 0755 ${PD_INST_ORIGINAL}/Contents/Resources/extra/*
sudo chmod -R 0744 ${PD_INST_ORIGINAL}/Contents/Resources/extra/*.pd
sudo chmod -R 0755 ${PD_INST_ORIGINAL}${PD_BUNDLE_PATCH_DIR}/*
sudo chmod -R 0744 ${PD_INST_ORIGINAL}${PD_BUNDLE_PATCH_DIR}/*.pd

# create the new plist below. Make sure 

Re: [PD] Script in osx

2008-10-28 Thread Nicholas Mariette

On Oct 28, 2008, at 3:10 PM, Vincent Rioux wrote:

 hi,
 so you mean that pd will read its preference file in

 /Contents/org.puredata.pd.plist

yes - but only if no preference file exists in ~/Library/Preferences/

 does it override the ~/Library/Preferences/ one?

no.  therefore you have to rename (backup) or delete this version of  
the org.puredata.pd.plist if you want Pd to find its version in  
Pd*.app/Contents/

 it's been a while since i managed to use pd command line on osx
 the only way i found was to compile it and move the extras from Pd- 
 extended

yeah, this is essentially what i do - starting with a plain Pd .app  
bundle, and copying in only the externals i need from Pd-extended.   
This way I have a purpose-made Pd.app without the bloat.

 anyway this preferences trick sounds really good.
 thanks

it's not bad, but does have some limitations if you want to load a  
patch from within the bundle.  basically, you can only refer to  
absolute paths, so if you put a patch in the bundle, designed for a  
path of /Applications/Pd*.app/Contents/Resources/my-patch.pd  then it  
will only work when the Pd app is in /Applications directory.

I think Hans' Pd standalone app maker overcomes this problem, but I  
haven't tried it yet.

hope this script helps some anyway.

Nick



 vincent




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


[PD] problems with netsend~/netreceive~ (OSX-Windows)

2008-10-28 Thread Nicholas Mariette
I've just been trying unsuccessfully to get Olaf Matthes' netsend~/ 
netreceive~ working from OSX (PPC) to Windows, both on Pd.

On the OSX sending end, I get the following error in the Pd console.
   netsend~: connecting stream socket: Protocol not available (42)

I've made sure firewalls are all turned off on the Windows side, and  
I'm fairly sure I've done this for the OSX end as well.

I can use the same machines and network to send successfully from Pd  
Windows to Pd OSX.

Also I've successfully used netsend~/netreceive~  from Pd (Linux) -  
Max/MSP (OSX/Intel).

-can anyone help?

I can't find much information on this error online.

thanks
Nick

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


Re: [PD] PD on Iphone/Palm, etc.

2008-10-17 Thread Nicholas Mariette
hi JN,

I appreciate this sentiment.
( I've been a little involved with the RJDJ project as well, though I  
don't own an iPhone and even my iPod mini is many generations old now,  
but still does its job well).

In some senses, the wealth argument is a slippery slope - and any of  
us with a laptop or even a decent desktop are much more wealthy than  
the majority of the world.

But rather than debate this, I'd like to point out the positives:

- The RJDJ project has actually injected quite a bit of new energy  
into making Pure Pd abstractions.
 Pure Pd is useful to everybody, and probably very useful to a  
project to get Pd onto OLPC.

- Also, RJDJ ultimately want to work with other suitable mobile  
devices as well.

I am interested in the PD on OLPC idea, and I'm in France (though I'm  
busy this month) - so I'll contact you and see if I could help.
(although my linux skills are not as deep as many, so if more capable  
people can contribute first that's great)

Nicholas Mariette
---
http://soundsorange.net



On Oct 17, 2008, at 10:41 AM, Jean-Noël Montagné wrote:



 Hello from real world,

 As several of you might already know, now it is official.
 Check this out:

 http://rjdj.me

 A fully functional Pd just hit the iphone appstore, and you can  
 create
 Pd patches
 with the system and run them on the iPhone.


 I really appreciate that some of you, developpers, like to invent PD
 devs for such mobile devices. Great developpements. Big fun. But you
 spend a lot of time for those games for rich, for an elite. In many
 countries, just the price of an Iphone and accessories is enough to
 feed one starving family FOR A YEAR !
 [For the first time ever, this year, this evening, about 850 million
 humans will go to bed hungry, like yesterday, and may be tomorrow].
 When some of our best PD brains are working (with FLOSS) for few
 riches only, it is a mystery for me.


 BUT some PD-developpements for handheld devices have been done to run
 PD on small CPUs: has someone succeeded in installing PD on an OLPC
 XO ? I have no competency to do it, but if some people in france want
 to try, we have some XO available in the hackerspace tmp/lab in
 Vitry. Contact OLPC-france.

 JN


 ___
 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] low pass filter for floats

2008-10-08 Thread Nicholas Mariette
another way to filter floats is to do:
|
[sig~]
|
[lop~][metro]
|/
[snapshot~]
|

nick


On Oct 8, 2008, at 2:15 PM, cyrille henry wrote:



 Martin . a écrit :
 Very simple question:

 what is an object that can low pass filter floats (not ~)?
 iir, fir, median etc
 from the mapping lib.

 cyrille


 is there a searchable database on pd objects? googling only found  
 this
 http://en.flossmanuals.net/PureData/ListofObjects

 cheers,
 Martin

 ___
 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] 6 speakers in a circle, ambi? vbap?

2008-10-06 Thread Nicholas Mariette

don't know if the zip file got through or not.
Here are text versions.
hopefully they come through ok.
nick




nmg-bf-encode~.pd
Description: Binary data


nmg-meters4~.pd
Description: Binary data


test-ambi2quad.pd
Description: Binary data


nmg-bf2quad~.pd
Description: Binary data




On Oct 6, 2008, at 12:18 PM, Nicholas Mariette wrote:


hi Hans,

VBAP is probably better if you expect people to move around in the  
installation space and you wish to pan individual sounds in  
different directions.
First order ambisonics works fine on 6 speakers, but it would be  
more suited to immersive, enveloping ambient sounds, or a more  
constrained audience.


Horizontal VBAP will use only the nearest 2 speakers to simulate a  
sound in one direction, while ambisonics decoding will generally use  
all speakers for the same simulated sound source.  Thus VBAP sounds  
will often seem to snap to speaker positions when panning around  
the circle, whereas ambisonic panned sounds will not reveal the  
individual speakers as much, but the illusion will not work as well  
away from the centre of the room.


I like the description I heard recently from Bruce Wiggins on the  
difference between VBAP and ambisonics - that VBAP is exactly  
correct for panning a sound when it's in the direction of a speaker,  
but quite wrong when panning exactly in-between two speakers.   
Ambisonics on the other hand is equally wrong (to a lesser degree  
than VBAP between speakers) for a sound in any direction.


In many cases, the best spatialisation solution could be a mixture  
of both VBAP (for directional sounds) and ambisonic (for spatial  
ambience) - unless the audience isn't able to get too close to the  
speakers, or you use higher order ambisonics.


The IEM ambi stuff is all in Pd extended browser... I guess you've  
seen that.

I've attached some patches that I have for encoding to quad.

Only problem is the latest 2 releases of Pd extended seem to have  
problems loading mtx_*~ object.

I got it working with Pd extended 0.39.3

Output is for 4 speakers, but it's easy enough to change the speaker  
specifications in the nmg_bf2quad~  abstraction - go into the pd  
calc-matrix subpatch, make up a new speaker spec, print the decode  
matrix and copy that back into the patch.


Hope this helps.

Nick Mariette
http://soundsorange.net


test_ambi.zip








On Oct 6, 2008, at 6:39 AM, Hans-Christoph Steiner wrote:



So I am working on sound for a permanent installation involving 6
speakers in a large circular room.  Are 6 speakers enough to do
anything useful using ambisonics?  Or am I better off using the
simpler vbap?

I am just starting to understand the basics of ambisonics, thanks to
Florian's intro.  I will be programmatically controlling the position
of the samples, since it will be synced up with a video.  So I don't
think I really need the GUIs like cubemixer.

Are there any simple, working demos of the IEM ambi stuff?

.hc





I have the audacity to believe that peoples everywhere can have three
meals a day for their bodies, education and culture for their minds,
and dignity, equality and freedom for their spirits.  - Martin
Luther King, Jr.



___
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] 6 speakers in a circle, ambi? vbap?

2008-10-06 Thread Nicholas Mariette
for panning inside the array, nothing other than WFS will give you a  
reasonable source image inside the room.
often for ambisonics, you'd just xfade from the XYZ channels more into  
the W (omni) channel within a certain radius.
same with VBAP - just pan all speakers. (or turn spread all the way up).
Nick

On Oct 6, 2008, at 12:33 PM, Thomas Grill wrote:

 one more thing:
 If you want to position your virtual sound sources _inside_ the
 circle of speakers i am not sure if this is possible with ambisonics
 at all - and it's also difficult for VBAP depending on the
 triangulation it uses... you might want to check or manually specify  
 it.
 In such a case I personally would want to have some center speakers
 and would have two VBAP-driven rings (in the middle and on the
 periphery) between which i would do conventional panning.
 I once used that i the case of a planetarium where the audience is
 situated in a ring between the center and the circular wall. I had 3
 center speakers facing to the wall, 5 peripheral speakers facing to
 the center and two subwoofers.
 all the best, Thomas

 Am 06.10.2008 um 06:39 schrieb Hans-Christoph Steiner:


 So I am working on sound for a permanent installation involving 6
 speakers in a large circular room.  Are 6 speakers enough to do
 anything useful using ambisonics?  Or am I better off using the
 simpler vbap?

 I am just starting to understand the basics of ambisonics, thanks to
 Florian's intro.  I will be programmatically controlling the position
 of the samples, since it will be synced up with a video.  So I don't
 think I really need the GUIs like cubemixer.

 Are there any simple, working demos of the IEM ambi stuff?

 .hc


 --
 --
 

 I have the audacity to believe that peoples everywhere can have three
 meals a day for their bodies, education and culture for their minds,
 and dignity, equality and freedom for their spirits.  - Martin
 Luther King, Jr.



 ___
 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] CPU usage

2008-09-08 Thread Nicholas Mariette
ahh. yes, that's familiar.  I've had that problem before, about 2  
years ago, using an RME Fireface 400 with a Powerbook G4 on OSX 10.4  
for multichannel performance.  quite nasty.

I think I recall that it came down to Portaudio, so I think I fixed  
the problem by using the Jack interface.
But I'm not 100% sure of that.

try jack and see if that fixes it.

anyone else know a fix?

Nick Mariette
http://soundsorange.net


On Sep 7, 2008, at 9:13 PM, mami music wrote:

 Hi list.
 Im using a pd patch to play .ogg files all day long on a windows  
 computer. The files are played one after another reading them from a  
 folder in the computer.
 At some point (let's say once or twice every 12 hours) the CPU usage  
 of pd.exe goes to the top and the file that is being played slows  
 down as if it was downsampled, and gets disstorted. This lasts for  
 like 5 minutes. And then the reproduction goes back to normal.

 Can someone from the list gimme a clue about this behaviour and a  
 way to work it?

 Thanks

 Daniel
 ___
 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] earplug~ or FIR~ for HRTF?

2008-09-04 Thread Nicholas Mariette
IEM's bin_ambi is a sophisticated binaural rendering system via higher  
order Ambisonic spatialisation to virtual speaker arrays.
http://iem.at/Members/noisternig/bin_ambi

FIR~ is very CPU intensive for HRTF processing.  It's much better to  
use frequency domain convolution with fft~  ifft~ which is the case  
with bin_ambi.

I've listed some publicly available HRTF sets on my blog here:
http://blog.soundsorange.net/2005/11/09/hrtf/

Nick

http://soundsorange.net


On Sep 4, 2008, at 4:09 PM, Claude Heiland-Allen wrote:

 Hi all,

 I'm considering whether to use the earplug~ HRTF external or some
 alternative implementation of binaural spatialization.

 On the plus side, earplug~ seems quite easy to use.

 On the down side, earplug~ seems not to handle any sample-rate stuff  
 at
 all, so I'm wondering which samplerate the impulse responses in the
 earplug_data.txt are sampled at (because obviously it would be  
 somewhat
 weird to use them at another rate...).

 I don't really need the interpolation provided by earplug~ either,  
 so I
 guess I could save some CPU by using FIR~ directly, but then I need to
 obtain some HRIR's (ideally both at 44100Hz and 48000Hz sample rates).

 So: has someone already made a binaural processing patch using FIR~  
 and
 some set of impulse responses and would care to share it?


 Some context for the curious:  I'm trying to auralize 4D space using  
 4D
 room simulation, with an ear made up of several co-solid listening
 points in the 4D space, each mapped to a 3D source point for binaural
 processing.

 Thanks for any tips,


 Claude
 -- 
 http://claudiusmaximus.goto10.org

 ___
 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] help needed: Pd command line options on OSX

2008-04-28 Thread Nicholas Mariette
hi all,

I'm trying to start Pd from the OSX terminal with command line options.

For example,
/Applications/Pd-0.41-4.app/Contents/Resources/bin/pd -open /Users/ 
nick/Desktop/testpatch.pd

This successfully opens Pd, but ignores the options (ie, doesn't load  
the testpatch.pd)

I've tried it on OSX 10.5 and 10.4, with Pd basic and extended, all  
with no success.

How can I use command line options for Pd on OSX?

thanks,
Nick Mariette


LIMSI-CNRS, Orsay France

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