• cacosomoza

    Hi there! I haven't been puredating for a while. I have BIG problems with dsp load and I don't know how to solve it. I created a big patch to play live. It contains several sub-patches and abstractions. Honestly, I think the code is very untidy and inefficient and I resolved to redesign it.

    I'm on OS X , Book pro 2.9 Ghz i7, 8GB Ram. The main problem is that my program seems to overload CPU. Whenever I open it, Activity Monitor shows constantly 99%-100% CPU usage.

    1. I would like to know which are the best and more informative ways to monitor CPU usage within a big patch. I would love "local" information.

    Laptop fans start like if the system was being raped and it looks as if the laptop is going to take off. The program gets super slow and it takes seconds to answer my movements. Things became pretty unusable. I tried several things: First, [switch] off the program so that I can study my code and see where are my cpu burglar routines. I saw switch just shuts up audio but computation remains. Turning audio off with Cmd+. doesn't help neither.

    1. Is there a way to see a complex patch and make sure no computation is taking place? I thought about taking images of every abstraction/subpatch within. Obviously, reading the patch as text file is nightmarish.

    Alternatively, I delete modules one by one in order to inspect where I have a considerable decrease of cpu usage. Problem is, deleting abstractions or subpatches causes PD to crash almost every time I do this.

    1. Why?

    As far as I know, things one should avoid to increase efficiency are:

    • Do not overload patch with GUI components. Is this also true for bangs? Sometimes I use gui bangs to convert a message signal into a bang (throw event x when parameter y is changed) Is this problematic? Are signal graphs very cpu demanding? what about knobs, faders, etc?

    • Use data signals instead of audio signals when possible. I like to use audio signal to control audio, but I'm aware this should not be escalated quickly.

    1. Do you know a comprehensive tutorial on efficient design? Is there any place I can check how come cpu-demanding are every object?

    Thank you guys for your time, I'm in desperate need of your help!

    I also increased latency up to 500 ms as recommended in this thread:
    http://puredata.hurleur.com/sujet-6781-dsp-cpu-usage

    posted in technical issues read more
  • cacosomoza

    Hi there! Just searched about it but didn't find any results.

    Whenever I use a subpatch with 'graph-on-parent' enabled, I have to right click on it from the parent patch and hit 'open' in order to see it.

    Is there any way to define a key combination, such us 'ctrl +click' in order to access them faster? It drives me nuts whenever I'm live and need to change something specific within a subpatch. (In my honest opinion, working with abstractions is painful whenever you keep using them and updating them in different projects. While with subpatches it is a Copy+paste matter)

    Thanks in advance!

    posted in technical issues read more
  • cacosomoza

    Hi there! I find myself kind of lost. I'm designing a simple drum sequencer. I want to be able to use mp3, flac, and related files so my only way out is readanysf~

    Problem is when using readnsysf~, if I send several "play" messages in short bursts, this object won't play this file every time, so there's always a humble limit to how many plays can receive per second.

    I thought I should dump the file to a table (I'd use soundfiler if I could get it to read other files) and then play it using tabosc~ or similar. How do you usually approach this issue?

    posted in technical issues read more
  • cacosomoza

    First of all, I already read excellent tutorial on the subject by Maelstorm and the superb online book on https://ccrma.stanford.edu/~jos/filters/filters.html.
    I would like to compute simple schemes in pd in order to study digital filter design.
    However, I don't want to use [cpole~] and related. I want to create the filter on a sample by sample basis using the signal flow from the difference equation.

    My first try was:

    [sig~ 1] [sig~ 1]
    | |
    | [lrshift~ -1]
    | |
    [-~]
    | %%%this is my impulse input signal%%%%%
    |
    [+~]\[r~ feedback]
    /|
    / [*~ 0.5]
    / |
    / [s~ feedback]
    [bang~]

    I get the following error "DSP loop detected (some tilde objects not scheduled)". I'm not an advanced user of pd, and I get kind of lost when trying to implement stuff that implies working on a sample-by-sample level. Do you guys have any recommendations?

    Thanks in advance and long live pure data

    posted in technical issues read more
  • cacosomoza

    Hi there! I was just trying to compare two strings with expr, but [expr $s1==$s2] won't even create. Why? I'm familiar with using floats on expr, but not symbols

    posted in technical issues read more
  • cacosomoza

    Hi there! First of all, I'm not a software developer, but just a Pd freak. I'm trying to get a working pd app for my Samsung Galaxy SII on Android. I have surfed the internet, like for 4 hours at least, and didn't actually get any satisfying and lay-man's way of doing it.

    1. Both Pd and Droidparty require Vanilla-limited pd patches. Why is so? I think most of my work on pd is extended based.

    2. Is there any kick-ass tutorial, embed pd for dummies or such that I'm not aware of? I've seen this process implies using Eclipse, Android SDK for dev. I'm open minded, and I want to research on this, but I have other projects too and don't wanna get stuck in every step.

    Thanks everybody!

    posted in technical issues read more
  • cacosomoza

    Did you ever guys tried to implement those or related on Pure Data? Is there any kind of patch out there with a whole bunch of mathematical common expressions?

    I'm not entirely familiar with [expr] but I will give it a try. Is it gonna be a nightmare or should I just dump values coded with Mathematica or Matlab from a txt file?

    My intention is to drive sound events with hydrogen wave functions. Any experience on that¿

    posted in technical issues read more
  • cacosomoza

    If I want to work with an array within an abstraction and make it strictly local naming the array $0-my-table or such, it won't work when actually using the abstraction and I continously receive: "error: 0-my-table: no such table"

    What am I missing?

    posted in technical issues read more
  • cacosomoza

    Hi all, I searched for some info on the shortest time interval available for the tempo object. I pressume 1/ 44100 secs won't work. I'm trying to fill (sample) a table with sequenced snaphshot~ values taken from an audio signal.

    Which is the shortest interval available on [tempo]?

    posted in technical issues read more
  • cacosomoza

    A simple question folks:

    Is it possible to send audio from a bus within a subpatch using [throw~ name] and receive it in the parent patch using [catch~ name]? I actually tried it and didn't seem to work. What am I missing?

    Thanks in advance!

    posted in technical issues read more
  • cacosomoza

    Hi there! First of all, I've been researching on JackOSX for two days. Read the whole manual, followed the tutorials, watched some videos here and there...

    I managed to route audio from Pure Data to Live. Now, I'm so stuck with trying to use Pure Data as VST processor. The topology would be the following: Live VST1/2 send ports to Pure Data Receive ports1/2. Pure Data send ports to Live VST1/2 receive ports and finally Live send port to System receive port.

    I'm pretty sure I'm doing everything OK but my problem is all about the Jack interface: The one click/two clicks system for select/activate simply does not work properly. It even seems to have a random behaviour, sometimes it works, sometimes it doesn't. Besides, the connections column won't let me erase some connections by double-clicking.

    Am I the only one? Did I miss something? Anyone facing the same situation?

    Thanks in advance

    posted in technical issues read more
  • cacosomoza

    Hi there! I'm following the magnificent turorial on synths by obiwannabe (http://www.obiwannabe.co.uk/html/music/6SS/six-simple-synthesisers.html) and I have a problem with canvases.

    I'm familiar with the graph-on-parent technique but I don't quite get the point with canvases. I'm actually talking about "Adding GUI components" step in the mentioned tutorial. Code is attached. My questions are:

    The whole purpose of canvases is simply to make colored background rectangles? Why am I not able to superpose already existing objects (faders or whatever) on canvases? They stay hidden in the back. However, If I create those objects after the canvas, the appear at the front.

    Thanks in advance

    http://www.pdpatchrepo.info/hurleur/6SS-111-gui.pd

    posted in technical issues read more
  • cacosomoza

    Hi there! I share with you guys my first version of a wind sound generator I've being designing lately. I like to think of it as a Luigi Russolo tribute.

    Hope you like it. If you tweek and play with it you can actually make really diverse wind and drony sounds.

    http://www.pdpatchrepo.info/hurleur/windmaker.zip

    posted in patch~ read more
  • cacosomoza

    Hi there! I share with you guys my first version of a wind sound generator I've being designing lately. I like to think of it as a Luigi Russolo tribute.

    Hope you like it. If you tweek and play with it you can actually make really diverse wind and drony sounds.

    http://www.pdpatchrepo.info/hurleur/windmaker.zip

    posted in patch~ read more
  • cacosomoza

    Hi there!

    I've been digging around GEM for a few weeks and I'm trying to make a basic VJ patch.

    Since [pix_mix] won't mix non-dimensionally equal video sources, I would like to know how do you guys approach this problem in a clever and flexible way, which I guess it comes from using [pix_resize]. Ideally, I would like to set some preferred aspect ratios and just punch them globally. However, I will use fullscreen mode most of the times.

    Thanks in advance! I share with you the related patch

    http://www.pdpatchrepo.info/hurleur/videophyclean.pd

    posted in pixel# read more
  • cacosomoza

    That's it, how do i do? and I would need in aif or related

    posted in technical issues read more
  • cacosomoza

    Hi there! Need help, Pd will crash automatically when starting the program. Seems last patchs opened messed something, because first it shows the different patch windows and then it crashes.

    Is there any way to make Pd forget which patch was opened the last time and just execute the console? Any similar experience?

    I'm running Pd extended 42.5 on OS X 10.7.3

    PD: I will appreciate your help. I'm kinda of addicted to Pd lately. Peace

    posted in technical issues read more
  • cacosomoza

    Hi there Pd friends!

    I've been a few days trying to get a neat solution to route signals. My objective is a routine which takes a single flow of data (or audio), splits it into an arbitrary number of different processes and finally one of them (just one) is sent out. Which process is activated (de-activated) is decided by the user. A basic instance of this scheme is the bypass of a process: "keep the flow altered or unaltered if I tell you so"

    I would love to use radio bars GUI's to decide which process gets in. I actually created a solution but to my eyes it just seems to ugly, there must be an obvious way which I just didn't come up with. I used a net of spigot objects, each one for each process. They are individually controlled by 0 or 1 messages and once a 1 is sent trough any process ('process activated') a 0 is sent to every other spigot objects...

    Anyway, would love to here from you guys.

    posted in technical issues read more
  • cacosomoza

    Hi there! I'm actually copying step by step this fantastic patch I found on youtube:

    My question is: Whenever I try to use the objetc appearing at 4:00, id est, a "0xa-snap" object, pd won't recognize it. Should I download some package I'm not aware off? Is it simply made by the author?

    By the way, this patch makes uses extensively of the expr~ package. Any idea where can I find a great tutorial about it? I'm not myself too used to C programming so I miss most of it.

    Thanks in advance,

    running Pd-Extended 0.42.5 on Mac OSX Lion 10.7.3

    posted in technical issues read more
  • cacosomoza

    Hi there!

    I'm an amateur user of Pd and I have some questions for you guys. I'm actually pretty interested on having access to spectrographs in Pure Data but I didn't find an standard object that actually makes that.

    I follow the magnificent Andy Farnell's "Sound Design" but unfortunately spectrographs in PD are firstly shown in chapter 13.4 without no real explanation. I downloaded this file (http://aspress.co.uk/sd/ch13/shaping-differentiation.pd) and tried to understand the patches inside, but not really quite got the routines associated with fft~ objects.

    Is there any standard spectrograph object which I'm not aware of? How do you usually work with this? Any important reference I'm missing?

    Thanks for your time

    posted in technical issues read more
Internal error.

Oops! Looks like something went wrong!