thanks Rolf,
yes I noticed the plot errors, I've just managed to clear them (I'll fill an issue about this maybe, and about some other data-structures problems, e.g there's a crashing bug when using text fields in pre-allocated arrays). The solution I found is to delete-then-recreate the subpatch containing the problematic "element" template (here [pd template-bar], and [pd template-mark] for the timeline).
As for the name... yeah, I don't like [wavview/wavview_timeline] either. It should probably just be [wavview/timeline], but I didn't like the idea of a naming clash with other possible [timeline] libraries. OTOH that won't happen without [declare -path wavview]. In that case I have to use [wavview/timeline] in the help patches (so that you can copy/paste it anywhere else), so I'm gonna refactor my repo and put the patches in a wavview/ subdir (and add a hidden [declare -path ..]).
Maybe I will overwrite v0.3 in Deken.
EDIT: done. I replaced v0.3.
Antoine
sidenote: I experienced a mail rejection when I first answered to rolf. The error was:
pd-list@iem.at: host mailgate.iem.at[193.170.191.178] said: 550 5.1.1 pd-list@iem.at: Recipient address rejected: undeliverable address: host mail.iemnet[192.168.171.25] said: 550 Please use pd-list@lists.iem.at instead. (in reply to RCPT TO command) (in reply to RCPT TO command) so I redirected to pd-announce@lists.iem.at, hope it works now.
Le jeu. 14 août 2025 à 18:36, Antoine Rousseau antoine@metalu.net a écrit :
thanks Rolf,
yes I noticed the plot errors, I've just managed to clear them (I'll fill an issue about this maybe, and about some other data-structures problems, e.g there's a crashing bug when using text fields in pre-allocated arrays). The solution I found is to delete-then-recreate the subpatch containing the problematic "element" template (here [pd template-bar], and [pd template-mark] for the timeline).
As for the name... yeah, I don't like [wavview/wavview_timeline] either. It should probably just be [wavview/timeline], but I didn't like the idea of a naming clash with other possible [timeline] libraries. OTOH that won't happen without [declare -path wavview]. In that case I have to use [wavview/timeline] in the help patches (so that you can copy/paste it anywhere else), so I'm gonna refactor my repo and put the patches in a wavview/ subdir (and add a hidden [declare -path ..]).
Maybe I will overwrite v0.3 in Deken.
Le jeu. 14 août 2025 à 12:29, rolfm@dds.nl a écrit :
hi antoine,
this version of wavview is giving plot errors when the containing patch is closed.
it happens also when closing the help-patches.
something i don't understand:
i can create the object [wavview],
but for the timeline i have to do [wavview/wavview_timeline]??
thanks for your work,
rolf
Antoine Rousseau schreef op 14-08-2025 1:16:
v0.3 is out!
The scrollbar is now draggable, as one could reasonably expect.
As well, the zooming center is now chosen by the position of the first click, as usual with this kind of interface. However, since on Pd we don't have the mouse-up information (so unfortunate!), a trick requires the user to release Shift and press it again before restarting zooming (otherwise the previous zooming center is used).
A "timeline" object has also been added. It is synchronized with the wavview of the same name, and displays evenly spaced time markers. It also displays the time at the left and right bounds of the currently visible interval. The design isn't that great, but, hey, it does its job.
Le dim. 10 août 2025 à 00:41, Antoine Rousseau antoine@metalu.net a écrit :
thanks Roman, hopefully it can find its way into netpd :-)
2 days, and already a new version 0.2! Besides a couple of bugfixes and optimizations, you can now use an instance of wavview, privately to a specific table, for caching the peak buffers, so that another instance can instantly access the pre-calculated data and display it with minimum overhead.
Le ven. 8 août 2025 à 22:54, Roman Haefeli reduzent@gmail.com a écrit :
On Fri, 2025-08-08 at 19:56 +0200, Antoine Rousseau wrote:
I'm pleased to present 'wavview', a single-file-abstraction waveform viewer.
I'm very pleased to hear about this. For a long time I've been missing a good waveform display. I tried to do something similar¹, but yours is way better. And it is astonishingly smooth to edit.
Thanks for sharing.
Roman
¹ https://github.com/reduzent/netpd-instruments/blob/main/abs/rh_wavedisplay.p...
pd-list@lists.iem.at - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/7LWVSIKLC5...
To unsubscribe send an email to pd-list-leave@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/
pd-list@lists.iem.at - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/I5G47ZSPI4...
To unsubscribe send an email to pd-list-leave@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/