Re: [PD] making puredata headphone-safe

2011-08-24 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2011-08-24 02:33, Chris McCormick wrote:
 On Tue, Aug 23, 2011 at 06:48:05PM -0400, Martin Peach wrote:
 An [osc~] multiplied by  will sound louder  
 but it won't actually be louder than an osc multiplied by one (the  
 amplitude at the output will still be between 1 and -1).
 
 I think it actually depends on your sound card whether or not this is true 
 with Pd. I might be mistaken but I am pretty sure some sound cards will let 
 you output abs(x)  1. Hmmm actually this doesn't make sense to me if the 
 driver is accepting a 16 bit signed int. Can someone confirm whether this is 
 the case?

finally someone!

to clarify:
imho, you should never! assume that
[dac~] is equivalent to
[clip~ -1 1] - [dac~]

whether or not your output signal will be clipped to -1..+1 is entirely
depending on your sound infrastructure (i'm mainly talking about
software here; depending on whether you use portaudio, mmio, alsa,
jack and whatnot, your signal might be converted to some fixed point
format (mostly 16bit signed integers) or a floating point format just
before it leaves Pd.
in the former case, you will eventually experience clipping. in the
latter case less so.

after that, it is up to your sound infrastructure what to do with the
signal, and it might well boost it or clip it or whatever, before it
delivers to the hardware, which again might speak whatever format (e.g.
16bit unsigned int) that might impose clipping.

finally, your signal might get clipped at a number of places
will eventually get clipped (or distorted similarily) by your
amplifiers and/or your speakers.


if you do get clipping, then
[osc~ 440] -  [*~ 440]
will usually sound more annoying (and louder) than a loud 440Hz tone,
as you get plenty of harmonics.


 
 Incidentally, if I recall correctly, Miller told me that he uses a set of 
 small, cheap speakers when doing experimental stuff so as to save ear damage. 
 At least I think it was Miller.
 

for what it is wort, we have a huge red button labeld panic that
allows to mute all the 24 speakers in our CUBE, just in case your patch
goes havoc and you have innocent audience in the room.


fgmasdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5UplEACgkQkX2Xpv6ydvRa1ACdEDPyWLRydZtLM+GmsekmEpht
80EAnRh+K4xDs8cxp8ZO/mzf3Hs5Z012
=JzW1
-END PGP SIGNATURE-



smime.p7s
Description: S/MIME Cryptographic Signature
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] making puredata headphone-safe

2011-08-24 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2011-08-24 07:32, Richie Cyngler wrote:
 I don't get why no one is talking about reducing the signal level before
 dac~?
 

because we are talking about a safety net here.

everything done before the [dac~], you can easily circumvent within the
patch (consciously or - more likely and dangerous - unconsciously) while
happily patching away, making such provisions void (and blasting your ears)

fgmasdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5UpxsACgkQkX2Xpv6ydvS6KgCgpjhEQHwOmHGSv6gCYz4az8ct
2QUAoLneNbeBGpH3ev8XRPZY7ZIUi7oP
=NoMB
-END PGP SIGNATURE-



smime.p7s
Description: S/MIME Cryptographic Signature
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] making puredata headphone-safe

2011-08-24 Thread martin brinkmann
On 08/23/2011 11:47 PM, Richie Cyngler wrote:
 (whatever kind of sound gen you like)
 |
 [*~ 0.2]
 |   \
 [dac~]

i think you should put a clip -1 1 before the *~ 0.2.
otherwise, if you connect something like  osc~  *~ 1 for
example, you would get some very loud drilling sound at the
dac~ ,which should(!?) also clip at -1 1, but this might be too loud
already...

bis denn!
martin

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


Re: [PD] Dynamic patching with audio - review

2011-08-24 Thread abel . jerome
Hi,

A new report of my researchs about audio dynamic patching techniques.

The continuation of my previous reviews :
http://abel.jerome.free.fr/pd/dynamic-patching/reviews/DynamicPatching_review-1.txt
http://abel.jerome.free.fr/pd/dynamic-patching/reviews/DynamicPatching_review-2.txt

