Re: [PD] opinions on the issue of concurrent implementations (was: getting sample rate of file loaded into an array)

2012-10-05 Thread Roman Haefeli
On Thu, 2012-10-04 at 13:16 -0700, Jonathan Wilkes wrote: [...] Also, I wanted to know which is mature enough so that it's worth to write bug reports to its author. This consumes quite some time and I think everyone who discovers that there are many solutions for her problem needs to

[PD] mrpeach/binfile under Ubuntu 12.04

2012-10-05 Thread Nicolas Montgermont
Hello all, I want to use [mrpeach/binfile] under Ubuntu 12.04 but I don't know how to manage. I can't find it in any pd-... packet under synaptic, and the makefile in the svn/.../externals/mrpeach directory is nearly empty and not working here. Is there some easy solution? Thanks, n ps :

[PD] nearest neighbour matching?

2012-10-05 Thread Claude Heiland-Allen
Hi list, I have a -batch patch that randomly samples the parameter space of control signals to (some black box)* and uses [sigmund~] to detect pitched-ness vs unpitchedness, keeping the pitch info and then a notch filter to detect distortion:

Re: [PD] mrpeach/binfile under Ubuntu 12.04

2012-10-05 Thread Antoine Villeret
hello, i just manage to build it by hands in two steps : $ gcc -fPIC -DPD -O2 -funroll-loops -fomit-frame-pointer -ffast-math -Wall -W -Wno-unused -Wno-parentheses -Wno-switch -g -DLINUX -I/home/antoine/pd/pd/src -o binfile.pd_linux binfile.o $ gcc -Wl,--export-dynamic -shared -o

Re: [PD] nearest neighbour matching?

2012-10-05 Thread Jamie Bullock
Hi Claude, On 5 Oct 2012, at 09:47, Claude Heiland-Allen cla...@mathr.co.uk wrote: Hi list, I have a -batch patch that randomly samples the parameter space of control signals to (some black box)* and uses [sigmund~] to detect pitched-ness vs unpitchedness, keeping the pitch info and

Re: [PD] list deinterleave question

2012-10-05 Thread peiman khosravi
Wow that's great. Thanks you very much indeed. Now I'm going to figure out how it works. All the Best, Peiman On 5 October 2012 00:06, i go bananas hard@gmail.com wrote: there is a useful library called [list-abs], which has lots of those sort of things, but in this case, i couldn't find

Re: [PD] array size (was Re: arraysize)

2012-10-05 Thread Ed Kelly
 will do exactly that. Having a patch that works like this but I don't know why is a bad thing. I'd be sure to find the tiny DC component a nuisance at some point. Did you? Well...thanks for asking. I feel mildly stupid for suggesting that, but this has caused me to test my hypothesis and

Re: [PD] nearest neighbour matching?

2012-10-05 Thread Ed Kelly
Hi Claude, On 5 Oct 2012, at 09:47, Claude Heiland-Allen cla...@mathr.co.uk wrote: Hi list, I have a -batch patch that randomly samples the parameter space of control signals to (some black box)* and uses [sigmund~] to detect pitched-ness vs unpitchedness, keeping the pitch info

[PD] hip~ nyquist gain bug test patch [Was: arraysize]

2012-10-05 Thread Claude Heiland-Allen
On 03/10/12 15:22, Claude Heiland-Allen wrote: On 02/10/12 16:15, Miller Puckette wrote: 1. there's a bug in hip~ - its DC gain is slightly (and possibly considerably) greater than 1. Did you mean nyquist-frequency rather than DC here? See attached test patch that waits 10 seconds for

Re: [PD] list deinterleave question

2012-10-05 Thread i go bananas
basically what i did, was drip the list one element at a time, using [list-drip]. Then, i prepend each element with alternative 0's and 1's, generated by [f ]x[==]. By using [route], those elements are then sent alternatively left and right to an accumulator made with [list prepend]. finally,

Re: [PD] nearest neighbour matching?

