Re: [PD] text3d and general pd compiling problems on OSX tiger

2007-03-28 Thread IOhannes m zmoelnig
Hans-Christoph Steiner wrote:
 
 
 Ideally, FTGL would be included in GemLibs since it's not included in
 any of the package systems.  

i don't know which debian you are using, but at least since woody
ftgl-dev is part of the distros that i have access to.
(i noticed that ftgl-support is missing even on the debian versions of
pd-extended, but i forgot to ask you about that; please do install ftgl
with the package manager if it provides it)


mfga.sdr
IOhannes

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


Re: [PD] Zexy object urn bug?

2007-03-28 Thread IOhannes m zmoelnig
Bosko Milakovic wrote:
 
 Hm. Is it possible that when it's done urn will just bang to second
 outlet without empty bang?
 

technically it is simple.
the problem is rather from a philosophical point of view:
i rather not have objects trigger outlets from left to right.

unless i have some simple and consistent idea how to deal with that, i
won't change the current behaviour.

fmgasdr
IOhannes

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


Re: [PD] Real-time frequency filtering and analysis

2007-03-28 Thread Roman Haefeli
without having read your mail completely, i'd suggest having a look at
the [fiddle~] external, that ships with pd.

roman

On Tue, 2007-03-27 at 23:20 -0500, Jared wrote:
 Summary: I'm interested in capturing audio through a microphone and, in 
 real time, determining which frequency range (from a set range of 
 frequencies) has the maximum level. This would be used to determine 
 which note is loudest out three notes.
 
 More info: Hello! I was hoping to get some direction for a project I'm 
 working on. I'm also searching the mailing list archives, but I 
 apologize in advance if I ask questions that have been answered 
 elsewhere. If you think my question has already been answered, I would 
 appreciate any advice on how to better search the archives to find what 
 I'm looking for.
 
 I am creating a staged adaptation of a 'Choose Your Own Adventure' 
 novel. For more information, check out the Wikipedia article at 
 http://en.wikipedia.org/wiki/Choose_your_own_adventure The important 
 thing to know is there will be a branching storyline, decided by 
 audience voting.
 
 For the voting, I plan for everyone in the audience to have a small 
 xylophone with 3. Each note will correspond to a voting choice presented 
 by the cast. I'm going to have microphones positioned around the theatre 
 to capture the xylophones and pipe them to a computer. What I'd then 
 like to do through PD is determine which note was 'loudest,' meaning the 
 most people cast it for their vote.
 
 The voting choices will be displayed by a projector connected to the 
 computer running PD. Thus, I'm interested in either piping the level 
 information to another program (PowerPoint or something else) to display 
 which vote won. I'd also be interested in doing this directly through 
 PD, if it's possible.
 
 I'm working my way through the PD tutorials included in the program 
 itself, but would appreciate any advice or suggestions on keywords I can 
 use to search the archives.
 
 Please let me know if there is any information I can add to make things 
 more clear. Thanks in advance for all your help.
 -Jared
 
 ___
 PD-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list






___ 
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


Re: [PD] Real-time frequency filtering and analysis

2007-03-28 Thread Luigi Rensinghoff
What about filterbank in unauthorized ?

wouldnt that be an approach as well ?


Am 28.03.2007 um 10:23 schrieb Roman Haefeli:

 without having read your mail completely, i'd suggest having a look at
 the [fiddle~] external, that ships with pd.

 roman

 On Tue, 2007-03-27 at 23:20 -0500, Jared wrote:
 Summary: I'm interested in capturing audio through a microphone  
 and, in
 real time, determining which frequency range (from a set range of
 frequencies) has the maximum level. This would be used to determine
 which note is loudest out three notes.

 More info: Hello! I was hoping to get some direction for a project  
 I'm
 working on. I'm also searching the mailing list archives, but I
 apologize in advance if I ask questions that have been answered
 elsewhere. If you think my question has already been answered, I  
 would
 appreciate any advice on how to better search the archives to find  
 what
 I'm looking for.

 I am creating a staged adaptation of a 'Choose Your Own Adventure'
 novel. For more information, check out the Wikipedia article at
 http://en.wikipedia.org/wiki/Choose_your_own_adventure The important
 thing to know is there will be a branching storyline, decided by
 audience voting.

 For the voting, I plan for everyone in the audience to have a small
 xylophone with 3. Each note will correspond to a voting choice  
 presented
 by the cast. I'm going to have microphones positioned around the  
 theatre
 to capture the xylophones and pipe them to a computer. What I'd then
 like to do through PD is determine which note was 'loudest,'  
 meaning the
 most people cast it for their vote.

 The voting choices will be displayed by a projector connected to the
 computer running PD. Thus, I'm interested in either piping the level
 information to another program (PowerPoint or something else) to  
 display
 which vote won. I'd also be interested in doing this directly through
 PD, if it's possible.

 I'm working my way through the PD tutorials included in the program
 itself, but would appreciate any advice or suggestions on keywords  
 I can
 use to search the archives.

 Please let me know if there is any information I can add to make  
 things
 more clear. Thanks in advance for all your help.
 -Jared

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




   
   
 ___
 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] Real-time frequency filtering and analysis

