• chvolow24

    Thanks David! The subpatch solution worked perfectly, and this is all very helpful.

    The DAW is my own, so I'm in control of that end of the connection, and there is a block size negotiation. The errors in the signal at blocksize 64 are probably due to shortcomings in my implementation of the synchronization between the two programs, which uses two named semaphores for writing to and reading from a shared memory block. The actual transfer is just a memcpy. Checking out other folks' VST externals is a great suggestion -- I'll definitely do that.

    charlie

    posted in technical issues read more
  • chvolow24

    Hey all,

    I've written an external to send audio data from Pd to a DAW that I'm working on. To get the signal through with no errors, I need to increase the DSP block size to 512, which I'm doing with [block~ 512 1 1]. This works fine for my external, but seems to break [dac~]; upon enabling DSP, the error int he title is printed to the console, and no audio output is heard. I also changed the block size in audio settings to 512, which I thought would solve this. My expectation was that the 'Pd vector size' is set by [block~], and the dac~ input vector size is determined by the audio setting. If both are 512, then why might I get this error?

    posted in technical issues read more
  • chvolow24

    Thanks both! I'm always amazed by the speed on here; this is the best forum on the internet :)

    posted in technical issues read more
  • chvolow24

    Is there a way to change the target of a [receive] object the way one can with [send] when it is invoked with no arguments? It seems that there is not, but I'm unsure.

    Thanks!
    charlie

    posted in technical issues read more
  • chvolow24

    Hi all,

    I have a large patch with many layers of depth that's basically an imitation of old user-configurable synthesizers. Included is the ability to save presets, which is accomplished by writing values from all "send" objects to a text file, which can be read later (e.g. filter adsr, vibrato/tremolo frequency and depth, ring mod, etc.)

    The challenge I'm encountering is simply that it's cumbersome to add each new "variable" to the logic that writes and reads these presets, and as the number of variables increases, so too does the difficulty associated with debugging the preset function.

    Is there a way to get a list (in common sense of the word, not necessarily the pd object sense) of all send symbols used in a patch and all of its subpatches? To get such a list in the context of the patch itself would be most useful, but even a trick outside of pd that would grab all of the names from the patch's source code would help.

    Thanks in advance!
    charlie

    posted in technical issues read more
  • chvolow24

    @ddw_music Undesirable behavior at a 0Hz cutoff makes sense, though I think what's most surprising to me is that the filter still produced a signal when the filtered signal (the leftmost inlet) was also at 0. But there's a lot I don't understand about the mechanics of how these filter work, so I shouldn't be surprised. Moving the amp env downstream is an easy fix that should work. thanks so much for your help!

    posted in technical issues read more
  • chvolow24

    Hello!

    I'm encountering a behavior with the vcf~ object that I don't understand, and I think it's contributing to a lot of popping noises being produced by my patch.

    The behavior is this: even when the first and second vcf~ inputs stabilize at 0, I'm seeing an extremely low-amplitude, low-frequency signal continue to be output by the the vcf. It appears to have something to do with the middle inlet, as if vcf stops accepting inputs just before they reach 0.

    I've included a simple patch here that illustrates the problem. The test frequency is defined by a phasor~, and both the test frequency amplitude and the center frequency itself are controlled by a simple ADSR envelope. The two inlets to vcf~ are snapshotted, as is the output, so you can see that even when the inputs go to 0, the output oscillates, very slowly and quietly.

    I would massively appreciate any insight anyone has into this!

    Thanks,
    Charlie

    vcf_weird_output.pd

    posted in technical issues read more
  • chvolow24

    @myQwil @whale-av @ingox
    Y'all are great. @ingox wins the prize for simplicity & elegance (I'm implementing this solution now), but I learned something valuable from each of these replies. Thanks!!

    posted in technical issues read more
  • chvolow24

    Hey, anyone know a good way in pd vanilla to check a number stream against a list, and output a bang if the number is in the list?

    I've used awful, brute-force solutions to this problem with tons of [sel] objects and message boxes, but these are messy and inflexible. It's a simple challenge logically, so I'm hoping there's a better solution.

    My brute force solution (only one [sel] object shown, but in reality there would be one [sel] for each [$n]:

    [float]      [list]
       \         / | \ 
        \    [$1][$2][$3] (etc., *n)
         |     \ | /
         [sel  (*n) ]

    posted in technical issues read more
  • chvolow24

    Thanks David. I wasn't able to filter the bangs without blocking repeated notes as well, but ultimately got much closer to what I was looking for by sending [ctlin] values over a separate port. This will still come in handy!

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!