Re: [PD] SOLVED!!! Re: pitch to voltage SOLVED!!!

2014-04-27 Thread Simon Iten
roman, thanks for your inputs. i tried both fexpr and expr and sticked to fexpr at some point, don’t know why though. will change it back! (i remember reading that fexpr was more expensive but also more precise) to make the whole thing work with real world signals (bass guitar in my case) you

Re: [PD] SOLVED!!! Re: pitch to voltage SOLVED!!!

2014-04-27 Thread Roman Haefeli
That works very well. Good job and thanks for sharing! One minor thing jumped to my eye: Your patch uses some instances of [fexpr~] and all of them actually don't need [fexpr~] functionality. I experienced that [fexpr~] is quite expensive, which seems apparent considering it is designed for feedba

Re: [PD] [Patching Circle] Generative Musical Apps this Friday!

2014-04-27 Thread sonia yuditskaya
Hi Epic, the next patching circle will be on May 22 at ITP/NYU, 721 Broadway, 4th floor. Cheers! Sofy Yuditskaya s~ On Sat, Apr 26, 2014 at 2:50 PM, Epic Jefferson wrote: > Hey Sofy, > > I'll be in NY from May 19-27. When is the patching circle? > > > On Tue, Apr 8, 20

[PD] anything pd related happening in NYC from May 19-27?

2014-04-27 Thread Epic Jefferson
or unrelated? electronic music shows, analog or digital. let's hang out and stuff. Will there be a patching circle in May? -- www.epicjefferson.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinf

[PD] SOLVED!!! Re: pitch to voltage SOLVED!!!

2014-04-27 Thread simon
hey miller and list, find attached a version that works beautifully. it's a dirty hack without upsampling but it works extremly well. don't ask me why, i have no idea. thanks for all the help miller, really appreciate it! and thanks for pd in general :-) cheers, simon sinetosawtooth.pd De

Re: [PD] How to read I2C sensors?

2014-04-27 Thread Ivica Bukvic
Check out also pd-l2ork k12 documentation where you can learn more about "lots of pots" RPi shield that gives you essentially 8 capacitive channels via the aforesaid mcp3008 d/a chip. This is what pd-l2ork essentially supports out of box. To access k12 mode start it with appropriate shortcut or s

Re: [PD] How to read I2C sensors?

2014-04-27 Thread Martin Peach
On 2014-04-27 13:52, Ingo wrote: Thanks! Could be a possibility but I was hoping for an object that would be able to read I2C directly without adding an arduino since most smaller arm boards do have some I2C pins onboard. If the machine Pd is running on has an I2C port and is running linux th

Re: [PD] How to read I2C sensors?

2014-04-27 Thread Ingo
Thanks Ivica, I'll check out pd-l2ork. I might use a Raspberry Pi for that purpose anyway. I need some capacitive sensors that work without actually touching them. All I found was using I2C. Ingo Von: Ivica Bukvic [mailto:i...@vt.edu] Gesendet: Sonntag,

Re: [PD] pitch to voltage

2014-04-27 Thread Simon Iten
sorry this one went off-list :-) On 27 Apr 2014, at 19:05, simon wrote: > sure, > > here is the version with biquad in a subpatch with a block opject to > upsample. probably i'm doing something wrong, i just copied from the block > help-patch. > > > > On Apr 27, 2014, at 5:48 PM, Miller P

Re: [PD] How to read I2C sensors?

2014-04-27 Thread Ivica Bukvic
I forget what i2c uses driverwise, but if it is spidev, in pd-l2ork you have disis_spi external that allows for reading data from mcp3008 8-channel ad converter. The external is specifically designed for Raspberry Pi build of pd-l2ork, but I don't see a reason why it could not be compiled for vanil

Re: [PD] How to read I2C sensors?

2014-04-27 Thread Ingo
Thanks! Could be a possibility but I was hoping for an object that would be able to read I2C directly without adding an arduino since most smaller arm boards do have some I2C pins onboard. Ingo Von: Alexandros Drymonitis [mailto:adr...@gmail.com] Gesende

Re: [PD] How to read I2C sensors?

2014-04-27 Thread Alexandros Drymonitis
What if you use the Wire library in Arduino and then collect the info in Pd with [comport]? On Sun, Apr 27, 2014 at 2:06 PM, Ingo wrote: > I have been using an arduino with [comport] (pduino) to read out sensors so > far and want to use a I2C sensor board for some other sensors soon. > > Can [c

Re: [PD] pitch to voltage

2014-04-27 Thread Miller Puckette
Actually I don't know where the change~ object is from - I've nver seen t before. I would just use biquad~ 0 0 1 -1 0 (assuming that change~ simply ubtracts the previous sample from teh current one as I guessed from the patch :) M On Sun, Apr 27, 2014 at 03:40:01PM +0200, Simon Iten wrote: > ok

Re: [PD] pitch to voltage

2014-04-27 Thread Simon Iten
ok tried to upsample the whole thing (after the osc~) and now change~ does nothing anymore… it just spits out the same square wave i feed in…clues? On 27 Apr 2014, at 13:05, Simon Iten wrote: > crosspost! sorry about the noise. thanks for the inputs i will try to to > this. not sure if i can.

[PD] How to read I2C sensors?

2014-04-27 Thread Ingo
I have been using an arduino with [comport] (pduino) to read out sensors so far and want to use a I2C sensor board for some other sensors soon. Can [comport] connect to the I2C interface or is there another object in Pd-extended that can do that? Thanks! Ingo ___

Re: [PD] pitch to voltage

2014-04-27 Thread Simon Iten
crosspost! sorry about the noise. thanks for the inputs i will try to to this. not sure if i can. otherwise i will ask back if that’s ok! On 27 Apr 2014, at 13:03, Simon Iten wrote: > so if i would measure at the peak of the sawtooth and would upsample inside > the pd patch, i would get higher

Re: [PD] pitch to voltage

2014-04-27 Thread Simon Iten
so if i would measure at the peak of the sawtooth and would upsample inside the pd patch, i would get higher resolution, right? any ideas how i can measure at the peak? (using the rpole output on both samphold inputs does not work and delaying one of them is also not working) which i would hi

Re: [PD] pitch to voltage

2014-04-27 Thread Miller Puckette
Sorry for the double answer, but this also occurs to me: To improve accuracy, measure both halves of the cycle and add them. To improve further, upsample the whole mess, say by a factor of 16. Doint both of those would improve the theoretical resolution by a factor of 32. (Of course, you still ha

Re: [PD] pitch to voltage

2014-04-27 Thread Miller Puckette
That is an excellent, witty way to measure pulse withs using only tilde obects - my hat's off to you. The methond only has limited accuracy since its measurement is in samples. For instance, a 1/2 cycle of a 440-hz. tone at 44.1 kHz is only 50 samples, so there's only 2% accuracy. That's about

Re: [PD] UDOO Quad and Generic Guitar to USB link issues

2014-04-27 Thread Simon Iten
do you use the hardware or the plugin tab in the pd preferences? i found that i had to use the plugin and not the hardware to get results without distortion. also you should use debian hard float image and not linaro, it works better with puredata. and, i would not use jack but alsa directly wit

[PD] pitch to voltage

2014-04-27 Thread Simon Iten
dear list, i have a strange problem with my “sinetosawtooth” patch. it is basically a version of the pitch to voltage conversion used in the old gr300 guitar synths from roland. i cut out all the clutter to make it easier to look at and understand. (cut out the adaptive filtering at the input