2007-03-28 Thread padawan12

fft~ + pique 
/doc/4.fft.examples sinedecomposer.pd

might give you some ideas

On Tue, 27 Mar 2007 23:20:31 -0500
Jared [EMAIL PROTECTED] wrote:

 Summary: I'm interested in capturing audio through a microphone and, in 
 real time, determining which frequency range (from a set range of 
 frequencies) has the maximum level. This would be used to determine 
 which note is loudest out three notes.
 
 More info: Hello! I was hoping to get some direction for a project I'm 
 working on. I'm also searching the mailing list archives, but I 
 apologize in advance if I ask questions that have been answered 
 elsewhere. If you think my question has already been answered, I would 
 appreciate any advice on how to better search the archives to find what 
 I'm looking for.
 
 I am creating a staged adaptation of a 'Choose Your Own Adventure' 
 novel. For more information, check out the Wikipedia article at 
 http://en.wikipedia.org/wiki/Choose_your_own_adventure The important 
 thing to know is there will be a branching storyline, decided by 
 audience voting.
 
 For the voting, I plan for everyone in the audience to have a small 
 xylophone with 3. Each note will correspond to a voting choice presented 
 by the cast. I'm going to have microphones positioned around the theatre 
 to capture the xylophones and pipe them to a computer. What I'd then 
 like to do through PD is determine which note was 'loudest,' meaning the 
 most people cast it for their vote.
 
 The voting choices will be displayed by a projector connected to the 
 computer running PD. Thus, I'm interested in either piping the level 
 information to another program (PowerPoint or something else) to display 
 which vote won. I'd also be interested in doing this directly through 
 PD, if it's possible.
 
 I'm working my way through the PD tutorials included in the program 
 itself, but would appreciate any advice or suggestions on keywords I can 
 use to search the archives.
 
 Please let me know if there is any information I can add to make things 
 more clear. Thanks in advance for all your help.
 -Jared
 
 ___
 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] Some new [list]-abs: functional list processing

2007-03-28 Thread Frank Barknecht
Hallo,
Frank Barknecht hat gesagt: // Frank Barknecht wrote:

 CVS just saw three new abstractions for the [list]-abs collection,
 that have been inspired by the functional programming functions map,
 reduce and filter, known from Python and elsewhere. I attached the
 patches to this mail as well.

Att. is a small bugfix to list-filter.pd where an a was replaced by
a b in a t.

Ciao
-- 
 Frank Barknecht _ __footils.org_ __goto10.org__


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


Re: [PD] HRTF

2007-03-28 Thread Chuckk Hubbard
On 3/28/07, Chris McCormick [EMAIL PROTECTED] wrote:
 On Tue, Mar 27, 2007 at 08:37:46PM -0400, Chuckk Hubbard wrote:
  Was PD previously under GPL?

 No.

Frank explained to me that Pd-extended is under GPL.  I have to go
back and revise the package I created, if only to add the Berkley
license info.  I'm pretty sure I didn't actually use the executable
that was with Pd-extended.

So if version 0.5 is available under BSD license, and the author later
decides to go GPL, could they replace vs 0.5 on sourceforge with an
exact copy except with a different license.txt?  And if someone then
downloaded that same software, aware that it was BSD, and violated GPL
thinking it was still BSD...
A moot point anyway.  I swear I looked once and saw GPL for Pd, but I
guess it was Pd-extended.  Suffice to say Csound is LGPL and AFAIK
completely open.

-Chuckk


-- 
http://www.badmuthahubbard.com

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


Re: [PD] HRTF

