Re: [PD] glitches + netbook // Vilson, András
On 2010-03-31 02:33, Vilson Vieira wrote: patch using pix_sig2pix, please, take a look [1]. just in case: i really want to get rid of [pix_sig2pix]. the name to use if [pix_sig2pix~] and nothing else. the same applies to [pix_pix2sig~]. the reason for the alias without ~ is really a technical one which i hope to fix in some future version. fgmasdr IOhannes smime.p7s Description: S/MIME Cryptographic Signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] glitches + netbook // Vilson, András
On 2010-03-31 09:00, IOhannes m zmoelnig wrote: On 2010-03-31 02:33, Vilson Vieira wrote: patch using pix_sig2pix, please, take a look [1]. just in case: i really want to get rid of [pix_sig2pix]. the name to use if [pix_sig2pix~] and nothing else. ... use is [pix_Äsig2pix~] (with a trailing ~) and ... the same applies to [pix_pix2sig~]. the reason for the alias without ~ is really a technical one which i hope to fix in some future version. fgmasdr IOhannes ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list smime.p7s Description: S/MIME Cryptographic Signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] compiling Pd-extended on Ubuntu Netbook Remix 9.10
On Tue, 2010-03-30 at 21:20 -0400, Ichabod wrote: Thanks, Roman. I did sudo make uninstall and then sudo aptitude build-dep puredata, then autoconf and ./configure again (also tried it with --enable-alsa), then make depend and sudo make install, but I still get the same problems. Am I doing something wrong? I am not familiar with pd-extended in particular, only with compiling puredata, but since perform those commands from ~/Pd-0.41.4-extended/pd/src, I assume, it's very similar there. ./configure should already give you a hint, whether your Pd will support alsa or jack. Alsa should be auto-detected, and jack will only be auto-detected, if you enable it. So do: $ ./configure --enable-jack and check, if you see those lines: alsa= yes and: checking for jack_set_xrun_callback in -ljack... yes If both checks return yes, then only it is worth trying to compile the whole thing (Don't know about OSS, but this probably comes with alsa). As mentioned by Hans, in order to compile all the externals you probably need many more packages installed. My suggestion with 'sudo aptitude build-dep puredata' installs only the packages required for building the Pd part of Pd-extended. So for the rest, please follow Hans' advice. Roman ___ Der fr�he Vogel f�ngt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] mbox noise
Hello Having trouble with a digidesign mbox soundcard (this one: http://www.smccd.edu/accounts/sanchezs/297-PT/mbox_front.jpg/) which pd recognises and works fine for output, but is useless for input, cause it has a terrible static noise on both inputs. Tried the card with other software like Pro Tools and there's no noise there, so i presume it's not a hardware issue. Trying this on a recent macbook pro and pd extended. thanks p ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] compiling Pd-extended on Ubuntu Netbook Remix 9.10
I'm using Pd-0.41.4-extended from sourceforge. I guess you can either compile them manually in the externals directory or try out the scripts. I've tried the ./pd-extended-auto-builder.sh and i got this error message: recordQT4L.cpp: In function ‘lqt_file_type_t guess_qtformat(const char*)’: recordQT4L.cpp:96: error: invalid conversion from ‘const char*’ to ‘char*’ make[3]: *** [recordQT4L.o] Fehler 1 Maybe you have more luck. I'll try again later with a newer version of the sources. Markus Ichabod wrote: Thanks, Orm, that worked. I was able to install, but there are two problems: a) the Media menu doesn't give me options of sound servers to connect to (JACK, ALSA, OSS, etc.), and I'd like to use Pd with JACK, and b) externals don't seem to have compiled. Does anyone know how to fix this? ___ 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] Puredata Video performances anyone?
Hello fellow list members. I am making a concert with bassoon and electronics/Puredata effects, and i would like to include some videos of pd on the show. The concert will also be a showcase of Puredata capabilities. So I'm here to ask if someone would like to share some videos made with puredata that are CC licensed to include there. I also would like to have some Graph patch that reacts to sound... as i am making improvisation on them. any help will be appreciated Ricardo Lameiro -- Fagote / Contrafagote Bassoon / Contra-bassoon http://myspace.com/ricardolameiro ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] OS X 10.6: unplugging headphones crashes Pd
do you mean Pd-0.42.5-extended-macosx105-i386.dmg20-Jan-2010 10:19 39M or Pd-0.42.5-extended-macosx104-i386.dmg31-Mar-2010 04:35 46M ? Am 30.03.2010 um 23:20 schrieb Hans-Christoph Steiner: Try a nightly build of Pd-extended 0.42.5, I updated the portaudio code, which I think tries to address these issues. .hc On Mar 30, 2010, at 1:43 PM, Max wrote: i can _not_ reproduce that with *any* patch here. the sound is gone after unplugging headphones, but disabling it an re-enabeling it in the Pd window makes the Sound come back on the internal speakers. Not the desired way but no crash or freeze either. m. Am 30.03.2010 um 16:00 schrieb Derek Holzer: Well, in my workshop, *any* patch would do it no sense in posting one. D. On 3/30/10 3:34 PM, Max wrote: it's not fixed by the OS update. i only had this phenomenon if GEM was involved too and submitted that to the bugtracker a while ago http://sourceforge.net/tracker/index.php?func=detailaid=2929298group_id=55736atid=478070 if you can make a patch where GEM is not involved and it still crashes with Pd when the phone is unplugged then that would be good to post here. max Am 30.03.2010 um 02:36 schrieb Nils Sundtrom: I had garageband crash when I unplugged the headphones yesterday, I wonder if there update today fixed the issue. Nils On 10-03-27 11:00 AM, Hans-Christoph Steiner wrote: Yeah, I've seen some Leopard issues with audio too. I blame Apple ;). I think the issue is in portaudio, so hopefully that will get fixed, then I can update it in Pd-extended. Have anyone on 10.6 tried a recently 0.42.5 nightly? .hc On Mar 26, 2010, at 11:17 AM, Marco Donnarumma wrote: Had the same problem with my students. Jack seems to work well for most of them, but few still have random crash. M On Fri, Mar 26, 2010 at 3:31 PM, Derek Holzerde...@umatic.nl wrote: Sorry for the added noise, this meant for the Pd list, not Pd-announce... D. On 3/26/10 3:27 PM, Derek Holzer wrote: This is a new one to me, but four of my students can reproduce it every time with Mac OS 10.6, with or without JACK, using Pd-Extended 0.41.4. Unplugging or plugging the headphones while Pd is running freezes Pd completely, requiring a Force Quit. It does this regardless of whether audio processing is turned on or off. I tried looking at Aggregate Devices, however the built-in output already appears as one device. Anybody know how to fix this one? D. -- ::: derek holzer ::: http://macumbista.net ::: ---Oblique Strategy # 161: Trust in the you of now ___ Pd-announce mailing list pd-annou...@iem.at http://lists.puredata.info/listinfo/pd-announce -- Marco Donnarumma aka TheSAD Independent New Media Arts Professional, Performer, Teacher - Edinburgh, UK PORTFOLIO: http://marcodonnarumma.com LAB: http://www.thesaddj.com | http://cntrl.sourceforge.net | http://www.flxer.net EVENT: http://www.liveperformersmeeting.net ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list Man has survived hitherto because he was too ignorant to know how to realize his wishes. Now that he can realize them, he must either change them, or perish.-William Carlos Williams ___ 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-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- ::: derek holzer ::: http://macumbista.net ::: ---Oblique Strategy # 201: What were the branch points in the evolution of this entity? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list http://at.or.at/hans/ PGP.sig Description: Signierter Teil der Nachricht ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] compiling Pd-extended on Ubuntu Netbook Remix 9.10
On 2010-03-31 14:33, Markus Demmel wrote: I'm using Pd-0.41.4-extended from sourceforge. I guess you can either compile them manually in the externals directory or try out the scripts. I've tried the ./pd-extended-auto-builder.sh and i got this error message: recordQT4L.cpp: In function ‘lqt_file_type_t guess_qtformat(const char*)’: recordQT4L.cpp:96: error: invalid conversion from ‘const char*’ to ‘char*’ make[3]: *** [recordQT4L.o] Fehler 1 Maybe you have more luck. I'll try again later with a newer version of the sources. you have to update to a more recent version of Gem, 0.92.3 (https://pd-gem.svn.sourceforge.net/svnroot/pd-gem/branches/0.92/Gem) should be ok. fgmasdr IOhannes smime.p7s Description: S/MIME Cryptographic Signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Puredata Video performances anyone?
2010/3/31 Ricardo Lameiro ricardolame...@gmail.com Hello fellow list members. I am making a concert with bassoon and electronics/Puredata effects, and i would like to include some videos of pd on the show. The concert will also be a showcase of Puredata capabilities. Hello Ricardo, here's some videos about puredata, you can use it freely: http://vimeo.com/9009718 http://vimeo.com/9027094 http://vimeo.com/7885446 http://vimeo.com/9180738 So I'm here to ask if someone would like to share some videos made with puredata that are CC licensed to include there. I also would like to have some Graph patch that reacts to sound... as i am making improvisation on them. any help will be appreciated Sound to graph object? Yesterday a friend here suggested to me pix_sig2pix. To see that in action take a look at http://github.com/automata/hackspd/raw/master/glitching.pd Hope to help you. -- Vilson Vieira vil...@void.cc ((( http://automata.cc ))) ((( http://musa.cc ))) ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] compiling Pd-extended on Ubuntu Netbook Remix 9.10
On Wed, Mar 31, 2010 at 3:47 PM, IOhannes m zmoelnig zmoel...@iem.atwrote: On 2010-03-31 14:33, Markus Demmel wrote: I'm using Pd-0.41.4-extended from sourceforge. I guess you can either compile them manually in the externals directory or try out the scripts. I've tried the ./pd-extended-auto-builder.sh and i got this error message: recordQT4L.cpp: In function ‘lqt_file_type_t guess_qtformat(const char*)’: recordQT4L.cpp:96: error: invalid conversion from ‘const char*’ to ‘char*’ make[3]: *** [recordQT4L.o] Fehler 1 Maybe you have more luck. I'll try again later with a newer version of the sources. you have to update to a more recent version of Gem, 0.92.3 (https://pd-gem.svn.sourceforge.net/svnroot/pd-gem/branches/0.92/Gem) should be ok. fgmasdr IOhannes http://puredata.info/docs/developer/GettingPdSource Pd-extended between releases ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Puredata Video performances anyone?
thanks Vilson for the videos :D 2010/3/31 Vilson Vieira vil...@void.cc 2010/3/31 Ricardo Lameiro ricardolame...@gmail.com Hello fellow list members. I am making a concert with bassoon and electronics/Puredata effects, and i would like to include some videos of pd on the show. The concert will also be a showcase of Puredata capabilities. Hello Ricardo, here's some videos about puredata, you can use it freely: http://vimeo.com/9009718 http://vimeo.com/9027094 http://vimeo.com/7885446 http://vimeo.com/9180738 So I'm here to ask if someone would like to share some videos made with puredata that are CC licensed to include there. I also would like to have some Graph patch that reacts to sound... as i am making improvisation on them. any help will be appreciated Sound to graph object? Yesterday a friend here suggested to me pix_sig2pix. To see that in action take a look at http://github.com/automata/hackspd/raw/master/glitching.pd Hope to help you. -- Vilson Vieira vil...@void.cc ((( http://automata.cc ))) ((( http://musa.cc ))) -- Fagote / Contrafagote Bassoon / Contra-bassoon http://myspace.com/ricardolameiro ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] mapping_video
It would be very useful if we can make it a circular map, how could this be done? pp -Original Message- From: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] On Behalf Of kubriel Sent: Tuesday, March 30, 2010 6:54 AM To: pd-list@iem.at Subject: [PD] mapping_video hallo, i made quite user friendly projection mapping abstraction for video. it is based on curve3d(thanks to iohannes), but with useful and fast interface, as you know from moving rectangles in inkscape. i used it to make this instalation http://www.direkt.sk/_/bx/feedback/13.jpg this is, how the interface looks http://www.direkt.sk/_/mapping_video.png http://www.direkt.sk/_/mapping_video.zip mapping_video.zip, (5,9Kb): mappingvideo-MAINPATCH.pd - to check whats going on try this pytagoras.pd vertex.pd videoplayer.pd stred_bodov.pd video_ext.pd - this is the object itself it is pretty big mess, i know. also names of abstractions are not very clean, i can make it better if somebody wants to modify it. it is only what i used, i offer to you, with hope to help somebody have a nice day ___ 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] pd.exe as a virus
Ricardo Lameiro wrote: you should try to move into linux, its safer and pd works better in it :D Yes and that's the typical lame answer that puts off people from even trying linux, and it also sounds so.. uhm.. mac :( No dia 30 de Março de 2010 23:23, Ricardo Dueñas Parada rduen...@gmail.com mailto:rduen...@gmail.com escreveu: Hi, I´m recently being adviced that pd.exe is a virus, exactly with AVG antivirus, do you know the reason for that? As someone suggested it might be a false positive.. Try and look into what message it gives and maybe contacting the AVG people or writing to community. All the best, Lorenzo. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] OS X 10.6: unplugging headphones crashes Pd
Pd-0.42.5-extended-macosx104-i386.dmg31-Mar-2010 04:35 46M .hc On Mar 31, 2010, at 9:34 AM, Max wrote: do you mean Pd-0.42.5-extended-macosx105-i386.dmg20-Jan-2010 10:19 39M or Pd-0.42.5-extended-macosx104-i386.dmg31-Mar-2010 04:35 46M ? Am 30.03.2010 um 23:20 schrieb Hans-Christoph Steiner: Try a nightly build of Pd-extended 0.42.5, I updated the portaudio code, which I think tries to address these issues. .hc On Mar 30, 2010, at 1:43 PM, Max wrote: i can _not_ reproduce that with *any* patch here. the sound is gone after unplugging headphones, but disabling it an re-enabeling it in the Pd window makes the Sound come back on the internal speakers. Not the desired way but no crash or freeze either. m. Am 30.03.2010 um 16:00 schrieb Derek Holzer: Well, in my workshop, *any* patch would do it no sense in posting one. D. On 3/30/10 3:34 PM, Max wrote: it's not fixed by the OS update. i only had this phenomenon if GEM was involved too and submitted that to the bugtracker a while ago http://sourceforge.net/tracker/index.php?func=detailaid=2929298group_id=55736atid=478070 if you can make a patch where GEM is not involved and it still crashes with Pd when the phone is unplugged then that would be good to post here. max Am 30.03.2010 um 02:36 schrieb Nils Sundtrom: I had garageband crash when I unplugged the headphones yesterday, I wonder if there update today fixed the issue. Nils On 10-03-27 11:00 AM, Hans-Christoph Steiner wrote: Yeah, I've seen some Leopard issues with audio too. I blame Apple ;). I think the issue is in portaudio, so hopefully that will get fixed, then I can update it in Pd-extended. Have anyone on 10.6 tried a recently 0.42.5 nightly? .hc On Mar 26, 2010, at 11:17 AM, Marco Donnarumma wrote: Had the same problem with my students. Jack seems to work well for most of them, but few still have random crash. M On Fri, Mar 26, 2010 at 3:31 PM, Derek Holzerde...@umatic.nl wrote: Sorry for the added noise, this meant for the Pd list, not Pd- announce... D. On 3/26/10 3:27 PM, Derek Holzer wrote: This is a new one to me, but four of my students can reproduce it every time with Mac OS 10.6, with or without JACK, using Pd-Extended 0.41.4. Unplugging or plugging the headphones while Pd is running freezes Pd completely, requiring a Force Quit. It does this regardless of whether audio processing is turned on or off. I tried looking at Aggregate Devices, however the built-in output already appears as one device. Anybody know how to fix this one? D. -- ::: derek holzer ::: http://macumbista.net ::: ---Oblique Strategy # 161: Trust in the you of now ___ Pd-announce mailing list pd-annou...@iem.at http://lists.puredata.info/listinfo/pd-announce -- Marco Donnarumma aka TheSAD Independent New Media Arts Professional, Performer, Teacher - Edinburgh, UK PORTFOLIO: http://marcodonnarumma.com LAB: http://www.thesaddj.com | http://cntrl.sourceforge.net | http://www.flxer.net EVENT: http://www.liveperformersmeeting.net ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list Man has survived hitherto because he was too ignorant to know how to realize his wishes. Now that he can realize them, he must either change them, or perish.-William Carlos Williams ___ 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-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- ::: derek holzer ::: http://macumbista.net ::: ---Oblique Strategy # 201: What were the branch points in the evolution of this entity? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list http://at.or.at/hans/ We have nothing to fear from love and commitment. - New York Senator Diane Savino, trying to convince the NY Senate to pass a gay marriage bill ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd.exe as a virus
It will be a lame answer if you need to fix all the windows computers that i fix, because people use windows. Call it what you want. But linux just is safer. this is no a go away, but a open your eyes warning i gave and yes, PD works better in linux where you believe it or not 2010/3/31 Lorenzo lsut...@libero.it Ricardo Lameiro wrote: you should try to move into linux, its safer and pd works better in it :D Yes and that's the typical lame answer that puts off people from even trying linux, and it also sounds so.. uhm.. mac :( No dia 30 de Março de 2010 23:23, Ricardo Dueñas Parada rduen...@gmail.com escreveu: Hi, I´m recently being adviced that pd.exe is a virus, exactly with AVG antivirus, do you know the reason for that? As someone suggested it might be a false positive.. Try and look into what message it gives and maybe contacting the AVG people or writing to community. All the best, Lorenzo. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Fagote / Contrafagote Bassoon / Contra-bassoon http://myspace.com/ricardolameiro ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] tabread4~ broken interpolation algorithm - was Re: Max Smoother Audio than Pd?
I don't know either. We have the formulas for each, so we can calculate squared error vs. sinc(x), but there also appears to be differences in which frequencies the distortion occurs and some could be more audible. It occurs to me that there exists one very obvious function for which the squared error is minimized for a 4-point interpolator. 4-point interpolator impulse functions have to be 0 outside the interval [-2,2]. So, E=|f(x)-sinc(x)|^2 is minimized when f(x)={sinc(x) -2x2 ,0 elsewhere Note that since the Fourier transform is isometric and linear, we know that a function which minimizes the error in the time domain also minimizes error in the frequency domain. This spectrum ought to have a lot of ringing in the upper frequency range, and in the stopband. So, if we only considered the squared error in the reconstruction and not the smoothness of the result, this would be the clear choice. How would we factor in the smoothness as well? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Combat aliasing!
Hi! I ve been reading the on-going debate about interpolation for a few days, and it just occured to me that i don't how go about avoiding aliasing more generally than with band-limited wavetables. If i wanted to play a sample at a pitch higher than the original, or if i wanted to use a karplus-strong resonator to generate notes, what would be the proper way of ensuring that no aliasing occurs? Do people generally use low-pass filters with a cut-off somewhere below the Nyquist frequency? Or is there a trick that one can use earlier on in the signal path of a patch? Pierre ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Combat aliasing!
I was thinking about this the other day is it possible to have aliasing with Karplus-Strong? Because it's a delay line, nothing is being played back at any higher rate than it was sampled at, so no aliasing should be possible. Right? Math-gurus correct me if I'm wrong. Otherwise, any signal generator needs to be bandlimited or oversampled: http://en.flossmanuals.net/PureData/Antialiasing http://en.flossmanuals.net/PureData/GeneratingWaveforms Frank Barknecht has some spliced-transition trick he uses as well, I'm sure it will come up in a reply or two on this thread as well... D. On 3/31/10 6:27 PM, Pierre Massat wrote: Hi! I ve been reading the on-going debate about interpolation for a few days, and it just occured to me that i don't how go about avoiding aliasing more generally than with band-limited wavetables. If i wanted to play a sample at a pitch higher than the original, or if i wanted to use a karplus-strong resonator to generate notes, what would be the proper way of ensuring that no aliasing occurs? Do people generally use low-pass filters with a cut-off somewhere below the Nyquist frequency? Or is there a trick that one can use earlier on in the signal path of a patch? -- ::: derek holzer ::: http://macumbista.net ::: ---Oblique Strategy # 139: Revaluation (a warm feeling) ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Combat aliasing!
I m not sure i understand aliasing well... So anything that's sampled and played back without altering the pitch would not suffer from aliasing? When exactly does aliasing occur? during the DAC conversion, or before that? Let's say i set a karplus-strong resonator to a frequency of 30 KHz (assuming i'm a dog and i can hear a pitch that high), at a 44.1 KHz sampling rate, than what happens? No aliasing at all? 2010/3/31 Derek Holzer de...@umatic.nl I was thinking about this the other day is it possible to have aliasing with Karplus-Strong? Because it's a delay line, nothing is being played back at any higher rate than it was sampled at, so no aliasing should be possible. Right? Math-gurus correct me if I'm wrong. Otherwise, any signal generator needs to be bandlimited or oversampled: http://en.flossmanuals.net/PureData/Antialiasing http://en.flossmanuals.net/PureData/GeneratingWaveforms Frank Barknecht has some spliced-transition trick he uses as well, I'm sure it will come up in a reply or two on this thread as well... D. On 3/31/10 6:27 PM, Pierre Massat wrote: Hi! I ve been reading the on-going debate about interpolation for a few days, and it just occured to me that i don't how go about avoiding aliasing more generally than with band-limited wavetables. If i wanted to play a sample at a pitch higher than the original, or if i wanted to use a karplus-strong resonator to generate notes, what would be the proper way of ensuring that no aliasing occurs? Do people generally use low-pass filters with a cut-off somewhere below the Nyquist frequency? Or is there a trick that one can use earlier on in the signal path of a patch? -- ::: derek holzer ::: http://macumbista.net ::: ---Oblique Strategy # 139: Revaluation (a warm feeling) ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Combat aliasing!
Correct, nothing played back at original sampling rate will alias. If you speed that sample up, then some of the recorded harmonics will go over the Nyquist number and alias. Please read the page I sent you on aliasing: http://en.flossmanuals.net/PureData/Antialiasing and also http://en.flossmanuals.net/PureData/WhatIsDigitalAudio Aliasing happens when you try to synthesize or play back a frequency higher than 1/2 the sampling rate (this is called the Nyquist number). In non-sine wave oscillators, it often comes from the highest harmonics. In samples, it comes from playing them back faster than the original sampling rate. It happens at the moment those frequencies are synthesized, and cannot be removed later. Thus the oversampling approach documented in the FLOSS Manual (and taken directly from Miller's Pd manual patches). A Karplus-Strong resonator is a delay line and as I understand it, so long as no pitch shifting is going on then it can't alias. You would not be able to create a Karplus-Strong resonator at 30KHz unless you have a sampling rate of 60KHz, because the shortest delay time you can get is still one sample (1/44100 of one second at normal sampling rate). Again, math gurus are welcome to correct my calculations. D. On 3/31/10 6:39 PM, Pierre Massat wrote: I m not sure i understand aliasing well... So anything that's sampled and played back without altering the pitch would not suffer from aliasing? When exactly does aliasing occur? during the DAC conversion, or before that? Let's say i set a karplus-strong resonator to a frequency of 30 KHz (assuming i'm a dog and i can hear a pitch that high), at a 44.1 KHz sampling rate, than what happens? No aliasing at all? 2010/3/31 Derek Holzer de...@umatic.nl mailto:de...@umatic.nl I was thinking about this the other day is it possible to have aliasing with Karplus-Strong? Because it's a delay line, nothing is being played back at any higher rate than it was sampled at, so no aliasing should be possible. Right? Math-gurus correct me if I'm wrong. Otherwise, any signal generator needs to be bandlimited or oversampled: http://en.flossmanuals.net/PureData/Antialiasing http://en.flossmanuals.net/PureData/GeneratingWaveforms Frank Barknecht has some spliced-transition trick he uses as well, I'm sure it will come up in a reply or two on this thread as well... D. On 3/31/10 6:27 PM, Pierre Massat wrote: Hi! I ve been reading the on-going debate about interpolation for a few days, and it just occured to me that i don't how go about avoiding aliasing more generally than with band-limited wavetables. If i wanted to play a sample at a pitch higher than the original, or if i wanted to use a karplus-strong resonator to generate notes, what would be the proper way of ensuring that no aliasing occurs? Do people generally use low-pass filters with a cut-off somewhere below the Nyquist frequency? Or is there a trick that one can use earlier on in the signal path of a patch? -- ::: derek holzer ::: http://macumbista.net ::: ---Oblique Strategy # 139: Revaluation (a warm feeling) -- ::: derek holzer ::: http://macumbista.net ::: ---Oblique Strategy # 151: Take away the important parts ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Combat aliasing!
That sounds like a sensible reason why a karplus-strong resonator could not alias. That's good news, although i suppose it isn't new at all to most people on the list... By the way i had read the FLOSS pages before... Thanks Derek! Pierre 2010/3/31 Derek Holzer de...@umatic.nl Correct, nothing played back at original sampling rate will alias. If you speed that sample up, then some of the recorded harmonics will go over the Nyquist number and alias. Please read the page I sent you on aliasing: http://en.flossmanuals.net/PureData/Antialiasing and also http://en.flossmanuals.net/PureData/WhatIsDigitalAudio Aliasing happens when you try to synthesize or play back a frequency higher than 1/2 the sampling rate (this is called the Nyquist number). In non-sine wave oscillators, it often comes from the highest harmonics. In samples, it comes from playing them back faster than the original sampling rate. It happens at the moment those frequencies are synthesized, and cannot be removed later. Thus the oversampling approach documented in the FLOSS Manual (and taken directly from Miller's Pd manual patches). A Karplus-Strong resonator is a delay line and as I understand it, so long as no pitch shifting is going on then it can't alias. You would not be able to create a Karplus-Strong resonator at 30KHz unless you have a sampling rate of 60KHz, because the shortest delay time you can get is still one sample (1/44100 of one second at normal sampling rate). Again, math gurus are welcome to correct my calculations. D. On 3/31/10 6:39 PM, Pierre Massat wrote: I m not sure i understand aliasing well... So anything that's sampled and played back without altering the pitch would not suffer from aliasing? When exactly does aliasing occur? during the DAC conversion, or before that? Let's say i set a karplus-strong resonator to a frequency of 30 KHz (assuming i'm a dog and i can hear a pitch that high), at a 44.1 KHz sampling rate, than what happens? No aliasing at all? 2010/3/31 Derek Holzer de...@umatic.nl mailto:de...@umatic.nl I was thinking about this the other day is it possible to have aliasing with Karplus-Strong? Because it's a delay line, nothing is being played back at any higher rate than it was sampled at, so no aliasing should be possible. Right? Math-gurus correct me if I'm wrong. Otherwise, any signal generator needs to be bandlimited or oversampled: http://en.flossmanuals.net/PureData/Antialiasing http://en.flossmanuals.net/PureData/GeneratingWaveforms Frank Barknecht has some spliced-transition trick he uses as well, I'm sure it will come up in a reply or two on this thread as well... D. On 3/31/10 6:27 PM, Pierre Massat wrote: Hi! I ve been reading the on-going debate about interpolation for a few days, and it just occured to me that i don't how go about avoiding aliasing more generally than with band-limited wavetables. If i wanted to play a sample at a pitch higher than the original, or if i wanted to use a karplus-strong resonator to generate notes, what would be the proper way of ensuring that no aliasing occurs? Do people generally use low-pass filters with a cut-off somewhere below the Nyquist frequency? Or is there a trick that one can use earlier on in the signal path of a patch? -- ::: derek holzer ::: http://macumbista.net ::: ---Oblique Strategy # 139: Revaluation (a warm feeling) -- ::: derek holzer ::: http://macumbista.net ::: ---Oblique Strategy # 151: Take away the important parts ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] propertybang-help
propertybang-help.pd says that [propertybang] is per abstraction, but it's per abstraction _instance_, right? Also, it states that you can't have them per subpatch-- what exactly does this mean? Thanks, Jonathan ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] GEM: pix_coordinate: how to use (was GEM: possibility to split gemframebuffer or gemlist?)
Hi again, the patch Jack sent me was what I was looking for. However I have some troubles with the pix_coordinate object. Currently the final image is split into two rectangles that sit left to right next to each other, but what I actually need now is from top to down. I don't know how to manipulate pix_coordinate. I have no idea how to use them as they are no XYZ coordinates. How can I achieve what I need? Thanks a lot best Johannes Quoting Jack j...@rybn.org: Something like this for example ? ++ Jack Le lundi 29 mars 2010 à 02:16 +0200, Johannes Paar a écrit : Hi, is there a way to split the gemframebuffer, so that I can split 1 gemlist to be rendered on 2 objects, with each object showing only half of the image? Like that the two final objects could act as independent canvas for projection mapping. Thanks a lot best Johannes ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list #N canvas 537 121 661 553 10; #X obj 67 131 gemhead 20; #X obj 254 176 gemhead; #X obj 67 338 rotateXYZ; #X obj 67 292 t a b; #X obj 67 252 translateXYZ 0 0 -4; #X obj 67 168 gemframebuffer; #X obj 254 201 pix_texture; #X obj 67 357 pqtorusknots; #N canvas 0 22 450 300 rotation 0; #X obj 33 19 inlet; #X obj 33 110 % 360; #X obj 33 62 i; #X obj 33 88 + 5; #X obj 33 136 outlet; #X obj 84 111 % 360; #X obj 84 63 i; #X obj 84 137 outlet; #X obj 134 112 % 360; #X obj 134 64 i; #X obj 134 138 outlet; #X obj 84 89 + 3; #X obj 134 90 + 7; #X connect 0 0 2 0; #X connect 0 0 6 0; #X connect 0 0 9 0; #X connect 1 0 2 1; #X connect 1 0 4 0; #X connect 2 0 3 0; #X connect 3 0 1 0; #X connect 5 0 6 1; #X connect 5 0 7 0; #X connect 6 0 11 0; #X connect 8 0 9 1; #X connect 8 0 10 0; #X connect 9 0 12 0; #X connect 11 0 5 0; #X connect 12 0 8 0; #X restore 99 313 pd rotation; #X obj 67 272 color 1 0 0; #X obj 384 176 gemhead; #X obj 384 201 pix_texture; #X obj 254 221 pix_coordinate; #X obj 384 221 pix_coordinate; #N canvas 0 22 450 300 gemwin 0; #X obj 132 136 gemwin; #X obj 67 89 outlet; #X obj 67 10 inlet; #X msg 67 70 set destroy; #X msg 142 68 set create; #X msg 198 112 destroy; #X msg 132 112 create \, 1; #X obj 67 40 route create destroy; #X obj 20 217 gemhead 1; #X obj 20 237 world_light; #X connect 2 0 7 0; #X connect 3 0 1 0; #X connect 4 0 1 0; #X connect 5 0 0 0; #X connect 6 0 0 0; #X connect 7 0 3 0; #X connect 7 0 6 0; #X connect 7 1 4 0; #X connect 7 1 5 0; #X connect 7 2 0 0; #X connect 8 0 9 0; #X restore 24 50 pd gemwin; #X msg 24 25 destroy; #X msg 164 131 color 0 0 1 0; #X obj 164 110 loadbang; #X msg 335 125 0 0 0.5 0 0.5 1 0 1; #X msg 465 125 0.5 0 1 0 1 1 0.5 1; #X obj 335 96 loadbang; #X text 82 24 - 1; #X text 519 378 Jack/RYBN 2010; #X obj 384 373 rectangle 2 1.5; #X obj 254 373 rectangle 2 1.5; #X text 380 155 lower screen; #X text 254 157 upper screen; #X text 420 101 how to change these messages?; #X obj 254 249 translateXYZ 0 1.6 0; #X obj 384 249 translateXYZ 0 -1.6 0; #X connect 0 0 5 0; #X connect 1 0 6 0; #X connect 2 0 7 0; #X connect 3 0 2 0; #X connect 3 1 8 0; #X connect 4 0 9 0; #X connect 5 0 4 0; #X connect 5 1 6 1; #X connect 5 1 11 1; #X connect 6 0 12 0; #X connect 8 0 2 1; #X connect 8 1 2 2; #X connect 8 2 2 3; #X connect 9 0 3 0; #X connect 10 0 11 0; #X connect 11 0 13 0; #X connect 12 0 28 0; #X connect 13 0 29 0; #X connect 14 0 15 0; #X connect 15 0 14 0; #X connect 16 0 5 0; #X connect 17 0 16 0; #X connect 18 0 12 1; #X connect 19 0 13 1; #X connect 20 0 18 0; #X connect 20 0 19 0; #X connect 28 0 24 0; #X connect 29 0 23 0; #N canvas 0 0 661 553 10; #X obj 67 131 gemhead 20; #X obj 254 176 gemhead; #X obj 67 338 rotateXYZ; #X obj 67 292 t a b; #X obj 67 252 translateXYZ 0 0 -4; #X obj 67 168 gemframebuffer; #X obj 254 201 pix_texture; #X obj 67 357 pqtorusknots; #N canvas 0 0 450 300 rotation 0; #X obj 33 19 inlet; #X obj 33 110 % 360; #X obj 33 62 i; #X obj 33 88 + 5; #X obj 33 136 outlet; #X obj 84 111 % 360; #X obj 84 63 i; #X obj 84 137 outlet; #X obj 134 112 % 360; #X obj 134 64 i; #X obj 134 138 outlet; #X obj 84 89 + 3; #X obj 134 90 + 7; #X connect 0 0 2 0; #X connect 0 0 6 0; #X connect 0 0 9 0; #X connect 1 0 2 1; #X connect 1 0 4 0; #X connect 2 0 3 0; #X connect 3 0 1 0; #X connect 5 0 6 1; #X connect 5 0 7 0; #X connect 6 0 11 0; #X connect 8 0 9 1; #X connect 8 0 10 0; #X connect 9 0 12 0; #X connect 11 0 5 0; #X connect 12 0 8 0; #X restore 99 313 pd rotation; #X obj 67 272 color 1 0 0; #X obj 384 176 gemhead; #X obj 384 201 pix_texture; #X obj 254 221 pix_coordinate; #X obj 384 221 pix_coordinate; #N canvas 0 0 450 300 gemwin 0; #X obj 132 136 gemwin; #X obj 67 89 outlet; #X obj 67 10 inlet; #X msg 67 70 set destroy; #X msg 142 68 set create; #X msg 198 112 destroy; #X msg 132 112 create \, 1; #X obj 67 40 route create destroy; #X obj 20 217 gemhead 1; #X obj 20 237 world_light; #X connect 2 0 7 0; #X connect 3 0 1 0; #X connect 4 0 1
Re: [PD] GEM: pix_coordinate: how to use (was GEM: possibility to split gemframebuffer or gemlist?)
Have a look at this patch. ++ Jack Le mercredi 31 mars 2010 à 21:27 +0200, Johannes Paar a écrit : Hi again, the patch Jack sent me was what I was looking for. However I have some troubles with the pix_coordinate object. Currently the final image is split into two rectangles that sit left to right next to each other, but what I actually need now is from top to down. I don't know how to manipulate pix_coordinate. I have no idea how to use them as they are no XYZ coordinates. How can I achieve what I need? Thanks a lot best Johannes Quoting Jack j...@rybn.org: Something like this for example ? ++ Jack Le lundi 29 mars 2010 à 02:16 +0200, Johannes Paar a écrit : Hi, is there a way to split the gemframebuffer, so that I can split 1 gemlist to be rendered on 2 objects, with each object showing only half of the image? Like that the two final objects could act as independent canvas for projection mapping. Thanks a lot best Johannes ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list #N canvas 0 0 661 553 10; #X obj 67 131 gemhead 20; #X obj 254 176 gemhead; #X obj 67 338 rotateXYZ; #X obj 67 292 t a b; #X obj 67 252 translateXYZ 0 0 -4; #X obj 67 168 gemframebuffer; #X obj 254 201 pix_texture; #X obj 67 357 pqtorusknots; #N canvas 0 0 450 300 rotation 0; #X obj 33 19 inlet; #X obj 33 110 % 360; #X obj 33 62 i; #X obj 33 88 + 5; #X obj 33 136 outlet; #X obj 84 111 % 360; #X obj 84 63 i; #X obj 84 137 outlet; #X obj 134 112 % 360; #X obj 134 64 i; #X obj 134 138 outlet; #X obj 84 89 + 3; #X obj 134 90 + 7; #X connect 0 0 2 0; #X connect 0 0 6 0; #X connect 0 0 9 0; #X connect 1 0 2 1; #X connect 1 0 4 0; #X connect 2 0 3 0; #X connect 3 0 1 0; #X connect 5 0 6 1; #X connect 5 0 7 0; #X connect 6 0 11 0; #X connect 8 0 9 1; #X connect 8 0 10 0; #X connect 9 0 12 0; #X connect 11 0 5 0; #X connect 12 0 8 0; #X restore 99 313 pd rotation; #X obj 67 272 color 1 0 0; #X obj 384 176 gemhead; #X obj 384 201 pix_texture; #X obj 254 221 pix_coordinate; #X obj 384 221 pix_coordinate; #N canvas 0 0 450 300 gemwin 0; #X obj 132 136 gemwin; #X obj 67 89 outlet; #X obj 67 10 inlet; #X msg 67 70 set destroy; #X msg 142 68 set create; #X msg 198 112 destroy; #X msg 132 112 create \, 1; #X obj 67 40 route create destroy; #X obj 20 217 gemhead 1; #X obj 20 237 world_light; #X connect 2 0 7 0; #X connect 3 0 1 0; #X connect 4 0 1 0; #X connect 5 0 0 0; #X connect 6 0 0 0; #X connect 7 0 3 0; #X connect 7 0 6 0; #X connect 7 1 4 0; #X connect 7 1 5 0; #X connect 7 2 0 0; #X connect 8 0 9 0; #X restore 24 50 pd gemwin; #X msg 24 25 destroy; #X msg 164 131 color 0 0 1 0; #X obj 164 110 loadbang; #X obj 335 96 loadbang; #X text 82 24 - 1; #X text 519 378 Jack/RYBN 2010; #X msg 335 125 0 0 1 0 1 0.5 0 0.5; #X msg 465 125 0 0.5 1 0.5 1 1 0 1; #X obj 254 373 rectangle 4 1.5; #X obj 384 373 rectangle 4 1.5; #X obj 254 249 translateXYZ 0 -1.5 0; #X obj 384 249 translateXYZ 0 1.5 0; #X floatatom 316 329 5 0 0 0 - - -; #X floatatom 446 329 5 0 0 0 - - -; #X text 355 328 - 2; #X text 485 328 - 2; #X obj 316 282 loadbang; #X msg 316 304 15; #X msg 446 304 -15; #X obj 254 353 rotateXYZ 0 -2 0; #X obj 384 353 rotateXYZ 0 2 0; #X connect 0 0 5 0; #X connect 1 0 6 0; #X connect 2 0 7 0; #X connect 3 0 2 0; #X connect 3 1 8 0; #X connect 4 0 9 0; #X connect 5 0 4 0; #X connect 5 1 6 1; #X connect 5 1 11 1; #X connect 6 0 12 0; #X connect 8 0 2 1; #X connect 8 1 2 2; #X connect 8 2 2 3; #X connect 9 0 3 0; #X connect 10 0 11 0; #X connect 11 0 13 0; #X connect 12 0 25 0; #X connect 13 0 26 0; #X connect 14 0 15 0; #X connect 15 0 14 0; #X connect 16 0 5 0; #X connect 17 0 16 0; #X connect 18 0 22 0; #X connect 18 0 21 0; #X connect 21 0 12 1; #X connect 22 0 13 1; #X connect 25 0 34 0; #X connect 26 0 35 0; #X connect 27 0 34 2; #X connect 28 0 35 2; #X connect 31 0 32 0; #X connect 31 0 33 0; #X connect 32 0 27 0; #X connect 33 0 28 0; #X connect 34 0 23 0; #X connect 35 0 24 0; ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] GEM strange problem with fonts
Dear List, i stay working in a interactive project for Museum... the Aymara culture, i work with audio, videos and fonts in GEM in a Blackbook with 10.5.8 osx, all works fine, GEM shows the fonts, videos and the sound is fine, but when i put the same folder in other mac the fonts dont appear...audio and video yes... I connect in net the two computers, works... but the fonts... is very crazy... the other mac have a 10.6.2 i test in other mac with 10.5.6 Whats is wrong? I send the programs Best regards from Chile José -- http://www.chilemigra.cl http://arselectronicachile.blogspot.com http://www.myspace.com/santorcuato ira.pd Description: Binary data ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] GEM strange problem with fonts
I would say make sure the .TTF files are in the search PATH of pd installation. pp -Original Message- From: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] On Behalf Of Jose Luis Santorcuato Sent: Wednesday, March 31, 2010 4:01 PM To: PD List Subject: [PD] GEM strange problem with fonts Dear List, i stay working in a interactive project for Museum... the Aymara culture, i work with audio, videos and fonts in GEM in a Blackbook with 10.5.8 osx, all works fine, GEM shows the fonts, videos and the sound is fine, but when i put the same folder in other mac the fonts dont appear...audio and video yes... I connect in net the two computers, works... but the fonts... is very crazy... the other mac have a 10.6.2 i test in other mac with 10.5.6 Whats is wrong? I send the programs Best regards from Chile José -- http://www.chilemigra.cl http://arselectronicachile.blogspot.com http://www.myspace.com/santorcuato ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] GEM strange problem with fonts
Have you try to load your font with : [openpanel] | [font $1( Have you try with [text3d] instead of [text2d] ? What is your configuration : Pd, GEM. ++ Jack Le mercredi 31 mars 2010 à 16:01 -0400, Jose Luis Santorcuato a écrit : Dear List, i stay working in a interactive project for Museum... the Aymara culture, i work with audio, videos and fonts in GEM in a Blackbook with 10.5.8 osx, all works fine, GEM shows the fonts, videos and the sound is fine, but when i put the same folder in other mac the fonts dont appear...audio and video yes... I connect in net the two computers, works... but the fonts... is very crazy... the other mac have a 10.6.2 i test in other mac with 10.5.6 Whats is wrong? I send the programs Best regards from Chile José ___ 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] GEM strange problem with fonts
Yes, i work with text2d, pd extended thanks a lot... ill try and comment...thanks a lot. José 2010/3/31, Jack j...@rybn.org: Have you try to load your font with : [openpanel] | [font $1( Have you try with [text3d] instead of [text2d] ? What is your configuration : Pd, GEM. ++ Jack Le mercredi 31 mars 2010 à 16:01 -0400, Jose Luis Santorcuato a écrit : Dear List, i stay working in a interactive project for Museum... the Aymara culture, i work with audio, videos and fonts in GEM in a Blackbook with 10.5.8 osx, all works fine, GEM shows the fonts, videos and the sound is fine, but when i put the same folder in other mac the fonts dont appear...audio and video yes... I connect in net the two computers, works... but the fonts... is very crazy... the other mac have a 10.6.2 i test in other mac with 10.5.6 Whats is wrong? I send the programs Best regards from Chile José ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- http://www.chilemigra.cl http://arselectronicachile.blogspot.com http://www.myspace.com/santorcuato ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Combat aliasing!
On Wed, Mar 31, 2010 at 06:32:04PM +0200, Derek Holzer wrote: I was thinking about this the other day is it possible to have aliasing with Karplus-Strong? Because it's a delay line, nothing is being played back at any higher rate than it was sampled at, so no aliasing should be possible. Right? Math-gurus correct me if I'm wrong. Otherwise, any signal generator needs to be bandlimited or oversampled: http://en.flossmanuals.net/PureData/Antialiasing http://en.flossmanuals.net/PureData/GeneratingWaveforms Frank Barknecht has some spliced-transition trick he uses as well, I'm sure it will come up in a reply or two on this thread as well... My trick is from Miller's book and also part of the docs shipped with Pd. Just read the last (?, from memory) chapter in the book about classical waveforms for a lot of valuable insight in the aliasing problem. Ciao -- Frank ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] tabread4~ broken interpolation algorithm - was Re:, Max Smoother Audio than Pd?
It occurs to me that there exists one very obvious function for which the squared error is minimized for a 4-point interpolator. 4-point interpolator impulse functions have to be 0 outside the interval [-2,2]. So, E=|f(x)-sinc(x)|^2 is minimized when f(x)={sinc(x) -2x2 ,0 elsewhere I may be missing something but I'm afraid the E in your formula is not the error that is supposed to be minimized. The ideally interpolated signal (which is the one in reference to which the error has to be minimized) is not just a sinc: it is the sum of an infinite series of sinc's centered at the sampled points and scaled with the sampled values. (I won't try to write it in a latex-like fashon, I would certainly get it wrong - not because of latex syntax, I mean I would get it wrong even if I tried to write it down manually) Please correct me if I am wrong -- Matteo Sisti Sette matteosistise...@gmail.com http://www.matteosistisette.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Combat aliasing!
Correct, nothing played back at original sampling rate will alias. It _won't_ alias; it may already _have_ aliased when sampled in the first place. Aliasing occurs when sampling. When you digitalize (ADC), you are sampling. When generating a waveform mathematically, you are sampling the mathematical function at the very moment you compute its value at discrete points. When you play back a signal at a different speed than the original, you are _resampling_ it, that is, theorically, interpolating it and then sampling it again, and it is the sampling stage, not the interpolating one, that produces the aliasing. The interpolation, since it cannot be an ideal interpolation, may introduce other noises or artifacts, not aliasing as far as I can see. -- Matteo Sisti Sette matteosistise...@gmail.com http://www.matteosistisette.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] tabread4~ broken interpolation algorithm - was Re: Max Smoother Audio than Pd?
A workaround is to up-sample everybody by a factor of 2 - this dramatically reduces error, usually by 24 dB. Every upsampling is some kind of interpolation. So what you mean, is to reduce the error of your interpolator by getting much of the job done by a different interpolator instead ? _ _ __ ___ _ _ _ ... | 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] GEM strange problem with fonts
Yes, working... Thanks a lot Best Regards José 2010/3/31 Jose Luis Santorcuato santorcuat...@gmail.com Yes, i work with text2d, pd extended thanks a lot... ill try and comment...thanks a lot. José 2010/3/31, Jack j...@rybn.org: Have you try to load your font with : [openpanel] | [font $1( Have you try with [text3d] instead of [text2d] ? What is your configuration : Pd, GEM. ++ Jack Le mercredi 31 mars 2010 à 16:01 -0400, Jose Luis Santorcuato a écrit : Dear List, i stay working in a interactive project for Museum... the Aymara culture, i work with audio, videos and fonts in GEM in a Blackbook with 10.5.8 osx, all works fine, GEM shows the fonts, videos and the sound is fine, but when i put the same folder in other mac the fonts dont appear...audio and video yes... I connect in net the two computers, works... but the fonts... is very crazy... the other mac have a 10.6.2 i test in other mac with 10.5.6 Whats is wrong? I send the programs Best regards from Chile José ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- http://www.chilemigra.cl http://arselectronicachile.blogspot.com http://www.myspace.com/santorcuato -- http://www.chilemigra.cl http://arselectronicachile.blogspot.com http://www.myspace.com/santorcuato ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Combat aliasing!
Derek Holzer wrote : I was thinking about this the other day is it possible to have aliasing with Karplus-Strong? Because it's a delay line, nothing is being played back at any higher rate than it was sampled at, so no aliasing should be possible. Right? The aliasing comes from a moiré (interference) between the frequency of the sampling and the frequency of whatever is going on. In the case of Karplus-Strong, the choice of the number of samples of delay is an integer, therefore the rounding of those values will be a kind of aliasing, and this aliasing will accumulate as the signal is fed back, because all the fractional-sample delays exceeding or missing are going to add up instead of being compensated by the usual counters. If you antialias Karplus-Strong synthesisers, instead, the antialias will act as a lowpass that will attenuate much of the upper range of possible frequencies. For example, a delay by n samples and a half, is quite equivalent to how [rzero~ -1] acts as a kind of low-pass. _ _ __ ___ _ _ _ ... | 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] Combat aliasing!
On Wed, 31 Mar 2010, Mathieu Bouchard wrote: The aliasing comes from a moiré (interference) between the frequency of the sampling and the frequency of whatever is going on. In the case of Karplus-Strong, the choice of the number of samples of delay is an integer, therefore the rounding of those values will be a kind of aliasing, and this aliasing will accumulate as the signal is fed back, because all the fractional-sample delays exceeding or missing are going to add up instead of being compensated by the usual counters. If you antialias Karplus-Strong synthesisers, instead, the antialias will act as a lowpass that will attenuate much of the upper range of possible frequencies. For example, a delay by n samples and a half, is quite equivalent to how [rzero~ -1] acts as a kind of low-pass. and I forgot to say, if you use [vd~] to circumvent [delread~]'s delay limitation, you will also find that [vd~] is a lot slower (taking more cpu), and that's normal, because [vd~] does antialiasing, whereas [delread~] does not. as a result, you can specify fractionary-sample delays, and when you do, it sounds similar to changing the setting of the [lop~] in your feedback loop, because you can't possibly perform fractionary-sample delay without accidental lowpassing. _ _ __ ___ _ _ _ ... | 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] propertybang-help
note also that merely loading [propertybang] is disabling the properties menu item on every GOP in its parent patch except the ones that use [propertybang]... note also that [propertybang] writes to a global variable in a way that no other external can compete with, apparently... i'd very much like to use [propertybang] or code something similar to it, but I'm not very comfortable with some things that it does. _ _ __ ___ _ _ _ ... | 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