Does it still work with the PT3 player or is it AYFX only ?
it can be reverted to work with music but the result will depend case by case on volume of notes an on the number or sfx active at the same time
In order to make it work with a pt3 player you need to uncomment the sections where it compares the new volume from the sfx with the previous value, here
; ld a, (AYREGS + AmplA) ; ld c, a ld a, (afxChData +0 * 8 +4) ; cp c ; jr c, afxSkipCh0 [...] ; ld a, (AYREGS + AmplB) ; ld c, a ld a, (afxChData +1 * 8 +4) ; cp c ; jr c, afxSkipCh1 [...] ; ld a, (AYREGS + AmplC) ; ld c, a ld a, (afxChData +2 * 8 +4) ; cp c ; jr c, afxSkipCh2
in the ISR, naturally you have to call the pt3 player before you call the AFXFRAME in order that the sfx replayer finds the register altered by the music in the ram buffer at AYREGS
you need also to call PT3_ROUT after both music and sfx have altered AYREGS
Hello. One year has passed since you asked that question - did you ever get a response? I am looking for new sound effect files also.
Thanks.
Hi. The link is broken, World of Spectrum reports "database crash again, we are trying to find a permanent solution".
http://www.worldofspectrum.org/forums/showthread.php?t=47065
Might also help !
Hi!
I am using AY effects from https://zx.remysharp.com/audio/#src=OTYsMTUzLDUsNywyNDAsMCww... that is based in Shirus' tracker. I want to find the file format of the banks to easily create mine from other banks.
Looking for this information I've found this thread but I haven't been able to understand the file format of the banks. Maybe if my assembler knowledge was better I could deduce it from the replayer, but unfortunately it isn't the case.
Does anyone know this file format?
AFB format is a simple wrapper.
1st byte is SFX number (N).
Then come N x 16 bits (2 bytes) offset table to point to each SFX data.
https://github.com/Threetwosevensixseven/ayfxedit-improved#f...
Good explanation and good link.
Now I'll understand it well.
Thanks for the information aoineko!