2007-03-28 Thread Chuckk Hubbard
On 3/28/07, Chris McCormick [EMAIL PROTECTED] wrote:
 On Tue, Mar 27, 2007 at 10:50:11PM +0200, Frank Barknecht wrote:
  You can embed Pd into a proprietary software
  and apart from telling, that you did so, you have no further
  obligations (that's why Max can use parts of Pd inside). With Csound
  this is not allowed

 I must disagree with this; I think that is allowed with Csound,
 actually. Under the terms of the LGPL you are allowed to link LGPL
 code into a proprietary product, and you don't have to show the source
 to your proprietary product. The difference is that if you modify the

Someone was just saying this recently on the Csound list.  I actually
thought it would be useful  knowledge, regarding using Csound's HRTF
implementation in a video game.

-Chuckk


-- 
http://www.badmuthahubbard.com

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


Re: [PD] HRTF

2007-03-28 Thread IOhannes m zmoelnig
Chuckk Hubbard wrote:
 On 3/28/07, Chris McCormick [EMAIL PROTECTED] wrote:
 On Tue, Mar 27, 2007 at 08:37:46PM -0400, Chuckk Hubbard wrote:
 Was PD previously under GPL?
 No.
 
 Frank explained to me that Pd-extended is under GPL.  I have to go
 back and revise the package I created, if only to add the Berkley
 license info.  I'm pretty sure I didn't actually use the executable
 that was with Pd-extended.
 
 So if version 0.5 is available under BSD license, and the author later
 decides to go GPL, could they replace vs 0.5 on sourceforge with an
 exact copy except with a different license.txt?  And if someone then
 downloaded that same software, aware that it was BSD, and violated GPL
 thinking it was still BSD...

once a package is released under a certain license (well, if the
packager has the right to release under this very license), everybody
who got hold of the package under this license can do whatever they want
according to the license they got.

so: if you release v0.5 under BSD-license but then change your mind and
replace the BSD-license with a GPL, the package would be double licensed:
anybody can chose which of the 2 licenses they want.
(deleting the version with the BSD-license from sourceforge does not
mean that the BSD-license does not apply to the package shipped with
that license anymore).

they cannot violate the GPL, as they have a package versioned under BSD.
(it's basically the same mechanism that chris has explained in this
earlier email)


 A moot point anyway.  I swear I looked once and saw GPL for Pd, but I
 guess it was Pd-extended.  

must have been.

the BSD license is so open that you can even distribute such software
under GPL (this is what pd-extended does).


mfg.asdr
IOhannes

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


Re: [PD] Some new [list]-abs: functional list processing

2007-03-28 Thread marius schebella
hello frank,
very nice abstractions. I recntly also started using the new features of 
lists. what I miss is a split -1 (a split with negative values, which 
would split by counting from the right side).
I have some other ideas, like speedlim, which works different than the 
speedlim of thomas musil, it should receive input at any time, and spit 
it out in the same order, but timed like a metro.
maybe you know, is there still a restriciton in the number of elements a 
list can carry?
marius.

Frank Barknecht wrote:
 Hallo,
 Frank Barknecht hat gesagt: // Frank Barknecht wrote:
 
 CVS just saw three new abstractions for the [list]-abs collection,
 that have been inspired by the functional programming functions map,
 reduce and filter, known from Python and elsewhere. I attached the
 patches to this mail as well.
 
 Att. is a small bugfix to list-filter.pd where an a was replaced by
 a b in a t.
 
 Ciao
 
 
 
 
 ___
 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] Some new [list]-abs: functional list processing

2007-03-28 Thread marius schebella
jesus, this was always in front of my nose!
thnx!
marius.

Frank Barknecht wrote:
 Hallo,
 marius schebella hat gesagt: // marius schebella wrote:
 
 very nice abstractions. I recntly also started using the new features of 
 lists. what I miss is a split -1 (a split with negative values, which 
 would split by counting from the right side).
 
 This is part of the [list]-abs collection under the name
 [list-splat]. It works exactly like [list split], but also allows
 negative indices for splitting off at the tail.
 
 [list]-abs currently contains about 50 list processing objects, so you
 may want to take a look before starting to patch your own versions.
 
 I have some other ideas, like speedlim, which works different than the 
 speedlim of thomas musil, it should receive input at any time, and spit 
 it out in the same order, but timed like a metro.
 
 Maybe this is [list-fifo] from [list]-abs?
 
 maybe you know, is there still a restriciton in the number of elements a 
 list can carry?
 
 Just try it: With [tabdump] you can easily create very large lists.
 list-map.pd contains an example that uses rather small 64-element
 lists, which work fine and reasonably fast.
 
 Ciao


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


Re: [PD] Real-time frequency filtering and analysis

2007-03-28 Thread Jamie Bullock

Hi Jared,


On Tue, 2007-03-27 at 23:20 -0500, Jared wrote:
 Summary: I'm interested in capturing audio through a microphone and, in 
 real time, determining which frequency range (from a set range of 
 frequencies) has the maximum level. This would be used to determine 
 which note is loudest out three notes.
 
[snip]
 For the voting, I plan for everyone in the audience to have a small 
 xylophone with 3. Each note will correspond to a voting choice presented 
 by the cast. I'm going to have microphones positioned around the theatre 
 to capture the xylophones and pipe them to a computer. What I'd then 
 like to do through PD is determine which note was 'loudest,' meaning the 
 most people cast it for their vote.
 

You could try using a multiband filter and some envelope followers, but
I don't think you will be able to measure the voting very accurately
using this technique. 

To get slightly better results, you might want to take into account the
effect of frequency on perceptual loudness (cf. Zwicker et al). You
should also take into account whether or not the various votes are
synchronised in time by taking measurements over some time frame, and
averaging the results.

There are also other issues to consider such as the fact that not all of
the voters will strike the xylophone equally hard, the
resonance/absorption qualities of the room, and establishing the correct
relative contribution from each microphone.

Basically, this is a difficult problem to solve, but if all you need is
a 'rough idea' of how many votes have been cast, you might be OK.

Jamie



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


[PD] pdj help_class ... couldn't create

2007-03-28 Thread Federico Fontana
Dear pd-list,

I have Pd 0.40-2 running under WinXP,a nd want to install  the pdj dll's and 
API's.

