Re: [PD] list-abs

2012-07-13 Thread Frank Barknecht
On Wed, Jul 11, 2012 at 06:18:46PM +0200, João Pais wrote:
 I think this abstraction doesn't load, because it has a conflict with the 
 folder(library) name. writing [list-abs/list-abs] works out well.
 does this happen with other libraries, also with externals or just with  
 abstractions? never noticed.

As far as I remember it is related to some kind of bug in Pd-extended or the
[import] external or the libdir format or so, which fail when a libdir contains
an abstraction that has the same name as the libdir. For the same reason the
sssad abstraction was banned from Pd-extended in the past. Maybe that has
changed now.

Personally I believe, a library format where you cannot use the same name for
an object as the library's name is a flawed format. Anyway as the [list]-abs
collection is a collection of abstractions, there is no need to use -lib to
load it, use -path instead.

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


Re: [PD] Video synthesizer emulation

2012-07-13 Thread Off Screen
Ed: I don't really get what is your conversion for, can you elaborate a bit
more?
Tim: I've been already using [pix_sig2pix~] :)

That said, thanks to rdz and matju on IRC I've managed to solve the high
frequency issue. Actually the problems were two: me considering a crazy
thing to set a sample rate in the mhz domain and the hardcoded limitation
in the portaudio api of 2 mhz (if you go past this value it will reset the
sample rate without telling you, that's why my first experiments were
unsuccessful).

Right now [pix_sig2pix~] is now working as aspected, 1 mhz frequency is
enough to have all the vertical bars and stuff. I'll need to fine tune
[block~] but I think it will work quite nicely in the end.

Thanks everybody for the help!

2012/7/12 tim vets timv...@gmail.com



 2012/7/12 tim vets timv...@gmail.com

 [sig2pix~] ?

 sorry, that shoulld be: [pix_sig2pix~]

 2012/7/12 Off Screen offscr...@personalreport.it

  Hello everybody,

 I'm trying to emulate an analogue video synthesizer using GEM. My
 starting point is the LZX system, an old school analogue video synth which
 has been rebuilt today using modern circuitry components. Obviously that
 wonderful tool is way too expansive for me so I thought I could build
 something similar using Pd.

 My first goal is to succesfully emulate the Video Waveform Generator:
 http://www.youtube.com/watch?v=pbpFgvttBZw

 Here is a detailed description:
 http://www.lzxindustries.net/modules/video-waveform-generator

 I've tried to use [pix_sig2pix~], it works quite nicely and the patterns
 I get are almost identical to the ones in the video (including all the fm
 and pwm stuff). The problems are in the second part of the video, when they
 use high frequencies (~ 3mhz) to generate vertical bands. I'm pretty sure I
 can't use the same approach with Pd.

 The other option would be to use GLSL shaders, but it has two major
 drawbacks: first, it won't be using raw signal but control messages (no
 sound generation); second, it won't be patchable, once the parameters are
 converted into an image all the informations about frequencies are lost and
 I won't be able to use it to modulate another shader.

 I'd like to know from somebody who has much more experience than me what
 would be the best approach. Are there any limitations or constraints within
 the [pix_sig2pix~] object or Pd itself that I should be aware of? Any
 advice will be extremely appreciated.


 ___
 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] Reading a specific image from [pix_buffer] and saving it using [pix_write]

2012-07-13 Thread Seiichiro MATSUMURA
Thanks Charles.

As you mentioned, YUV consists Y for Luma, U and V for the color
difference of from Luma to Blue and Red(chrominance), basically
describes colors based on brightness.
I could realize  with Wikipedia.
http://en.wikipedia.org/wiki/YUV
It also seems 1 value for 2 pixels makes sense for weird saved jpeg file.

For converting YUV to RGB, the formula is necessary.
http://www.fourcc.org/fccyvrgb.php

So, I would like to know whether YUV data in buffer are automatically
recognized and converted to RGB data with this formula for saving a
jpeg file when save command to [pix_buffer] works. Otherwise, do we
have to use [pix_rgba] before putting data in [pix_buffer]?

Best,

Sei



2012/7/10 Charles Goyard c...@fsck.fr:
 Seiichiro MATSUMURA wrote:
 Somehow colors are changed, the width become half and a picture itself
 is doubled.

 iirc, in YUV you have a luminance layer (Y) and then the colors encoded
 in a strange way, like 1 value for 2 pixels for the width in the U and V
 layers. Well, something like that. Maybe it's a bug in the colorspace
 conversion because you don't make it explicit ?


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



