-
enrico
So excited to see the browser to find externals into the app!
-
enrico
hi all, this is a little patch to transform a decimal number into binary and back to the original again.
maybe this will be useful very few times ... but I spent yesterday how to figure out until a friend explained it so easy to mehttp://www.pdpatchrepo.info/hurleur/decimal-binary_conversion.pd
-
enrico
Hello to everybody,
I would discuss with you about some good philosophy for organize PD patches in order to have the most number of projects ready to work in a given time.I have an intensive work on PD for digital music creation and development. For me is usual spend a lot of time when I re-open an old working project and find it doesn't work now, because in the meanwhile I have optimized some self made abstraction or external.
If you use the same abstractions/externals in more than a patch (I hope;-), often is necessary and useful make them better to improve your current projects, but the old project architectures now are probably out of order... THIS IS A BIG PROBLEM FOR ME.yesterday I found out a trick, perhaps many of you know it or have a better method.
Is possible to refer to your patches from any part of your hard disk by writing a path on the actual object you create inside PD e.g.:
C:/pd/synth/myabstraction [example of absolute path]
../synth/myabstraction [example of relative path]So if you want to use the object delay you have in your computer, then make a new object and write on it [C:/pd/dsp/delay] if this is the path.
MY METHOD is this:
I have a folder named "pd" and subfolders named synth, dsp, external etc... I refer from every new project I do.
---> this is my environment for development
Every time I start a new project I save it inside this folder and I refer to the abstraction/externals I use by writing RELATIVE paths on the new objects.
When the project is finishes (ok, works is enough I simply save a pd folder CLONE in another part of my hard disk and I name it with the project name.
In this way I continue to develop the "pd" folder, make new projects, BUT the old ones are well separated and... EVERY TIME WORKING for me.
what do you think about?
Have good pd projects !
Enrico
-
enrico
SSSAD it's a nice way for collecting presets.
I think this is an important correction of sssad save module to post.
I use patches with a sssad module for each abstraction (many).
In the main project window I create a subpatch where to collect several sssad messages (messages created inside "pd datastore"), during a performance I can load many presets.Sometimes is useful to change only certain settings and leave others unchanged, thus I write sssad messages with only the commands I need.
The "sssad.pd" I propose you, doesn't send messages when there's no relevant command to perform for his "parent".I was said I should post this in the pd-list, but I feel it dispersive
ps: [sssad] was written by Frank Barknecht <fbar@footils.org> and was inspired from
a discussion about Max's [pv] and [pvar] objects on pd-list brought up by "Item
State" -
enrico
Hi all, I had some technical questions about pdvst, instead of writing to Joseph Sarlo I thought it was better to open a new topic about it, it's the first:
-Anyone knows how can I add new search paths for patches or other files inside pdvst?
thanks
-
enrico
it is some years I use the Hardoff's saturator and it sound great
these days I'm working on a project using libpd and xcode and I can't use the expr operator because of the GNU license.
So I was looking for some mathematical function to approximate tanh
finally I used this: y=0.68*atan(1.95*x)
I post the patch. This simple example with atan allows you to change the slope of the curve, by modifying (1.95*x) and create the desired boost for the mid-range level (you have to clip -1 +1 if you increase this value)It is not the same to tanh of course, I ask you some suggestion to improve it without using expr. I'd like to use the error function but I don't know how to implement in Pd.
cheers
-
enrico
maybe you can post your problem, me or others could help you
-
enrico
here I found s-abstractions which use sssad module
http://mccormick.cx/projects/s-abstractions/
links for download seems not work to me, (post a mail to Chris if you want)
so I attach the s-abstractions.tar.gz file I downloaded in 2007 (don't know about updates)
here I learned to use sssad and if I did, you can do the same and better
then,
-
if you want to save and load (<- much important) presets only for a selection of parameters you have
-
if you want create multiple presets
read my tutorial and try to use my version of s-abstraction, which is the same to the original except for one or two patches
hope you will be a fan of s-abstraction or simply the wiser
-
-
enrico
ok guys,
as I said before I created a new version of example-preset patch where you can see the method I use to create and load several different presets using s-abstractions.the new version is a step by step tutorial patch where learn to use sssad save module and create different presets
please give me some feedback,
have funE.
-
enrico
because I use s-abstractions made by Chris McCormick, he wrote several patches provided with memory for presets. One of these abstractions called seq16 is a sequencer for rhytmical patterns and it outputs on the right outlet the number corresponding to the list you create (eg: 1-0-0-0-1-0-1-0-1-1-0-0-1-1-1-1). I added a conversion to recreate the list from this number, so you can save the rhythm and then load the preset. Here I post the simple project, if you like you can look for the other s-abstraction.
bye
-
enrico
I do the same:
send a signal to vcf~ (setting a specified frequency and high Q)
then subtract from original signal.
It could be used the complex filters as well, but they are quite obscure to me -
enrico
this is the simplest way to compile externals on osx 10.5 and pd-0.41-4
(really rude method)-
install Xcode
-
write your external.c or find one already done
-
open finder -> applications -> pd-package. open package.
Then go to Resources -> extra.
there are some built in externals folders
-make a copy of one of these folders and rename the same as your external.
-inside this folder delete all the files except the makefile and copy your external.c there.
-open the makefile and rewrite the fields NAME and CSYM with the name of your external (if sou wrote a tilde external -> see one of the built in as fiddle~)
Save -
ok, now come back to "extra" folder, open makefile and change at first row "pd_linux" with "d_fat"
Save -
open terminal and type:
cd /Applications/Pd-0.41-4.app/Contents/Resources/extra/your-external
make -
copy the external in "extra" folder or where it needs
it's done.
-
-
enrico
Thanks you guys for reply.
For sure the advice from Obiwannabe is important because at least for the early period of its life, an abstraction or a self made external can be deeply modified.
But, actually I like to make better and better my abstractions, for example in a dsp or synth by adding some new switch, slider, parameter....
Abstractions may contain obscure errors.
Therefore, sometimes I have to change the library folder, and this increases the performance of new projects. On the contrary the old ones are broken.If you use relative paths referring to your abstractions/externals, then by make copies of used files in a separated project folder, you fix all the compatibility problems because you don't change more those files unless you want.
Of course you have not to copy the audio files that can be stored in a well defined folder out of the project folder.
When you want upgrade an old project with new abstractions/externals you can copy them from the pd-development-folder and easier fix the compatibility problems.
This method helps you also when you want share a project like this with someone else because it gathers all the dependences.
Think for example of a recording project, a live performance, a course lesson where you have to show something that perfect works...then after some months you have to do the same thing but now your develop-environment is changed.
-
enrico
I cannot answer this if I haven't a full working Memento, anyway as far as I can see, Memento is oriented to store several presets and quickly switch among them.
The same is possible with SSSAD as well.You can store several presets by creating a number of subpatches named as you wish (e.g. pd preset1, pd preset2, ...). Then, when you want to save the "preset1" state, you have simply to apply this argument on the "datastore" abstraction and press "save" button.
Once you have saved your presets, send bangs to the messages stored inside subpatch preset1, preset2, ... in order to switch among different presets.
I cannot say more about Memento but I think I will continue to use SSSAD.
Bye
E
-
enrico
you can try to install Asio4all, I obtain a nominal latency of 15 ms with my built in audio card realtek. Inside pd choose ASIO (portaudio) and lower latency from there.
Instead using my "good" sound card I cannot choose the asio drivers (that is misterious) -
enrico
ok, with SSSAD module I can make independent presets, and change only those I need.
Perhaps somebody doesn't know sssad or my method can be little obscure,
therefore I prepared an example patch where you can see my method.In the old version of example-preset I used three abstractions from s-abstractions (by Chris McCormick), one of them I modified to include the SSSAD module (s-varenv). All the stuff you need should be in the attached folder.
the example is very simple but is useful for real time performances, (for instance using midi controllers).
The new version of example preset (english and italian version) is a basic tutorial for creating multi-preset patches
-
enrico
It is fantastic, thanks hardoff...
I was wondering, doesn't Pd process audio as 32 bit float? If it is right, then it would be better to use tabread4~ instead of tabread~, don't you think?In fact you'll probably have errors (some noise) to constrict the range of possible values from the [inlet~] signal to a 100000 points table.
anyway this is a very cool method to level volume, pd way of thinking amazes me every time
bye
-
enrico
Thanks Nestor, I worked on linux for 6 months and I'm not the right user for that.
Further I cannot use linux because: my sound card is the only one not supported by alsa drivers among RME stuff, and, I'm a really convinced Cubase user, cannot work on a emulator.
But in respect to Max/msp I prefer PD, it is radical, deeper and stronger than Max (to me), open source, with a really nice community, I like to be involved in.
People says that PD works better on Mac OS, maybe I will move on that system for the next laptop I buy.
Anyway until that day if I want go on with my hybrid computer music I have to struggle to get the best from what I have.bye