Re: [PD] Indexed array selection

2009-10-11 Thread Lorenzo

Hi Fred,

The list-abs library has an object [list-idx] which might be useful. 
It's pretty easy to use.


Kind regards,
Lorenzo.

Fred Smith wrote:


Hello Folks -

I know there must be an easy way to do this, but I'm having terrible 
trouble figuring it out.


Is there an easy way to use a integer input to send a message out of 
an array of messages?


Ideally, it would look like this:

[bang]
|
[2]
|
[newcommand apple beats carrots cheeseburger]
|
[print]

and the output would be carrots (given 0 based indexing). Does this 
command already exist?


(Oh, and I'm pushing this into a GEM text object, so the screen would 
say carrots in some way).


I apologize if this is obvious, my head might be fatigued. select and 
route take a value but split it into a bunch of different directions. 
I want to go the other way


Thanks for the time if anyone has a suggestion!!!



___
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] vanilla [serial] object on Windows

2009-10-11 Thread Hans-Christoph Steiner


Does anyone ever using the [serial] object in Windows that is in Pd- 
vanilla?  Its currently implemented in Tcl so I am wondering what to  
do with it in the new GUI.


.hc



Computer science is no more related to the computer than astronomy is  
related to the telescope.  -Edsger Dykstra




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


Re: [PD] pack object resolution issue

2009-10-11 Thread David Schaffer
I think I get it: the last controller value to be stored in pack (thru the 
rightmost inlet) was not beeing triggered by anything hitting the leftmost 
inlet... as a result, I could never get the extreme values. Typical Pd 
programming mistake! I corrected this and now, it works fine.

Thanks for your help.

D.S


From: David Schaffer 
Sent: Saturday, October 10, 2009 4:56 PM
To: pd list 
Subject: [PD] pack object resolution issue


Hello there, 

something strange happens to me when routing ctlin signals thru a pack 
object and then unpacking the result afterwards: my midi values seem less 
precise. I noticed it when using extreme values (either 0 or 127): it gets me 
somewhere between 0 and 18 or between 118 and 127. As a consequence, similar 
midi fader positions give me slightly different values, which is annoying 
(ctlin's direct output works fine and always gives me the same results). Has 
someone else been thru this before? Thank you!

D.S


http://www.flickr.com/photos/schafferdavid/
http://audioblog.arteradio.com/David_Schaffer/






___
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] making a perceptual spectrum analyzer

2009-10-11 Thread mescali...@gmail.com
how to make a perceptual spectrum analyzer?

the magnitude output of rfft~ seems to need some tweaking, like:
1) correcting amplitude of bins
2) spacing the bins from equally linearly spaced to equally logarithmic
spaced (for outputting a set of frequencies like: 62 125 250 500 1000
2000 4000 8000 16000)

does anyone already did it?
in part 2), apart I don't know how to do it, I'm not sure if I need to
sum up all the bins belonging to a frequency band, or to average them ...?


~



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


[PD] Turning non-audio data feeds into audio

2009-10-11 Thread Jerome Covington
Hi list!

Is anyone interested in sharing their process for turning real-time,
non-audio data feeds, into music?
See a great example of one possible direction, here.

http://vimeo.com/5415629

-- 
Regards,
Jerome Covington
 .  .  .  .   :   .  .  .  .   :
define audio development
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] making a perceptual spectrum analyzer

2009-10-11 Thread Loic Kessous
have a look if you can find some constant Q filter analyser  or bar  
filters, it can be a good starting point.


hope that helps

loic

On 11 oct. 09, at 21:26, mescali...@gmail.com wrote:


how to make a perceptual spectrum analyzer?

the magnitude output of rfft~ seems to need some tweaking, like:
1) correcting amplitude of bins
2) spacing the bins from equally linearly spaced to equally  
logarithmic

spaced (for outputting a set of frequencies like: 62 125 250 500 1000
2000 4000 8000 16000)

does anyone already did it?
in part 2), apart I don't know how to do it, I'm not sure if I need to
sum up all the bins belonging to a frequency band, or to average  
them ...?



~

___
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] Turning non-audio data feeds into audio

2009-10-11 Thread Mathieu Bouchard

On Sun, 11 Oct 2009, Jerome Covington wrote:

Is anyone interested in sharing their process for turning real-time, 
non-audio data feeds, into music? See a great example of one possible 
direction, here.


Coïncidentally, I wrote some thoughts about it in the Pd chatroom a few 
hours before your email, because of a similar topic there:


«

musical meaningfulness comes from meaningfulness of the data beforehand... 
basically, if you put garbage in, you get garbage out.


the exception to that is that a programme is a kind of data in itself, so 
the programme can be considered a kind of meaningful input... and if the 
programme imposes itself as the source of the meaning and successfully 
downplays the incoming garbage, it can make the output meaningful;


but unless one is very skilled at understanding the information theory 
standpoint of music, using random values gives you just more meaningless 
music like what you are talking about... sort of like picking a random 
book from the library of babel.


»


http://vimeo.com/5415629


now this is what I add to my above thoughts, this time in relationship to 
the video: without necessarily explicitly thinking about information 
theory, one can get to interesting results intuitively... one essentially 
has to focus on getting beautiful results for likely inputs instead of 
being content with whatever fits with the description of a certain art 
concept. Any former stock-market music I had listened to sounded like 
crap. What Patrick did was to make his programme insert so much beauty and 
coherence in the market's noise, that it made it sound meaningful... 
actually, it's more like this: the programme can only output music that 
sounds reasonably good no matter the input, and the meaningless input 
selects one of the possible nice-sounding outputs. Overall, the music is 
more shaped by Patrick's æsthetic decisions than by the stock market, and 
it's perfect like that.