===
Pd-list archives
===
The issue has been discussed several times (IOhannes m zmoelnig)

That's right. I've just seen that the pd dsp O/1 method was described in 2005 
! 

It's quite difficult to find those threads without the terms dsp tree or dsp 
graph or dsp chain. Indeed, I don't know anything about it.
A list of the best search terms could help us (see below) and avoid those 
noise requests.

We are trying here to make a review of all dynamic patching techniques to make 
it easier to understand and find the best solution for any project. It could 
be a page on the community website instead of the disheartening do not use 
dynamic patching 
(http://puredata.info/docs/tutorials/TipsAndTricks#how-to-avoid-audio-drop-outs).

- Search engine usage

When I search in the pd-list, the score show some posts where the search term 
are in the next or previous message links, not in the message body. How limit 
the search term to the body and not the links ?

Futhermore, if I'm interested in one thread, it seems that if I choose to sort 
by thread, it's only the threads of a month. How group one thread on all months 
?

- Search terms

audio drop-outs with pd dsp O; pd dsp 1
activate audio abstraction
dynamic audio abstraction
dynamic patching
dynamic patching techniques
update dsp-tree 
update dsp-graphofxPd

- Threads about audio dynamic abstraction in pd-list

- [PD] strange behavior upon loading dsp abstraction
http://lists.puredata.info/pipermail/pd-list/2004-12/thread.html#24337
- [PD] no dsp-chain update after dynamic abstraction-creation
http://lists.puredata.info/pipermail/pd-list/2005-06/028923.html
- [PD] slowly load a pd-patches/abs without dropouts
http://lists.puredata.info/pipermail/pd-list/2007-01/046243.html
- [PD] this is crazy
http://lists.puredata.info/pipermail/pd-list/2008-01/059244.html
- [PD] API for manipulating a patch in real time
http://lists.puredata.info/pipermail/pd-list/2008-12/066723.html
- [PD] Dynamically created signal object bug
http://lists.puredata.info/pipermail/pd-list/2009-02/068246.html
- [PD] abstraction creation audio engine start
http://lists.puredata.info/pipermail/pd-list/2009-04/069849.html


===
Dynamic creation of audio abstractions
===

- Methods

1 - DSP 0/1
2 - Add/clear an audio object (subpatch)
3 - Add/cut any object (subpatch)

See : 
http://abel.jerome.free.fr/pd/dynamicPatching/patchs/dyn-audio-abstraction/

This methods work with any abstraction.

- DSP 0/1 method - explanations

From IOhannes m zmoelnig :
You shouldn't dynamically create abstractions while dsp is running, as it 
slows down significantly.

If dsp is on, and you dynamically create 10 objects in one go (in zero
logical time), then the dsp graph will be re-calculated 10 times.
If you turn dsp off, then dynamically create 10 objects as before, then
no dsp graph will be evaluated until you turn dsp on again, summing up
to exactly 1 time.
Furthermore, it guarantees that the entire DSP graph is calculated and
not only parts of it (because of buggy implementations)

Thanks a lot for those explanations. It's clear enough to see why choose these 
method even if internal processes in the DSP graph are still incomprehensibles.

- DSP 0/1 method - Some questions


--- With one audio abstraction.
If we create just one audio abstraction at one time. Is it still the best 
solution or is it the same than other methods ?

--- Audio clics.
From me:
But audio clics may occur for all sounds, not just for the new one, right ?
From IOhannes:
no, this is wrong. (at least not, if you computer is fast enough to calculate 
the DSP-graph within the buffertime).

I don't understand how you can not heard clics with it.
With my system, audio clics occur... Wrong settings ? Do I need a recent 
computer ?
In fact, a clic is heard the first time with Jack/Alsa and always with Alsa and 
Asio4all.
But in a dynamic patching case, what's this first time ? In the dynamic patch 
example, clics occurs even if I use Jack/Alsa.

See :
http://abel.jerome.free.fr/pd/dynamic-patching/patchs/cpu-on-off/screenshots/cpu-on-off-audio-clics.png
http://abel.jerome.free.fr/pd/dynamic-patching/patchs/dyn-audio-abstraction/screenshots/dyn-activate-audio-abstractions.png

--- Time response depends on audio system
If I want a 

Re: [PD] #store and getting pixel data from a movie file

2011-08-24 Thread Mathieu Bouchard

On Tue, 23 Aug 2011, ALAN BROOKER wrote:


I hope to ask for some tips regarding obtaining values from a loaded
image/movie file by using gridflow ? #store gets can get rgb values
from a specified pixel position


You can pass multiple pixel positions at once to #store and it's much 
faster than getting pixels one by one. Those multiple pixel positions can 
in turn be organised in rows and columns so that you can make a new image 
by picking 10 pixels in a single step, for example.



but any advice on getting the whole dimensions at once


What does that mean ?

(or any other techniques in getting gridflow to output values from a 
movie file such as movement, luminosity or anything)?


some kind of luminosity is what you get when you convert to greyscale. You 
may use [#rgb_to_greyscale].


Movement can be a lot of different things.

The easiest one is to subtract each frame with the previous one. Then you 
can know the change of luminosity from one image to the other, or the 
change of each channel. You do that using [t a a] and [# -] (plain diff) 
or [# sq-] (squared diff) or [# abs-] (absolute diff).


You can also identify regions or compute mean positions of things and then 
look at the position differences. Sometimes I did that using [#moment] and 
then [t a a] and [# -]. Note that often the same tools work on different 
kinds of data (pixel colours vs pixel positions). This is a feature of 
GridFlow which is not found in other image-processors of Pd (GEM/PDP/etc).


There are also algorithms to make a map of all translations (move) of 
pixels in the picture, but they have not incorporated in GridFlow.


...also is there support for mp4 in gridflow? the file format being the 
same as mov (I think?)


GF uses Quicktime.framework (by Apple) on OSX, and libquicktime (by H.W.  
Plaum) on Linux and now also on OSX. Nearly all video file format support 
rests upon that.


GF also can run libmpeg3, but that's a MPEG1/MPEG2 decoder without 
plugins.


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


Re: [PD] notes/questions from a beginner

2011-08-24 Thread Mathieu Bouchard

On Tue, 23 Aug 2011, Stephen Lavelle wrote:

1 - Inlets/outlets too small for me to accurately click on (touchpad) - 
checking on pd-dev, they can be visually reskinned, but their actual 
clickable size can't be changed.  [ so I guess this one has been 
responded to, but might as well repeat it ]


I once had written a zoom feature for pd, but it used a much different 
framework, so, it can't be ported to regular branches of pd (vanilla, 
extended, L2ork).


However, it would be possible to make one using a wrapper around TkCanvas 
objects, so that they pretend being in one set of coordinates while being 
in another set. It's not a small task.


If I were to do it, I'd use the poe.tcl framework, and I'd start from the 
unfinished tkzinc wrapper that you both can find in the DesireData 
distribution, and I'd look again at what «def Canvas item» does in 
DesireData. There are other ways, but that example gives you the tricks 
you need to know.


4 - is there a shortcut for deleting connections?  something like 
ctrl+click would save me a lot of time.


it's click,delete instead.

5 - is there a way to type numbers directly into a number box? 
clicking+dragging, or pumping them in via a message, doesn't feel good 
to me.


click,digits,return.

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


Re: [PD] notes/questions from a beginner

2011-08-24 Thread Mathieu Bouchard

On Tue, 23 Aug 2011, Stephen Lavelle wrote:


4 - is there a shortcut for deleting connections?  something like ctrl+click 
would save me a lot of time.


BTW, if you select a set of objects, then cut it, then paste it, copies of 
the objects will reappear where the originals were, but they will be fully 
disconnected from the part of the patch that was not cut.


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


Re: [PD] making puredata headphone-safe

2011-08-24 Thread Mathieu Bouchard

On Tue, 23 Aug 2011, Jonathan Wilkes wrote:


Hm... I'm not sure I understand the danger.

Isn't this:
[noise~]
|
[*~ 99]
|
[dac~]

an implicit version of:
[noise~]
|
[*~ 99]
|
[clip~ -1 1]
|
[dac~]

?


Yes. Thus it makes square waves. Their power is :

  (integral of (±1)² on [a;b]) / abs(a-b)

which equals 1.

Sine waves, instead, have this power :

  (integral of (sin t)² on [a;b]) / abs(a-b)

which is ½ on average.

There are further differences due to which frequencies are involved. Power 
in freqs around 1 kHz is more hearable, and power in freqs above that 
might be less hearable but still more painful, etc. But I don't know data 
about pain, just about hearability.


[noise~] and high-pitched [osc~] have more hearable power than low-pitched 
[osc~]. Also, heavily-clipped signals have higher-pitched power, which 
usually means more hearable power.


a [osc~ 100], when very clipped, will have power at 100 Hz, 300 Hz (nine 
times less), 500 Hz (twenty times less than 100 Hz), 700 Hz (49 times less 
than 100 Hz), etc., following the same pattern.


combinations of several [osc~] with one clipper will have many more 
harmonics than that.


you may think of [noise~] is somehow similar to an average of a silly 
number of [osc~] together, which cover the whole spectrum. any clipping of 
them will also cover the whole spectrum, but differently.


I didn't read those articles, but they are on those topics :
loudness : http://en.wikipedia.org/wiki/A-weighting
clipping : http://en.wikipedia.org/wiki/Distortion#Harmonic_distortion

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


Re: [PD] Headphones question on pd list

2011-08-24 Thread Mathieu Bouchard

On Wed, 24 Aug 2011, Jonathan Wilkes wrote (outside of pd-list):

If I do this, can't I be fairly certain that I won't get a sound with 
greater perceived volume than the clipped [noise~]--[*~ 99] that I 
started with? [...] I'm just talking about things that could potentially 
cause ear damage.


a harsh-clipped [noise~]-[*~ n] is probably close to the highest loudness 
you can get, even for not-so-high values of n.


However, if you want to find the loudest, you'd have to start from the dBA 
loudness curve, and try to solve an equation involving a bunch of samples 
that can range from -1 to +1... at 44100 Hz over 1 second, that'd be 44100 
variables, for example, though a lot less variables could be enough to get 
an idea. It doesn't look like an easy problem to me, but I haven't tried.


And then, the loudness curve, the pain curve and the damage curve are 
three different things. I don't even know whether the latter two have been 
computed. My only real experience with the loudness curve(s) is from 
writing Alexandre T Porres' externals (for what he presented in Weimar). I 
haven't studied the topic much more than that.


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


Re: [PD] Headphones question on pd list

2011-08-24 Thread Charles Henry
On Wed, Aug 24, 2011 at 2:15 PM, Mathieu Bouchard ma...@artengine.cawrote:

 On Wed, 24 Aug 2011, Jonathan Wilkes wrote (outside of pd-list):

  If I do this, can't I be fairly certain that I won't get a sound with
 greater perceived volume than the clipped [noise~]--[*~ 99] that I
 started with? [...] I'm just talking about things that could potentially
 cause ear damage.


 a harsh-clipped [noise~]-[*~ n] is probably close to the highest loudness
 you can get, even for not-so-high values of n.


 However, if you want to find the loudest, you'd have to start from the dBA
 loudness curve, and try to solve an equation involving a bunch of samples
 that can range from -1 to +1... at 44100 Hz over 1 second, that'd be 44100
 variables, for example, though a lot less variables could be enough to get
 an idea. It doesn't look like an easy problem to me, but I haven't tried.

 And then, the loudness curve, the pain curve and the damage curve are three
 different things. I don't even know whether the latter two have been
 computed. My only real experience with the loudness curve(s) is from writing
 Alexandre T Porres' externals (for what he presented in Weimar). I haven't
 studied the topic much more than that.


Maybe the equal loudness curves aren't as important as the peaks in the
loudspeaker transfer function.  Gotta add that to the analysis, too, but
you'll never know what those are like unless you actually have them and
measure it.

I think the math makes sense: if a sequence of samples has only -1,+1 as
values, then the intensity must be maximized--only the frequency spectrum
has to be known.  We have by isometric property of the Fourier tranform that
the total energy in the frequency domain matches the energy in the time
domain.  So, it's only a matter of distribution.

So, if we made a simple alternating sequence +1,-1,... then only the Nyquist
frequency has any energy, but because most speakers (and ears) will weakly
respond at this frequency, it's not very loud.

Same goes for a repeating sequence, +1,+1,... or -1,-1,... for which no
response is expected.

The next thing to notice is that you can't produce a single frequency with
some signal that is only distributed as -1 or +1 on each sample.  So, it's
no good just finding the peak of the loudspeaker + loudness curves either,
we need big bands of frequencies that respond loudly.

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


[PD] Gem VJ Tutorial patches

2011-08-24 Thread Pagano, Patrick
Hey

I am soliciting examples for entry level GEM patches that work on
linux/windows and OSX that show how to mix a video or react to sound. I
recall a set of them called Begenswelder? That had a real good example for
a sound reactive GEM patch but I cannot find it in my files, Please
refresh my memory and as I asked anyone who has a simple patch(s) for
understanding GEM or Vjing that works cross platform would be greatly
appreciated. I have a few but I am trying to expand my cross platform
examples.

Thanks in advance

pp


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


Re: [PD] Gem VJ Tutorial patches

2011-08-24 Thread Antonio Roberts
Hey,

I use PD/GEM a lot for VJing using a version of this patch
http://puredata.hurleur.com/viewtopic.php?pid=25492 It's definitely
not a beginner's patch...

One note about this patch: It only really plays videos, it doesn't do
anything generative.

Ant

On 24 August 2011 21:07, Pagano, Patrick p...@digitalworlds.ufl.edu wrote:
 Hey

 I am soliciting examples for entry level GEM patches that work on
 linux/windows and OSX that show how to mix a video or react to sound. I
 recall a set of them called Begenswelder? That had a real good example for
 a sound reactive GEM patch but I cannot find it in my files, Please
 refresh my memory and as I asked anyone who has a simple patch(s) for
 understanding GEM or Vjing that works cross platform would be greatly
 appreciated. I have a few but I am trying to expand my cross platform
 examples.

 Thanks in advance

 pp


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




-- 
07875 006 245
anto...@hellocatfood.com


http://www.hellocatfood.com


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


Re: [PD] notes/questions from a beginner

2011-08-24 Thread Jonathan Wilkes
Looks like you already implemented a lot of the features in DD that I've been 
thinking about:
* decent zoom capability
* customizable fonts
* balloon tips (although I hate balloons and used a Firefox-style notification 
area which can also be accessed by the user)
* ttk::notebook in a centralized Preferences window
* canvas/wire/box/etc. colors

* snapping to grid
* editmode crosshairs

Questions:
* for customizable fonts, why did you let the user specify the size?  If you 
just have a hardcoded box height and character width (for, say, DejaVu Sans 
Mono) and automatically size any custom font to fit those specs, then you can 
guarantee that the graphical diagram will be pixel exact across platforms, with 
the only variable being the _exact_ font size.  (And since the font metrics are 
the only thing that cannot be guaranteed to be the same across platforms, then 
it should be fitted to the boxes, and not the other way around.)  Granted you'd 
have extra space at the right side of the box when variable-width fonts are 
used, but that's a small aesthetic price to pay for guaranteed vertical wire 
connections on ancillary inlets.

* what's the current status of Desire Data?  There are a great deal of features 
that would be good to port to (any flavor of) 0.43, but I'm not sure how the 
work of porting stacks up against the work of just updating/bugfixing DD.

* has anyone used tkzinc?  On the one hand, all the new feature requests I've 
seen for future versions of tk canvas have the caveat that they are already 
implemented in tkzinc, (item grouping, transparency, full text rotation, etc.) 
but it seems like an unmaintained library at this point.

***

Since I now have a copy of DD compiled, might as well try out the keyboard 
patching magic... :)

-Jonathan



From: Mathieu Bouchard ma...@artengine.ca
To: Stephen Lavelle analy...@gmail.com
Cc: pd-list@iem.at
Sent: Wednesday, August 24, 2011 1:22 PM
Subject: Re: [PD] notes/questions from a beginner

On Tue, 23 Aug 2011, Stephen Lavelle wrote:

 1 - Inlets/outlets too small for me to accurately click on (touchpad) - 
 checking on pd-dev, they can be visually reskinned, but their actual 
 clickable size can't be changed.  [ so I guess this one has been responded 
 to, but might as well repeat it ]

I once had written a zoom feature for pd, but it used a much different 
framework, so, it can't be ported to regular branches of pd (vanilla, 
extended, L2ork).

However, it would be possible to make one using a wrapper around TkCanvas 
objects, so that they pretend being in one set of coordinates while being in 
another set. It's not a small task.

If I were to do it, I'd use the poe.tcl framework, and I'd start from the 
unfinished tkzinc wrapper that you both can find in the DesireData 
distribution, and I'd look again at what «def Canvas item» does in DesireData. 
There are other ways, but that example gives you the tricks you need to know.

 4 - is there a shortcut for deleting connections?  something like ctrl+click 
 would save me a lot of time.

it's click,delete instead.

 5 - is there a way to type numbers directly into a number box? 
 clicking+dragging, or pumping them in via a message, doesn't feel good to me.

click,digits,return.

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


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


Re: [PD] Gem VJ Tutorial patches

2011-08-24 Thread Richie Cyngler
Hey Ant,

I checked out your patch but I couldn't get it to open any video files. I
tried .avi, .mov and .mpg on osX.

thanks

On Thu, Aug 25, 2011 at 6:25 AM, Antonio Roberts
anto...@hellocatfood.comwrote:

 Hey,

 I use PD/GEM a lot for VJing using a version of this patch
 http://puredata.hurleur.com/viewtopic.php?pid=25492 It's definitely
 not a beginner's patch...

 One note about this patch: It only really plays videos, it doesn't do
 anything generative.

 Ant

 On 24 August 2011 21:07, Pagano, Patrick p...@digitalworlds.ufl.edu
 wrote:
  Hey
 
  I am soliciting examples for entry level GEM patches that work on
  linux/windows and OSX that show how to mix a video or react to sound. I
  recall a set of them called Begenswelder? That had a real good example
 for
  a sound reactive GEM patch but I cannot find it in my files, Please
  refresh my memory and as I asked anyone who has a simple patch(s) for
  understanding GEM or Vjing that works cross platform would be greatly
  appreciated. I have a few but I am trying to expand my cross platform
  examples.
 
  Thanks in advance
 
  pp
 
 
  ___
  Pd-list@iem.at mailing list
  UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list
 



 --
 07875 006 245
 anto...@hellocatfood.com

 
 http://www.hellocatfood.com
 

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




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


Re: [PD] Headphones question on pd list

2011-08-24 Thread Jonathan Wilkes
Without knowing anything in advance about the speakers being used, is there a 
way to construct some kind of [aural-faxbomb~] that outputs in the -1 to 1 
range which could be used generally to at least get in the ballpark of what you 
want the maximum level of perceived loudness to be when wearing headphones?
Maybe another way to ask: can you construct an example patch with output that 
is louder than [noise~]--[*~ max_float_value]--[clip~ -1 1]--[dac~]?


-Jonathan





From: Charles Henry czhe...@gmail.com
To: Mathieu Bouchard ma...@artengine.ca; pd-list@iem.at
Sent: Wednesday, August 24, 2011 4:09 PM
Subject: Re: [PD] Headphones question on pd list





On Wed, Aug 24, 2011 at 2:15 PM, Mathieu Bouchard ma...@artengine.ca wrote:

On Wed, 24 Aug 2011, Jonathan Wilkes wrote (outside of pd-list):


If I do this, can't I be fairly certain that I won't get a sound with greater 
perceived volume than the clipped [noise~]--[*~ 99] that I started with? 
[...] I'm just talking about things that could potentially cause ear damage.

a harsh-clipped [noise~]-[*~ n] is probably close to the highest loudness you 
can get, even for not-so-high values of n. 


However, if you want to find the loudest, you'd have to start from the dBA 
loudness curve, and try to solve an equation involving a bunch of samples 
that can range from -1 to +1... at 44100 Hz over 1 second, that'd be 44100 
variables, for example, though a lot less variables could be enough to get an 
idea. It doesn't look like an easy problem to me, but I haven't tried.

And then, the loudness curve, the pain curve and the damage curve are three 
different things. I don't even know whether the latter two have been 
computed. My only real experience with the loudness curve(s) is from writing 
Alexandre T Porres' externals (for what he presented in Weimar). I haven't 
studied the topic much more than that.


Maybe the equal loudness curves aren't as important as the peaks in the 
loudspeaker transfer function.  Gotta add that to the analysis, too, but 
you'll never know what those are like unless you actually have them and 
measure it.

I think the math makes sense: if a sequence of samples has only -1,+1 as 
values, then the intensity must be maximized--only the frequency spectrum has 
to be known.  We have by isometric property of the Fourier tranform that the 
total energy in the frequency domain matches the energy in the time domain.  
So, it's only a matter of distribution.

So, if we made a simple alternating sequence +1,-1,... then only the Nyquist 
frequency has any energy, but because most speakers (and ears) will weakly 
respond at this frequency, it's not very loud.

Same goes for a repeating sequence, +1,+1,... or -1,-1,... for which no 
response is expected.

The next thing to notice is that you can't produce a single frequency with 
some signal that is only distributed as -1 or +1 on each sample.  So, it's no 
good just finding the peak of the loudspeaker + loudness curves either, we 
need big bands of frequencies that respond loudly.

Chuck

___
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] notes/questions from a beginner

