Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: foo_dumb (Read 310199 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

foo_dumb

Hello Kode54,

its me (deus-ex) again.

You introduced a new modplugin named foo_dumb. I gave it a test run against foo_mod right away (just downloaded latest version 9.9.2004).
In comparison its soundoutput is not as clear as foo_mod utilizing bass.dll. It sounds softer, as if there's some textile between the speakers and
your ears. Also i found the .it-format support not as "balls on accurate" like provided with the bass.dll. I uploaded a file named Chris35b.it to
demonstrate this. At start of the second order (after ~8 sec. playtime) you'll hear a ~hiss~ sound which is intended to be there but foo_dumb
puts it too much into the foreground so that it sounds anoyingly wrong. Please also check foo_dumb with uploaded 303.it. It loses so much quality
against replaying with foo_mod.

Second file in the upload named F0x-Test.xm fails to be loaded with foo_dumb. It features some weird special undocumented Fasttracker tricks.
It does sound very uncommon but it is a very good test file i guess. Once Xmplay had problems with this file too, until i send  it to Ian (Xmplay author)
so he was able and kind enough to fix it.

Visiting DUMB's homepage and checking its CVS on sourceforge it seems that the project came to halt since a very long time. Is that correct?
If so i hope you can maintain and fix the code for your plugin if necessary.
Btw., everytime you update one of your plugins i wonder what has changed. Recently you updated foo_mod (my favorite plugin) and foo_dumb
quite often though their version number did'nt change. Maybe you can put a little file_id.diz or readme.txt along with the plugin mentioning the
changes if its not too much to ask for?

One suggestion/question please: (don't beat me for asking this)
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
I don't know if bass.dll/dumb library provides necessary data but is it possible to have pattern view like in Xmplay?


Edited 18-10-2004: Downloadlink as a service for new threadvisitors.
[span style='font-size:13pt;line-height:100%']Download latest version of Foo_Dumb[/span]


Regards, deus-ex.

foo_dumb

Reply #1
Chris35b.it doesn't sound much different from BASS, at least when both are using no interpolation. Similar for 303.it. You might want to make sure you are using the correct module decoder for each decoding run and test, as follows:
  • Close Foobar2000.
  • Remove the module decoder you are not using.
  • Install the one you wish to test.
  • Open Foobar2000.
  • Reset the configuration for the module decoder you wish to decode with. Note they both have different configuration pages, DUMB module decoder and Module decoder.
For simplicity in repeat testing, use the diskwriter to convert the output of both separate decoders to floating point WAV files, either manually naming the output for each test, or renaming the output file between conversions. Then, import both WAV files and apply ReplayGain track gain to them.


As for F0x-Test.xm, it breaks because of something simple I implemented to make backward.s3m work. Basically, F0x-Test.xm loops infinitely by pattern break-to-row effect, which causes DUMB's length calculation to loop indefinitely. The only way to fix this would be to correctly implement a system in DUMB so that it logs every pattern/row it plays and triggers the loop callback whenever it hits a row it has already played. I'll work on this later. (This is probably what XMPlay/BASS already do.)

Live pattern display, or even simple effects display lights similar to what mod4win features would have to be implemented as a Visualization component for realtime display, or at least to log the output lag. Parsing the pattern data into a visible display would be a lot more complicated. I'll think about it, maybe.

foo_dumb

Reply #2
Quote
Chris35b.it doesn't sound much different from BASS, at least when both are using no interpolation. Similar for 303.it. You might want to make sure you are using the correct module decoder for each 5decoding run and test, as follows...
Ooops, you're right.
Chris35b.it does'nt sound to different, also you might wonder where's that hiss sound i was talking about. By mistake i choose the wrong example.
I ment Chris38b.it. Uploaded to the foo_dumb upload topic. ~Cough~ Sorry ~Cough~, please check this file, too.

I don't have both plugins installed at the same time or mix them up. For testing i make a copy of the foobar2000 folder to a different place, remove foo_mod
and copy foo_dumb into components folder, than start up that copy and uncheck interpolation in foo_dumb settings of course.
This way i have two copies of foobar running at the same time, one is playing back while the other is on halt untill i switch with taskmanager.
During playback i open foobars preferences [Ctrl-P] to doublecheck which modplugin is currently in use.

Quote
Basically, F0x-Test.xm loops infinitely by pattern break-to-row effect, which causes DUMB's length calculation to loop indefinitely. The only way to fix this would be to correctly implement a system in DUMB so that it logs every pattern/row it plays and triggers the loop callback whenever it hits a row it has already played. I'll work on this later. (This is probably what XMPlay/BASS already do.)
You're right. That was the main problem with Xmplay, too. Back then i had to enable autoloop to have xmplay replay the file and not to skip over it.

Quote
Live pattern display, or even simple effects display lights similar to what mod4win features would have to be implemented as a Visualization component for realtime display, or at least to log the output lag. Parsing the pattern data into a visible display would be a lot more complicated. I'll think about it, maybe.
I'm interested in pattern view like in the good old DOS trackers. It's implemented in Xmplay since quiet some time now, that's why
i wondered if the requiered data is accessable through bass.dll, too.

Regards, deus-ex.

foo_dumb

Reply #3
Where can i download it?
welcome to foobar2000 group of google :http://groups-beta.google.com/group/Foobar2000

foo_dumb

Reply #4
Quote
Where can i download it?[{POST_SNAPBACK}][/a]
[a href="http://www.cqasys.com/projects/kode54/index.php]Here[/url]
f to c to f to c

foo_dumb

Reply #5
Uploaded v0.9.2.1.
  • Fixed infinite running / load-time lock from pattern breaks in a way that works with backward.s3m, which also sort-of fixes F0x-test.xm. F0x-test.xm sort of doesn't run properly after looping. I will probably investigate this further, a little later.
  • Implemented IT S7x effect for per-note NNA and envelope commands. Chris38b.it and Chris17b.it were noticeably broken without this.
  • Implemented IT NNA duplicate checking. See above.
Silly me, the thought hadn't occurred to me that I should run two instances. It's nothing new, just something I haven't done for a while. Oh well.

foo_dumb

Reply #6
Quote
Uploaded v0.9.2.1.
Checked new version, .it-format replay is noticable improved. I was able to drop some testfiles that i had prepared for upload.
However, there remain to files you might want to have a look at, again beeing .it-format. You can find them in the upload section.

foo_dumb testfiles 2 <- (download link)
4thsym.it = resonant filters, foo_dump plays it not as accurate as foo_mod
Cregaia.it = soundvolume of some channel(s) drops in foo_dumb after ~6 sec. replaytime

What do you think about my request regarding updateinfo (readme.txt) of your plugins? Even a little sentence on your downloadpage
would be suffice.

Regards, deus-ex.

foo_dumb

Reply #7
Uploaded v0.9.2.2.
  • Fixed panning slide/shift effect resetting from surround to center. At least, I think this was necessary and/or correct... Hmm... Seems to fix Ceagaia.it.
  • Clipped IT panning shift. See above.
I'm not sure about 4thsym.it. Maybe if you could point me to a time offset where the difference is more obvious?

foo_dumb

Reply #8
Checked updated foo_dumb v0.9.2.2. Cregaia.it issue fixed. Thank you.

I guess you don't hear the differences as much like me because:
- i'm very familiar with the testfiles, i have them since many years
- different sound gear, hence different output result
- different opinion on what sounds ok, what not
- maybe different quality of hearing? (thats not ment as an offend)
- different taste of music

I uploaded another file were the differences should be easier to spot, i hope.

Chris50b.it <-(direct download link)
Notice the voice at the beginning shouting: "somebody scream". It sounds damped with foo_dumb. Foo_mod outputs it very clear.
Forward to ~55 sec playtime. A Guitar, distorted with resonant filters, plays in the foreground. Replay is more detailed, richer with foo_mod.

Regards, deus-ex.

P.S.: Please comment on my update info request, will you?

foo_dumb

Reply #9
Quote
Chris50b.it <-(direct download link)
Notice the voice at the beginning shouting: "somebody scream". It sounds damped with foo_dumb. Foo_mod outputs it very clear.
Forward to ~55 sec playtime. A Guitar, distorted with resonant filters, plays in the foreground. Replay is more detailed, richer with foo_mod.
[a href="index.php?act=findpost&pid=240825"][{POST_SNAPBACK}][/a]

The first time that sample is played, it is combined with an embedded MIDI macro which sets the cutoff level to 64. (range 0-127) It sounds the same in both BASS and ModPlug Tracker, but DUMB's output sounds more like Impulse Tracker itself when it is equipped with a filter capable output driver. Maybe BASS doesn't support embedded MIDI macros properly. (The sample is played three times throughout the whole module, and the cutoff level is only ~50% the first time. I can send you a short sample generated by IT2.14's mono-only diskwriter.)

EDIT: Actually, with the correct S7x instrument control implemented, DUMB sounds identical to Impulse tracker with a filtering output driver, right down to the volume level. Of course, IT only outputs integer samples in the 16-bit range, so you don't have the advantage of ReplayGain scanning and correction with optional peak limiting. Without the S7x, the only real difference is six notes where it overrides the new note action to cut. (Two in pattern 41, two in 4, and two in 7. Pattern 41, which happens to be the first in the order list, also uses normal note cut, S70 background voice cut, M40 channel volume reset, and MIDI macros to reset the filter cutoff and resonance at the start. Not just for initialization, it also assumes the player/tracker will need resetting on repetition, I think.)

Quote
Please comment on my update info request, will you?

I'll think of a way to automate update information, but I won't be including it in the ZIP files. (Well, I might. I'm not so sure everyone wants extra text files in the downloads, especially people who use them to assemble installers.) Something else for me to think about.

foo_dumb

Reply #10
Quote
...DUMB's output sounds more like Impulse Tracker itself when it is equipped with a filter capable output driver. ...I can send you a short sample generated by IT2.14's mono-only diskwriter.)
Yes, you're right. I did a diskwriter test on my own, thank you. I also checked a diskwriting of 303.it. IT and Foo_Dumb replays it
without any clipping in opposite to Xmplay. I'm convinced now that foo_dumbs .it support is closer to the original than foo_mod. Very good.

Btw., how/what system are you running IT/Diskwriter? I cannot find a way to setup EMS for IT (IT does'nt accept XMS).
I tried everything (Properties; editing config.nt to load EMS), no success. Solved it using DOSBox-Driver v.6.1, but it's very slow
though soundprocessing is'nt in use when diskwriting.
My Gear: WinXP Pro, Nforce2, 512MB, AMD Barton 2600, Terratec Aureon Space

Uploaded a new set of files, which i found to cause errors with foo_dumb.
foo_dumb Testfiles 3 <- (direct download)

.it:
Moonlit.it  = clipping, flutesound at the start
s3m:
Bdp-Koro.s3m = mono s3m, wrong panning, left instead middle, seems to be the case for every mono .s3m i tested
Budda.s3m    = loadfailure, it's converted from .far-format,  no foobar error available
Strshine.s3m = loadfailure, dito
Phazer.s3m  = clicking, first orders, IT does the same, FT2 & XMPLAY play without clicks
Satell.s3m  = clipping, start area
.xm:
Jt_Smily.xm  = clipping, noticable from start
Mr_Lazy.xm  = wrong initial panning, too much to the right, i have one more such .xm
Whisper.xm  = drum ~snare effect~ missing, FT2 and XMPLY plays them


I recognized that the Codec field is left empty when replaying .mod/.xm/.s3m. Additionally, foo_dumb does'nt report
channel numbers for .mod-files properly.

Will foo_dumb support .mtm format?
Looking forward for next release. I plan to switch to foo_dumb when the last issues can be sorted out (hopefully).

Thanks in advance, deus-ex.

foo_dumb

Reply #11
Quote from: deus-ex,Sep 11 2004, 01:59 PM
Btw., how/what system are you running IT/Diskwriter? I cannot find a way to setup EMS for IT (IT does'nt accept XMS).
I tried everything (Properties; editing config.nt to load EMS), no success. Solved it using DOSBox-Driver v.6.1, but it's very slow
though soundprocessing is'nt in use when diskwriting.
My Gear: WinXP Pro, Nforce2, 512MB, AMD Barton 2600, Terratec Aureon Space[{POST_SNAPBACK}][/a]

DOSBox 0.61+ CVS build, dated 2004-Sep-07, from [a href="http://www.mypixels.dk/forums/index.php?showtopic=190]here[/url]. Yes, it is annoyingly slow. The SB16 and GUS drivers are acceptable, but lacking the resonant filters.

Quote
Moonlit.it   = clipping, flutesound at the start[a href="index.php?act=findpost&pid=241043"][{POST_SNAPBACK}][/a]

I'm not sure if you mean the fact that the flute sound is a bit scrapy or not. It seems to sound the same in IT as well. As for clipping, ReplayGain scan your files before playing. This one definitely clips. I implemented sample vibrato waveform, as well as channel vibrato and tremolo waveform commands. Panbrello is still unimplemented, but probably not used by this module.

Quote
Bdp-Koro.s3m = mono s3m, wrong panning, left instead middle, seems to be the case for every mono .s3m i tested[a href="index.php?act=findpost&pid=241043"][{POST_SNAPBACK}][/a]

Fixed checking the mono bit in the master volume in S3M files, and also handling mono IT files. S3M master volume is not used at all due to how it is intended to affect the output mix level compared to the master volume in Impulse Tracker modules, supposedly. ModPlug just treats this value the same as IT master volume, yet the two appear to have a different effect on the output volume. I will have to investigate this further, later.

Quote
Budda.s3m    = loadfailure, it's converted from .far-format,  no foobar error available[a href="index.php?act=findpost&pid=241043"][{POST_SNAPBACK}][/a]

The empty patterns in the file do not contain enough valid data. I've "corrected" this with a bit of a hack that will fill the rest with empty rows in this case. (I can't verify the length field for sure, as ST3 itself seems to have included the length in this field, while both this file and Aryx.s3m do not include the length field in the total length.)

Quote
Strshine.s3m = loadfailure, dito[a href="index.php?act=findpost&pid=241043"][{POST_SNAPBACK}][/a]

This file failed to load because it was missing a EOF character (0x1A) after the song title. The tracker version field also indicates that it was written by ScreamTracker v3.00, so that may not have been a part of the format yet. Hackfixed for now, though I may make it stricter so it only allows this with older tracker versions.

Quote
Phazer.s3m   = clicking, first orders, IT does the same, FT2 & XMPLAY play without clicks[a href="index.php?act=findpost&pid=241043"][{POST_SNAPBACK}][/a]

This is a matter of FT2 and XMPlay using volume ramping, while DUMB employs only simple declicking. This will be a more complicated feature to implement.

Quote
Satell.s3m   = clipping, start area[a href="index.php?act=findpost&pid=241043"][{POST_SNAPBACK}][/a]

This can probably be corrected by actually handling the master volume, but I'm not so sure treating it the same as IT master volume would be accurate to ST3's software mixer.

Quote
Jt_Smily.xm  = clipping, noticable from start[a href="index.php?act=findpost&pid=241043"][{POST_SNAPBACK}][/a]

According to the console, clipping does not occur until the bass/rhythm kick in. Once again, ReplayGain scan your files. A gain offset of -6dB for unscanned files doesn't hurt, either.

Quote
Mr_Lazy.xm   = wrong initial panning, too much to the right, i have one more such .xm[a href="index.php?act=findpost&pid=241043"][{POST_SNAPBACK}][/a]

Didn't know to fix XM panning slide effect translation after correcting the panning direction for IT/S3M/etc in the renderer.

Oh, and now I can't stop listening to this one.

Quote
Whisper.xm   = drum ~snare effect~ missing, FT2 and XMPLY plays them[a href="index.php?act=findpost&pid=241043"][{POST_SNAPBACK}][/a]

I seem to hear a snare drum effect, at which time offset is this effect most noticeable?


Quote
I recognized that the Codec field is left empty when replaying .mod/.xm/.s3m.[a href="index.php?act=findpost&pid=241043"][{POST_SNAPBACK}][/a]

Whoops, I'll have to fix this, as it currently retrieves the information from DUMB's internal signal data, which is generated by the respective loaders.

Quote
Additionally, foo_dumb does'nt report channel numbers for .mod-files properly.[a href="index.php?act=findpost&pid=241043"][{POST_SNAPBACK}][/a]

Aha! I forgot to adjust DUMB's MOD loader to report the channel information, so it was just getting uninitialized data, possibly 0 in release builds, so it wouldn't report at all. Fixed.

The vibrato/tremolo wave tables for sawtooth and square waves were already in the code, only defined out and unused. I'm not sure if vibrato or tremolo commands affect background voices, or if changing the wave type for a channel is supposed to affect background voices. Oh well.

I'll have to get to panbrello and possibly volume ramping later, as they will both be rather complicated. So far, not a bad job, though.

Quote
Will foo_dumb support .mtm format?[a href="index.php?act=findpost&pid=241043"][{POST_SNAPBACK}][/a]

I could add this, but for now, you can convert MTMs to smaller files with Impulse Tracker. This would also be another significant effort, although I think implementing all of the effects should be a higher priority.

Quote
Thanks in advance, deus-ex.[a href="index.php?act=findpost&pid=241043"][{POST_SNAPBACK}][/a]

No problem.  Although, these missing features are really starting to get annoying. Here, and I thought I had a decent, semi-object-oriented module renderer, and then it keeps throwing me these curve balls. I'll mold this thing yet. (And/or help perfect BASS/XMPlay with differences that turn out to be Ian's problem. )

foo_dumb

Reply #12
Quote
DOSBox 0.61+ CVS build, dated 2004-Sep-07...
Not accessasble because of a 'two posting' rule which i find to be dumb.  (Spamming nonsense to get download privilege?)

Quote
As for clipping, ReplayGain scan your files before playing.
I don't need that for foo_mod, but i'll give it a shot and report back.

Quote
The tracker version field also indicates that it was written by ScreamTracker v3.00, so that may not have been a part of the format yet.
Strshine.s3m was written by Purple Motion, a famous member of the PC demogroup Future Crew which invented Scream Tracker2/3 and the .stm/.s3m-formats.

Quote
...volume ramping... , ...DUMB employs only simple declicking.
That should definetly be implemented, preferable as a toggle in the options dialog.

Quote
Didn't know to fix XM panning slide effect translation after correcting the panning direction for IT/S3M/etc in the renderer.
So it's fixed now?

Quote
I could add this, but for now, you can convert MTMs to smaller files with Impulse Tracker.
I do not recommend doing so. Once i used to convert every .mod/..mtm/.s3m-file to .it-format to save space and believed to have
improvements in how they sound beeing in .it-format. But i learnd that they sounded different compared to the originals so i switched back to them.

Quote
Whisper.xm... I seem to hear a snare drum effect, at which time offset is this effect most noticeable?
Please check these samples of the file Whisper.xm. The whole file was converted both with foo_mod and foo_dumb to WAV (PCM, fixed-point).
A ~15 sec. sample of each was saved using Audacity and then converted to OGG (Megamix II, quality 7.5) to save bandwidth.
Whisper.xm is a so called 'chip module'. You'll recognize that the chip-drums are replayed differently by the two plugins.
Foo_Mod's output is closer to (same as) the original Fasttracker2.

I came across another .xm file, Sweetsin.xm, which fails to load with foo_dumb.


Are you going to upload an update of foo_dumb with the allready implemented fixes?

Regards, deus-ex.

foo_dumb

Reply #13
I might as well join the party and point out that DUMB doesn't support IT envelope carry.  IIRC, DUMB destroys the channel object with the note information every time a note ends, so it might be annoying to implement in situations where the new note action is a note cut.

Also, DUMB doesn't wrap really long XM portamentos around, but then I haven't found anything other than BASS and FT2 that does and I don't know any of the specifics of how it's supposed to be done.

foo_dumb

Reply #14
Quote from: deus-ex,Sep 12 2004, 06:25 AM
Quote from: kode54,Sep 12 2004, 04:29 AM
DOSBox 0.61+ CVS build, dated 2004-Sep-07...
Not accessasble because of a 'two posting' rule which i find to be dumb.  (Spamming nonsense to get download privilege?)

Actually, it is quite dumb, but maybe he's desperate to see people participate in his forum, perhaps give feedback there on his changes and/or bug reports. Reciprocation or something, I don't know. I managed to make five whole posts the first time I needed a binary, now I help a random friend or two by using my access to share the binaries.

Quote
Quote
As for clipping, ReplayGain scan your files before playing.
I don't need that for foo_mod, but i'll give it a shot and report back.
Actually, foo_mod can clip as well, but its relative volume level is much lower. Unlike XMPlay/BASS integer output modes, BASS' floating point mode does not perform clipping, so you may actually notice some peaks at or just over 1.0, or sometimes even louder. It all depends.

Quote
Quote
The tracker version field also indicates that it was written by ScreamTracker v3.00, so that may not have been a part of the format yet.
Strshine.s3m was written by Purple Motion, a famous member of the PC demogroup Future Crew which invented Scream Tracker2/3 and the .stm/.s3m-formats.

Yes, I know that. As I was suggesting, the format might have been in its infancy, at which point they had not decided that there should be a text EOF character after the song name. DUMB actually required that, but I changed it so it would also accept a null byte there. I also said I might change it so it only allows non-EOF on old version numbers, say < 3.05 or so. I'd have to look around for the oldest published S3M specification to see if it has always required 0x1A after the name, so I can just enforce the check for at least that tracker version.

Quote
Quote
...volume ramping... , ...DUMB employs only simple declicking.
That should definetly be implemented, preferable as a toggle in the options dialog.
Sure, but it will be more complicated than the current declicker. I'll have to see if it'd be much different from a more advanced implementation of the current declicker. I can also make it optional.

Quote
Quote
Didn't know to fix XM panning slide effect translation after correcting the panning direction for IT/S3M/etc in the renderer.
So it's fixed now?

It is, as of 0.9.2.3, which I forgot to upload yesterday. :B

Quote
Quote
I could add this, but for now, you can convert MTMs to smaller files with Impulse Tracker.
I do not recommend doing so. Once i used to convert every .mod/..mtm/.s3m-file to .it-format to save space and believed to have
improvements in how they sound beeing in .it-format. But i learnd that they sounded different compared to the originals so i switched back to them.[{POST_SNAPBACK}][/a]

Yes, there are some differences. Even if I do make a MTM loader, it will basically be translating the effects over to IT effects, and flagging where certain things such as arpeggio and note retrigger should act different. It may be a little more complicated, such as it already is in the XM implementation, which also has its own note and envelope handling in the renderer.

The problem with direct translation is that not every effect behaves the same in each of these formats. A fine example is the (multi)retrigger effect, which is invoked the same in both IT and XM (Qxy/Rxy) but behaves differently. ModPlug Tracker still treats Whisper.xm the same when it is converted to IT, but it sounds different in XMPlay.

Quote
Quote
Whisper.xm... I seem to hear a snare drum effect, at which time offset is this effect most noticeable?
Please check [a href="http://www.hydrogenaudio.org/forums/index.php?act=Attach&type=post&id=992]these[/url] samples of the file Whisper.xm. The whole file was converted both with foo_mod and foo_dumb to WAV (PCM, fixed-point).
A ~15 sec. sample of each was saved using Audacity and then converted to OGG (Megamix II, quality 7.5) to save bandwidth.
Whisper.xm is a so called 'chip module'. You'll recognize that the chip-drums are replayed differently by the two plugins.
Foo_Mod's output is closer to (same as) the original Fasttracker2.[{POST_SNAPBACK}][/a]

This was a problem with the retrigger effect not accounting for samples/instruments that manage to finish playing within the retrigger interval. It was only resetting the sample position if a sample was currently playing, but not retriggering a note if one was not already playing.

Quote
I came across another .xm file, [a href="http://www.hydrogenaudio.org/forums/index.php?act=Attach&type=post&id=993]Sweetsin.xm[/url], which fails to load with foo_dumb.[{POST_SNAPBACK}][/a]

Whee, a bug in my pattern break fix, where pattern repeat would clear the played rows array. It should only have cleared parts of that array when repeating, but it also cleared it when exiting the pattern repeat, so a case like this where the song has a pattern repeat in the first order would loop endlessly.

Quote
Are you going to upload an update of foo_dumb with the allready implemented fixes?[a href="index.php?act=findpost&pid=241181"][{POST_SNAPBACK}][/a]

Already done.

Quote from: bleh,Sep 12 2004, 10:03 AM
I might as well join the party and point out that DUMB doesn't support IT [a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=27368&view=findpost&p=241227]envelope carry[/url].  IIRC, DUMB destroys the channel object with the note information every time a note ends, so it might be annoying to implement in situations where the new note action is a note cut.[a href="index.php?act=findpost&pid=241230"][{POST_SNAPBACK}][/a]

Already taken care of, except for a minor bug where I was checking the previous note's instrument on a new note, even when the current module was not using IT instrument mode.

Quote
Also, DUMB doesn't wrap really long XM portamentos around, but then I haven't found anything other than BASS and FT2 that does and I don't know any of the specifics of how it's supposed to be done.[a href="index.php?act=findpost&pid=241230"][{POST_SNAPBACK}][/a]

I will investigate this if you provide me with an example file. (Or, I can make one myself.)

Uploaded v0.9.2.4.
  • Quick bugfix for the additions I made for envelope carry that would cause other module formats to crash.
  • Fixed retriggering on really short notes and samples, restricted to XM format since Impulse Tracker doesn't seem to behave this way. (Also consistent with BASS/XMPlay behavior.)

foo_dumb

Reply #15
Quote
...now I help a random friend or two by using my access to share the binaries.
Would you mind to share your access with me?

In the Dosbox forums you pointed me to someone requested permission to offer an alternate download access for the current DosboxCVS compile
(for an LittleBigAdventure2 game fansite) which he was granted. But now the link points to the official release again only. In conclusion it seems to
be allowed to offer them for downloading on alternate sites.

Quote
Actually, foo_mod can clip as well, but its relative volume level is much lower. Unlike XMPlay/BASS integer output modes, BASS' floating point mode does not perform clipping, so you may actually notice some peaks at or just over 1.0, or sometimes even louder. It all depends.
I played around with replaygain. Basically its an automated volumecontroll, right? It does'nt get any better with than without. It turns out that
the files that i named to 'clipp' might be fixed with volumeramping. Thats hopefully left to be seen with future releases of foo_dumb.

Quote
I'd have to look around for the oldest published S3M specification to see if it has always required 0x1A after the name, so I can just enforce the check for at least that tracker version.
I only came across two releases of ST3, v3.01beta and v3.21. Though there must have exist a v3.2 release according to the v3.21 documentation.


Going to download v0.9.2.4 now.

Regards, deus-ex.

foo_dumb

Reply #16
Okay, envelope carry is cool now in the quick example I threw together, but I found a module that happens to use envelope carry lying around on my hard drive that crashes with the present version of foo_dumb.  Unfortunately, like an idiot, I overwrote my old foo_dumb plugin and hence can't test whether the new changes caused the crash.  See the upload thread to get the file.

As for the weird XM portamento wraparound, I first noticed it in this module (module comments not safe for work; portamento starts around 3:16 and wraps around 3:28).  I could throw together a less cluttered test case in Modplug if you want, but it's not something too hard to do; just make a REALLY long portamento and you should hear it.

foo_dumb

Reply #17
Quote
Okay, envelope carry is cool now in the quick example I threw together, but I found a module that happens to use envelope carry lying around on my hard drive that crashes with the present version of foo_dumb.  Unfortunately, like an idiot, I overwrote my old foo_dumb plugin and hence can't test whether the new changes caused the crash.  See the upload thread to get the file.[{POST_SNAPBACK}][/a]

This crash was because I was using an idiotic method to hang on to envelope status in a certain function. Now it copies the envelope info it needs to temporary variables allocated in the function stack frame, so it doesn't have to worry about cases where the voice state it copies from is freed.

Quote
As for the weird XM portamento wraparound, I first noticed it in [a href="http://rr.rockz.org/rr/loo-thep.zip]this module[/url] (module comments not safe for work; portamento starts around 3:16 and wraps around 3:28).  I could throw together a less cluttered test case in Modplug if you want, but it's not something too hard to do; just make a REALLY long portamento and you should hear it.
[a href="index.php?act=findpost&pid=241422"][{POST_SNAPBACK}][/a]

I will investigate this.

Uploaded v0.9.2.5.
  • Fixed a crash resulting from unsafe envelope carry handling.
  • Implemented incomplete PTM support. Here there be bugs, which I will try to fix.

foo_dumb

Reply #18
Version 0.9.2.4 crashed on some .it-files here too, but that got fixed with 0.9.2.5.

The trumpetsamples of  Sevensea.it sounds totally messed up.

Did you recognize my previous post regarding my DOS Box request? Email in my profile is enabled should that matter.

Regards, deus-ex.

foo_dumb

Reply #19
1.  Cool, the crash is fixed on my system as well.
2.  The Impulse Tracker diskwriter seems to work okay for me with DosBox 0.61, which does have a binary posted at dosbox.sf.net, so the CVS build may or may not be necessary.
3.  deus-ex, did you try scanning sevensea.it with Replaygain before playing it?  The brass sounds okay to me, but it clips badly without Replaygain.

foo_dumb

Reply #20
Quote
2.  The Impulse Tracker diskwriter seems to work okay for me with DosBox 0.61, which does have a binary posted at dosbox.sf.net, so the CVS build may or may not be necessary.
That's the official release which is over 6 month old now. I allready have that. I'm expecting improvements in speed and sound of an actual compile.

Quote
3.  deus-ex, did you try scanning sevensea.it with Replaygain before playing it?  The brass sounds okay to me, but it clips badly without Replaygain.
Yes, of course. It's toggled as default now for foo_dumb. Have a look at my settings, i might have setup something wrong:
-use Track gain, use peak info
-files with RG 0dB, files without RG -6dB
-Kernel streaming, 32bit fixed-point
-DSP: 1. Equalizer, 2. Volume Control.

Still Sevensea.it trumpets sound bad, starting at ~10 sec of module.
It does sound good with foo_mod, same settings. Please check with foo_mod, too.

Regards, deus-ex.

Edit: added missing value for files without Replaygain info.

foo_dumb

Reply #21
Whoa, I'm sorry, I've been listening with interpolation turned on, but you haven't.  That changes everything - the tuba sample in sevensea.it is awful once you turn interpolation off, like the sample is completely mis-looped.  Having looping depend on interpolation mode doesn't make sense, though... I wonder if it's the DUMB click removal.

foo_dumb

Reply #22
Uploaded v0.9.2.6.
  • Corrected sample offset for PTM using 16-bit samples.
  • Corrected loop end points for PTM samples.
  • Corrected PTM note cut effect to behave the same as XM, where volume is set to 0 instead of actually cutting the note.
  • Corrected aliased resampler's handling of 16-bit samples. It was overflowing and wrapping around on loud samples and/or high volume levels.
Uploaded v0.9.2.7.
  • Added a context menu item that allows you to change the starting order for a single module in the playlist, or dupe a new playlist entry for the selected module starting on the chosen order. Now you can get the most out of multi-song modules.
Unfortunately, this will not work so well with APE tagging, so this means I will have to come up with some sort of multi-subsong tag format.

I could also implement the context menu control in foo_mod, and it will start on the selected order, but length and seeking will be broken, as I cannot make BASS regenerate the seek table from the selected order.

foo_dumb

Reply #23
Quote
Quote
...now I help a random friend or two by using my access to share the binaries.
Would you mind to share your access with me?

In the Dosbox forums you pointed me to someone requested permission to offer an alternate download access for the current DosboxCVS compile
(for an LittleBigAdventure2 game fansite) which he was granted. But now the link points to the official release again only. In conclusion it seems to
be allowed to offer them for downloading on alternate sites.

Errm... well, still have no response on that one.

Quote
Uploaded v0.9.2.7.
Added a context menu item that allows you to change the starting order for a single module in the playlist, or dupe a new playlist entry for the selected module starting on the chosen order. Now you can get the most out of multi-song modules.
Wowww, thats one feature. I was going to ask you for possible implementation of this. It's a pity bass.dll makes it that difficult since Xmplay has subsong feature very well integrated including proper subsong infodisplay.

Suggestions for foo_dumb:
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
-Another good feature of Xmplay is so called Trimming which abbandons empty patterns/silence in modules for playback.
-Detect/Catch adlib .s3m's to prevent loading as they stall the plugin and foobar with it. If you need example .s3m's, i have all existing ones.

Regards, deus-ex.

foo_dumb

Reply #24
You can get Dosbox cvs compiles from CVS Compile without any registration.