Re: [PD] Pd-l2ork running on OSX (was: Re: New Blankets names Jonathan Wilkes Artist in Transit Fellow)

2013-10-25 Thread Jonathan Wilkes
Oops... try one of these:
 
http://www.jonathanwilkes.net/Pd-l2ork.zip
 
 
https://jwilkes.nfshost.com/Pd-l2ork.zip



On Friday, October 25, 2013 8:56 AM, me.grimm megr...@gmail.com wrote:
  
jonathon,

so you know the link you gave is broken...

best
m




On Fri, Oct 25, 2013 at 12:02 AM, Jonathan Wilkes jancs...@yahoo.com wrote:

Apropos:
Here's a first attempt at getting Pd-l2ork up and running on OSX:

https://jwilkes.nfshost.com/Pd-l2ork.app.zip

* Includes a few libraries: zexy, import, cyclone, and ggee
* I also replaced the help browser with the search-plugin powered by the 
xapian backend
* I added references and meta patches to the control, audio, and data 
structures tutorials.

If you haven't used Pd-l2ork before, it has some interesting features:
* infinite undo
* preset_hub and preset_node for settings presets on patches and abstractions
* quick-connect: e.g., make a [route 0 1 2 3 4 5 6 7] and eight message boxes 
below it, then select all of them and make a connection from the leftmost 
outlet of [route] to the leftmost message box.  Now all are connected!  (There 
are some other shortcuts when you select just the topmost or bottommost 
object, too.)
* pdinfo, canvasinfo, and classinfo objects
* a bunch of other improvements that should all probably be documented in a 
What's New patch that doesn't exist yet.

Please test it and let me know how it works.

If you'd like to give a donation, then please follow Joe's instructions
below for the New Blankets mini-fundraiser.

Best,
Jonathan


On 10/10/2013 12:48 AM, Joe Deken wrote:

New Blankets Inc. is a non-profit Foundation dedicated to the the
re-invention of the Free Community Public Library in the realms of new
media.  Specifically New Blankets develops the dimensions _of_

     --  free/open communities

     --  _circulation_  and _sharing_ mechanisms

     --  technology innovations

which together weave and support new benevolent cultural communities.

New Blankets is pleased to announce today the recognition of Jonathan
Wilkes as our latest Artist in Transit Fellow.

  . New Blankets has provided Jonathan with an initial honorarium of
    $500 to support his work.

  . In addition to the initial honorarium support, New Blankets has
    also launched a  1 : 1 matching mini-fundraiser during the
    coming month (October 14 - November 14, 2013),  to further support
    Jonathan and the Artist-in-Transit Fellowship:

      1)  That is, any contributions to New Blankets during Oct 14 - Nov 14
           which you kindly care to make and designate for Artist in Transit
           will be matched 1 for 1 by New Blankets -- up to a $500 matching
           limit.
       2) At the end of the one month mini-fundraiser, the total sum
           (your contributions + NB matching amount) will be presented to
           Jonathan at *PdWeekend* -- to be held Nov 15-17, 2013 with Miller
           Puckette  Friends in San Diego and Los Angeles CA.

***
     If you would like to  make a contribution -- small or large -- to the
     New Blankets Artist-in-Transit fundraiser, please send e-mail ASAP to
     New Blankets, using the special fundraiser address :

                wilkes_...@newblankets.org

     When we hear from you, we will arrange a convenient way for you to
     send your check or electronic payment to New Blankets, by whichever of
     several available methods may be most convenient for you.)
***


** PdWeekend**
               If you would like to participate in PdWeekend with us in
               California on Nov 15-17, you are cordially invited and most
               welcome!
                  Kindly RSVP yes and let us know your plans to participate
               with us in San Diego (Nov 15) or Los Angeles (Nov 16-17)
               by sending e-mail ASAP to:

                        pdweek...@newblankets.org

                  We will then send you a confirming e-mail immediately,
               and we will keep you advised as our *PdWeekend*  plans
               and the details of events move forward, from now until
               November 15.

               The *PdWeekend* events are quite informal, but they also
               will include four structured workshops on Saturday Nov 16
               -- in co-operation with CrashSpace LA:

                          
         * Miller Puckette:   Pd+Raspberry Pi
         * Katja Vetter:       DIY Live Sampling Microphone-Build 