After installing under the folder C:\Programmi\pd\pdj the files contained
in pdj-0.8.2-win32.zip (yes, I'm writing from Italy), along with including 
msvcr71d.dll inside
C:\Programmi\pd\bin, and once fixing the javahome path bug affecting jdk
1.5.0_11, when I open the help_pdj.pd patch I run into the following
message from pd:

pdj: using JVM C:\\Programmi\\Java\\jdk1.5.0_11\\jre\\bin\\server\\jvm.dll
pdj: trying to compile class: help_class.java
pdj: com.e1.pdj.PDJClassLoaderException: java.io.IOException:
CreateProcess: javac help_class.java -classpath
C:\\Programmi\\pd\\pdj\\pdj.jar\;\;file://C:/Programmi/pd/pdj/classes/\;
-sourcepath C:\\Programmi\\pd\\pdj\\classes error=2
 pdj help_class
... couldn't create
pdj: trying to compile class: help_class.java
pdj: com.e1.pdj.PDJClassLoaderException: java.io.IOException:
CreateProcess: javac help_class.java -classpath
C:\\Programmi\\pd\\pdj\\pdj.jar\;\;file://C:/Programmi/pd/pdj/classes/\;
-sourcepath C:\\Programmi\\pd\\pdj\\classes error=2
 pdj help_class @attr1 10
... couldn't create

This problem holds the same whatever .class file I try to include in a pd
patch via pdj.

(I'm also having building problems with pdj under Linux FC4 due to apache ant 
for Fedora 4,
but this is another story)

I'm at a lost. Do you have any suggestion to give and/or time to help me?

Thanks in advance.

Federico Fontana


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


Re: [PD] Cymatics/Chladni figures simulation

2007-03-28 Thread Martin Peach
Cesare Marilungo wrote:
 Martin Peach wrote:
   
 Charles Henry wrote:
   
 
 The sand still could be tricky... you would maybe have the individual
 particles at random locations, initially, and compute a gradient of
 the vibrations to determine movements.
   
 
   
 When I saw the sand arranging itself I thought cellular automaton.

 Martin
   
 
 I thought that the patterns and the various configurations in chladni 
 figures depend on the materials used.

 Am I wrong?

 c.
   
The patterns probably depend on the stiffness of the plate/membrane as 
well as its shape, and the grain size and density of the sand. By 
analogy with the Karplus-Strong vibrating string, which is a 
one-dimensional CA, usually the stiffness of the string is ignored. 
Also, the grain size would be the same as the pixel size and the density 
would be ignored. I see it as being like 2D version of the KS waveguide, 
with the superimposed grains moving in each time step towards the 
neighbour whose vertical acceleration is the lowest among 8 neighbours. 
Apart from the difficulty of doing a 2D KS, there is the further 
complication of an external frequency forcing (maybe introduced at the 
edges of the plate?).

Martin

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


[PD] RE : Re: Audio drops when using readsf~ with large sound files

2007-03-28 Thread david lemarechal
Thanks for answering,

IOhannes, you were right, now it works fine.
What I did : 
- enlarged the buffersize of readsf~
- increased audiobuffer (I'm at 100 ms, but I think I can go below)  
- created a huge 8 channels audio file read by a [readsf~ 8 1e008], and It 
seems to be the more efficient method of the three points.

Thanks again.

Roman Haefeli [EMAIL PROTECTED] a écrit : On Tue, 2007-03-27 at 11:02 +0200, 
IOhannes m zmoelnig wrote:
 david lemarechal wrote:
  Hi List,
  
  I have to play simultaneously 8 large soundfile (about 30min at
  44,1kHz/16bit, e.g. about 70 Mb each in wav format) on 8 different outputs.
  
  I use readsf~ on Windows but audio drops out at every disk access (when
  the Disk Acess LED of my laptop blinks), and of course this occurs very
  frequently... I can hear about one minute without drops, then it occurs
  at a fixed frequency (which I didn't calculate exactly).
  
  I tried to load each files with a long delay, tried to defragment,
  nothing change. I tried to change the bloksize flag, and the arguments
  of readsf~, with no luck.
 
 make the buffer for readsf~ HUGE (like [readsf~ 2 1e8] or so)
 make the audiobuf in pd as big as possible.
 make your harddisk as fast as possible (reorganize it; buy a new one)
 if you have enough ram, you could also consider using a ramdisk.
 
 oh and: do the 8 soundfiles have to be played independently? or is it
 really just a kind of 8track soundfile (split into 8 mono files).
 if so, i would _highly_ suggest creating one big 8channel interleaved
 soundfile and play that one instead of 8 separate files.
 your harddisk heads will be thankful for not having to move from one
 file to the other every block.
 
 
 i don't think that there are better soundfile players out there (there
 are soundfile players with more (and less) features; but in your case
 they should behave very similar or worse).
 
 we have been using [readsf~] successfully with 24 channel soundfiles
 without any dropouts.

i can confirm that (though i tested only with 16 channels), but the
first thing i'd do, is to test with another multitrack-software, if your
system is the bottleneck or if pd is the cause of these problem.
personally i don't trust pd too much on windows. i had once a similar
problem on windows, which might be related: when recording 8 or more
channels with [writesf~], one or more soundfiles were empty afterwards
(44 bytes to be exact). this was only on windows. i tested on the same
system under ubuntu and everything worked well. we solved the problem
then by using the pd-core from pd-extended, then it worked also on
windows. it could be, that this issue is completely unrelated to your
problem. but at least it could be interesting to know, that there _are_
cases, where pd is the source of the troubles and not a slow harddisk /
too less ram etc.

roman 


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



-
 Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! Questions/Réponses.___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Cymatics/Chladni figures simulation

2007-03-28 Thread Charles Henry
 The patterns probably depend on the stiffness of the plate/membrane as
 well as its shape, and the grain size and density of the sand.

It should depend on stiffness, density and shape.  The speed of sound
in a material is sqrt(stiffness/density).  The partial differential
equation for waves depends on these two constants, and the amplitude
of forcing. The units are a little tricky (and they are different
depending on the number of dimensions)
I have been engrossed by this idea, since I read it on the list :)
I'm sure you'll have a lot to research to make this work, and I really
hope you make something cool!

 By
 analogy with the Karplus-Strong vibrating string, which is a
 one-dimensional CA, usually the stiffness of the string is ignored.
 Also, the grain size would be the same as the pixel size and the density
 would be ignored. I see it as being like 2D version of the KS waveguide,
 with the superimposed grains moving in each time step towards the
 neighbour whose vertical acceleration is the lowest among 8 neighbours.
 Apart from the difficulty of doing a 2D KS, there is the further
 complication of an external frequency forcing (maybe introduced at the
 edges of the plate?).

 Martin

I see the edges as being different kinds of boundary conditions,
Dirichlet, Neumann, and Robin.
Dirichlet - amplitude is zero at the boundary (reflected waves are
180 deg out of phase)
Neuman - 1st deriviative is zero at the boundary (reflected waves are
in phase with incoming waves)
Robin - 1st order differential equation (specifies a constant phase
difference between incoming/reflected waves)

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


Re: [PD] Real-time frequency filtering and analysis

2007-03-28 Thread Charles Henry
filtering in general may not be the best approach because some of your
partials from one xylophone note will overlap with other note's
partials.  They are inharmonic complex tones, which are not so easy to
predict you'll probably have to measure the frequencies of each
note of your xylophone to know exactly what the spectrum is like.

In terms of averaging like Jamie suggested... suppose you want to
compute the expectation of the power spectral density.  You would take
the fft of the auto-covariance of your recieved signal, divided by the
number of blocks in your time frame.  (dividing by a number of blocks
will not in general be necessary, when all you need to do is find a
peak, with pique~ as before)
This will give you a very clear/accurate peak, without much
jitter/noise to clean up.

Chuck

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


Re: [PD] Cymatics/Chladni figures simulation

2007-03-28 Thread Charles Henry
 Robin - 1st order differential equation (specifies a constant phase
 difference between incoming/reflected waves)

for accuracy sake the phase difference is dependent on frequency
(it works like an impedance)

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


[PD] Some Fuzzy Logic stuff you might be interested in...

2007-03-28 Thread Mike McGonagle
Hi All,

A couple of weeks ago I had asked about some Fuzzy Logic externals for
PD, and last night I found an article that describes just that... You
might want to check out his stuff, as it looks really good. I have not
had a chance to test out the external, yet, but the article is a good
read.

http://www.rodrigocadiz.com/flctk
http://www.rodrigocadiz.com/

Mike M

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


Re: [PD] ann - usage/example - question

2007-03-28 Thread [EMAIL PROTECTED]
 Would you think - or did someone already try it - that it
 is possible   to recognize certain musical patterns or
 scales or phrases to   trigger a special output and with
 that change the preset.

ann cannot work at audio rate, it would be way too intensive
and you would miss the needed short-term-memory to recognize
musical figures.

you can use ann with FFT data and it should recognize
timbres and notes pretty well. with ann_td you can try to
make it recognize very simple, short and fast gestures but I
haven't tried anything like that yet.. you'll need a lot of
memory, maybe too much..

I used it with a webcam to recognize hand gestures or on
MIDI notes or chords.. never on FFT data or even on audio
data.

ciao,
davide.


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


Re: [PD] Some Fuzzy Logic stuff you might be interested in...

2007-03-28 Thread Georg Holzmann
Hallo!

 Is the author of this external also on this list ?
 Otherwise I will try to contact him to get these into the pd cvs ...

Hm ... I just have noticed that he didn't publish the source ... so I 
will ask him ...

LG
Georg

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


Re: [PD] Some Fuzzy Logic stuff you might be interested in...

2007-03-28 Thread Frank Barknecht
Hallo,
Mike McGonagle hat gesagt: // Mike McGonagle wrote:

 A couple of weeks ago I had asked about some Fuzzy Logic externals for
 PD, and last night I found an article that describes just that... You
 might want to check out his stuff, as it looks really good. I have not
 had a chance to test out the external, yet, but the article is a good
 read.
 
 http://www.rodrigocadiz.com/flctk
 http://www.rodrigocadiz.com/

Hm, very interesting. We should ask for the source, so people
interested can compile it for Windows as well.

Anyways, this reminds me that after the discussion some weeks ago I
also wrote some fuzzy-abstractions. They aren't documented or cleaned
up at all, but as it probably will take some time until I get to
finish them, I attached them here as well. They require [list]-abs as
well and probably some externals from zexy or so.

Ciao
-- 
 Frank Barknecht _ __footils.org_ __goto10.org__


fuzzy.tgz
Description: GNU Unix tar archive
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] evolutive

