Re: [PD] naming objects

2010-04-25 Thread Frank Barknecht
Hi,

On Sat, Apr 24, 2010 at 09:35:19PM -0400, sonia yuditskaya wrote:
> I am trying to make a gaggle of objects and some of them have spun out with
> rather long names ([renderDepthSelector] is one example). 

Just a quick note: as operating systems treat upper- and lowercase in
filenames differently (Linux is picky and will not load
renderDepthSelector.pd for an object called [renderdepthselector], while
Windows and OS-X will do), I try to avoid uppercase in abstraction names.

> It seems helpful to keep that name for the object (as it may make the
> thing more self explanatory), but I would also like to make an option
> for it to form with an abbreviation (say [rds]) analogous to the way
> [trigger] and [t] function.  Do any of you brilliant minds know how to
> do that by any chance?

I assume that you talk of abstractions here. You could do wrapper
abstractions. For example rds.pd would just look like
  
  [inlet]
  |
  [renderDepthSelector $1 ...]
  |
  [outlet]

Or you go with operating system features: On *nix systems you could use
a symbolic link like "ln -s renderDepthSelector.pd rds.pd". Of course
this is machine-dependent.

Ciao
-- 
Frank

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


Re: [PD] Smooth looping

2010-04-25 Thread Frank Barknecht
Hi,

On Sat, Apr 24, 2010 at 12:12:08PM -0400, Matt Barber wrote:
> I don't do very much looping, but if intuition serves I think you need
> to find loop points that share both the same value and the same first
> derivative (if your source is more or less periodic you can think of
> this as looping several sine waves and then mixing the results, and
> though I haven't thought it through it seems like the value and
> derivative would match best in places where the phase is similar for
> each constituent at the loop points).  When I've tried to do looping,
> I've found it a little easier to find peaks with similar values,
> because I know that the derivative is the same at those peaks, while
> it's much harder to estimate the rate of change on zero-crossings.
> Anyway, for the sample you posted the best loop-point I could find was
> 2931-6153.

What irritates me is this "knocking" sound when the phasor loops back to
the beginning, which happens even with your settings, although they set
the loop to happen at places where the sample data is almost the same
over the 256 samples that lie 128 samples before and after the loop
start and end points as the overlaid arrays indicate. I'd assume that
the derivatives are sufficiently similar there, and tdditionally he
knocking doesn't sound like a click coming from a discontinuity. 

OTOH the same sound is heard when using for example the [susloop~]
external, so maybe it's indeed in the sample data.

Ciao
-- 
Frank

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


Re: [PD] Vu-Meter - WAS: nusmuk_audio

2010-04-25 Thread Raphaël Isdant
Hi, I did a first attempt to a lib for gem that includes gem_toggle, 
gem_hslider, gem_vslider, gem_knob and others...


It is not finished yet but it should work:
http://raphael.isdant.free.fr/pure_data/GemUI_abstractions04.zip


Raphaël Isdant


- Original Message - 
From: "Peter Plessas" 

To: 
Cc: "pd-list" 
Sent: Sunday, April 25, 2010 8:46 AM
Subject: Re: [PD] Vu-Meter - WAS: nusmuk_audio



colet.patr...@free.fr wrote:

very cool!

are you also projecting to include mouse bindings for grabbing a slider 
in there?
Actually not, since it's a vu-meter. But of course, doing a fader would 
not be too hard(tm). Have a try at it!


kind,
P

___
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] naming objects

2010-04-25 Thread Mathieu Bouchard

On Sun, 25 Apr 2010, Frank Barknecht wrote:

Just a quick note: as operating systems treat upper- and lowercase in 
filenames differently (Linux is picky and will not load 
renderDepthSelector.pd for an object called [renderdepthselector], while 
Windows and OS-X will do), I try to avoid uppercase in abstraction 
names.


On Windows and OSX, [renderdepthselector] won't create either, though the 
file will be open. GetProcAddress and dlsym are case-sensitive. Then after 
that, class_new is case-sensitive too (because selectors are 
case-sensitive).


Or you go with operating system features: On *nix systems you could use 
a symbolic link like "ln -s renderDepthSelector.pd rds.pd".


