Recent Posts

Pages: 1 ... 8 9 [10]
91
General Chatter / Re: Huge MP3 samples (was: Apple Music)
« Last post by manx on September 10, 2018, 10:38:46 »
Quote from: manx
In any case, OpenMPT will probably never support samples as long or big as this example.
Length is not the issue. To verify, change the MAX_SAMPLE_LENGTH to at least 7fffffff (2,147,483,647) and load Counting and Primes into the newly built mptrack.exe. (Use 64-bit) After that file loads, try again to load the campfire file. You should notice that Counting and Primes loads with no problems; but, the campfire file still fails to load, yielding the Unknown File Format dialog. I tested Windows Media Player, Groove Music, and a third player and all of them load the campfire file with no problems. But, OpenMPT will not properly read it. I looked at the sizes of Counting and Primes and the campfire file and Counting and Primes is larger in size, but loads into OpenMPT with no problems. Size is not an issue here.

Length is the issue. OpenMPT cannot represent samples as long as either of the examples you have given. The only sane option is to reject those files, as the user would otherwise expect the complete file getting loaded when in fact in would absolutely NEED to be truncated to some arbitrary length.
The arbitrary length chosen by OpenMPT is MAX_SAMPLE_LENGTH. Increasing the length will not change anything about that fact (both examples still will not fit).

7fffffff makes no sense as a limit because samples that long can
 1. not be loaded into a 32bit OpenMPT on 32bit host systems *at all* (not enough user virtual address space available on x86 Windows)
 2. not be stored in any module format supported by OpenMPT (all of them are basically limited to 32bit for the whole module file due to width of on disk structure fields.

OpenMPT therefore limits MAX_SAMPLE_LENGTH to 0x10000000, which, for stereo/16bit, amounts to 1GB of data (which can still be handled by file formats and the limited amount of virtual address space available on 32bit x86 Windows).
92
General Chatter / Re: Huge MP3 samples (was: Apple Music)
« Last post by Wodd on September 10, 2018, 09:36:01 »
Quote from: manx
In any case, OpenMPT will probably never support samples as long or big as this example.
Length is not the issue. To verify, change the MAX_SAMPLE_LENGTH to at least 7fffffff (2,147,483,647) and load Counting and Primes into the newly built mptrack.exe. (Use 64-bit) After that file loads, try again to load the campfire file. You should notice that Counting and Primes loads with no problems; but, the campfire file still fails to load, yielding the Unknown File Format dialog. I tested Windows Media Player, Groove Music, and a third player and all of them load the campfire file with no problems. But, OpenMPT will not properly read it. I looked at the sizes of Counting and Primes and the campfire file and Counting and Primes is larger in size, but loads into OpenMPT with no problems. Size is not an issue here.
93
General Chatter / Re: Huge MP3 samples
« Last post by manx on September 10, 2018, 08:59:19 »
1. OpenMPT does not properly reject MP3 samples longer than MAX_SAMPLE_LENGTH.
Fixed in r10760. Will be backported to 1.27 soon.

2. OpenMPT 64bit does not stop allocating memory after MAX_SAMPLE_LENGTH of data has already been decoded (this applies equally to MP3, Vorbis, Opus samples).
Fixed in r10762. Will be backported to 1.27 soon.
94
General Chatter / Re: Huge MP3 samples
« Last post by manx on September 10, 2018, 08:34:51 »
OpenMPT (or any of the module formats supported by OpenMPT) does not support samples of any type or format that are 10 hours long.

This has nothing to do with "Apple Music". "Apple Music" is a music streaming service by Apple.

Audio containers/formats common on Apple systems are m4a/AAC (supported by OpenMPT via MediaFoundation), caf/ALAC (not supported by OpenMPT).

As far as I can see, OpenMPT 64bit will (somewhat successfully, the result is likely unusable) load the file (allocating > 14GB of RAM in the process).
OpenMPT 32bit will just run out of memory loading the file.

There are 2 bugs here:
 1. OpenMPT does not properly reject MP3 samples longer than MAX_SAMPLE_LENGTH.
 2. OpenMPT 64bit does not stop allocating memory after MAX_SAMPLE_LENGTH of data has already been decoded (this applies equally to MP3, Vorbis, Opus samples).

Another related bug here is https://bugs.openmpt.org/view.php?id=1112, which is far from trivial to fix.

In any case, OpenMPT will probably never support samples as long or big as this example.
95
General Chatter / Re: Apple Music
« Last post by Wodd on September 10, 2018, 07:53:13 »
Putting the files on Apple’s devices is mentioned after purchasing one (or more) of them. You can download a copy of the file from here Download the file with a name beginning with Campfire.
96
General Chatter / Re: Apple Music
« Last post by StarWolf3000 on September 10, 2018, 05:32:34 »
Uhm, where does the site say it offers files in Apple's format? It only speaks of MP3. And OpenMPT does support MP3.
97
General Chatter / Re: Ultimate Tracker Base
« Last post by Wodd on September 09, 2018, 22:10:22 »
Quote from: LDAsh
perhaps "Caustic" also counts?
I don’t know if you are still working on the database. But, in case you are, you might exclude Caustic. From looking at the screenshots, it looks like it not be a music tracker, but, instead, a digital audio workstation. But, a tracker that you might consider looking at (if you haven’t already) is SunVox.
98
General Chatter / Huge MP3 samples (was: Apple Music)
« Last post by Wodd on September 09, 2018, 21:06:45 »
I have a question. Does OpenMPT not support audio files designed for iOS devices? Specifically, I purchased an audio file from Relaxing White Noise. But, ModPlug Tracker will not open it. I tried using conversion software; but, converting it to MP3 using that (as I figured that might drop any trigger tags or the like that might be causing it to not open in OpenMPT) did not work. I am in the process of having it converted to OGG as of this post. But, it is a bummer that it doesn’t work in its original format. I had previously downloaded it from YouTube. But, that file, too, would not load into the sample editor. I did a test to see if the issue is the [slightly longer than] 10 hour length. Such is not the case.
99
General Chatter / Re: Is ModArchive down?
« Last post by LPChip on September 08, 2018, 14:22:15 »
Although the topic is locked, I do want to point something out here regarding impersonating someone else.

Even if you do it for fun, it is never something you should do. If the legal system becomes involved somehow, you can be guarenteed that a form of punishment will follow (like a fine or even jailtime).

Many web admins follow legal actions which means that your account will be banned, even if it was only a joke or prank or whatever.

This is just not okay, no matter what.

Impersonating someone else really is a big thing, and if I ever find out someone does that on a website or service I manage, you can guarantee that I will ban the crap out of you, no excuses, and no, its not going to be a temp ban either. Perma ban. If you have it in you to come up with this kind of actions, then you are dangerous.
100
General Chatter / Re: Is ModArchive down?
« Last post by Asdfguy86 on September 08, 2018, 03:17:12 »
Saga said that the site should be back online soon.
Quote
Don't worry, it will.

Since my question has been answered, I'll go ahead and lock this thread.
Pages: 1 ... 8 9 [10]