[PD-announce] Re: Re: wavview: a waveform viewer for Pd

Antoine Rousseau <[email protected]>
Newsgroups gmane.comp.multimedia.puredata.general
Message-ID <CAOCG5Hy0H48b3vz=sxO=M8ZfJ+W_TQ5Gzw6Q+1XNhn5ibqjhyQ__18579.8617707164$1755191145$gmane$org@mail.gmail.com>
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:

<[email protected]>: host mailgate.iem.at[193.170.191.178] said: 550 5.1.1
    <[email protected]>: Recipient address rejected: undeliverable address:
host
    mail.iemnet[192.168.171.25] said: 550 Please use [email protected]
    instead. (in reply to RCPT TO command) (in reply to RCPT TO command)
so I redirected to [email protected], hope it works now.

Le jeu. 14 août 2025 à 18:36, Antoine Rousseau <[email protected]> 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, <[email protected]> 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 <[email protected]> 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 <[email protected]> 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.pd
>>>> ---
>>>> [email protected] - the Pure Data mailinglist
>>>>
>>>> https://lists.iem.at/hyperkitty/list/[email protected]/message/7LWVSIKLC5Y6Y4B5UAR4C6R7R5GZ3R4W/
>>>>
>>>> To unsubscribe send an email to [email protected] mailing list
>>>> UNSUBSCRIBE and account-management -> https://lists.iem.at/
>>>
>>>
>> ---
>> [email protected] - the Pure Data mailinglist
>>
>> https://lists.iem.at/hyperkitty/list/[email protected]/message/I5G47ZSPI4WZERRQW7FT3WOWLEJAGCQE/
>>
>> To unsubscribe send an email to [email protected] mailing list
>> UNSUBSCRIBE and account-management -> https://lists.iem.at/
>>
>>

_______________________________________________
Pd-announce mailing list -- [email protected]
To unsubscribe send an email to [email protected]

---
[email protected] - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/[email protected]/message/ICECOLOSLDFLJYGVBI5NPW7GFPYV6Y44/

To unsubscribe send an email to [email protected] mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.