2007-03-28 Thread padawan12



Generative work you make in Pd could be sent to a sequencer
as midi then loaded into a program like Lillypond or Finale to
print out.

On Wed, 28 Mar 2007 19:19:22 +
josue moreno [EMAIL PROTECTED] wrote:

 
 
 
 hi everyone,
 
 im making a research project about computer asisted composition,
 
 since that is so open i decided to focus my work on generative music and 
 specially on cellular automata and evolutive techniques,
 
 the main trouble is that the works should have some instrumental writting 
 participation (sheet music will be awsome)
 
 can anyone help me?
 
 thanks
 
 _
 Dale rienda suelta a tu tiempo libre. Mil ideas para exprimir tu ocio con 
 MSN Entretenimiento. http://entretenimiento.msn.es/
 
 
 ___
 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] Some Fuzzy Logic stuff you might be interested in...

2007-03-28 Thread David Powers
This is amazing, because I was just wondering about trying out fuzzy
logic in PD last night, and ... SURPRISE ... here it is this morning!
Can't wait to try these out next week.

~David

On 3/28/07, Frank Barknecht [EMAIL PROTECTED] wrote:
 Hallo,
 Mike McGonagle hat gesagt: // Mike McGonagle wrote:

  A couple of weeks ago I had asked about some Fuzzy Logic externals for
  PD, and last night I found an article that describes just that... You
  might want to check out his stuff, as it looks really good. I have not
  had a chance to test out the external, yet, but the article is a good
  read.
 
  http://www.rodrigocadiz.com/flctk
  http://www.rodrigocadiz.com/

 Hm, very interesting. We should ask for the source, so people
 interested can compile it for Windows as well.

 Anyways, this reminds me that after the discussion some weeks ago I
 also wrote some fuzzy-abstractions. They aren't documented or cleaned
 up at all, but as it probably will take some time until I get to
 finish them, I attached them here as well. They require [list]-abs as
 well and probably some externals from zexy or so.

 Ciao
 --
  Frank Barknecht _ __footils.org_ __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