2011-08-24 Thread András Murányi
On Wed, Aug 24, 2011 at 23:10, Jonathan Wilkes jancs...@yahoo.com wrote:

 [...]

 * has anyone used tkzinc?  On the one hand, all the new feature requests
 I've seen for future versions of tk canvas have the caveat that they are
 already implemented in tkzinc, (item grouping, transparency, full text
 rotation, etc.) but it seems like an unmaintained library at this point.


It does seem unmaintained but to what extent is it unfinished/buggy?

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


Re: [PD] notes/questions from a beginner

2011-08-24 Thread Jonathan Wilkes
Not sure yet-- I tried looking at
http://bugzilla.tkzinc.org
but it timed out.

The screenshots look neat.  I suppose I could give it a test drive.

From http://www.tkzinc.org/tkzinc/pmwiki.php?n=Main.Download:

Tkzinc is available for Unix, Windows and Mac OS X platforms under the 
LGPL license. The latest stable version is 3.3.6+ (November, 2009).
-Jonathan




From: András Murányi muran...@gmail.com
To: pd-list pd-list@iem.at
Sent: Wednesday, August 24, 2011 6:56 PM
Subject: Re: [PD] notes/questions from a beginner


On Wed, Aug 24, 2011 at 23:10, Jonathan Wilkes jancs...@yahoo.com wrote:

