[PD] how to use a dollar argument
Hey, In several patches I had the following problem: I make a patch that I'm going to use in another patch. To make it possible to use several of these subpatches in the main patch, I add a dollarsign where needed. But when I apply this to arrays, I cannot make it work. For example a block that applies a window. It's nothing more than a tabread block. But I have four files with a window in. So I call the array to read: $1-window. But when I want to read it with a message: $1-window read gaussBig.txt, it doesn't load. Probably this is because of the ambiguity between dollarsigns in a message and elsewhere, or maybe due to the dollarsign not being replaced in the name of an array. Anyone any idea how to deal with this? I refer also to the documentation of this block on our website: http://idafx.blogspot.com/2007/04/mapwindow-pdf-in-this-document-one-can.html Another small problem: can you leave a graph visible in a subpatch (thus with graph on parent selected) without seeing it in the mainpatch where this subpatch is used in? Because when i select graph on parent for the graph, the graph also appears in the parent patch at the same place, being next to the block from the subpatch. -- Ronny Vanden Bempt (0486)510841 www.ropefly.com www.hetdepot.be [home]riddersstraat 226, 3000 Leuven [dom]verbindingslaan 36, 3001 Heverlee ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] high level beat detection
2007/4/25, Kyle Klipowicz <[EMAIL PROTECTED]>: Just a quick additional comment: aubio requires some other libraries. Mainly, fftw, libsamplerate, and libsndfile1. So be sure to compile these libraries first! Glad that you say it: do you know where to put these, where I get these,... I really never did this before. Certainly not on a windows computer gr R ~Kyle On 4/25/07, Olivier Heinry <[EMAIL PROTECTED]> wrote: > > Le mercredi 25 avril 2007 à 10:45 +0200, ronny vanden bempt a écrit : > > Hi, > > > > >From the fact that you are talking about .dll files, I assume you are on > the Windows platform. I'm not sure if it is possible to run aubio on > Windows. If you have trouble with this, I recommend you ask on the > aubio mailing list. > > I know that there are two ways to make it work on windows. But I'll look > for the answer in that mailing list indeed. Thanks. > If I don't succeed, I'll try it in linux. > > > Aubio is also usable as a python script, might be useful through pyext > > > > > > > ___ > PD-list@iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > > -- http://theradioproject.com http://perhapsidid.blogspot.com (()()()(()))()()())( (())(())()((( ))(((())))())))__ _())(()))___ (((000)))oOO -- Ronny Vanden Bempt (0486)510841 www.ropefly.com www.hetdepot.be [home]riddersstraat 226, 3000 Leuven [dom]verbindingslaan 36, 3001 Heverlee ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] high level beat detection
Hi, From the fact that you are talking about .dll files, I assume you are on the Windows platform. I'm not sure if it is possible to run aubio on Windows. If you have trouble with this, I recommend you ask on the aubio mailing list. I know that there are two ways to make it work on windows. But I'll look for the answer in that mailing list indeed. Thanks. If I don't succeed, I'll try it in linux. Also, did you try [bonk~]? Yes, I already did. But that is just a low level onset detector. I need the beat matching level after this onset detector, to result in a high level bpm value. best, Jamie On Tue, 2007-04-24 at 15:24 +0200, ronny vanden bempt wrote: > Thanks Jamie, > > I searched a bit, but I don't find how I should get aubio to work or > use in PureData. > Did you succeed in this? I guess you did. Can you explain it to me > then? > > Also do you know how I can change the source code, compile it and make > it work again in PureData? Again I mean, where do I put the .dll file > for PureData to include it. > > gr > Ronny > > 2007/4/24, Jamie Bullock <[EMAIL PROTECTED]>: > On Mon, 2007-04-23 at 10:21 +0200, ronny vanden bempt wrote: > > Hey, > > We're busy with making a beat detector in Pd, > > Are you already aware of aubio, which does this pretty well, > and > provides PD externals that wrap the functionality? > (http://aubio.piem.org/). > > Just might save you some time. > > best, > > Jamie > > > > > -- > Ronny Vanden Bempt > (0486)510841 > www.ropefly.com > www.hetdepot.be > [home]riddersstraat 226, 3000 Leuven > [dom]verbindingslaan 36, 3001 Heverlee -- Ronny Vanden Bempt (0486)510841 www.ropefly.com www.hetdepot.be [home]riddersstraat 226, 3000 Leuven [dom]verbindingslaan 36, 3001 Heverlee ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[PD] high level beat detection
Hey, We're busy with making a beat detector in Pd, but we're stuck in such a way that we want stopped trying to implement it as a patch. We're now skinning our matlab code to make it as fast and small as possible. After that we'll translate it to C code (hopefully the matlab-to-C compiiler helps us a little bit, because we're not so experienced in C programming). And then we'll try to turn it into a Pd external. I already worked through the external tutorial of Zmölnig, but I still have some questions: - How to use the the x_, a_ and t_ prefixes - I already understand how to compile and so on, but does anyone know a good C editor, free and windows (or is that a contradiction?) - How can we test and compile a 'block' without the main methods or header files included? Or how do you have to do that? I fear I'll also have many more questions when we really implement it. Hopefully you guys will help us out very soon. Ronny look at http://idafx.blogspot.com (or Pd webring) for more information -- Ronny Vanden Bempt (0486)510841 www.ropefly.com www.hetdepot.be [home]riddersstraat 226, 3000 Leuven [dom]verbindingslaan 36, 3001 Heverlee ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list