Re: [PD] Cymatics/Chladni figures simulation

2007-03-28 Thread Max Neupert

Am 28.03.2007 um 16:32 schrieb Martin Peach:
 The patterns probably depend on the stiffness of the plate/membrane as
 well as its shape, and the grain size and density of the sand. By

actually dr. hans jenny used a special pollen (lycopodium spores),  
not sand. because sand has a crystalline structure while the pollen  
is a perfect sphere. (by the way lycopodium is also a homeopathic  
substance associated with the male sexuality, comes up on google...)

check out those vids (round membrane here, nasty sound) :

http://www.harmonyera.com/videos/HJenny01.avi
http://www.harmonyera.com/videos/HJenny02.avi
http://www.harmonyera.com/videos/HJenny03.avi
http://www.harmonyera.com/videos/HJenny04.avi

max

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


Re: [PD] evolutive

2007-03-28 Thread marius schebella
what are you looking for? works, ideas, links?
I am working on dynamic patch creation from dna extractions and snipping 
and mutating the code to get new results, I guess that is kind of 
evolutive, but I don't have a workflow for that yet.
marius.

josue moreno wrote:
 
 
 hi everyone,
 
 im making a research project about computer asisted composition,
 
 since that is so open i decided to focus my work on generative music and 
 specially on cellular automata and evolutive techniques,
 
 the main trouble is that the works should have some instrumental writting 
 participation (sheet music will be awsome)
 
 can anyone help me?
 
 thanks
 
 _
 Dale rienda suelta a tu tiempo libre. Mil ideas para exprimir tu ocio con 
 MSN Entretenimiento. http://entretenimiento.msn.es/
 
 
 ___
 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] Real-time frequency filtering and analysis

2007-03-28 Thread Chuckk Hubbard
Airhorns.

-Chuckk

On 3/28/07, Charles Henry [EMAIL PROTECTED] wrote:
 filtering in general may not be the best approach because some of your
 partials from one xylophone note will overlap with other note's
 partials.  They are inharmonic complex tones, which are not so easy to
 predict you'll probably have to measure the frequencies of each
 note of your xylophone to know exactly what the spectrum is like.

 In terms of averaging like Jamie suggested... suppose you want to
 compute the expectation of the power spectral density.  You would take
 the fft of the auto-covariance of your recieved signal, divided by the
 number of blocks in your time frame.  (dividing by a number of blocks
 will not in general be necessary, when all you need to do is find a
 peak, with pique~ as before)
 This will give you a very clear/accurate peak, without much
 jitter/noise to clean up.

 Chuck

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