Slice//Jockey
         * Ico Bukvic:         Laptop Orchestrating with your Friends
         * Jonathan Wilkes: Your Computer, Your Creativity

          ** Registration is required each of the above workshops **
                          

            You may wish to peruse our (very much in-progress) plans
            for *PdWeekend* and the 

Re: [PD] Pd-l2ork running on OSX (was: Re: New Blankets names Jonathan Wilkes Artist in Transit Fellow)

2013-10-25 Thread Dan Wilcox
Can you check the link? Didn't work for me ... also, we should all donate if we 
can. Jonathan has been doing alot of great work.

On Oct 25, 2013, at 6:00 AM, pd-list-requ...@iem.at wrote:

 From: Jonathan Wilkes jancs...@yahoo.com
 Subject: [PD] Pd-l2ork running on OSX (was: Re: New Blankets names Jonathan 
 Wilkes Artist in Transit Fellow)
 Date: October 25, 2013 at 12:02:15 AM EDT
 To: pd-list@iem.at pd-list@iem.at
 
 
 Apropos:
 Here's a first attempt at getting Pd-l2ork up and running on OSX:
 
 https://jwilkes.nfshost.com/Pd-l2ork.app.zip
 
 * Includes a few libraries: zexy, import, cyclone, and ggee
 * I also replaced the help browser with the search-plugin powered by the 
 xapian backend
 * I added references and meta patches to the control, audio, and data 
 structures tutorials.
 
 If you haven't used Pd-l2ork before, it has some interesting features:
 * infinite undo
 * preset_hub and preset_node for settings presets on patches and abstractions
 * quick-connect: e.g., make a [route 0 1 2 3 4 5 6 7] and eight message boxes 
 below it, then select all of them and make a connection from the leftmost 
 outlet of [route] to the leftmost message box.  Now all are connected!  
 (There are some other shortcuts when you select just the topmost or 
 bottommost object, too.)
 * pdinfo, canvasinfo, and classinfo objects
 * a bunch of other improvements that should all probably be documented in a 
 What's New patch that doesn't exist yet.
 
 Please test it and let me know how it works.
 
 If you'd like to give a donation, then please follow Joe's instructions
 below for the New Blankets mini-fundraiser.
 
 Best,
 Jonathan


Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com





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


Re: [PD] List of important computer music works

2013-10-25 Thread Samuel Burt
Someone showed me the site below which is similar but more comprehensive
and doesn't require flash.

http://www.furia.com/misc/genremaps/engenremap-electroacousticimprovisation.html#tunnel

It's still a bit hard to find art music unless you dig. There are so many
sub-genres, the really distinct music types get buried.

Sam


On Tue, Oct 15, 2013 at 6:01 AM, Py Fave pyf...@gmail.com wrote:

 this site is very partial (mostly consumer music )
  ,and flash based and post 70 s
 but funny to explore
 http://techno.org/electronic-music-guide/

 2013/10/14 Samuel Burt composer.samuel.b...@gmail.com:
  I've been teaching classes for several years now and always provide
 examples
  of electronic music from the origins to the 70s. I've also been
 integrating
  a little historical background of modern dance music. What I'm really
  lacking is a substantial list of important works that have been made
  possible by personal computers, especially those that incorporate
  interactivity or couldn't have been made without intense digital
 processes
  like FFT or granularization. I'm familiar with a few, but is there
 already a
  good list to draw from so I don't get bored from repetition?
 
  Works created in Pd are even better for selling the idea of learning to
  program interactive media.
 
  Thanks
 
 
 
  ___
  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] Pitchshift frequency bins to specific frequencies