Only on filesystems that support it. I say that because FAT is becoming 
*more* common on those operating systems; so when you transmit the file 
using flash-memory formatted the default way, you have to tar it or zip 
it.


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


[PD] nbx: wrong return-behaviour?

2010-04-25 Thread João Pais

Hi,

I always noticed this behaviour, but never rememberd to say something  
about it. When a number is written in [nbx], it's necessary to press  
return - just like in a number box. But, unlike in a number box, after  
typing one value, if I want to type a 2nd value, when I press enter the  
number goes to 0. The only way to put in a new value is to click in the  
box again.
Isn't this behaviour a bit contradictory? Not just because one number box  
behaves differently from the other, but also because it makes it much more  
laborious to input values one after the other.


About the normal atom number box, one question: wouldn't it be better to  
allow it to have patch cords also when it has send/receive variables? (I  
guess that this has been discussed before).


João Pais

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

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


Re: [PD] nusmuk-audio / mixer aesthetics..

2010-04-25 Thread colet . patrice
hello,

it looks good and nice idea about the toggle, is there a relation with 
s-abstractions?

thanks


- "Dan Wilcox"  a écrit :

> I have similar mixer channels (mono and stereo) which I send to
> different busses on a global mixer. Works alright. Due to the vu
> taking cpu, there is a toggle box you need to click to enable the vu.
> 
> 
> On Apr 24, 2010, at 1:37 PM, servando barreiro wrote:
> 
> 
> 
> Hi
> 
> I haven´t invented anything but I want to share this:
> 
> http://servandobarreiro.es/wp-content/uploads/2010/04/mix_ser.png
> (just th image)
> 
> It´s quite simple, but I find it useful for live performing
> situations.. (and Iike that kind of aesthetic..) maybe somebody wants
> to improve it..
> 
> I was thinking about adding a vu-meter per channel but at the moment,
> I manage ok with just two into the master section (still in
> progress..). In this case, the dac~ object it´s inside the mixer.
> 
> http://minitronics.net/wp-content/uploads/2010/04/trondheim-minimixerpd.zip
> 
> enjoy..
> 
> 
> 
> 
> hello Roman
> 
> I've tried Mx everytime I used netpd, so could tell what doesn't meet
> my criteria...
> 
> there are already plenty of stuff for fx, that's nice, I've even
> stolen some stuff inside,
> like the dynamic routing, some times ago.
> 
> In fact it's a pain in the **s do a good job in such a mixer because
> of aesthetics,
> anecdotic criterium in this conversation.
> 
> There is no vu-meter in tracks, so we don't know where the signals
> come from, neither at each level it comes.
> 
> There is no peak value detection, we don't know what was the last
> highest peak value,
> to find out what sound would overhelm the mixing equilibrium.
> 
> Using different colors for the different bus is a very good idea, and
> make gaining time
> for finding the good slider,
> but some colors gives Mx an ugly apparence that could be avoided with
> choosing
> harmonious tones, for example a yellow handle over a white background
> slider, is just
> a pain for the eyes. Also the green color is very agressive.
> 
> Mixing sounds is a kind of computation where the engineer need know
> accurately
> which level he has to give to some tracks for getting a correct
> average power,
> for example if we add 3 Decibels we double power...
> The necessary stuff is just a number box that would tell how much Db
> is modulated over a slider.
> 
> 
> here is my favorite mixing tool:
> 
> http://www.soundonsound.com/sos/jan07/images/cubase5_l.jpg
> 
> _ we can choose DAC~ input and output bus
> _ phase inversion
> _ Gain level
> _ Panning is over the number of output buses we choose
> _ A 'Listen' button has been added with 'Solo', but I didn't use it
> yet.
> _ we can record/play automation from the board.
> _ we can choose if the signal that goes to the bus is pre or post
> fader.
> _ same for vu-meter (all)
> _ we can record stuff passing through the mixer, if it's audio it
> records audio, if it's midi it records midi
> _ we can access directly to the instrument from the mixer track.
> _ there is an internal EQ, very usefull and very well implemented into
> to mixer track.
> _ we can group tracks into group tracks.
> _ we can save settings of each parts of the mixer.
> 
> there are also all the settings that has effect on all the the tracks,
> like hiding all different parts of the tracks
> or setting peak detection time, copy-paste track params, an track edit
> window (so we can see all settings) ...
> 
> 
> 
> For going further in the discussion, I'd need to try Mx EQ's and
> dynamic processing fx.
> 
> This mixer is a cool project, and I'd love to use it in mine, but I'd
> need to make a stand alone patch.
> is there such one?
> 
> 
> - Mail Original -
> De: "Roman Haefeli" 
> À: "colet patrice" 
> Cc: "João Pais" , "pd-list" 
> Envoyé: Jeudi 22 Avril 2010 19h27:10 GMT +01:00 Amsterdam / Berlin /
> Berne / Rome / Stockholm / Vienne
> Objet: Re: [PD] nusmuk_audio WAS: Max Smoother Audio than Pd?
> 
> Hi Patko
> 
> On Thu, 2010-04-22 at 18:27 +0200, colet.patr...@free.fr wrote:
> I just wanted to check if someone has invented this wheel in pd...
> apparently not...
> 
> 
> 
> Have you checked mx from netpd?
> http://www.netpd.org/Mx
> 
> I am not sure, if it meets your criteria, but some of it features are:
> 
> - slot for insert-fx per channel/master channel
> - unlimited number of slots for aux-fx
> - aux-fx can be chained
> - you can write your own fx
> 
> By using some additional fx plugin suites, you can have:
> 
> - meta-fx, that pack 3 slots into one (this way you can have as many
> inserts in a chain as you want)
> - dynamic processing fx
> - EQs
> - time-based fx, such chorus, flanger, phaser
> - some funky freaky stuff, such as spectral-delay, fft-based
> pitchshifter and more.
> 
> 
> 
> 
> 
> Roman
> 
> 
> 
> 
> 
> 
> 
> 
> Dan Wilcox
> danomatika.com
> robotcowboy.com
> 
> 
> 
> 
> 
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and acco

