PROGRAMMING > C / C++ /C#
AHX player
m0d:
--- Quote from: Rbraz on December 16, 2006 --- :hi: aboard dude
Well, it seems to me that you arent a n00b :)
--- Quote ---unforutunatly the EXE also trips up on this one (attached)... Deliplayer does not, nor does the real AHX itself.. (its about 30 secs in).
The other replayers that do this (like the winamp plugin) only play AHX's about 50% correctly, if you can find a moment to take a poke and fix that then that would be awesome.
--- End quote ---
I have tested this ahx player it with lots of .ahx songs and it crashes only with your song, tested it with real amiga AHX player and it works fine.
I guess you can help us to find this problem, tell us where it exactly crash, for example when you play one specific note, volume or instrument...
--- End quote ---
Thanks for the warm welcome :cheers: I've been out tonight so I'll check into finding out when it crashes, unfortunatly swapping stuff to and fro between my amiga on the other side of the studio is a pain until i get my network cable plugged back into the LAN (been wireless for some time now) :) tomorrow.
In this terrifically dark picture, the amiga behind me when im sitting at the PC.
clicky
I was made aware that AHX is buggy and generally keeps on going when it hits bugs, and being that I'm so very new at using AHX (yes im a n00b - really!) - I wouldn't have noticed a problem had I not put it into any WinAHX-based player. I also managed (unfortunatly not reproductably) to crash the EXE with another one of my songs, it locked up the PC for a while and failed to die when thrust with a bannana shaped angry task-menu kill, but that's not so important - it could have been anything. I played the song another time and it went through fine (the song was TherePie).
--- Quote from: Jim on December 17, 2006 ---Hi M0d, Welcome to the forum! I fired up that tune in the debugger and for some reason it doesn't crash, but the noise (D) channel goes totally haywire and never corrects itself. I'll see what I can do, but it's a fair amount of effort I would think.
Jim
--- End quote ---
Hi Jim, again - thanks for helping to rejuvinate AHXness, as above my level of insight into AHX is flat bottom zero, i'm still learning how to make tone portmentos work ::) So i was a little surpirsed i'd broken something, and then later not so surprised after I heard from a friend how this sort of thing is actually quite common (at least on the constuction stage).
Luckily, and this is cool - a mate of mine (with contributions) has re-vamped the AHX user-documentation into a sexy PDF. I'll let you know where to get it when it's released 1.0 (only drafts at the moment) as I'ts really helped me get to grips with some of the stuff i never even knew was possible. (You're reading a post by someone who's been using a clipboard, pencil and paper to copy column data down to put into another column, not knowing how to use the clipboard function of the programme itself).
Again thanks both for the warm >:D welcome :)
Jim:
I tried quite a number of things, but there doesn't appear to be any obvious bugs. Perhaps a design flaw?
Jim
m0d:
Hi Jim,
I believe I might have found the issue - the issue being that a column volume setting ($C) over 40 causes this "crash" to occur. It seems the error is definitly not trapped in the replayer code. The real AHX assumes values over the max, to be the actual maximum, for instance >40 = 40.
I have attached an updated version of Chip Shoulder - I can't test it on the AHX player you made because on my w2k machine at work I seem to be missing various DLL components to get it to run :(
Let me know how it goes
(P.S I've also attached a new AHX I made yesterday - Discovery of Pieland :) )
rbz:
Nice one dude, you found it, works fine now.
Karma++
Btw, nice ahx tunes, well done :clap:
Jim:
Fixed it. Somehow you'd set column volume to 66 (0x42), which isn't in any of the 3 valid ranges 0-0x40, 0x50-0x90 or 0xA0-0xE0. So basically I've put a check in which just ignores invalid ranges.
Along with a new .exe, I've included your original broken song in the archive, it now plays just fine. :D
Jim
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version