so, Jérôme, I would mostly just suggest that you make patches so that the 
results sound fairly good no matter the input you give them, and 
optionally, if you can make the input also recognisable in the output, 
it's a bonus feature that can feel very rewarding, but it depends on the 
context... for feeding stockmarket data it may not matter as much, but for 
live interactive data from performers or visitors, they have to recognise 
their own impact on the music, else the point is going to be lost on them, 
really. but even for stockmarket data, it's better if you can recognise 
the stock price in the music, because if you can't, you could have taken 
that data from anywhere else and it wouldn't matter, so why would you call 
it stockmarket music then?...


so maybe you wanted people to explain their actual processes, but I hope 
that you will also enjoy this reflexion on the question of what might make 
processes be good or not.


 _ _ __ ___ _  _ _ ...
| 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


Re: [PD] making a perceptual spectrum analyzer

2009-10-11 Thread Loic Kessous
well in other words, but you probably understood you can use a filter  
bank and measure energy of each filter outputs using env~


maybe someone already did it...I don't know, else there are 24 bark  
bands, here you can find explanation:

https://ccrma.stanford.edu/~jos/bbt/Bark_Frequency_Scale.html
loic
---
have a look if you can find some constant Q filter analyser  or bar  
filters, it can be a good starting point.


hope that helps

loic

On 11 oct. 09, at 21:26, mescali...@gmail.com wrote:


how to make a perceptual spectrum analyzer?

the magnitude output of rfft~ seems to need some tweaking, like:
1) correcting amplitude of bins
2) spacing the bins from equally linearly spaced to equally  
logarithmic

spaced (for outputting a set of frequencies like: 62 125 250 500 1000
2000 4000 8000 16000)

does anyone already did it?
in part 2), apart I don't know how to do it, I'm not sure if I need to
sum up all the bins belonging to a frequency band, or to average  
them ...?



~

___
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] gem alpha channel q

2009-10-11 Thread rene beekman


how does one invert an alpha channel in gem ?
i've created an alpha channel from the rgb channels, but need the  
channel to be inverted. somehow i can't seem to find a way to do this...


hope it is just sleep deprivation and i'm simply overlooking the  
obvious... :)


thanks in advance,

rene


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


Re: [PD] gem alpha channel q

2009-10-11 Thread Hans-Christoph Steiner


Maybe you can convert alpha to a color, then invert the colors, then  
convert back to alpha.


.hc

On Oct 11, 2009, at 6:42 PM, rene beekman wrote:



how does one invert an alpha channel in gem ?
i've created an alpha channel from the rgb channels, but need the  
channel to be inverted. somehow i can't seem to find a way to do  
this...


hope it is just sleep deprivation and i'm simply overlooking the  
obvious... :)


thanks in advance,

rene


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






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] Turning non-audio data feeds into audio

2009-10-11 Thread Jerome Covington
Excellent, Mathieu.
I have a lifetime of experience in music to inform the aesthetics well.

Now I just need more on the how, and to that extent I am very interested
in process within this community.

-- 
Regards,
Jerome Covington
 .  .  .  .   :   .  .  .  .   :
define audio development

On Sun, Oct 11, 2009 at 3:05 PM, Mathieu Bouchard ma...@artengine.cawrote:

 On Sun, 11 Oct 2009, Jerome Covington wrote:

  Is anyone interested in sharing their process for turning real-time,
 non-audio data feeds, into music? See a great example of one possible
 direction, here.


 Coïncidentally, I wrote some thoughts about it in the Pd chatroom a few
 hours before your email, because of a similar topic there:

 «

 musical meaningfulness comes from meaningfulness of the data beforehand...
 basically, if you put garbage in, you get garbage out.

 the exception to that is that a programme is a kind of data in itself, so
 the programme can be considered a kind of meaningful input... and if the
 programme imposes itself as the source of the meaning and successfully
 downplays the incoming garbage, it can make the output meaningful;

 but unless one is very skilled at understanding the information theory
 standpoint of music, using random values gives you just more meaningless
 music like what you are talking about... sort of like picking a random book
 from the library of babel.

 »

  http://vimeo.com/5415629


 now this is what I add to my above thoughts, this time in relationship to
 the video: without necessarily explicitly thinking about information theory,
 one can get to interesting results intuitively... one essentially has to
 focus on getting beautiful results for likely inputs instead of being
 content with whatever fits with the description of a certain art concept.
 Any former stock-market music I had listened to sounded like crap. What
 Patrick did was to make his programme insert so much beauty and coherence in
 the market's noise, that it made it sound meaningful... actually, it's more
 like this: the programme can only output music that sounds reasonably good
 no matter the input, and the meaningless input selects one of the possible
 nice-sounding outputs. Overall, the music is more shaped by Patrick's
 æsthetic decisions than by the stock market, and it's perfect like that.

 so, Jérôme, I would mostly just suggest that you make patches so that the
 results sound fairly good no matter the input you give them, and optionally,
 if you can make the input also recognisable in the output, it's a bonus
 feature that can feel very rewarding, but it depends on the context... for
 feeding stockmarket data it may not matter as much, but for live interactive
 data from performers or visitors, they have to recognise their own impact on
 the music, else the point is going to be lost on them, really. but even for
 stockmarket data, it's better if you can recognise the stock price in the
 music, because if you can't, you could have taken that data from anywhere
 else and it wouldn't matter, so why would you call it stockmarket music
 then?...

 so maybe you wanted people to explain their actual processes, but I hope
 that you will also enjoy this reflexion on the question of what might make
 processes be good or not.

  _ _ __ ___ _  _ _ ...
 | 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