[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/vr/ - Retro Games

Search:


View post   

>> No.10035531 [View]
File: 68 KB, 601x583, graviton_sound_i_swear.jpg [View same] [iqdb] [saucenao] [google]
10035531

>>10035506
yeah, when i have free time

>> No.2606059 [View]
File: 68 KB, 601x583, graviton_sound_i_swear.jpg [View same] [iqdb] [saucenao] [google]
2606059

>Audio update

OP here. Huge amount of progress made on BGM. Take a look at Reset.Apu() in 'vector.asm' and the audio driver as of now in 'audio.asm'. Shit's assembled by hand, so my sluggish updates should be no surprise.

So the driver just loads up and plays a diddy you may recognize. I have not programed communication between the SNES side and APU side to choose songs, control tempo, etc.

The driver is composed of a small loop that
>1) syncs with the CPU (yet to be implemented)
>2) reads the timers
>3) processes BGM
>4) processes SFX (yet to be implemented)

The BGM program plays 8 'tracks'. Each track has a timer, and when the timer is greater or equal to a target, the timer is reset and a script is advanced. Scripts are composed of 8 (low level) commands currently:

>Pass 00 : End script execution and start to wait.
>Wait 01 ww : Set the amount of time 'ww' to wait, end script execution, and start to wait.
>Time 02 nn tt : Set timer 'nn' to count up to time 'tt'.
>Data 03 bb dd : Set A-DSP data.
>Jump 04 aaaa : Set next script address to 'aaaa'
>Loop 05 ll aaaa : Compare 'll' against loop counter, if less than loop to 'aaaa', otherwise not.
>Code 06 aaaa : Call script address to 'aaaa'.
>Back 07 : Return from call.

>>2599572
Holy shit this is sex to my ears. I want to get this in the game. I need from you mainly note values, pitches, and volumes. Also I need 16-bit PWM samples of the instruments you use. Keep in mind all sound data (program, music, sound effects, variables) have to fit in 64kBytes, so keep samples small. We have envelope features to take advantage of to give simple sounds more shape. The limit is you only have 8 voices to work with at any time.

I can help translate your music. Just post the score and samples for the love of god man.

Navigation
View posts[+24][+48][+96]