Preview looping audio files but...perfect! (no delay)

Features wanted...
chumbo
Posts: 243
Joined: 04 Jan 2015 15:20

Re: Preview looping audio files but...perfect! (no delay)

Post by chumbo »

I plan to offer "Seamless Wave Looping" also on the Preview Tab. That way you can control the playback completely by keyboard.
I was in fact wondering why it couldn't exist in both but didn't dare to ask. But of course, that would be great!
While I'm at it, I'll be brave and ask...any chance of getting back the progress bar in status bar instead of the green 'Looping', along with the mouse-down controls of FF & Rewind? But that's just an icing on the cake, far from essential if the Preview tab will offer all the controls. It's just looks cool & can be handy sometimes :wink:

As for the question...not sure, it's hard to say now. I think one can form a better opinion once you start using it more so for now I'll go along with whatever you favor :tup:

admin
Site Admin
Posts: 60558
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Preview looping audio files but...perfect! (no delay)

Post by admin »

No, that seems to be the trade-off at the moment. Short of low-level API (which I don't have the time to get into now) it is either progress or seamless. :)

chumbo
Posts: 243
Joined: 04 Jan 2015 15:20

Re: Preview looping audio files but...perfect! (no delay)

Post by chumbo »

admin wrote: 31 Mar 2021 09:37 ...it is either progress or seamless. :)
Who needs progress, I vote seamless! :wink:
As I said, no big deal really, I'm super happy as is! A big thanks again! :D

jupe
Posts: 2794
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Preview looping audio files but...perfect! (no delay)

Post by jupe »

@Don: Now if Seamless Wave Looping is enabled and a video/mp3 etc is being played in the IP, the progress bar disappears and "Loop Mode" is entered, shouldn't that only happen with wav files selected, or do you lose all progress bar features for all filetypes if that setting is enabled?

admin
Site Admin
Posts: 60558
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Preview looping audio files but...perfect! (no delay)

Post by admin »

Well, you are right, of course. :whistle:

jupe
Posts: 2794
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Preview looping audio files but...perfect! (no delay)

Post by jupe »

Another observation from testing is that if you have Seamless Wav looping enabled and then select a WAV that it shows no play controls at all, so the only way to start playback is by MDBU, is that correct? If you change the Seamless option while a file is selected you continue to have play controls until selection is cleared and re-selected. Also while playing with controls visible the arrow keys lose the "Loop Mode" text and jump start finish timestamps display, but that may be desired.

admin
Site Admin
Posts: 60558
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Preview looping audio files but...perfect! (no delay)

Post by admin »

Argh. :ninja:

(In the meantime: You can start the play by Space key; or enable "Autoplay")

chumbo
Posts: 243
Joined: 04 Jan 2015 15:20

Re: Preview looping audio files but...perfect! (no delay)

Post by chumbo »

I'm loving the feature and it works perfectly but unfortunately there seems to be only support for 16bit wave files.
Any chance of adding more support like for 24 bit (very common in sample/loop libraries) or mp3 and last but not least...rex/rex2 files! But that's maybe a stretch too far :roll:

admin
Site Admin
Posts: 60558
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Preview looping audio files but...perfect! (no delay)

Post by admin »

24 bit wave files work fine here. :? Can you send me one that does not work?

chumbo
Posts: 243
Joined: 04 Jan 2015 15:20

Re: Preview looping audio files but...perfect! (no delay)

Post by chumbo »

Too be fair, while looking now for some 24 bit loops, I noticed that some do play but here's one that doesn't (lots more if needed of course):
https://drive.google.com/file/d/1ASxAE6 ... sp=sharing

admin
Site Admin
Posts: 60558
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Preview looping audio files but...perfect! (no delay)

Post by admin »

OK, confirmed. But it's not the number of bits. I see WAV files of all kinds of bitness that either work or don't work. I cannot see any pattern here, and worse: The API (PlaySound) that should play them (but doesn't) does not return any error but claims success. :? Not much I can do ATM.

chumbo
Posts: 243
Joined: 04 Jan 2015 15:20

Re: Preview looping audio files but...perfect! (no delay)

Post by chumbo »

Damn...that's a shame, such a great feature. Oh well :cry:

admin
Site Admin
Posts: 60558
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Preview looping audio files but...perfect! (no delay)

Post by admin »

The docs say:
The sound specified by pszSound must fit into available physical memory and be playable by an installed waveform-audio device driver.
So maybe a change of the waveform-audio device driver can help...

chumbo
Posts: 243
Joined: 04 Jan 2015 15:20

Re: Preview looping audio files but...perfect! (no delay)

Post by chumbo »

admin wrote: 18 Aug 2021 11:43 So maybe a change of the waveform-audio device driver can help...
I'm not sure what that means? Do you mean my sound card driver?
I'm using a professional sound card by one of the most reputable makers, RME Audio. I can't imagine that's the issue. Besides, you said you have the problem as well so chances are, more people have the problem than not so...
Would be interesting to see if anyone doesn't in fact?

admin
Site Admin
Posts: 60558
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Preview looping audio files but...perfect! (no delay)

Post by admin »

Agreed, sounds logical.

Looking at the docs again it might be possible to use the newer waveOutOpen (and others of that family) function instead. However, it's unclear yet whether it supports seamless looping.

Post Reply