HydrogenAudio

Hosted Forums => foobar2000 => Support - (fb2k) => Topic started by: MonkeysAudio on 2021-06-11 20:14:35

Title: Monkey's Audio Problem With Insane Compression
Post by: MonkeysAudio on 2021-06-11 20:14:35
Hi there,

I'm the author of Monkey's Audio.

This file compressed with Insane mode fails in Foobar2000:
File link (https://monkeysaudio.com/files/temp/Leo River - Runaway.ape)

It plays fine in apps using the official SDK and also verifies fine in Monkey's Audio.

I think there must be a problem with the Foobar decoder (since it uses its own code).

Hopefully you can have a look.  Thanks!
Title: Re: Monkey's Audio Problem With Insane Compression
Post by: MonkeysAudio on 2021-06-11 20:18:22
I updated my post to make the link hopefully work (instead of requiring copy and paste).
Title: Re: Monkey's Audio Problem With Insane Compression
Post by: MonkeysAudio on 2021-06-11 20:25:35
Another approach would be to simply switch to the official SDK.  It builds on all platforms (JRiver does this).

Then you update any time I update the SDK and it should be simple.
Title: Re: Monkey's Audio Problem With Insane Compression
Post by: sveakul on 2021-06-11 22:04:19
The file will play OK with version 2.4 of foo_input_monkey (https://www.foobar2000.org/components/view/foo_input_monkey/release/2.4 (https://www.foobar2000.org/components/view/foo_input_monkey/release/2.4)), although seek is rather slow.

As I recall, 2.3.1 was re-listed as the "latest" release because some had an issue with 2.4's decoding time (?).
Title: Re: Monkey's Audio Problem With Insane Compression
Post by: MonkeysAudio on 2021-06-11 22:20:52
I'm testing 1.6.6 and see this:

Decoding failure at 0:51.829 (Unsupported format or corrupted file):
"C:\Temporary\Insane APE\Leo River - Runaway.ape"

I haven't done any independent APE component updating.
Title: Re: Monkey's Audio Problem With Insane Compression
Post by: sveakul on 2021-06-11 23:15:17
I'm testing 1.6.6 and see this:

Decoding failure at 0:51.829 (Unsupported format or corrupted file):
"C:\Temporary\Insane APE\Leo River - Runaway.ape"
Yes, you will see this on 1.6.6 if you are using the 2.3.1 version of the Monkey's Audio plugin foo_input_monkey.  If you change to the 2.4 version of the plugin at the link I posted above, the file will play without errors/failures.
Title: Re: Monkey's Audio Problem With Insane Compression
Post by: sveakul on 2021-06-12 00:51:25
more @MonkeysAudio :  you can read the background of the the newer Foobar 2.4 APE plugin vs. the 2.3.1 version here:
https://hydrogenaud.io/index.php?topic=118944.0 (https://hydrogenaud.io/index.php?topic=118944.0)

BTW thanks for this badass codec!
Title: Re: Monkey's Audio Problem With Insane Compression
Post by: MonkeysAudio on 2021-06-12 14:00:30
The official SDK should perform pretty similar in 32-bit and 64-bit.

If a Foobar developer wants to contact me, I'm mail at monkeysaudio dot com.

I can help switching to the official SDK, or possibly updating the system you're using.

Thanks.
Title: Re: Monkey's Audio Problem With Insane Compression
Post by: kode54 on 2021-06-12 23:19:25
The player is using the official SDK, modified.
Title: Re: Monkey's Audio Problem With Insane Compression
Post by: MonkeysAudio on 2021-06-13 01:27:47
Thanks.

I'm just here because that file I posted isn't playing with the released Foobar.

I'm hoping a fix is slated, or offering to help.

Again, I'm mail at monkeysaudio dot com.

Thanks a lot for the great software.
Title: Re: Monkey's Audio Problem With Insane Compression
Post by: sveakul on 2021-06-13 03:30:44
I'm just here because that file I posted isn't playing with the released Foobar.
Maybe I'm missing something, but as I explained above, the file you posted DOES indeed play in Foobar 1.6.6, when the 2.4 version of the Monkey's Audio plugin is installed.  Foobar requires a plugin to play APE, it's not baked in.
Title: Re: Monkey's Audio Problem With Insane Compression
Post by: NetRanger on 2021-06-13 10:58:00
Running v1.6.7 beta 6 here with Monkey's Audio Decoder v2.4 and the file u posted plays fine. As sveakul said, so is the seek slow.

EDIT :
After removing 'Monkey's Audio Decoder' plugin and enabling decoding for APE file in 'FFmpeg Decoder Wrapper 0.6' so does it still play fine and the seek is a bit better.
Using a Full Git FFmpeg that's like a week old with the 'FFmpeg Decoder Wrapper'.
Title: Re: Monkey's Audio Problem With Insane Compression
Post by: Rollin on 2021-06-13 13:18:01
Ffmpeg doesn't support multichannel APE by the way.
Title: Re: Monkey's Audio Problem With Insane Compression
Post by: j7n on 2021-06-13 21:25:15
No playback from 0:51 to 1:18 in official 3.99 exe or plugins. It's not a good format if it forces to update software for basic 16-bit stereo playback. I recall that compatibility was dropped in the past too.

MPV/lavf plays with a short noise burst at 1:18, at the end of the problematic section. Curiously, seeking is quick. Apparently it doesn't fill the buffer before starting playback.
Title: Re: Monkey's Audio Problem With Insane Compression
Post by: sveakul on 2021-06-13 22:05:32
Foobar 1.6.6 with foo_input_monkey 2.4 plays through the 0:51 to 1:18 problem area just fine (unlike version 2.3.1 of the plugin).

Not sure what you mean by "official 3.99 exe"?
Title: Re: Monkey's Audio Problem With Insane Compression
Post by: lefko8 on 2021-07-31 13:49:35
Hey I just noticed that when you download from the components page for the Monkeys Audio Decoder you download 2.3, you have to click on the versions link to get to 2.4.  Can this be fixed?
Title: Re: Monkey's Audio Problem With Insane Compression
Post by: NetRanger on 2021-07-31 15:58:40
Hey I just noticed that when you download from the components page for the Monkeys Audio Decoder you download 2.3, you have to click on the versions link to get to 2.4.  Can this be fixed?

https://hydrogenaud.io/index.php?topic=118944.msg981306#msg981306
Title: Re: Monkey's Audio Problem With Insane Compression
Post by: kode54 on 2021-07-31 21:50:15
Yes, it's true. The author is highly concerned when foo_benchmark results show that a file decodes at only 250-300x realtime instead of the 600+x figure it used to.
Title: Re: Monkey's Audio Problem With Insane Compression
Post by: MonkeysAudio on 2021-09-03 15:54:59
I'm slow to reply, but thanks for the report.  I can confirm that 32-bit is unexpectedly slower than 64-bit.  I switched a lot of variables to int64 to support 32-bit data months back, but I'll try to speed 32-bit back up in a coming build.  Thanks again  :)
Title: Re: Monkey's Audio Problem With Insane Compression
Post by: MonkeysAudio on 2021-09-09 14:47:48
Robert Kausch is helping me bring the 32-bit speed back up.  Hopefully there will be a release (and SDK) in a few days.  I'll post here once we're done.  Thanks again.
Title: Re: Monkey's Audio Problem With Insane Compression
Post by: MonkeysAudio on 2021-09-12 00:34:42
Just release a much faster version 7.0.

The SDK is here:
https://monkeysaudio.com/developers.html

A huge thanks to Robert Kausch because he really helped work magic.

Thanks again for bringing this to my attention.
Title: Re: Monkey's Audio Problem With Insane Compression
Post by: Peter on 2021-09-13 14:20:43
Thanks for the new library.
Component updated-
https://www.foobar2000.org/components/view/foo_input_monkey
Title: Re: Monkey's Audio Problem With Insane Compression
Post by: Rollin on 2021-09-13 15:00:35
https://www.foobar2000.org/components/view/foo_input_monkey
Unfortunately there is no download link for new version.
Title: Re: Monkey's Audio Problem With Insane Compression
Post by: Peter on 2021-09-13 16:17:24
Fixed
Title: Re: Monkey's Audio Problem With Insane Compression
Post by: MonkeysAudio on 2021-09-14 15:32:00
Just a note that you should probably grab the latest again because there has been some back and forth as we've been tuning his work.  Should all be great in 7.02 now.  Thanks a lot for the support!
Title: Re: Monkey's Audio Problem With Insane Compression
Post by: MonkeysAudio on 2021-09-14 15:35:38
Also, if you have any desire to work with me to make it so you have to change less in the SDK, mail me at mail at monkeysaudio dot com and we can talk.  Thanks.
SimplePortal 1.0.0 RC1 © 2008-2021