Re: [PD] Vu-Meter - WAS: nusmuk_audio

2010-04-25 Thread colet . patrice
very nice work!

are you planning to add an enveloppe gen for controlling filter poles 
assignment or adsr ?

 I've attached pd console messages,
 not for getting help to make it work on me,
just to show how it work on pd-extended
(Pd 0.43.0devel-20100126)


I use to put sssad/sssad in my abs so it would load anytime
because there is pd/extra/sssad or because I just put the sssad version
in my project folder, it's so light.

also I don't know what is the [function~] object.

Less external objects are used, most users could load the lib.


here it is:


audio input devices:

0. Réseau de microphones (IDT High

1. Microphone / Ligne entrée (IDT 

2. Enregistr. playback (IDT High D

audio output devices:

0. Haut-parleurs / Casque (IDT Hig

API number 3


no midi input devices found

MIDI output devices:

1. Microsoft GS Wavetable Synth
audio standard (MMIO)
audio ASIO (via portaudio)
libdir loader $Revision: 1.8 $
compiled on Jan 26 2010 at 04:00:46 
compiled against Pd version 0.43.0.devel-20100126
warning: class 'pix_filmQT' overwritten\; old one renamed 'pix_filmQT_aliased'
warning: class 'pix_movieDS' overwritten\; old one renamed 'pix_movieDS_aliased'
warning: class 'pix_videoDS' overwritten\; old one renamed 'pix_videoDS_aliased'
GEM: Graphics Environment for Multimedia
GEM: ver: 0.92.2 
GEM: compiled: Dec 15 2009
GEM: maintained by IOhannes m zmoelnig
GEM: Authors :  Mark Danks (original version)
GEM:Chris Clepper
GEM:Cyrille Henry
GEM:IOhannes m zmoelnig
GEM: with help by Guenter Geiger, Daniel Heckenberg, James Tittle, 
Hans-Christop Steiner, et al.
GEM: found a bug? miss a feature? please report it:
GEM:homepage http://gem.iem.at/
GEM:bug-tracker http://sourceforge.net/projects/pd-gem/
GEM:mailing-list http://lists.puredata.info/listinfo/gem-dev/
GEM: compiled for SIMD architecture: 
SSE2 
MMX 
GEM: using 
SSE2
 optimization
Gem Man: QT init OK
this is cyclone 0.1, 55th alpha build
warning: class 'abs~' overwritten\; old one renamed 'abs~_aliased'
warning: class 'log~' overwritten\; old one renamed 'log~_aliased'
warning: class 'pow~' overwritten\; old one renamed 'pow~_aliased'
libdir_loader: added 'zexy' to the global objectclass path
libdir_loader: added 'creb' to the global objectclass path
libdir_loader: added 'cxc' to the global objectclass path
libdir_loader: added 'iemlib' to the global objectclass path
libdir_loader: added 'list-abs' to the global objectclass path
libdir_loader: added 'mapping' to the global objectclass path
libdir_loader: added 'markex' to the global objectclass path
libdir_loader: added 'maxlib' to the global objectclass path
libdir_loader: added 'memento' to the global objectclass path
libdir_loader: added 'mjlib' to the global objectclass path
libdir_loader: added 'motex' to the global objectclass path
libdir_loader: added 'oscx' to the global objectclass path
libdir_loader: added 'pddp' to the global objectclass path
libdir_loader: added 'pdogg' to the global objectclass path
libdir_loader: added 'pixeltango' to the global objectclass path
libdir_loader: added 'rradical' to the global objectclass path
libdir_loader: added 'sigpack' to the global objectclass path
libdir_loader: added 'smlib' to the global objectclass path
libdir_loader: added 'toxy' to the global objectclass path
libdir_loader: added 'unauthorized' to the global objectclass path
libdir_loader: added 'pan' to the global objectclass path
libdir_loader: added 'freeverb' to the global objectclass path
libdir_loader: added 'hcs' to the global objectclass path
libdir_loader: added 'jmmmp' to the global objectclass path
libdir_loader: added 'ext13' to the global objectclass path
libdir_loader: added 'ggee' to the global objectclass path
libdir_loader: added 'flib' to the global objectclass path
libdir_loader: added 'ekext' to the global objectclass path
libdir_loader: added 'flatspace' to the global objectclass path
setting compatibility mode to 'max'
warning (maxmode): cyclone is already loaded
warning: class 'overdrive~' overwritten\; old one renamed 'overdrive~_aliased'
warning: class 'serial' overwritten\; old one renamed 'serial_aliased'
warning: class 'sysexin' overwritten\; old one renamed 'sysexin_aliased'
libdir_loader: added 'pdmtl' to the global objectclass path
pool 0.2.1 - hierarchical storage object, (C)2002-2005 Thomas Grill
GridFlow 0.9.7, Copyright (c) 2001-2009 Mathieu Bouchard
GridFlow was compiled on Feb  7 2010, 12:48:00
startup_cpu: using MMX optimisations
sssad: can't load library
limit v0.1, written by Olaf Matthes 
expr, expr~, fexpr~ version 0.4 under GNU General Public License 
[lister] part of zexy-2.2.3 (compiled: Jan 26 2010)
Copyright (l) 1999-2008 IOhannes m zmölnig, forum::für::umläute & IEM
[repeat] part of zexy-2.2.3 (compiled: Jan 26 2010)
Copyright (l) 1999-2008 IOhannes m zmölnig, forum::für::umläute & IEM
 
function~
 
r
... couldn't create
 
function~
 
b
... couldn't create
 
function~
 
g

Re: [PD] nusmuk-audio / mixer aesthetics..

2010-04-25 Thread colet . patrice

- "Dan Wilcox"  a écrit :
 
> I mainly want easy to use, gui objects for song building etc that are
> state saving. I'm always checking out example patches sent to the list
> and adding things.
> 


 This example is really near what I'd need to do for playing music easy with pd,
the song is in a pd file I guess with state-saving objects,
 so we're not limited by a patching design during the piece creation.

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


Re: [PD] nusmuk-audio / mixer aesthetics..

2010-04-25 Thread Dan Wilcox

On Apr 25, 2010, at 5:29 PM, colet.patr...@free.fr wrote:

> 
> - "Dan Wilcox"  a écrit :
> 
>> I mainly want easy to use, gui objects for song building etc that are
>> state saving. I'm always checking out example patches sent to the list
>> and adding things.
>> 
> 
> This example is really near what I'd need to do for playing music easy with 
> pd,
> the song is in a pd file I guess with state-saving objects,
> so we're not limited by a patching design during the piece creation.

Exactly. The idea is that the Unit-Control patch has the dac~, data 
connections, mixer, ect.  You just write the patch and use the associative 
sends and receives. I'm working to clean up my tools and release them as a full 
suite quite soon (includes hid device daemon and 2d visuals).


Dan Wilcox
danomatika.com
robotcowboy.com




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


Re: [PD] nusmuk_audio WAS: Max Smoother Audio than Pd?

2010-04-25 Thread Roman Haefeli
On Sat, 2010-04-24 at 19:46 -0400, Mathieu Bouchard wrote:
> On Thu, 22 Apr 2010, Roman Haefeli wrote:
> 
> > 
> > I am not sure, if it meets your criteria, but some of it features are:
> 
> That's not marketing lingo. Instead, you would be saying : «
> 
> I am sure that it meets your criteria. NetPd has the features that YOU 
> need. You are a hard-working composer who values quality and innovation, 
> and this is why NetPd is the lifestyle you deserve.
> 
> NetPd is standards-compliant for one good reason : it is setting the 
> standard. For many years, NetPd has been pushing the envelope beyond the 
> future. NetPd is synergising best-of-breed online music communities all 
> over the infobahn, producing a paradigm shift in which you can become a 
> key player. Leverage your assets using NetPd, the choice of the new 
> generation !

Yeah! Sounds great! 

Right, it was not true marketing lingo. Anyway, I was too lazy to go
into detail and by mentioning only the features it offers, you probably
get a too optimistic view. That's why i tagged it 'marketing lingo'.

Anyway, thanks for the beautiful marketing sentences. 

Roman



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


Re: [PD] PD autoselects from a folder

2010-04-25 Thread Derek Holzer

Try [playlist] from unauthorized

D.

On 4/24/10 6:17 PM, Andrew Faraday wrote:

Hey All

It's the perpetual newbie here again. I've been working on a  
generative gem patch (to run on a seperate machine when I work) and  
I want this to load and re-load images from a selected folder. So  
far the only thing remotely like it I've found is [openpanel] which  
requires a user to choose. I really want an object to load files  
from this directory randomly or sequentially without human  
interaction. I think I've seen something like this before, just no  
idea what it is.



--
::: derek holzer ::: http://macumbista.net :::
---Oblique Strategy # 204:
"What do you do? Now, what do you do best?'"



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


Re: [PD] xcode compiling issue

2010-04-25 Thread Hans-Christoph Steiner


Try the libdir template:

http://puredata.info/docs/developer/MakefileTemplate/?searchterm=template%20makefile

Just copy that folder, rename it to your lib name, drop your externals  
into it, add them to the makefile, then run "make".  It'll  
automatically build as universal i386/ppc.  You could add x86_64 to it  
easily enough.


.hc

On Apr 23, 2010, at 5:15 PM, Andrew May wrote:

I'm having trouble using xcode to compile an external (not audio,  
pretty simple c code).

Using Intel machine, OS 10.5, xcode 3.0;
I followed the directions in :
http://puredata.info/docs/developer/PdExternalsInXcode/
and it appears to compile cleanly. However, when I try to use the  
external in a patch I get a dlopen error:


no suitable image found.  Did find:
	( ... the compiled external ... ): unknown file type, first eight  
bytes: 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A


Has anyone found this error and/or a solution?

Failing that, could anyone share a robust makefile for building an  
external that runs on both ppc and i386 using gcc?
I tried that, but got "Undefined symbols" errors for all the pd  
classes (perhaps it's not finding m_pd.h, but I thought I set the  
path carefully enough...)


Many thanks for any help!

Andrew

*

Andrew May
Associate Professor of Music
Director, Center for Experimental Music and Intermedia

College of Music, Box 311367
University of North Texas
Denton, TX  76203-1367

1.940.891.6816 tel
1.940.565.2002 fax






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






Mistrust authority - promote decentralization.  - the hacker ethic



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


Re: [PD] naming objects

2010-04-25 Thread João Pais

about the abbreviation, I would think twice. only because there are
already lots of objects around, and it might happen that you double some
name already used by someone. since there is no system to look at which
names are being used and developers don't look much around to prevent it,
nameclashes do occur.
the good point about the big names (with or without capitals, makes no
difference) is that your objects won't be confused with anyone else's.

or you use some individual abbreviation technique, like [r_d_s], etc.

or you ignore this message.


João Pais


Greetings Everyone,
I am trying to make a gaggle of objects and some of them have spun out  
with
rather long names ([renderDepthSelector] is one example). It seems  
helpful

to keep that name for the object (as it may make the thing more self
explanatory), but I would also like to make an option for it to form  
with an

abbreviation (say [rds]) analogous to the way [trigger] and [t] function.
Do any of you brilliant minds know how to do that by any chance?
Many many thanks in advance for your advice,
as always,
Sonia Yuditskaya
] yuditskaya.com [



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

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


[PD] table abstractions

2010-04-25 Thread Matt Barber
Hello list,

For a while there had been talk about starting a vanilla-only
table-abstraction collection in the spirit of list-abs and the iem_tab
objects.  This could be useful both for manipulation of or
calculations using table data and for populating tables with desired
data (in the manner of the csound GEN routines).

I'd love to start it, but I don't know if I have enough Pd cred yet to
be in charge of it.  There are a few problems I'd like input on:

1) Naming -- would it be worth it to have different prefixes for
objects which manipulated data, e.g. [table-reverse], and objects
which populated tables, e.g. [tabwrite-blackman]?

2) Input-Output -- for the ones which manipulate data, should that
generally happen in place unless a destination table is provided --
[table-qsort foo] sorts table values in table named foo and writes
results back to foo, while [table-qsort foo bar] would sort foo's
values and write them into bar?

3) In general I'm assuming that the objects which populate tables
should simply write to a table, not internally provide the table to be
written to.  For instance, I'm thinking a [tabwrite-hann foo] which
writes a hann window into foo would be more useful than a [table-hann
foo] which internally instantiated a table called foo AND wrote a hann
window to it, and responded to messages like "resize" with a larger or
smaller hann window (I think accessing the table from without might be
too buggy for this to be worth it).

