|
Post by Malban on Jun 29, 2014 13:47:35 GMT -5
Last post for today... Here are the sources promised. First the original SongDemo.from Chris (songdemo.as9 - see below) Secondly my edited and commented version (Chris's comments were a bit sparse) (songdemo.asm - see below) And thirdly the original documentation of Chris (playvoic.txt - see below) Regards Chris (S) Attachments:SONGDEMO.AS9 (16.13 KB)
SONGDEMO.ASM (30.45 KB)
PLAYVOIC.TXT (9.03 KB)
|
|
|
Post by g0blinish on Aug 14, 2014 9:16:00 GMT -5
vecsound doesn't work with .YM
|
|
|
Post by christophertumber on Aug 14, 2014 9:46:55 GMT -5
vecsound doesn't work with .YM You'll need to be more specific in order for anyone to help you. - What are you doing exactly (step by step)? - Where is it failing, what error message are you getting, or what unexpected output?
|
|
|
Post by gauze on Jan 22, 2015 11:19:37 GMT -5
So to bump this, How do you play background music and have sound effects play simultaneously? I know you have 3 channels + 1 noise channel you can use but how can you use them separately basically? Any demos w/ source out there?
|
|
|
Post by christophertumber on Jan 25, 2015 21:01:23 GMT -5
Well, there's several approaches:
- Only use one of music or soundfx. - Dedicate two channels to music and one channel to soundfx. - Use all three channels for music, but when a soundfx needs to be played take over one of the channels.
|
|
|
Post by gauze on Jan 25, 2015 23:26:40 GMT -5
I meant specifically with YM files which as far as I can tell use all channels even if some are empty in the tracker. Maybe my question is nonsensical.
I'm going to meditate on this a bit more.
|
|
|
Post by binarystar on Jan 26, 2015 6:05:58 GMT -5
I did this in Nagoya Attack. IIRC, I used 2 channels then ANDed the mixer byte and did the sfx on the 3rd channel. Can't really remember to be honest but it wasn't hard to pull off.
|
|
|
Post by scotthuggins on Apr 22, 2015 22:07:07 GMT -5
Goodness, I get stuck (sometimes) on the most (seemingly) remedial tasks. In my game I am playing a melody, using all three sound voices on the Veccy. When the player's ship explodes, I wanna STOP all music - no sound at all.
I thought this would do it (Christopher, btw, your tutorial is excellent in this thread).
I as hoping to clear register values, but I cannot get anywhere.
Here's what I am trying to do to stop the sounds in the game. What ends up happening (no matter what) is the LAST note being played when player's ship explodes plays on and on and on - forever. Hopefully, I have given enough information. Any thoughts / suggestions?
lda #$08 ;Modify Register 8, which is volume for voice #1 ldb #00 ;Volume=00 -- trying to clear it out jsr $f256 ; byte_2_sound_chip ;Set register lda #$09 ;Modify Register 9, which is volume for voice #2 ldb #00 ;Volume=00 -- trying to clear it out jsr $f256 ; byte_2_sound_chip ;Set register lda #$0A ;Modify Register 10, which is volume for voice #3 ldb #00 ;Volume=00 -- trying to clear it out jsr $f256 ; byte_2_sound_chip ;Set register
|
|
la1n
Vector Runner
Posts: 14
|
Post by la1n on Dec 31, 2015 14:43:31 GMT -5
hi there, at the moment on creating effects for my new shootemup vectrex game #vecZ. is your tool also somewhere = not facebook available? thanks for any hint. la1n
|
|
|
Post by mikiex on Jan 1, 2016 11:06:30 GMT -5
hi there, at the moment on creating effects for my new shootemup vectrex game #vecZ. is your tool also somewhere = not facebook available? thanks for any hint. la1n Ok as nobody else is answering I just downloaded them to dropbox to share, note do not right click to save you need to left click on the link www.dropbox.com/s/eukhitp9okwtbd4/AXFX_Player_By_Richard_Chadd.zip?dl=0
|
|
la1n
Vector Runner
Posts: 14
|
Post by la1n on Jan 1, 2016 15:27:20 GMT -5
thanks for publishing it. i will try to use in my shootemup as soon as possible.
thanks again.
la1n
|
|
la1n
Vector Runner
Posts: 14
|
Post by la1n on Jan 9, 2016 17:59:23 GMT -5
hi again,
i could implement the whole thing and it works (sfx_doframe). but my problem is now, that the old / classic soundroutine for music is not working anymore. is not the music running default on channel 1 and sfx in channel3?
here my code.
// sfx_code ldx #sfx4 ; play stx sfx_pointer lda #$01 sta sfx_status
// every frame lda sfx_status ; check if sfx to play beq nofxtodo jsr sfx_doframe nofxtodo: // classic music lda #1 ; one means, we are about to sta Vec_Music_Flag ; store it in appropriate RAM jsr DP_to_C8 ; DP to RAM ldu #music8 ; get some music, here music1 jsr Init_Music_chk ; and init new notes
// every frame jsr Do_Sound
thanks for any help.
till soon
la1n
|
|
la1n
Vector Runner
Posts: 14
|
Post by la1n on Jan 9, 2016 18:00:32 GMT -5
|
|
|
Post by Malban on Apr 19, 2016 9:24:06 GMT -5
|
|
|
Post by mountaingoat on Apr 20, 2016 5:45:57 GMT -5
Very nice doc, has some real sound effect examples. Also much more readable than the original scan of the datasheet.
I just wish they used hex numbers instead of octals, always get confused when they talk about registers 07 and then 10 :-)
|
|