-
lacuna
@bobpell sounds like a new bug species.
Does it happen 1/4 times by just new patch > save > close > reopen?Please give more info on your screen and GPU setup? Screensaver? Are there other things running doing sth related to the screen?
Does it happen after waking up or hybernating > saving the patch > reopening? -
lacuna
@jameslo the bigger the window,
the higher the frequency-resolution,
and the lower time-resolution are becoming !?@Blair blocksize=windowsize, isn't it the same?
not sure if this is correct:
resynth-smear.pdmy guess: upsampling pre-fft could help ?
-
lacuna
yes, downloading patches works here.
...uploading... latency-tester.pdand a version with simple fix: latency-tester2.pd
https://forum.pdpatchrepo.info/topic/13814/catch-would-like-to-set-the-name-programmatically/20
To find new adress of broken links to forum threads:
do an online search with "thread title site:pdpatchrepo.info"The thread about this:
https://forum.pdpatchrepo.info/topic/11464/any-mirror-of-old-forum-puredata-hurleur-com -
lacuna
yes, Katja's meter measures 1 sample latency additionally, so real latency is -1 sample.
here are threads of other forums:
https://forum.rme-audio.de/viewtopic.php?id=23459
linking to
https://web.archive.org/web/20160315074034/https://www.presonus.com/community/Learn/The-Truth-About-Digital-Audio-Latencyand an older comparision:
parts 1 2 3:
https://original.dawbench.com/audio-int-lowlatency.htm -
lacuna
the patch looks legit:
in Real Life latency occurs in every part: converter, port, driver / os, pd.
Linux can be set up to be very responsive on audio with realtime-priority ect. (how can this be done in Win?)
USB(1 and 2) introduces 1 or 2 ms of fixed latency.
RME pci(e) cards are the fastest hardware and drivers you can get (Linux too). Marian could be sameish (no Linux, last time I asked).Today there are USB3 / Thunderbold, too - but don't know about their latency.
If you have headroom, 96k should be faster.
Because of the complexity of the chain, I would be surprised if latency would be same anytime, or to put it differently:
If the patch relies on it, I'd do the measurement each time on startup (with a free io channel or switching patchbay), even more in a live-concert. But empiricism on your system could disprove it, - and now I realize that this actually is your question, but no, I can not share experience on reliability of latency in Windows.@jameslo which post of katjav are you referring to?
Recurrently there has been some conversation about latency on the pd-list. -
lacuna
i want to validate an idea before making it in hardware
Beware there are differences in analog and digital world.
Pd is probably not the right tool for this. Better use analog circuit simulation, such as LTspice?https://forum.pdpatchrepo.info/topic/13409/how-can-i-create-a-switchable-filter/3
https://forum.pdpatchrepo.info/topic/13621/20-mode-pole-mixing-and-morphing-filter-updated
-
lacuna
@Coalman
To give you even more options:If you want to patch everything in PD but no hardware change, you could connect an old laptop, or Bela (Beagle Board) or Pi and Arduino via USB (as virtual serial port) and use Firmata or PDuino (available in Deken) to access Arduino's GPIOs from PD.
Not sure if this is the case for the async PWM. (But you could add that function as exception on the Arduino side with input from serial.)What speed is the PWM? Higher than audio Niquist (probably yes)?
Else you could just do PWM in PD.Most, if not all popular (micro)controllers provide asynchronous PWM-pins today. Read the datasheets.
Did you already search your answers?
https://forum.bela.io/d/1009-basic-pwm-question/
https://forum.pdpatchrepo.info/topic/12112/raspberry-pi-gpio-and-puredata-does-it-work/
https://github.com/owenosborn/rpi_gpioThere should be many examples for, PD <-> GPIOs on Bela, as this is what it's all about.
reason for this inefficiency is that my knowledge is fairly limited on these platforms.
Maybe decide for one board (or an old laptop with comport) for all projects, and grow with it.
-
lacuna
@ato said:
alternating between channels and treating them as 4 mono systems
A static multichannel installation? Sound is not panning across the speakers? Strictly alternating on/off, not panned in-between?
What is your wish for Pd? Please elaborate. -
-
lacuna
don't understand but maybe this helps:
[mtof] and [mtof~] conversion from midi-note-value to Hz
equation for linear mapping:
y = ( (c-d) / (a-b) ) * (x-a) + c
where x is input
a-b input range
c-d output range.triangle~
[phasor~] [*~ 2] [-~ 1] [abs~]
vanilla square~
[phasor~] [-~ 0.5] [*~ 1e+30] [clip~ -1 1]
splitting a signal at zero-crossing would be
[min~ 0] [max~ 0]
(there might occur aliasing at the output... if this is too noisy maybe oversample, and or filter it or use a bandlimited waveform)