Jump to content

Photo

Voice Playback


36 replies to this topic

#26 artrag OFFLINE  

artrag

    Dragonstomper

  • 603 posts

Posted Sun Aug 21, 2016 12:53 AM

It does not work for me. I can now run it with my windows XP but I have this message with the wav files I put in wavs directory :

And size is odd : 294K for 32 bits version and 5M for 64bits version :o !

 

Try this other version. It seems correct now.

Attached Files



#27 alekmaul OFFLINE  

alekmaul

    Chopper Commander

  • 173 posts
  • Location:Blois (France)

Posted Sun Aug 21, 2016 1:32 AM

yes, it works now, thanks a lot !

#28 alekmaul OFFLINE  

alekmaul

    Chopper Commander

  • 173 posts
  • Location:Blois (France)

Posted Wed Aug 24, 2016 1:30 AM

Here is an in game sample with some digital voice effects that I've put together using the voice playback.

 

 

 

It seems that we can't use default sound update with the voice player.

I'm talking about these calls from crtcv.s

 

        call    0x1f61                   ; play sounds
        call    0x1ff4                   ; update snd_addr with snd_areas

How did you manage to put music with voices ? you have your own player ?



#29 artrag OFFLINE  

artrag

    Dragonstomper

  • 603 posts

Posted Wed Aug 24, 2016 2:04 AM

The player is included in Tursi's package.
Just call it once per frame.

Edited by artrag, Wed Aug 24, 2016 2:07 AM.


#30 alekmaul OFFLINE  

alekmaul

    Chopper Commander

  • 173 posts
  • Location:Blois (France)

Posted Wed Aug 24, 2016 6:16 AM

Hum, i'm talking about musics, not digits, perhaps it was not clear in my post.

The digits work fine, that is not a problem. It's about how to play music with digits that I need help because the default drivers for playing music is disable to allow digits to be played


Edited by alekmaul, Wed Aug 24, 2016 6:17 AM.


#31 artrag OFFLINE  

artrag

    Dragonstomper

  • 603 posts

Posted Wed Aug 24, 2016 9:21 AM

I may be wrong, but in the video the music stops while voice is active (voice needs all channels).

I do not know the coleco Bios but maybe it is possible to stop the music while the SN768xx is busy with voice samples. 



#32 Tursi OFFLINE  

Tursi

    River Patroller

  • Topic Starter
  • 4,545 posts
  • Location:BUR

Posted Wed Aug 24, 2016 12:29 PM

Digress will have to speak up and say what he used, I don't know anything about the BIOS player either. For my own work I use my VGM player. ;)



#33 digress ONLINE  

digress

    Dragonstomper

  • 858 posts

Posted Wed Aug 24, 2016 1:45 PM

I was at the Zoo all day. Seen some Pandas. But the Penguins, Lions & Polar bears were more fun since too many people in to see the pandas.

 

The gameplay doesn't stop while the sample is played which is the new thing about this. The music definatly stops in mine as all 3 voices are in use as per Artrags post.

 

I converted the samples to VGM SFX so I could just play them along with the VGM music library Tursi provided.

 

Works perfect!

 

I may be wrong, but in the video the music stops while voice is active (voice needs all channels).

I do not know the coleco Bios but maybe it is possible to stop the music while the SN768xx is busy with voice samples. 

 

Digress will have to speak up and say what he used, I don't know anything about the BIOS player either. For my own work I use my VGM player. ;)

 

Hum, i'm talking about musics, not digits, perhaps it was not clear in my post.

The digits work fine, that is not a problem. It's about how to play music with digits that I need help because the default drivers for playing music is disable to allow digits to be played



#34 Tursi OFFLINE  

Tursi

    River Patroller

  • Topic Starter
  • 4,545 posts
  • Location:BUR

Posted Wed Aug 24, 2016 3:36 PM

Ah, there you go then. My player disables music on any active sound effect channels, but still processes it in the background, so it seems more like the music continues rather than pausing and resuming where it left off. :) (The intent there was if you had single-channel sound effects, you'd hear the music at the same time.) Since the voice doesn't use the noise channel, that would keep processing as normal.

 

Thanks for using my player!



#35 digress ONLINE  

digress

    Dragonstomper

  • 858 posts

Posted Wed Aug 24, 2016 4:20 PM

For sure. Solved my music problems. Hand coding music sucks. I'll credit you in the manual if I ever get this corruption fixed so I can finish it.

 

Ah, there you go then. My player disables music on any active sound effect channels, but still processes it in the background, so it seems more like the music continues rather than pausing and resuming where it left off. :) (The intent there was if you had single-channel sound effects, you'd hear the music at the same time.) Since the voice doesn't use the noise channel, that would keep processing as normal.

 

Thanks for using my player!



#36 artrag OFFLINE  

artrag

    Dragonstomper

  • 603 posts

Posted Wed Apr 5, 2017 1:29 AM

New use of the voice player (this time using the noise generator too)



#37 Tursi OFFLINE  

Tursi

    River Patroller

  • Topic Starter
  • 4,545 posts
  • Location:BUR

Posted Wed Apr 5, 2017 11:53 PM

Better!






0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users