2013-10-25 Thread Ronni Montoya
Hi, i been trying csound6~ but it doesnt work on my computer i get this message:

/Users/ronni/Downloads/Spectralwarp/dependencies/csound6~.pd_darwin:
dlopen(/Users/ronni/Downloads/Spectralwarp/dependencies/csound6~.pd_darwin,
10): Library not loaded:
CsoundLib64.framework/Versions/6.0/CsoundLib64
  Referenced from:
/Users/ronni/Downloads/Spectralwarp/dependencies/csound6~.pd_darwin
  Reason: image not found


Is there any special way of installing csound6~?

Im on macosx 10.8.5


cheers


R.

2013/10/24, peiman khosravi peimankhosr...@gmail.com:
 Hi Ronni,

 Yes, in fact that's exactly what I'm doing in the csound algorithm. I have
 a user-defined array, one array of bin amplitudes and one array of bin
 frequencies, both written from the analysis window.

 The thing is that you need to deal with the amplitudes too. Simply moving
 the frequency value from one bin to another doesn't work, because each bin
 can only represent a narrow frequency band. So you need to also move the
 amplitude content of the bin too.

 Best,
 Peiman




 *www.peimankhosravi.co.uk || RSS
 Feedhttp://peimankhosravi.co.uk/miscposts.rss ||
 Concert News http://spectralkimia.wordpress.com/*


 On 23 October 2013 22:56, Ronni Montoya ronni.mont...@gmail.com wrote:

 Hi Peiman, thanks for that patch, im gonna try to adapt it to what im
 trying to achieve.

 and Yes i think you understood correctly.
 This warp program is very similar to what im trying to achieve , but
 theres a difference in the way how frequencies are mapped.

 The way I need to do it is  in this way:

 First i define an array with a group of frequencies.
 Then i iterate over all the frequency bins of a sound. At each
 iteration it should get the current frequency value of that  bin, then
 i need to compare this value with my array of predefined frequencies
 and replace that value with the nearest value in my array.


 i hope its clear, cheers


 R.


 2013/10/23, peiman khosravi peimankhosr...@gmail.com:
  Hello,
 
  If I understand you correctly, this is exactly what the GRM Tools
  plug-in
  Warp does. http://www.inagrm.com/warp
 
  I have a version of this which I made with pd and csound, which I'm
  attaching. The FFT is done in Csound. To run it just install csound6
  and
  then open up the patch. I've also included the externals with the
  patch,
  but they are built for osx so you'll need to replace them if you're on
  a
  different platform. I know that the csound~ external is running on osx,
 but
  I've never tried it on windows so...
 
  If you want really precise control over which frequencies you're
 remapping
  then you need to change the pd patch a bit but it's just a question of
  converting bin number to frequency value, which is simple.
 
  Best,
  Peiman
 
 
 
 
 
 
  *www.peimankhosravi.co.uk || RSS
  Feedhttp://peimankhosravi.co.uk/miscposts.rss ||
  Concert News http://spectralkimia.wordpress.com/*
 
 
  On 23 October 2013 08:59, Ronni Montoya ronni.mont...@gmail.com
  wrote:
 
  Hi list , i need to iterate over all the frequency bins of a sound
  getting each frequency and then i need to map that frequency to a
  specific frequency .
  Do anybody have tried something like this in pd?
  which is the best way of doing this in pd? any hint?
 
 
  cheers
 
 
  R.
 
  ___
  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-l2ork running on OSX

2013-10-25 Thread Jonathan Wilkes

On 10/25/2013 01:53 PM, Dan Wilcox wrote:
Can you check the link? Didn't work for me ... also, we should all 
donate if we can. Jonathan has been doing alot of great work.


Sorry, the link should be this:
https://jwilkes.nfshost.com/Pd-l2ork.zip

-Jonathan



On Oct 25, 2013, at 6:00 AM, pd-list-requ...@iem.at 
mailto:pd-list-requ...@iem.at wrote:



*From:*Jonathan Wilkes jancs...@yahoo.com mailto:jancs...@yahoo.com
*Subject:**[PD] Pd-l2ork running on OSX (was: Re: New Blankets names 
Jonathan Wilkes Artist in Transit Fellow)*

*Date:*October 25, 2013 at 12:02:15 AM EDT
*To:*pd-list@iem.at mailto:pd-list@iem.at pd-list@iem.at 
mailto:pd-list@iem.at



Apropos:
Here's a first attempt at getting Pd-l2ork up and running on OSX:

https://jwilkes.nfshost.com/Pd-l2ork.app.zip

* Includes a few libraries: zexy, import, cyclone, and ggee
* I also replaced the help browser with the search-plugin powered by 
the xapian backend
* I added references and meta patches to the control, audio, and data 
structures tutorials.


If you haven't used Pd-l2ork before, it has some interesting features:
* infinite undo
* preset_hub and preset_node for settings presets on patches and 
abstractions
* quick-connect: e.g., make a [route 0 1 2 3 4 5 6 7] and eight 
message boxes below it, then select all of them and make a connection 
from the leftmost outlet of [route] to the leftmost message box.  Now 
all are connected!  (There are some other shortcuts when you select 
just the topmost or bottommost object, too.)

* pdinfo, canvasinfo, and classinfo objects
* a bunch of other improvements that should all probably be 
documented in a What's New patch that doesn't exist yet.


Please test it and let me know how it works.

If you'd like to give a donation, then please follow Joe's instructions
below for the New Blankets mini-fundraiser.

Best,
Jonathan



Dan Wilcox
@danomatika
danomatika.com http://danomatika.com
robotcowboy.com http://robotcowboy.com







___
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-l2ork running on OSX

2013-10-25 Thread Phil Stone
I have too many prerequisite libraries to run completely successfully, 
but what I can see is very impressive.


I think I'm almost immediately addicted to the splined patch cords. I'll 
play with this some more when I finish my current project.


Nice work, Jonathan (and of course, Ivica et al. -- as an OSX user, I 
haven't had the pleasure of seeing your work before today)!




Phil



On 10/24/13 9:02 PM, Jonathan Wilkes wrote:

Apropos:
Here's a first attempt at getting Pd-l2ork up and running on OSX:

https://jwilkes.nfshost.com/Pd-l2ork.app.zip

* Includes a few libraries: zexy, import, cyclone, and ggee
* I also replaced the help browser with the search-plugin powered by 
the xapian backend
* I added references and meta patches to the control, audio, and data 
structures tutorials.


If you haven't used Pd-l2ork before, it has some interesting features:
* infinite undo
* preset_hub and preset_node for settings presets on patches and 
abstractions
* quick-connect: e.g., make a [route 0 1 2 3 4 5 6 7] and eight 
message boxes below it, then select all of them and make a connection 
from the leftmost outlet of [route] to the leftmost message box.  Now 
all are connected!  (There are some other shortcuts when you select 
just the topmost or bottommost object, too.)

* pdinfo, canvasinfo, and classinfo objects
* a bunch of other improvements that should all probably be documented 
in a What's New patch that doesn't exist yet.


Please test it and let me know how it works.

If you'd like to give a donation, then please follow Joe's instructions
below for the New Blankets mini-fundraiser.

Best,
Jonathan


On 10/10/2013 12:48 AM, Joe Deken wrote:

New Blankets Inc. is a non-profit Foundation dedicated to the the
re-invention of the Free Community Public Library in the realms of new
media.  Specifically New Blankets develops the dimensions _of_

 --  free/open communities

 --  _circulation_  and _sharing_ mechanisms

 --  technology innovations

which together weave and support new benevolent cultural communities.

New Blankets is pleased to announce today the recognition of Jonathan
Wilkes as our latest Artist in Transit Fellow.

  . New Blankets has provided Jonathan with an initial honorarium of
$500 to support his work.

  . In addition to the initial honorarium support, New Blankets has
also launched a  1 : 1 matching mini-fundraiser during the
coming month (October 14 - November 14, 2013),  to further support
Jonathan and the Artist-in-Transit Fellowship:

  1)  That is, any contributions to New Blankets during Oct 14 - 