4) Interpolation -- I'm also assuming that anything which would write
a table that would usually be read by [tabread4~] or [tabosc4~] should
write the guard points for proper interpolation by default.


I've attached an example [tabwrite-chebyshev], which writes a weighted
sum of chebyshev polynomials of the first kind to a table, probably
for use with waveshaping, as an example of what I'm thinking of, and
of a few options members of such a collection might have.
(Incidentally, it might be a good idea to abbreviate this particular
one to "cheb" or "cheby" due to the many transliterations, or even
something like "chebsum" to name it like the sinesum or cosinesum
array methods.)


My thought is that many of us have already been making and using
abstractions like these, and I think it would be worth it to collect
them in a vanilla library for general use.

Matt


tabwrite-chebyshev.pd
Description: Binary data


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


Re: [PD] table abstractions

2010-04-25 Thread João Pais
I've made a [arra-yedit] abstraction. but not vanilla-only. it's not for  
full use, but there are some things there that might be useful.


jmmmp/arra-yedit


Hello list,

For a while there had been talk about starting a vanilla-only
table-abstraction collection in the spirit of list-abs and the iem_tab
objects.  This could be useful both for manipulation of or
calculations using table data and for populating tables with desired
data (in the manner of the csound GEN routines).

I'd love to start it, but I don't know if I have enough Pd cred yet to
be in charge of it.  There are a few problems I'd like input on:

1) Naming -- would it be worth it to have different prefixes for
objects which manipulated data, e.g. [table-reverse], and objects
which populated tables, e.g. [tabwrite-blackman]?

2) Input-Output -- for the ones which manipulate data, should that
generally happen in place unless a destination table is provided --
[table-qsort foo] sorts table values in table named foo and writes
results back to foo, while [table-qsort foo bar] would sort foo's
values and write them into bar?

3) In general I'm assuming that the objects which populate tables
should simply write to a table, not internally provide the table to be
written to.  For instance, I'm thinking a [tabwrite-hann foo] which
writes a hann window into foo would be more useful than a [table-hann
foo] which internally instantiated a table called foo AND wrote a hann
window to it, and responded to messages like "resize" with a larger or
smaller hann window (I think accessing the table from without might be
too buggy for this to be worth it).

4) Interpolation -- I'm also assuming that anything which would write
a table that would usually be read by [tabread4~] or [tabosc4~] should
write the guard points for proper interpolation by default.


I've attached an example [tabwrite-chebyshev], which writes a weighted
sum of chebyshev polynomials of the first kind to a table, probably
for use with waveshaping, as an example of what I'm thinking of, and
of a few options members of such a collection might have.
(Incidentally, it might be a good idea to abbreviate this particular
one to "cheb" or "cheby" due to the many transliterations, or even
something like "chebsum" to name it like the sinesum or cosinesum
array methods.)