-- 
http://www.badmuthahubbard.com

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


[PD] I can't create Gem objects

2007-03-28 Thread Javier García
Hi,

I have just installed an extended release of puredata 
(Pd-0.39.2-extended-test6-linux-i686) on Ubuntu Edgy.

It worked, but I tried to create a Gem object and it didnt work...whats the 
problem?

_
Dale rienda suelta a tu tiempo libre. Mil ideas para exprimir tu ocio con 
MSN Entretenimiento. http://entretenimiento.msn.es/


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


Re: [PD] [sqosc~]-issues

2007-03-28 Thread Martin Peach
Roman Haefeli wrote:
 hi again

 i've come a bit closer to the source of the problem:

 when i load patch that contains a [sqosc~], whose first inlet~ is
 connected with a tilde-object, that sends a zero-signal immediately
 after loading the patch (e.g [line~]), the first outlet~ of [sqosc~]
 sends a 'nan' (not a number?). at least, this is what [env~]-[nbx] tells
 me.
   
Thanks for the feedback Roman. I just now put a modified sqosc~.c in 
cvs; it calls finite() to detect NaNs and replace them with zeros.
I only tested it on WinXP so far.
Maybe you could try the new version and see if it works better.
Thanks,
Martin

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


Re: [PD] I can't create Gem objects

2007-03-28 Thread Hans-Christoph Steiner

Sounds like the library isn't loaded.  Did you install  
the .pdsettings file following the instructions in the readme?

.hc

On Mar 28, 2007, at 5:21 PM, Javier García wrote:

 Hi,

 I have just installed an extended release of puredata
 (Pd-0.39.2-extended-test6-linux-i686) on Ubuntu Edgy.

 It worked, but I tried to create a Gem object and it didnt  
 work...whats the
 problem?

 _
 Dale rienda suelta a tu tiempo libre. Mil ideas para exprimir tu  
 ocio con
 MSN Entretenimiento. http://entretenimiento.msn.es/


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



 


The arc of history bends towards justice. - Dr. Martin Luther  
King, Jr.



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


Re: [PD] text3d and general pd compiling problems on OSX tiger

2007-03-28 Thread Hans-Christoph Steiner

On Mar 28, 2007, at 3:03 AM, IOhannes m zmoelnig wrote:

 Hans-Christoph Steiner wrote:


 Ideally, FTGL would be included in GemLibs since it's not included in
 any of the package systems.

 i don't know which debian you are using, but at least since woody
 ftgl-dev is part of the distros that i have access to.
 (i noticed that ftgl-support is missing even on the debian versions of
 pd-extended, but i forgot to ask you about that; please do install  
 ftgl
 with the package manager if it provides it)

I stand corrected, I forgot the details here.  ftgl-dev has been  
installed on the Debian-based auto-build machines for at least two  
months.  That still leaves these machines without it:

Windows2000
WindowsXP
fedoracore4-i386
macosx103-powerpc
macosx104-powerpc
macosx104-i386

.hc




 mfga.sdr
 IOhannes



 


As we enjoy great advantages from inventions of others, we should be  
glad of an opportunity to serve others by any invention of ours; and  
this we should do freely and generously. - Benjamin Franklin



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


Re: [PD] Real-time frequency filtering and analysis

2007-03-28 Thread Jaime Oliver
you could also check sigmund~ it will give you a list of frequencies
and amplitudes in order of amplitude.

J


 I think this just reinforces what everyone is saying
 about the errors. Either you make it into a crazy
 competition to vote by banging your note the loudest
 and the mostest, or you accept a margin of error.
 As Jamie says the intensity and frequencies are all
 going to vary and interact.

 attached patch intented to investigate that, it makes
 little clusters of 10 votes (idealised sinewave xylophone)
 separated in time by a value between 0 and 100ms at
 one of 3 frequencies chosen at random.
 What you wont get in reality is the notes being exactly
 the same frequency, there should be a fair degree
 of variance. When I used a focused noise source to
 approximate the xylophones inharmonic spectrum
 I couldn't see any correlation above chance. YMMV,
 especially if you tweak the windows/blocks .

 I got better initial results with the filter bank approach
 I think.





 On Wed, 28 Mar 2007 09:16:23 -0500
 Charles Henry [EMAIL PROTECTED] wrote:

  filtering in general may not be the best approach because some of your
  partials from one xylophone note will overlap with other note's
  partials.  They are inharmonic complex tones, which are not so easy to
  predict you'll probably have to measure the frequencies of each
  note of your xylophone to know exactly what the spectrum is like.
 
  In terms of averaging like Jamie suggested... suppose you want to
  compute the expectation of the power spectral density.  You would take
  the fft of the auto-covariance of your recieved signal, divided by the
  number of blocks in your time frame.  (dividing by a number of blocks
  will not in general be necessary, when all you need to do is find a
  peak, with pique~ as before)
  This will give you a very clear/accurate peak, without much
  jitter/noise to clean up.
 
  Chuck
 
  ___
  PD-list@iem.at mailing list
  UNSUBSCRIBE and account-management - 
  http://lists.puredata.info/listinfo/pd-list
 -- next part --
 A non-text attachment was scrubbed...
 Name: fftbincount-harness-pings.pd
 Type: application/octet-stream
 Size: 39247 bytes
 Desc: not available
 Url : 
 http://lists.puredata.info/pipermail/pd-list/attachments/20070329/f2b9456a/attachment.obj
 -- next part --
 A non-text attachment was scrubbed...
 Name: fbank-harness-pings.pd
 Type: application/octet-stream
 Size: 36448 bytes
 Desc: not available
 Url : 
 http://lists.puredata.info/pipermail/pd-list/attachments/20070329/f2b9456a/attachment-0001.obj

 --

 ___
 PD-list mailing list
 PD-list@iem.at
 to manage your subscription (including un-subscription) see
 http://lists.puredata.info/listinfo/pd-list


 End of PD-list Digest, Vol 24, Issue 133
 


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