2012-10-05 Thread Jamie Bullock
On 5 Oct 2012, at 10:20, Ed Kelly morph_2...@yahoo.co.uk wrote: There may be a way to use the simile algorithm (from ekext) that gives the matched-ness of two numbers based on an arbitrary window size, but it still might involve rolling your own. I have a feeling KNN is very

Re: [PD] list deinterleave question

2012-10-05 Thread peiman khosravi
Thanks for the explanation. That's really clever. Best, Peiman PS this kind of user-community support is exactly why I decided to leave max behind. Try asking a question on the max forum these days! On 5 October 2012 10:42, i go bananas hard@gmail.com wrote: basically what i did, was drip

Re: [PD] mrpeach/binfile under Ubuntu 12.04

2012-10-05 Thread Nicolas Montgermont
Thanks Antoine but that didn't make it. finally I copied the externals/template makefile inside the binfile folder, replaced a few strings and that make it. can't understand why the mrpeach/makefile is broken though. best, n Le 05/10/12 10:49, Antoine Villeret a écrit : hello, i just manage

[PD] Recording audio to mp3 using LAME or ffmpeg ?

2012-10-05 Thread Pierre Massat
Dear List, How would you go about recording the audio output of a Pd patch directly to mp3 (or any other compressed format actually), without using the object from the Unauthorized library ? Would it be feasible to use the [shell] object with a script using ffmpeg or LAME ? I don't really know

Re: [PD] Can't create Gem window