My thought is that many of us have already been making and using
abstractions like these, and I think it would be worth it to collect
them in a vanilla library for general use.

Matt



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

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


Re: [PD] table abstractions

2010-04-25 Thread Jonathan Wilkes
If the only non-vanilla object is [arraysize] you can substitute [expr] and 
make it 
compatible with pd-vanilla

-Jonathan

--- On Sun, 4/25/10, João Pais  wrote:

From: João Pais 
Subject: Re: [PD] table abstractions
To: "PD-List" , "Matt Barber" 
Date: Sunday, April 25, 2010, 10:36 PM

I've made a [arra-yedit] abstraction. but not vanilla-only. it's not for  
full use, but there are some things there that might be useful.

jmmmp/arra-yedit

> Hello list,
>
> For a while there had been talk about starting a vanilla-only
> table-abstraction collection in the spirit of list-abs and the iem_tab
> objects.  This could be useful both for manipulation of or
> calculations using table data and for populating tables with desired
> data (in the manner of the csound GEN routines).
>
> I'd love to start it, but I don't know if I have enough Pd cred yet to
> be in charge of it.  There are a few problems I'd like input on:
>
> 1) Naming -- would it be worth it to have different prefixes for
> objects which manipulated data, e.g. [table-reverse], and objects
> which populated tables, e.g. [tabwrite-blackman]?
>
> 2) Input-Output -- for the ones which manipulate data, should that
> generally happen in place unless a destination table is provided --
> [table-qsort foo] sorts table values in table named foo and writes
> results back to foo, while [table-qsort foo bar] would sort foo's
> values and write them into bar?
>
> 3) In general I'm assuming that the objects which populate tables
> should simply write to a table, not internally provide the table to be
> written to.  For instance, I'm thinking a [tabwrite-hann foo] which
> writes a hann window into foo would be more useful than a [table-hann
> foo] which internally instantiated a table called foo AND wrote a hann
> window to it, and responded to messages like "resize" with a larger or
> smaller hann window (I think accessing the table from without might be
> too buggy for this to be worth it).
>
> 4) Interpolation -- I'm also assuming that anything which would write
> a table that would usually be read by [tabread4~] or [tabosc4~] should
> write the guard points for proper interpolation by default.
>
>
> I've attached an example [tabwrite-chebyshev], which writes a weighted
> sum of chebyshev polynomials of the first kind to a table, probably
> for use with waveshaping, as an example of what I'm thinking of, and
> of a few options members of such a collection might have.
> (Incidentally, it might be a good idea to abbreviate this particular
> one to "cheb" or "cheby" due to the many transliterations, or even
> something like "chebsum" to name it like the sinesum or cosinesum
> array methods.)
>
>
> My thought is that many of us have already been making and using
> abstractions like these, and I think it would be worth it to collect
> them in a vanilla library for general use.
>
> Matt


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

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



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