[...]



* has anyone used tkzinc?  On the one hand, all the new feature requests I've 
seen for future versions of tk canvas have the caveat that they are already 
implemented in tkzinc, (item grouping, transparency, full text rotation, 
etc.) but it seems like an unmaintained library at this point.


 
It does seem unmaintained but to what extent is it unfinished/buggy?

Andras

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


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


Re: [PD] notes/questions from a beginner

2011-08-24 Thread Jonathan Wilkes
Hm... tried demos/zinc-widget, and got a crash with demo #2 under Use of 
open GL when I tried to zoom in on the logo.
-Jonathan





From: Jonathan Wilkes jancs...@yahoo.com
To: András Murányi muran...@gmail.com; pd-list pd-list@iem.at
Sent: Wednesday, August 24, 2011 7:13 PM
Subject: Re: [PD] notes/questions from a beginner


Not sure yet-- I tried looking at
http://bugzilla.tkzinc.org
but it timed out.


The screenshots look neat.  I suppose I could give it a test drive.


From http://www.tkzinc.org/tkzinc/pmwiki.php?n=Main.Download:


Tkzinc is available for Unix, Windows and Mac OS X platforms under the 
LGPL license. The latest stable version is 3.3.6+ (November, 2009).

-Jonathan




From: András Murányi muran...@gmail.com
To: pd-list pd-list@iem.at
Sent: Wednesday, August 24, 2011 6:56 PM
Subject: Re: [PD] notes/questions from a beginner


