[PD] ==~ and avg~ not recognised

2013-11-01 Thread peiman khosravi
Dear all,

Is this a bug? OS X 10.7.5 and Pd 0.45.3 (vanilla)?

If so please let me know and I will report it.

Best,
Peiman





*www.peimankhosravi.co.uk || RSS
Feedhttp://peimankhosravi.co.uk/miscposts.rss ||
Concert News http://spectralkimia.wordpress.com/*


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


Re: [PD] Oculus Rift shader in pd/Gem

2013-11-01 Thread Michael Mihocic

Hello Cyrille!

Thank you again! That was the problem, you were right!! I was searching 
for a bug or explanation among the wrong objects
I think it should be working now! I try to implement it to a more 
complex world.


Br, Michael


 Original-Nachricht 
Betreff: Re: Oculus Rift shader in pd/Gem
Von: Cyrille Henry c...@chnry.net
An: Michael Mihocic michael.miho...@oeaw.ac.at, pd-liste List 
PD-list@iem.at

Datum: 31.10.2013 17:13

hello Michael,

translate did not work because the shader did not use the 
transformation matrix (that translate, scale etc are modifying). the 
shader use texture corrdinate as vertex position.

see this line in the vert shader :
gl_Position = gl_Vertex;
usually you have somthing like :
gl_Position = ftransform();

cheers
c

Le 31/10/2013 16:31, Michael Mihocic a écrit :

Hy Cyrille,

based on your example I could implement the Rift shadering and I can 
render the left and right eye seperatly. Thank you once again!


But the two shadered images (left and right) are behind each other 
and I cannot use translateXYZ (x-axis translation) to move them to 
their sides!? Do you have any idea?? The attached example 
(rift_example.pd) includes more comments and is probably a better 
explanation...


Br, Michael



 Original-Nachricht 
Betreff: [GEM-dev] Fwd: Re: Oculus Rift distortion/support
Datum: Sun, 27 Oct 2013 18:51:33 +0100
Von: Michael Mihocic michael.miho...@oeaw.ac.at
An: gem-...@iem.at


Hy Cyrille,

thank you again for your quick reply!!
Good idea, I also replied to the Gem list! (I'm not registered at the 
pd list...)

(Sorry, if someone might be annoyed about my attachments...)

Attached you can find my progress so far but I have to mention that 
my scripts are still under construction - and not only the 
parameters far from optimized ;-)


My example consists of:
- rift_list.pd- is the pd patch to be started, follow the 
instructions on top of the file
- riftshader.pd is used for the distortion parameters, when using the 
shaders:

- r4.frag/r4.vert are the shader files
- test.jpg is just any test file which will be distorted

I'm not using gemframebuffers in my patch. Currently I am simply 
loading 2 times the same image and processing the barrel distortions 
on each half of the image, left and right.
But as I described below, our actual world does not consist of one 
image but of many objects (spheres, cubes, lines,...) within a big 
sphere, and the user can rotate his head inside the sphere. 
((tracking will not be done with Oculus Rift tracker))
- theoretically, my perfect solution would be to apply the 
distortion to the entire stereo gemwin somehow!? ;-)


Following the idea of your patch and introducing gemframebuffers, do 
you think I can realize it that way:
- every object needs to be rendered twice instead of once, and in a 
framebuffer, sent to the abstraction gemhead_rift
- the barrel distortion is applied in the abstraction gemhead_rift, 
the parameters depending on left or right
- instead of using stereo, I create a wider window and add 
X-axis-translation


Do you think it should work that way?

Br, Michael


--
Michael Mihocic
Psychoacoustics  Experimental Audiology
Acoustics Research Institute http://www.kfs.oeaw.ac.at/
Austrian Academy Of Sciences http://www.oeaw.ac.at/
Wohllebengasse 12-14 / 1
A-1040 Vienna, Austria
Tel: +43 (1) 51581 2515 (Office)
Tel: +43 (1) 51581 2525 (Lab)
Fax: +43 (1) 51581 2530
michael.miho...@oeaw.ac.at mailto:michael.miho...@oeaw.ac.at
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] Appending soundfiler external?

2013-11-01 Thread Fred Jan Kraan
Is there an external which allows writing arrays to sound files (WAV,
AIF, ..), with the ability to append to existing files? It would be much
like soundfiler but with an additional append message. Soundfiler
overwrites the file on a write message.

It is possible as I succeeded in adding an append argument to
soundfiler object. But if there is already such an object I can spare
myself the trouble of making it more complete and robust.

This is for a project that tries to clean up existing sound files by
reading them chunk by chunk into an array, processes the array contents
and writing the result to a different file. This not necessary in real
time, as the files are large (+/- 1 hour of CD-quality audio).

Fred Jan

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


Re: [PD] ==~ and avg~ not recognised

2013-11-01 Thread Alexandros Drymonitis
Is [==~] a vanilla object?

 On 1 Νοε 2013, at 11:31, peiman khosravi peimankhosr...@gmail.com wrote:
 
 Dear all, 
 
 Is this a bug? OS X 10.7.5 and Pd 0.45.3 (vanilla)? 
 
 If so please let me know and I will report it.
 
 Best,
 Peiman
 
 
 
 
 www.peimankhosravi.co.uk || RSS Feed || Concert News
 test.pd
 ___
 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] ==~ and avg~ not recognised

2013-11-01 Thread peiman khosravi
You are right. I'm an idiot!

Sorry for the noise.

P




*www.peimankhosravi.co.uk || RSS
Feedhttp://peimankhosravi.co.uk/miscposts.rss ||
Concert News http://spectralkimia.wordpress.com/*


On 1 November 2013 10:11, Alexandros Drymonitis adr...@gmail.com wrote:

 Is [==~] a vanilla object?

 On 1 Νοε 2013, at 11:31, peiman khosravi peimankhosr...@gmail.com wrote:

 Dear all,

 Is this a bug? OS X 10.7.5 and Pd 0.45.3 (vanilla)?

 If so please let me know and I will report it.

 Best,
 Peiman




 *www.peimankhosravi.co.uk || RSS 
 Feedhttp://peimankhosravi.co.uk/miscposts.rss ||
 Concert News http://spectralkimia.wordpress.com/*

 test.pd

 ___
 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] ultrasonic networking in Pd?

2013-11-01 Thread Jonathan Wilkes
Has anyone done a demo of ultrasonic networking in Pd?

http://boingboing.net/2013/10/31/badbios-airgap-jumping-malwar.html

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