Re: [PD] attack/release for spectral gate [was: is this a spectral gate?]

2007-03-28 Thread Kevin McCoy

Hi Chuck!

Actually I was working on it tonight.  The problem with it is that it
is too harsh and leaves too many artifacts on the signal right now
because the binary [~] from zexy needs to be smoothed out with
attack/release that persists across different blocks in time.  What I
tried tonight was successive delay lines where the block starts out at
0.25 of its original amplitude, then passes to another delay and is
amplified to 0.5, then to 1, held at 1, down to 0.5, and then to 0.25
and back off.  Successive delay lines that increase and then decrease
were the only way I could think to do this job of smoothing it out
over time and preserve information from past blocks of audio.  I've
attached the patch as I was working on it tonight.

However, this has some problems of its own and I was getting a lot of
high frequencies that I didn't want there, so I think this approach
will need to be windowed as well - the delay lines may need to be
smoothed too, something along the lines of the pitch shifting example
in the documentation, except in the frequency domain??  I dunno and
I'm in a little bit over my head at this point.  It's hard to measure
and assess what you do right and wrong in the frequency domain!
Sometimes a brother just needs a scope.  I am also open to fact that I
am completely wrong about this :)

What you're describing, if I read you correctly, is I think
implemented in the noisegate example in Pd's doc... if they are
different, could you clarify?  but all of these just sound bad to me
and of poor quality, they really need attack and release to sound
convincing/interesting and less artifact-y when you really push
them.  I'm all for destruction/mangling of audio, and FFT seems truly
powerful in that regard, but I just don't like these results yet.  Of
course, Tom Erbe's soundhack filters already do this, but he hasn't
responded to this on how he got attack/release to work for him - it
may need to be handled differently in Pd as opposed to whatever he
used to code those VSTs.

That said, I would *love* to hear/try what you come up with.  Let's be
in touch about this!

Kevin


On 3/28/07, Charles Henry [EMAIL PROTECTED] wrote:

Hi, Kevin,
  I liked your idea for a spectral gate.  I can see two possible
applications for it:
1.  removing broadband noise from signals
2.  masking out one sound from a collection of sounds

And the first option is especially cool.  It would be like a noise
gate on steroids, because it would remove the noise, even when there's
a signal present.  If it's alright... I'd like to give it a try, and
send it to you.
I'll re-format it so that one signal (noise or whatever) can be
recorded and then used to mask the same signals out of a continuous
signal input.  In fact this can be reformatted as a kind of weiner
filter, which will optimally reconstruct signals in the presence of
noise.
Have you gotten this working the way you want yet?

Chuck

On 3/23/07, Kevin McCoy [EMAIL PROTECTED] wrote:
 Hello all,

 A while ago I was working on a spectral gate patch and now I've come
 back to it.  Here's a quote from Tom Erbe's earlier email:

 For a spectral gate, just calculate the amplitude from real and imag,
 make your gate decision based on the amplitude and threshold, and
 then apply the same gain reduction to both real and imag. Add attack
 and release to the gate-gain for smoother results.

 I want to add the attack and release so it sounds smoother and less
 bubbly/harsh (know what I mean?)  I am racking my brain trying to
 figure out how to do this to each of the frequencies.  The soundhack
 vst does this really nicely and even has a visual representation of
 the gate where you can see it rise and fall with attack/release for
 the whole spectrum.

 The problem for me is persistence across different blocks.  I suspect
 [line~] doesn't work for this as it does for amplitude attack/release
 implementations.  For example, if there is a spike around 3000 Hz, how
 can I carry that attack and release across several blocks of audio?  I
 used delay objects with what I thought was some success, but I don't
 think I had it right.  I have attached the patch which is basically
 what Frank posted earlier - it does not have any of this yet and is
 just a hard on/off.

 Much confusion, I would be grateful for any help!
 Kevin
 --


 
 http://pocketkm.blogspot.com

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







--



http://pocketkm.blogspot.com


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