-
jeraman
hey folks,
i'm tryng to build a patch that would allow me to loop and control realtime recorded audio samples so that i could port a .
i've built the most part of it but now i'm having problems syncing the samples.
in the original solution (developed in C++), i sync them by keeping track of the position the main loop is when secondary loops are trigged to record. so everytime the main loop reaches that position, the system verifies if the loop has finished playing and play it again in the right timing (if necessary).
any idea of how to do the same in pd vanilla?
thanks in advance!
cheers,ps: i tried to resize the audio samples to multiples based on this marvelous code made by elboulangero but it doesn't give me the same results of the original approach. would i be doing something wrong? the source is attached.
-
jeraman
hey folks,
i've been experimenting with python and pd by these days for a art project i intend to do in near future. what i wanted was to create a python module that would allow me to "patch" using python code, without needing to open the pd gui itself, through dynamic patching (for example, if you want to create an [dac~] object, you just need to tell python about it, creating an instance of Object Box class)
despite most people don't think dynamic patching a neat thing, based on this idea, i've built a simple tool for that, the pyata. the whole stuff has some bugs, but it works pretty good (at least it fit my needs). you can check it at:
http://code.google.com/p/pyata/
with it you can:
* create, edit, remove, move, (un)select and click boxes (object, number, comments, symbols and messages);
* get from Pd the state of any box (number of inlet/outlets, the ID of each box on Patch, values of numbers and symbols);
* handle connection management (connect and disconnect boxes);
* handle basic operations (copy, paste, duplicate, cut and save);hope it can be useful for others too!
cheers,
-
jeraman
hi!
this is my first topic! more'll come soon! heh...
anyone knows if there is a way to edit a object through dynamic patching (sending messages to pd)?ps: i know that we can do this modifing the .pd file, but i'd like to use just messages...
thanks!
-
jeraman
thank you very much for the feedback, mod! i followed your sugestion and it worked fine! the new patch (built from scratch) is attached.
my problem now is latency in android plataform. hope i could be able to minimize it... has anyone here any hint about how to do it?
=/ -
jeraman
thanks for the quickly response!
more or less. i wanna use these messages to edit a specific object thats already in the patch. for example: suppose we already have a [osc~ 440] in a patch. how could we edit it to be a [osc~] (without deleting the old one and his connections)?i couldn't find it on the manual...