Nov 14
   which you kindly care to make and designate for Artist in 
Transit
   will be matched 1 for 1 by New Blankets -- up to a $500 
matching

   limit.
   2) At the end of the one month mini-fundraiser, the total sum
   (your contributions + NB matching amount) will be 
presented to
   Jonathan at *PdWeekend* -- to be held Nov 15-17, 2013 with 
Miller

   Puckette  Friends in San Diego and Los Angeles CA.

***
 If you would like to  make a contribution -- small or large -- 
to the
 New Blankets Artist-in-Transit fundraiser, please send e-mail 
ASAP to

 New Blankets, using the special fundraiser address :

wilkes_...@newblankets.org

 When we hear from you, we will arrange a convenient way for you to
 send your check or electronic payment to New Blankets, by 
whichever of

 several available methods may be most convenient for you.)
***


** PdWeekend**
   If you would like to participate in PdWeekend with us in
   California on Nov 15-17, you are cordially invited and 
most

   welcome!
  Kindly RSVP yes and let us know your plans to 
participate

   with us in San Diego (Nov 15) or Los Angeles (Nov 16-17)
   by sending e-mail ASAP to:

pdweek...@newblankets.org

  We will then send you a confirming e-mail immediately,
   and we will keep you advised as our *PdWeekend* plans
   and the details of events move forward, from now until
   November 15.

   The *PdWeekend* events are quite informal, but they also
   will include four structured workshops on Saturday Nov 16
   -- in co-operation with CrashSpace LA:

                 
 * Miller Puckette:   Pd+Raspberry Pi
 * Katja Vetter:   DIY Live Sampling Microphone-Build 
Slice//Jockey
 * Ico Bukvic: Laptop Orchestrating with your Friends
 * Jonathan Wilkes: Your Computer, Your Creativity

  ** Registration is required each of the above workshops **
                 

[PD] csound6~

2013-10-25 Thread Ronni Montoya
Hi, any idea where can i find csound6~ compiled for macosx?
i been looking for it on google but no luck.


cheers


R.

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


Re: [PD] csound6~

2013-10-25 Thread John Colgrove
Also, I just realized you can download it separately on that same page too.

On Oct 25, 2013, at 3:50 PM, Ronni Montoya ronni.mont...@gmail.com wrote:

 Hi, any idea where can i find csound6~ compiled for macosx?
 i been looking for it on google but no luck.
 
 
 cheers
 
 
 R.
 
 ___
 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] csound6~

2013-10-25 Thread John Colgrove
It comes bundled with the Latest version of Csound found here: 
http://sourceforge.net/projects/csound/files/csound6/Csound6.01/

On Oct 25, 2013, at 3:50 PM, Ronni Montoya ronni.mont...@gmail.com wrote:

 Hi, any idea where can i find csound6~ compiled for macosx?
 i been looking for it on google but no luck.
 
 
 cheers
 
 
 R.
 
 ___
 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-l2ork running on OSX

2013-10-25 Thread Dan Wilcox
Ok. Just playing around a little and noticed:

* there are 2 Preferences menu options in the Pd menu, the first works and is 
a folder with further options while the second Preferences... doesn't do 
anything.

* the Media menu has a couple empty sections with remaining separators where 
the Audio  Midi settings options used to be

* the put menu is empty when the main pd window is active, while Pd-extended 
simply greys out the menu options. The Put menu is then populated after 
selecting a canvas window.

* the Search Browser works and is noticeably faster than the last time I tried 
it, but the search result links don't work for me. Navigating with links on the 
Home page do work.