On Wed, Aug 24, 2011 at 23:10, Jonathan Wilkes jancs...@yahoo.com wrote:

[...]



* has anyone used tkzinc?  On the one hand, all the new feature requests 
I've seen for future versions of tk canvas have the caveat that they are 
already implemented in tkzinc, (item grouping, transparency, full text 
rotation, etc.) but it seems like an unmaintained library at this point.


 
It does seem unmaintained but to what extent is it unfinished/buggy?

Andras

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



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


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


Re: [PD] multichannel instalation

2011-08-24 Thread Jaime Oliver
 I haven't been able to get the Sapphire to output more than two channels
 through Pd (though it is supposed to be capable of 8).

don't know this card but have you set the number of output channels to 4?

 I have tried making a multichannel patch, for eg [dac~ 1 2 3 4]. All that
 happens is I get a reduced signal from my 1 and 2 channels coming through my
 3 and 4  channels.

 On Thu, Aug 25, 2011 at 11:12 AM, FernandoG dataf...@gmail.com wrote:

 I am looking for a way to build a multichannel playback array, the idea is
 to control the movement of sound in a array of speakers in a wall. there is
 a way to do it without a super soundcard with many many outputs? a way to
 implement in pd?

 you'll need as many independent channels as independent speakers in
your array

J

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


