Page 1 of 2

"audio waveform" or "image column"

Posted: 14 Feb 2023 05:58
by kendaman
I use xyplorer as audio management software.
I have tried many other paid management software and xyplorer is the simplest and lightest. It is an older software, but definitely superior.

The only feature missing is Waveform. I understand that it has been requested several times in the past. There is no mechanism to quickly display it.
As an alternative, can you implement the ability to display an arbitrary image, not an icon, on columns?
The height and width should fit the configured size, and an external software can generate a waveform image, register it as a custom tag, and display it.

This would have many uses, not just for Waveform. What do you think?

Re: "audio waveform" or "image column"

Posted: 14 Feb 2023 09:15
by admin
Interesting idea!

But it might be even possible already: check out the scripting command setthumb... and assign your waveform images as thumbnails, then display them in the "Details with Thumbnails" view.

Re: "audio waveform" or "image column"

Posted: 14 Feb 2023 11:34
by admin
Inspiring! The next beta brings a revolutionary new thing: Image Columns! :party:

Re: "audio waveform" or "image column"

Posted: 14 Feb 2023 19:42
by eil
Now waiting for kendaman's wave-image-creating algorithm.

Re: "audio waveform" or "image column"

Posted: 14 Feb 2023 22:52
by highend
Why? ffmpeg can do this already...

viewtopic.php?t=25811

Re: "audio waveform" or "image column"

Posted: 15 Feb 2023 02:08
by kendaman
Thanks so much, great update. It looks very perfect.

I like the normal detailed view. I don't like the thumbnail view because it forces the file icons to be displayed.
I defining "ListsLineSpacing" directly in Edit makes the image size just fine, but sets the margins for the catalog and all items. 64 was best in my environment. As for the file listings.

Also, in my environment, the image is only displayed if the full path is specified. If I use <xypath> or <cc_path>, the image will not be displayed. The path should be correct...
EDIT: Same mistake as before, calling and defining a custom column (script) instead of an extended column.

Also, the file path (tag information) is displayed on mouseover, this is unnecessary.
*"Show tips for &clipped tree and list items", regardless of the settings for this, it would be best if it could be exceptionally hidden.
EDIT: The same is true for custom script columns. It would be nice to be able to exceptionally hide popups.

----
Thanks highend also for the great script, very helpful.

If someone want to create it manually or arbitrarily in a bat file, use this command line.

Code: Select all

"ffmpeg" -i "audiofilename.wav" -filter_complex "showwavespic=s=100(width)x200(height):split_channels=0:scale=2:colors=#8cbeba" output.png

Re: "audio waveform" or "image column"

Posted: 15 Feb 2023 08:55
by admin
1) Could you show a screenshot of it with the waveform images? Curious.

2) So you are using Extra columns for it, and assign the images one by one manually?

3)
Also, the file path (tag information) is displayed on mouseover, this is unnecessary.
*"Show tips for &clipped tree and list items", regardless of the settings for this, it would be best if it could be exceptionally hidden.
EDIT: The same is true for custom script columns. It would be nice to be able to exceptionally hide popups.
Why is that a problem?

Re: "audio waveform" or "image column"

Posted: 15 Feb 2023 09:26
by kendaman
1) Images will be posted later. I have adjusted it since then and ListsLineSpacing has settled to 5. The catalog item does not look that bad.
*I'm a game programmer for a company, and since the information I am handling is confidential, I plan to reconfigure the data once to create the data for capture.
*Also, everything is in Japanese, so once it is set up again in English. Before, the information was not conveyed well due to the Japanese language.

2) I was going to do that until I understood the functionality, but I used return in the custom script column to set the path automatically.
It doesn't look good to have the image files in the same directory as the audio files in the list, so I used replace to replace the parent hierarchy and place the images in a different folder.
As an audio management software, it now has the perfect look and feel. Excellent.

3) It is simply a matter of appearance. I usually don't have a problem with popups because I don't want them to appear, but I thought it didn't look very nice to have the full path of the file displayed when they are shown.
I don't think it is an important point. If the setting cannot be easily changed, I do not think it is necessary to do so.

Finally, as a further request, what about displaying the waveforms in the preview pane with the xyplorer functionality?
Audio waveforms in the position where videos and images are displayed. If it is loaded for the currently selected audio, rather than for all files, then time would not be so much of an issue, would it?
I don't think this is essential, but it would be better. It would also be nice to be able to turn it off in the settings if the loading time is a concern for some users.

Re: "audio waveform" or "image column"

Posted: 15 Feb 2023 10:14
by admin
Thank you!

Just a quick question: How large do you need your waveform thumbnails in the column? Is a max of 256 x 256 enough?

Re: "audio waveform" or "image column"

Posted: 15 Feb 2023 10:15
by admin
kendaman wrote: 15 Feb 2023 09:26 3) It is simply a matter of appearance. I usually don't have a problem with popups because I don't want them to appear, but I thought it didn't look very nice to have the full path of the file displayed when they are shown.
I don't think it is an important point. If the setting cannot be easily changed, I do not think it is necessary to do so.
The popup only comes when you go there with the mouse. So, why do you go there if you don't want the popup? :)

Re: "audio waveform" or "image column"

Posted: 15 Feb 2023 12:33
by kendaman
Of course, if I could set it up to 256x256, that would suffice! It would work well as an alternative or supplement to thumbnails.
I initially had the waveforms displayed at a larger size, say 400x50, but that was obviously useless; I could have made the "ListsLineSpacing" larger by editing the ini directly, but that would have made everything,
including the catalog and items, as well as the settings screen, appear larger and clunkier. Now the image size has been reduced to 290x20 and ListsLineSpacing of 5 is sufficient.
waveform.png
waveform.png (8.03 KiB) Viewed 1721 times
And yes, you are right about the pop-ups. I tend to pay too much attention to details.

Re: "audio waveform" or "image column"

Posted: 15 Feb 2023 12:39
by admin
Looks cool! :tup:

In v24.00.0710 I limited the display size to 400 x 100, so that's plenty for you.

Re: "audio waveform" or "image column"

Posted: 15 Feb 2023 12:41
by admin
Note that you can increase the line-height for the list only (not affecting the Catalog) by Ctrl+Shift+Wheel.

Re: "audio waveform" or "image column"

Posted: 15 Feb 2023 12:54
by kendaman
In its new state, with no configuration file inherited, I could indeed manipulate the row height with that operation!
I have already operated xyplorer for over 1500 days and may have messed with some settings in the process.
That operation was not valid in my xyplorer :ghost:

Re: "audio waveform" or "image column"

Posted: 15 Feb 2023 12:58
by admin
What happened. Nothing?