-- 
--
__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/
Seiichiro Matsumura

s...@low-tech-ism.com
http://low-tech-ism.com/
__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/

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


Re: [PD] Reading a specific image from [pix_buffer] and saving it using [pix_write]

2012-07-13 Thread IOhannes m zmölnig

On 07/10/2012 02:03 PM, Seiichiro MATSUMURA wrote:


The attached picture named test.jpg is what I saved using the
attached patch. The original pict in a buffer is like right hand side
of another attached picture screenshot_gemwin.jpg. Somehow colors


for starters, the test.jpg, is really a TIFF image.
so it seems that the Gem is even choosing the wrong image type.


are changed, the width become half and a picture itself is doubled.
This is what I meant changing color space and resolution.


looks like a bug.


Is this not happening on your OSX?


my OSX is called linux.


I am using GEM: ver: 0.92.3.


which image-writing backends are installed (Gem should printout
something like Image saving support: QuickTime)


The printout should be come out on Pd window? There is no printout
when saving a frame of pix_buffer. How can I get it?


installing a recent version of Gem.
the last stable version of Gem is 0.93.3, and since Gem has a slow 
release cycle, this means that 0.92.3 is really old.


fgmadr
IOhannes

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


Re: [PD] scale ?

2012-07-13 Thread Фывапр Олджэвич
Hi ! And Thankyou very much !

In the end of it all I can sum:

1) [autoscale] - dynamically moves it's scale-range if it has [1( at it's 
right-most inlet (and it has it by default) . 

2) [range] - we can defy input and output range in it and linear or logarythmic 
scaling (by 1 or 0 to the right-most inlet)

3) [maxlib/scale] - works the same as [range] and seems to be it's prototype.  

So the HELP-file for [range] can be just copied from [maxlib/scale] . Maybe 
somebody can do it ? 


Thanks !



Fri, 13 Jul 2012 18:04:44 +0300 от Alexandros Drymonitis 
adr...@googlemail.com:
 
  
  
first argument: lowest value of the range you want to scale
second argument: highest value of the range you want to scale
third argument: lowest value of the desired range
forth argument: highest value of the desired range

These arguments can be replaced with numbers sent to the 2nd, 3rd, 4th and 5th 
inlet, respectively. Not sure what the last inlet does, though.

On Fri, Jul 13, 2012 at 1:22 PM, Фывапр Олджэвич tofuc...@inbox.ru wrote:
Hi everyone and thanks !

We found [range] object, which is not mentioned in helps and manuals and 
references... 

and it seems to work. 

Does anyone have HELP for this object ?

thankyou !




Thu, 12 Jul 2012 18:30:54 +0100 (BST) от Ed Kelly morph_2...@yahoo.co.uk:

 
 
 
Autoscale - I am not sure about this, but my own autoscaler needs to be 
primed by the lowest and highest values you expect from the input. Otherwise 
the patch gradually re-calibrates itself, so that a new value higher than any 
previous values will reset the scaling value.

Anyway, you can find out more about this patch - enclosed with this email.

Ed
 
Gemnotes-0.1alpha: Live music notation for Pure Data
http://sharktracks.co.uk/
 
 
 
  
--
 From: Фывапр Олджэвич tofuc...@inbox.ru
 To: PD-list pd-list@iem.at 
 Sent: Thursday, 12 July 2012, 14:45
 Subject: [PD] scale ?
   
Hi !

how to do simple scaling in PD ?

not via [autoscale] which is really unstable

there is a [scale] object in MAX  but here it is for GEM

 
___
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://drymonitis.me/

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


Re: [PD] nport configuration with pure data

2012-07-13 Thread Simon Wise

On 13/07/12 06:05, Pagano, Patrick wrote:

I am soliciting some help for using an nport serial to Ethernet controller.
I Have the nport server installed and configured and on an IP
There are 16 COMs starting at COM3 of course

Are there any objects that in pure data that might make it easy to turn 5 
projectors on/off with this device?
I want to hit it via Network and then use pd to send out rs232 controls



[comport]   is for serial ports, assuming that the nport must be providing the 
driver that makes them show up on your local system as serial ports



Simon

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