Re: [PD] naming objects

2010-04-25 Thread Ed Kelly
Well...that got me thinking. I've often wondered how to avoid nameclashes.
If each object has a prefix then this could be avoided.

So, jmmmp externs could be called jmmmp.prepend or jmmmp.rds etc (or jmmmp_rds 
- whatever flavour suits your tongue!)


Otherwise there are nameclashes that can seriously screw up a collection of 
abstractions. So, for example, the latest Metastudio objects have a 
phasevocoder~ abstraction (using pvoc~ from the bsaylor objects) but a lot of 
the other objects use the svf~ from cyclone (not bsaylor/svf~). Once bsaylor is 
imported into Pd-extended, the svf~ will always default to the bsaylor one 
(that has a denormal error, although I think I fixed this - anyone for testing?)

I got round this by setting the objects in PD to cycone/svf~ and bsaylor/pvoc~ 
(in case anyone else makes a pvoc~ object). But many PD users, especially those 
used to Mac or Windowze, will not know that you can access the directory 
structure of the extra folder directly within PD.

I think I might have to rename all my abstractions now...or maybe I'm too lazy 
until it becomes a problem.

Ed

Metastudio 3 for Pure Data - Free download at:
http://sharktracks.co.uk/puredata



- Original Message 
From: João Pais 
To: pd-list@iem.at; sonia yuditskaya 
Sent: Sun, 25 April, 2010 18:08:03
Subject: Re: [PD] naming objects