Re: [PD] Gem VJ Tutorial patches

2011-08-24 Thread philippe boisnard
Hello

No problem to play video for me. Do you Have you the README  because if you 
don't have gridflow, it's impossible that you can play any video. 
But I haven't the preview  in the patch in OSX. 

p

Le 25 août 2011 à 00:25, Richie Cyngler a écrit :

 Hey Ant,
 
 I checked out your patch but I couldn't get it to open any video files. I 
 tried .avi, .mov and .mpg on osX.
 
 thanks
 
 On Thu, Aug 25, 2011 at 6:25 AM, Antonio Roberts anto...@hellocatfood.com 
 wrote:
 Hey,
 
 I use PD/GEM a lot for VJing using a version of this patch
 http://puredata.hurleur.com/viewtopic.php?pid=25492 It's definitely
 not a beginner's patch...
 
 One note about this patch: It only really plays videos, it doesn't do
 anything generative.
 
 Ant
 
 On 24 August 2011 21:07, Pagano, Patrick p...@digitalworlds.ufl.edu wrote:
  Hey
 
  I am soliciting examples for entry level GEM patches that work on
  linux/windows and OSX that show how to mix a video or react to sound. I
  recall a set of them called Begenswelder? That had a real good example for
  a sound reactive GEM patch but I cannot find it in my files, Please
  refresh my memory and as I asked anyone who has a simple patch(s) for
  understanding GEM or Vjing that works cross platform would be greatly
  appreciated. I have a few but I am trying to expand my cross platform
  examples.
 
  Thanks in advance
 
  pp
 
 
  ___
  Pd-list@iem.at mailing list
  UNSUBSCRIBE and account-management - 
  http://lists.puredata.info/listinfo/pd-list
 
 
 
 
 --
 07875 006 245
 anto...@hellocatfood.com
 
 
 http://www.hellocatfood.com
 
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list
 
 
 
 -- 
 Richie
 ___
 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