2012-10-05 Thread Ed Kelly
do glxgears work? yes. if so, what is your pixel-depth? Gem wants to create a 24bit buffer, so if you are running your X in 8bit/palette mode it will bail out. xorg.conf says 24, using proprietary ATI driver for the HD7700 DefaultDepth     24   this is what Gem requests: {

Re: [PD] Recording audio to mp3 using LAME or ffmpeg ?

2012-10-05 Thread Claude Heiland-Allen
On 05/10/12 11:55, Pierre Massat wrote: Dear List, How would you go about recording the audio output of a Pd patch directly to mp3 (or any other compressed format actually), without using the object from the Unauthorized library ? Would it be feasible to use the [shell] object with a script

Re: [PD] Can't create Gem window

2012-10-05 Thread Claude Heiland-Allen
Hey, On 05/10/12 12:09, Ed Kelly wrote: Intel Core i5 Radeon HD7700 graphics card. Ubuntu 10.04 64bit OS? This is probably irrelevant as Wheezy is newer than Lucid, but... In Debian Wheezy I have no end of trouble with proprietary NVIDIA driver due to multiarch transition, in the end my

Re: [PD] Recording audio to mp3 using LAME or ffmpeg ?

2012-10-05 Thread Charles Goyard
Hi Pierre, Pierre Massat wrote: How would you go about recording the audio output of a Pd patch directly to mp3 (or any other compressed format actually), without using the object from the Unauthorized library ? ffmpeg can read from the audio driver, there's an example in the manual page. ++

[PD] Audio Preferences device list usability

2012-10-05 Thread Jamie Bullock
Hi, Does anyone know where the device names that populate the Audio Settings preferences panel come from? For example on my Mac, I'm getting things like: (0)Built-in Microph What does (0) mean? Not the zero'th device, because for Output devices, both outputs are prefixed with (0).

Re: [PD] mrpeach/binfile under Ubuntu 12.04

2012-10-05 Thread Martin Peach
On 2012-10-05 05:52, Nicolas Montgermont wrote: Thanks Antoine but that didn't make it. finally I copied the externals/template makefile inside the binfile folder, replaced a few strings and that make it. can't understand why the mrpeach/makefile is broken though. best, n I think the idea is

Re: [PD] nearest neighbour matching?

2012-10-05 Thread umberto torrez
hi Claude, why you just dont calculate the distance between your values for calculating similarity? is that possible? cheers U. 2012/10/5 Jamie Bullock ja...@jamiebullock.com On 5 Oct 2012, at 10:20, Ed Kelly morph_2...@yahoo.co.uk wrote: There may be a way to use the simile

Re: [PD] Raspberry Pi (Raspbian Wheezy) / Pd-extended 0.43.3 / Arduino

2012-10-05 Thread Hans-Christoph Steiner
The actual Pduino 0.5 release instead of the beta version also fixes this: https://puredata.info/downloads/pduino .hc On 10/04/2012 09:07 PM, Epic Jefferson wrote: Actually, i answered my own question. updated [arduino] object, compatible with pd-extended 0.43.3

Re: [PD] Pd-extended on the Raspberry Pi

2012-10-05 Thread Hans-Christoph Steiner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 I think tedbot created a rpi page on puredata.info/downloads .hc On 10/04/2012 08:24 PM, Epic Jefferson wrote: it worked! i'll be adding the updated process to the wiki over the weekend, just need to get organized. is there a place i can

Re: [PD] Recording audio to mp3 using LAME or ffmpeg ?

2012-10-05 Thread Hans-Christoph Steiner
I think there is mp3write~ in 'unauthorized' lib but I've never used it. There is the pdogg lib, which has oggwrite~. .hc On 10/05/2012 06:55 AM, Pierre Massat wrote: Dear List, How would you go about recording the audio output of a Pd patch directly to mp3 (or any other compressed format

Re: [PD] fftease 64-bit?

2012-10-05 Thread Hans-Christoph Steiner
On 10/04/2012 06:08 PM, plutek wrote: From: Hans-Christoph Steiner h...@at.or.at Subject: Re: [PD] fftease 64-bit? Date: Thu, 04 Oct 2012 17:50:05 -0400 On 10/04/2012 05:38 PM, plutek wrote: From: plutek plu...@infinity.net Date: Thu, 04 Oct 2012 16:51:35 -0400 (EDT) update, in case

Re: [PD] fftease 64-bit?

2012-10-05 Thread plutek
From: Hans-Christoph Steiner h...@at.or.at Date: Fri, 05 Oct 2012 14:26:50 -0400 Here you go: svn co https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/externals/fftease cd fftease make If you move the whole 'fftease' folder into ~/pd-externals, you'll have a full libdir

[PD] Convert numerical value to bang

2012-10-05 Thread Rick T
Greetings All Is their a way to convert numerical values to a bang? Example: a number 1-10 will be converted to a bang Thanks Rick ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list

Re: [PD] fftease 64-bit?

2012-10-05 Thread plutek
From: Hans-Christoph Steiner h...@at.or.at Date: Fri, 05 Oct 2012 14:26:50 -0400 Here you go: svn co https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/externals/fftease cd fftease make If you move the whole 'fftease' folder into ~/pd-externals, you'll have a full libdir

Re: [PD] Convert numerical value to bang

2012-10-05 Thread Scott R. Looney
[= 10] | [sel 1] | [O] (the bang object) or [t b] (trigger bang) should work. scott On Fri, Oct 5, 2012 at 1:27 PM, Rick T ratull...@gmail.com wrote: Greetings All Is their a way to convert numerical values to a bang? Example: a number 1-10 will be converted to a bang Thanks Rick

[PD] counting how many times an audio file is looped

2012-10-05 Thread Rick T
Greetings All I'm trying to count how may times an audio file is looped then cause it to stop after say 6 loops. 1) I plan on using the select object to compare the sample size (22050) to where the playing wav file is located 2) create a bang into cup object from the select object, this will

Re: [PD] counting how many times an audio file is looped

2012-10-05 Thread Charles Henry
On Fri, Oct 5, 2012 at 4:25 PM, Rick T ratull...@gmail.com wrote: Greetings All I'm trying to count how may times an audio file is looped then cause it to stop after say 6 loops. 1) I plan on using the select object to compare the sample size (22050) to where the playing wav file is located

Re: [PD] Pd-extended 0.43 and Openbox

2012-10-05 Thread Hans-Christoph Steiner
On 10/04/2012 08:11 AM, Nicola Pandini wrote: Il 04/10/2012 02:08, Simon Wise ha scritto: On 04/10/12 04:07, Hans-Christoph Steiner wrote: Sounds like this should actually be: set x [ expr max($x % $screenwidth - $::windowframex, 0)] set y [ expr max($y % $screenheight - $::windowframey,

Re: [PD] counting how many times an audio file is looped

2012-10-05 Thread Rick T
Yes I am using tabread4~ I looked up vline~ in the help but it seems to be missing some info on the second and third inlets. Is there some more information about this object. I'm using PD .42.5 extended on ubuntu 10.04 64bit I tried doing this but I get an error error: can't connect signal

Re: [PD] Convert numerical value to bang

2012-10-05 Thread Rick T
Thanks On Fri, Oct 5, 2012 at 12:03 PM, Jack j...@rybn.org wrote: Le 05/10/2012 22:27, Rick T a écrit : Greetings All Is their a way to convert numerical values to a bang? Example: a number 1-10 will be converted to a bang Thanks Rick

Re: [PD] counting how many times an audio file is looped

2012-10-05 Thread Charles Henry
On Fri, Oct 5, 2012 at 5:24 PM, Rick T ratull...@gmail.com wrote: Yes I am using tabread4~ I looked up vline~ in the help but it seems to be missing some info on the second and third inlets. Is there some more information about this object. I'm using PD .42.5 extended on ubuntu 10.04 64bit

[PD] Translating Puckette Lectures into Spanish

2012-10-05 Thread J Oliver
Hard to say if I should write this one in spanish or english, but... I am working with New Blankets and escuelab.org in Peru, on translating and subtitling Miller's 171 lectures [1] into spanish. After quite some time working on lecture one, which is almost done, I realize that it would really

[PD] [text3d] video subtitling in Pd

2012-10-05 Thread J Oliver
Dear all, I was working on a subtitling patch for videos, however, I encountered two problems to which I hope there is a solution, as solving them would make it work. Hard to say if this is a Pd problem or text3d problem or both. PROBLEM 1: commas cannot be written in [text3d] Since

Re: [PD] counting how many times an audio file is looped

2012-10-05 Thread Rick T
So are you say these wont help me with my original question? of trying to count how may times an audio file is looped then cause it to stop after say 6 loops. On Fri, Oct 5, 2012 at 1:01 PM, Simon Iten itensi...@gmail.com wrote: You only need vline or phasor, not both. The handling is a bit

Re: [PD] [text3d] video subtitling in Pd

2012-10-05 Thread IOhannes m zmölnig
On 10/06/2012 01:54 AM, J Oliver wrote: Dear all, I was working on a subtitling patch for videos, however, I encountered two problems to which I hope there is a solution, as solving them would make it work. Hard to say if this is a Pd problem or text3d problem or both. PROBLEM 1:

Re: [PD] counting how many times an audio file is looped

2012-10-05 Thread IOhannes m zmölnig
On 10/05/2012 11:25 PM, Rick T wrote: Is there another way I should be doing this count the bangs that [tabplay~] will output via it's 2nd inlet. alternatively, trust Pd's timing. if you tell [line~] to create a ramp from here to there in 1077ms, then it will take exactly 1077ms, and you

Re: [PD] Question on getting the amount of values in a table and setting table to zero

2012-10-05 Thread IOhannes m zmölnig
On 10/04/2012 05:47 PM, Rick T wrote: Greetings All 1) I'm trying to find a way to get the total amount of values in a table. I found arraysize but that doesn't seem to give me the correct output Example: If I create a table with ; arrayx 0 .1 .3 .5 .3 .1 you are not creating a table

Re: [PD] opinions on the issue of concurrent implementations (was: getting sample rate of file loaded into an array)

2012-10-05 Thread IOhannes m zmölnig
On 10/04/2012 05:04 PM, Patrice Colet wrote: We should use C language only when we need it, in the example of [waveinfo] vs [soundfile_info], both aren't the good way for me, we just need the [binfile] external for reading the header, and all the other stuff can be done into a pd patch.