don't click here

xm4smps

Discussion in 'Engineering & Reverse Engineering' started by Puto, Dec 9, 2008.

Thread Status:
Not open for further replies.
  1. Eduardo Knuckles

    Eduardo Knuckles

    Not a loved one, but the most hated person. Banned
    414
    10
    18
    Someplace somewhere
    Project S.A.M.G.
    It supports distortion-like effects from the XM files or something?
     
  2. Puto

    Puto

    Shin'ichi Kudō, detective. Tech Member
    2,013
    0
    16
    Portugal, Oeiras
    Part of Team Megamix, but haven't done any actual work in ages.
    Sorry, porting the very different pitch bends from the XM format to SMPS is way too hard :/
     
  3. Puto

    Puto

    Shin'ichi Kudō, detective. Tech Member
    2,013
    0
    16
    Portugal, Oeiras
    Part of Team Megamix, but haven't done any actual work in ages.
    Sorry for taking so long on this, but here's a binary installer for ASMX. Installing this should allow xm4smps to produce binaries automatically.
     
  4. Bugreportx0rz

    I found out that when you don't assign a channel, the program crashes after the error message.

    How ironic. Below is an anigif showing what happens.

    [​IMG]
     
  5. Dr. Kylstein

    Dr. Kylstein

    Member
    86
    0
    6
    I get his when I run make:
    Ubuntu 8.10 x86-64, Qt4
     
  6. Puto

    Puto

    Shin'ichi Kudō, detective. Tech Member
    2,013
    0
    16
    Portugal, Oeiras
    Part of Team Megamix, but haven't done any actual work in ages.
    Try running <tt>mkdir .moc</tt> - Blame qmake for not doing that in the first place, I guess...
     
  7. Tiberious

    Tiberious

    Yeah, I'm furry. Got a problem? Oldbie
    Are you able to change panning in the middle of the song?

    If so, what are the thresholds?
     
  8. Puto

    Puto

    Shin'ichi Kudō, detective. Tech Member
    2,013
    0
    16
    Portugal, Oeiras
    Part of Team Megamix, but haven't done any actual work in ages.
    To change the panning in the middle of the song, you use the checkbox "Read XM panning" and set the panning within the XM (using 8xx effects).
     
  9. Tiberious

    Tiberious

    Yeah, I'm furry. Got a problem? Oldbie
    I figured that much, but do you have to mark every note with the effect, and what levels does it have to reach before it considers it left or right side? are we talking a range like 00-20 and C0-FF, or JUST 00/FF, and maybe 80/unmarked for center?

    Further, I noticed the 3XX commands failed in my conversion. Are there any other methods to get a decently controlable pitchbend?
     
  10. roxahris

    roxahris

    Everyone's a hypocrite. Take my word for it. Member
    1,224
    0
    0
    Doing anything at all
    SMPS can only pan channels to the left, right, and centre. It doesn't do it incrementally, from what I thought.
    As for pitch bends... no. xm4smps doesn't convert XM format pitch bends. The only way to do proper pitch bends is to figure out the modulation commands yourself, or use the smpsNoAttack/g15 thing to make fake-ish ones.
     
  11. Puto

    Puto

    Shin'ichi Kudō, detective. Tech Member
    2,013
    0
    16
    Portugal, Oeiras
    Part of Team Megamix, but haven't done any actual work in ages.
    800-87E is left, 87F-880 is center, 881-8FF is right
     
  12. Tiberious

    Tiberious

    Yeah, I'm furry. Got a problem? Oldbie
    That didn't seem to work, though. After experimenting, I found it's the volume column again, and unless you have the same pXX in the column on the release, it will go to the center.

    In fact, I'm thinking that's where any effects have to be applied.

    And on another note, I'm having touble getting an XM with Speed 3, Tempo 160 to match up to a SMPS setting. 0204 is too fast, and 0203 is too slow. 03XX is WAY too slow, even at 030F (higher values for the second byte seem to be ignored).

    What do the SMPS values match up to? So far, it seems like 0203 is like a 3/150.

    While you're at it, may as well document as much as possible and collect it into a possibly upgraded readme, 'cause I can't find ANY of this anywhere on the boards or in the wiki.
     
  13. Puto

    Puto

    Shin'ichi Kudō, detective. Tech Member
    2,013
    0
    16
    Portugal, Oeiras
    Part of Team Megamix, but haven't done any actual work in ages.
    To convert a XM tempo to a SMPS tempo, use this formula - first value is the speed, second tempo value is 150/(150-xmtempo). Obviously, though, this only works with tempos <150. In your case, though you really don't have much of an option; 3/160 is ~=2/107, and 0203 is 2/100 while 0204 is ~2/112. So you'll have to go with a close approximation, I suppose...
     
  14. Eduardo Knuckles

    Eduardo Knuckles

    Not a loved one, but the most hated person. Banned
    414
    10
    18
    Someplace somewhere
    Project S.A.M.G.
    This is actually bad. But you're planning on adding this support?
     
  15. Puto

    Puto

    Shin'ichi Kudō, detective. Tech Member
    2,013
    0
    16
    Portugal, Oeiras
    Part of Team Megamix, but haven't done any actual work in ages.
    lol no. I have no idea how I'd go about doing such a thing. Like I said, pitch bends in SMPS and in XM are done in a completely different way.
     
  16. nineko

    nineko

    I am the Holy Cat Tech Member
    6,364
    522
    93
    italy
    Welcome to my world, I spent the last year saying people that this isn't possible. I'm glad you obsoleted xm3smps, now people have someone else to bug :p
     
  17. DTX

    DTX

    A fellow w/a name fit for nary a man save himself Member
    The Mac OS X version's link appears to be broken... When I click on it I'm sent to a page which doesn't load fully for about half a minute, then Safari says it "Failed to open the page." When I control-click on it (the Mac equivalent of a right-click) and select "Download Linked File As...", it starts to download, but makes no progress, and after a minute or so the download times out.

    If you could somehow fix this then that'd be great. If not, I won't mind so badly; I've got a PC, so even though I'd prefer trying xm4smps for the Mac I guess I can try it out for Windows instead. Thank you for your time, patience, understanding and consideration.
     
  18. Puto

    Puto

    Shin'ichi Kudō, detective. Tech Member
    2,013
    0
    16
    Portugal, Oeiras
    Part of Team Megamix, but haven't done any actual work in ages.
  19. DTX

    DTX

    A fellow w/a name fit for nary a man save himself Member
  20. nineko

    nineko

    I am the Holy Cat Tech Member
    6,364
    522
    93
    italy
    Weird, the wiki is going nuts. I get a "currently no text in this page" error too if I follow that link, yet the file is there, as I could retrieve it via FTP.

    Oh well, mirror'd.
     
Thread Status:
Not open for further replies.