* I'm not a fan of the separate console window .. yet another window floating 
around, but that's not a huge deal

* dosen't have the nice icon that pd-extended has :D also, pd-lork should 
consider using something similar to the nice About patch in Pd-extended.

Oh, there are so many improvements in pd-lork! So nice. I hope most if not all 
of these make their way into vanilla. The gui performance is much better, 
although I like the Pd-extended main console window better. The patch cords are 
obviously nicer, although I like the straight lines in Pd-extended better with 
anti-aliasing off, however that's just a niggle.

On Oct 25, 2013, at 6:00 AM, pd-list-requ...@iem.at wrote:

 From: Jonathan Wilkes jancs...@yahoo.com
 Subject: [PD] Pd-l2ork running on OSX (was: Re: New Blankets names Jonathan 
 Wilkes Artist in Transit Fellow)
 Date: October 25, 2013 at 12:02:15 AM EDT
 To: pd-list@iem.at pd-list@iem.at
 
 
 Apropos:
 Here's a first attempt at getting Pd-l2ork up and running on OSX:
 
 https://jwilkes.nfshost.com/Pd-l2ork.app.zip


Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com





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


[PD] GEM window immediately closing

2013-10-25 Thread Mike Moser-Booth
Hello list,

I decided to take another crack at learning GEM today, and have immediately
hit a snag. I'm using the 64-bit build of Pd-extended 0.43.4 from
apt.puredata.info with the KXStudio distro (based on Ubuntu 12.04).
Whenever I try to create a GEM window, it flashes for a fraction of a
second and closes. With messages set to all, the Pd window says:

GEM: Only using 8 color bits
GEM: Direct Rendering enabled!
GEM: GLEW version 1.5.4
GEM: Start rendering
GEM: Stop rendering

Any thoughts on why this is happening and how to fix it?

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


Re: [PD] GEM window immediately closing

2013-10-25 Thread puredata
I'm also using KXStudio and apt.predata.info / 64bit / hd4000 - i  
don't have this issue. What's your graphic driver?



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


Re: [PD] moog~ in pure pd?

2013-10-25 Thread Ed Kelly
Hmmm. I made a moog-style filter last year, but it's an external of course. 
Totally ripped from source code I found elsewhere, but it may help if you look 
at the algorithm for the filter's operation.

Note that this is an IIR not an FIR filter, so it can burst and screw up your 
DSP chain (but only if you feed it bad values). Everything is signal-based - 
i.e. cutoff frequency and resonance.

Cheers,
Ed

  while (n--) {
    i1=(*in++);
    fc1 = (*fc++);
    /* This failsafe line stops the filter bursting
 * ...but it is expensive! */
//    if(x-safety) {
//  fc1 = fc1 = 1 ? fc1 = 0 ? fc1 : 0 : 1;
//    }
    res1 = (*res++);
    q = 1.0f - fc1;
    p = fc1 + 0.8f * fc1 * q;
    fcoeff = p + p - 1.0f;
    q = res1 * (1.0f + 0.5f * q * (1.0f - q + 5.6f * q * q));
    i1 -= q * xb4;  //feedback
    t1 = xb1;
    xb1 = (i1 + xb0) * p - xb1 * fcoeff;
    t2 = xb2;
    xb2 = (xb1 + t1) * p - xb2 * fcoeff;
    t1 = xb3;
    xb3 = (xb2 + t2) * p - xb3 * fcoeff;
    xb4 = (xb3 + t1) * p - xb4 * fcoeff;
    xb4 = saturate(xb4);
    xb4 = xb4 - xb4 * xb4 * xb4 * 0.01f;
    xb0 = i1;
    *out++ = xb4*1.414; // lowpass mode
    // *out++ = i1 - x-b4; // highpass mode
// Lowpass  output:  xb4
// Highpass output:  in - xb4;
// Bandpass output:  3.0f * (b3 - xb4);

  }



 