about the abbreviation, I would think twice. only because there are
already lots of objects around, and it might happen that you double some
name already used by someone. since there is no system to look at which
names are being used and developers don't look much around to prevent it,
nameclashes do occur.
the good point about the big names (with or without capitals, makes no
difference) is that your objects won't be confused with anyone else's.

or you use some individual abbreviation technique, like [r_d_s], etc.

or you ignore this message.


João Pais

> Greetings Everyone,
> I am trying to make a gaggle of objects and some of them have spun out with
> rather long names ([renderDepthSelector] is one example). It seems helpful
> to keep that name for the object (as it may make the thing more self
> explanatory), but I would also like to make an option for it to form with an
> abbreviation (say [rds]) analogous to the way [trigger] and [t] function.
> Do any of you brilliant minds know how to do that by any chance?
> Many many thanks in advance for your advice,
> as always,
> Sonia Yuditskaya
> ] yuditskaya.com [


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

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



  

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


Re: [PD] length in midifile

2010-04-25 Thread Martin Peach

PF wrote:

i'm no expert in midi, but i want to send midi notes (and durations)
from a .mid file to a synth of mine.
i see the midifile help has a bunch of stuff for noteOn and noteOff
events, but it's confusing to me. if anyone can clarify a bit i'd
really appreciate that.


[midifile] outputs lists made up of midi messages, the first item in the
list is always a status byte, a number between 128 and 255.
So something like:

[midifile]
|
[route 144]
|
[noteout]

will route note-ons on channel 1 to the midi output device, because the
status byte for note on is 144.

[midifile]
|
[route 144]
|
[unpack 0 0]
| |

will give you the note number and velocity.
This works if the file is a single track. For multi-track you might also 
 want to select a track with the [track n( message.
Usually the duration of a note is determined when the note-off message 
is sent. There is a status 128 for note-off but usually note-on with 
velocity 0 is used instead.


If there are controllers in the file you can add a [route 176] and send 
them to [ctlout].


Martin



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


Re: [PD] Piezo device comanding a bang in Pd through arduino

2010-04-25 Thread Peter Plessas

Camilo Cadavid Corredor wrote:

Hello, I am new to arduino. I plan to connect a piezo device which can send a 
signal to b recognized by pd as a bang. I was able to download the firmware 
into arduino, and worked with the popular example of connection to pd found in 
the web. Now i am interested in knowing what .pde file should I program for the 
piezo device to be recognized. Finding out how I should connect the piezo to 
the arduino, and rewireing this to Pd.
Not sure what you are trying to do, but could connecting the piezo to 
the computer's soundcard, and detecting a volume peak within pd, do the 
same thing?


P

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