-
az
Many years ago there was this post: https://forum.pdpatchrepo.info/topic/4681/pure-data-generative-music-radio-stream-up-and-running
Thee is still some source left: https://github.com/rumblesan/PatchWerk-Radio but aside from that the project seems abandoned.
I guess the submissions should hold several interesting approchaes to the subject, so maybe its worth trying to go through the posts. I remember it inspried me a lot. Most of them appear to be offline though...
Here is the latest version of my submission for the radio station: https://github.com/noreabu/pd/blob/master/minimalchine/minimalchine_v2.pd
It is kind of an regular sequencer with some randomness at given intervals.
PS: Be careful with the reverb!! Its a pretty raw abstraction and may become very loud.
-
az
A friend of mine, for whom i created a patch has this issue as well... i'll go check the Tcl-Versions soon.
-
az
Maybe you habe both versions of Tk installed and PD is using the old one. On linux i would look for those librarys with like this:
locate libtk | grep .so ... /usr/lib/x86_64-linux-gnu/libtk8.4.so /usr/lib/x86_64-linux-gnu/libtk8.4.so.0 /usr/lib/x86_64-linux-gnu/libtk8.5.so /usr/lib/x86_64-linux-gnu/libtk8.5.so.0
then check the links with "ls -l" if there is a libtk.so that points to libtk8.4 for example.
-
az
On UNIX i usually try "locate $file" (after an updatedb) to find files really quick. In Linux there is one folder for a lot of .tcl files. I guess my default installation points to: /usr/lib/pd-extended/tcl/pd-gui.tcl
Once i changed the values directly in there to give PD a dark theme and it worked quite well, but i changed back because i only went half the way and ended up with too much black elements on a dark gray bg...
-
az
Since you provided no patch, it is quite difficult to guess reasons for a high CPU-Usage.
But generally: In my Patches i implement switches to disable parts of the GUI i need for monitoring. This saves me a lot of performance, since GUI-Updates are quite heavy on the CPU.
-
az
If you have performance issues, i suggest using [f] objects instead of number boxes. For monitoring purposes i found it useful to have a switch to output numbers in boxes. As your patch grows this will always be a factor, since GUI updates are quite CPU-heavy.
[route abs_x ...]
|
|   [X] <- monitoring
[ f ] [spigot]
| [0.123\ <- number box -
az
You can take a look a my patch for HID to XYZ that i use for moving gem textures. It is still in development, but may give you some starting points.
hid_xyz.pdI use a Xbox 360 Controller. The Left Stick is mapped to X/Y and RT/LT are mapped to Z. Nothing more is currently used.
-
az
Have you tried using [gate]?
Here is an example. The "Select Path" could be an number box.
[select path]
| [some controls]
| /
[gate] // number of desired paths can be set here
|
[s path1] [s path2] -
az
Hi,
i recently got a launchpad and did not find a patch in the forums, that was good for me, so i made a new one
If you want you can check it out.
Pros:
pretty abstract, one subpatch with LED-ID (midi note) as parameter makes global changes to colors really easy, can disable single rows with "play" buttons to the right, can be included as subpatchCons:
Lots of global receives and sends (all starting with "lp_")Cheers
Update: I've made some addtions and also created a virtual midi instrument with presets for hydrogen (in drum rack mode). Works pretty good, but a way to synchronize to a global time would be nice...
For easier access you can check out the patch, along with much more other stuff on github: https://github.com/noreabu/pd
http://www.pdpatchrepo.info/hurleur/launchpad_stepsequencer.zip
-
az
Hi,
i have an issue with pix_film, which gives me a white output, if it can't load a file...
Is it possible to catch the error message and send a bang if [pix_film] fails to load a file?
A patch is attached but it's more or less a sketch which can record and play 6 different videos and has an custom polygon black overlay. Fast start: check red and green checkbox and press the Keys from: A-H / Y-H.
Thanks and feel free to use my patch, suggest stuff i could improve or complain about it! I will share the final patch, if anyone is interested.
-
az
it is now early in the morning so the patch is a bit messed up and really more a sketch... but still listening to it, not getting bored
Ingriedients:
random+thought up numbers in many places
2 osc with different frequencies and lines, 1 noise for hihat, 1 step sequencer
lots of loadbang
4-4metro for BPM 2 ms (Credits go to fdM)Klick the red button, put up the volume and enjoy!
A short example is in my blog: http://az.zankapfel.org/?p=119
-
az
Hi,
i've managed to get some kind of head tracking to work(similar to Johnny Chung Lee).
I use:
Ubuntu 9.10
pd-0.42-4 / Gem 0.92.2 (custom installation)2 Infrared LEDs fixed at Glasses(powered by USB)
Wiimote:
In order to get it working i compiled Wiilib. Prior to that i had to install libcwiid1-dev. I filled in the HW-Adress of my wiimote an it worked.I've created a all-in-one Patch, with some OpenGL-primitives. You can download it here
Start PD with
pd -lib Gem -lib wiilib
Comments / Suggestions are very welcome. Here on in my blog.
Enjoy
-
az
Did you install the opencv objects? if yes, are they working?
-
-
az
Did you have any luck with ctlin?
Update: nevermind it is working... although there are some strange issues around my midi setup...
-
-
az
can you provide an example or the whole patch?
maybe i can give you some hints for debugging
-
az
in case you forgot: do you use a realtime-kernel with your audio-backend using realtime-priority?
-
az
I would go for OpenCV objects. The can be used in many ways. I have some experience in this field and can tell you, that the task you want to accomplish could turn out quite difficult, depending on how "fast and intuitive" you want to play your piano. Main reason for that are delays and detection errors due to lighting etc. etc... but nonetheless it's a world of fun
There you go: http://hangar.org/wikis/lab/doku.php?id=start:puredata_opencv
My approach for your idea would be(schematic):
[pix_video]
|
[pix_opencv_colorfilt 255 0 0 20] // for red, but i have not tested those values!
|
[pix_opencv_contours_boundingrect]
|
[... here comes the complicated(progamming-wise) part, where i would filter out detected rectangles that are smaller than the full size]please post your patch, if you suceed to make something great
-
az
In the first line of your .pd file your window position an size is defined:
#N canvas x-offset y-offset x-size y-size general-object/text-scale;
So i recommend you make a starter script, maybe in perl / python, for the different environments. This is maybe useful: http://learn.perl.org/faq/perlfaq5.html#How-do-I-change-delete-or-insert-a-line-in-a-file-or-append-to-the-beginning-of-a-file-