Ninja Jamm - a revolutionary new music remix app from Ninja Tune and Seeper, 
for iPhone and iPad
http://www.ninjajamm.com/


Gemnotes-0.2: Live music notation for Pure Data, now with dynamics!
http://sharktracks.co.uk/ 



On Tuesday, 15 October 2013, 13:16, Billy Stiltner billy.stilt...@gmail.com 
wrote:
 
martin, I have not tried the moog but did use one of your abstractions using 
the fexpr~ as a starting point to build the original dsp cookbook 
filters(frequency thats where its happenin man) , I had been wanting to hear 
them in realtime since 1998 or so. I'm not sure I have them in there correct as 
they are over resonant but make a nice oscillator for  drums if properly 
limited.





On Fri, Oct 11, 2013 at 5:33 AM, martin brinkmann m...@martin-brinkmann.de 
wrote:

On 10/11/2013 08:32 AM, Dan Wilcox wrote:

 [vcf~] sounds close, but of course, it's a band pass so it's not a real 
 replacement.

the undocumented 2nd output of vcf~ is a lowpass. and there are a few
methods to build the basic (cookbook) filters with pd-vanilla-objects:
you could use fexpr~ to make your own signal-rate biquad. it works very
well, but needs a lot more cpu than necessary. or you could use
cpole~/czero~. like in the beequad-abstractions. i have used the same
method in all my filters, with signal-rate. (in my instruments
collection on my homepage). of course this is still not exactly
moog~. it should be possible though to make a moog-abstraction
in the same way, but i have not tried (yet)...
maybe anyone else has already?

bis denn!
        martin

___
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


/*
 * moog vcf, 4-pole lowpass resonant filter
 *
 * (c) Edward Kelly 2012
 * BSD License
 */

#include m_pd.h
#include math.h
#define _limit 0.95

static t_class *mvcf_tilde_class;

typedef struct _mvcf_tilde {
  t_object x_obj;
  t_float b0, b1, b2, b3, b4;  //filter buffers to keep (beware denormals!)
  t_float token, debug, safety;
  t_outlet *lp;
} t_mvcf_tilde;

/* We could have a mode where the fc and res are only registered at the start of the block (quick) or are registered in signal mode (slow) - i.e. a flag */

static inline float saturate( float input ) { //clamp without branching
  float x1 = fabsf( input + _limit );
  float x2 = fabsf( input - _limit );
  return 0.5 * (x1 - x2);
}


t_int *mvcf_tilde_perform(t_int *w) {
  t_mvcf_tilde   *x =   (t_mvcf_tilde *)(w[1]);
  t_sample  *in =   (t_sample *)(w[2]);
  t_sample  *fc =   (t_sample *)(w[3]);
  t_sample *res =   (t_sample *)(w[4]);
  t_sample *out =   (t_sample *)(w[5]);
  int n =  (int)(w[6]);

  float t1 = 0;
  float t2 = 0;
  float xb0 = x-b0;
  float xb1 = x-b1;
  float xb2 = x-b2;
  float xb3 = x-b3;
  float xb4 = x-b4;
  float i1 = 0;
  float fc1 = 0;
  float res1 = 0;
  float q = 0;
  float p = 0;
  float fcoeff = 0;

  //  while (n-=4) {
  while (n--) {
i1=(*in++);
fc1 = (*fc++);
/* This failsafe line stops the filter bursting
 * ...but it is expensive! */
//if(x-safety) {
//  fc1 = fc1 = 1 ? fc1 = 0 ? fc1 : 0 : 1;
//}
res1 = (*res++);
q = 1.0f - fc1;
p = fc1 + 0.8f * fc1 * q;
fcoeff = p + p - 1.0f;
q = res1 * (1.0f + 0.5f * q * (1.0f - q + 5.6f * q * q));
i1 -= q * xb4;  //feedback
t1 = xb1;
xb1 = (i1 + xb0) * p - xb1 * fcoeff;
t2 = xb2;
xb2 = (xb1 +