Search found 303 matches

by tryphon
Wed Aug 28, 2019 1:28 pm
Forum: Megadrive/Genesis
Topic: Sega Tech Docs archive
Replies: 26
Views: 2260

Re: Sega Tech Docs archive

Huge move. Thank you all for gathering this...
by tryphon
Wed Jul 24, 2019 3:30 pm
Forum: SGDK
Topic: SGDK1.4 crashes at compilation
Replies: 4
Views: 375

Re: SGDK1.4 crashes at compilation

Mmmh, I'll try to compile in my fridge and keep you informed :P
by tryphon
Tue Jul 23, 2019 10:05 pm
Forum: SGDK
Topic: SGDK1.4 crashes at compilation
Replies: 4
Views: 375

SGDK1.4 crashes at compilation

I don't know if it's due to my PC or SGDK, I post this in case someone else would encounter the same behaviour, which could give a hint about the cause. My PC crashes consistently (about 1 every 5 compilations) when I compile the xgmplayer sample. I'm not speaking of a compilation error, but a true ...
by tryphon
Mon Jul 22, 2019 9:26 am
Forum: SGDK
Topic: SGDK1.4 : Typo in sample/xgmplayer
Replies: 1
Views: 287

SGDK1.4 : Typo in sample/xgmplayer

A simple typo left in main.c source code :

line 288 : SPR_initEx(20, 80, 64);
Should be : SPR_initEx(80, 64);

Also, for nitpicking, line 63 : 0x0044, // D - dark yellow
Should be : 0x0044, // E - dark yellow
by tryphon
Wed Jul 17, 2019 3:06 pm
Forum: SGDK
Topic: 4 PCM example
Replies: 3
Views: 484

Re: 4 PCM example

ok, I'm going a similar way (except that, since I didn't know MML, I used a custom format).
by tryphon
Wed Jul 17, 2019 7:25 am
Forum: SGDK
Topic: 4 PCM example
Replies: 3
Views: 484

4 PCM example

Is there somewhere a VGM (or at least an XGM one) file that uses all 4 PCM channels (or at least more than 1) ?

All the samples from xgmplayer example use only one PCM channel.

Or do I have to mix my channels "by hand" ?
by tryphon
Fri Jul 12, 2019 9:31 am
Forum: SGDK
Topic: Internal XGM specs ?
Replies: 5
Views: 476

Re: Internal XGM specs ?

Do you think it'd be feasible to add a kind of JSR feature (jump to another part of the xgc code, and a return code) ?

It'd allow to store separately instruments settings, or isolate repeating patterns of music ?

I guess it's not so easy, because you must have thought about it.
by tryphon
Fri Jul 12, 2019 6:24 am
Forum: SGDK
Topic: Internal XGM specs ?
Replies: 5
Views: 476

Re: Internal XGM specs ?

Salut Stef, j'espère que tout va bien, je te croise plus trop sur le forum des malades (qui porte de "mieux en mieux" ce titre). The first reason is that I don't want to rely on any external tool (besides the ones I wrote myself). The second reason is that, at some point, I may want to modify the XG...
by tryphon
Wed Jul 10, 2019 12:58 pm
Forum: SGDK
Topic: Internal XGM specs ?
Replies: 5
Views: 476

Internal XGM specs ?

Bilingual post :P Je veux générer moi-même mon code XGM. Je me suis donc orienté vers la spécification du format qu'on trouve ici : https://github.com/Stephane-D/SGDK/blob/master/bin/xgm.txt Et j'ai voulu m'assurer de deux-trois trucs en regardant un XGM directement dans la ROM de sample/xgmplayer. ...
by tryphon
Wed Jul 03, 2019 9:04 am
Forum: Sound
Topic: Is there a way to fake the YM2151 2nd detune ?
Replies: 0
Views: 605

Is there a way to fake the YM2151 2nd detune ?

The YM2151 has a second Detune parameter which affects noticeably the generated sound. Is there a way to reproduce it ? I can't change the channel frequency because it affects only one operator...

Is the only way to turn it into a sample ?
by tryphon
Sat Jun 15, 2019 7:15 pm
Forum: Sound
Topic: How DAC works ?
Replies: 8
Views: 756

Re: How DAC works ?

Thank you !
by tryphon
Sat Jun 15, 2019 9:22 am
Forum: Sound
Topic: How DAC works ?
Replies: 8
Views: 756

How DAC works ?

I have some questions about channel 6 DAC mode : 1) do you confirm there's a 9th bit of value at bit 3 of register 2C ? I don't see this register mentioned in most documentations, nor in VGM specs, in particular data blocks are byte based, does it mean that all YM2612 vgm dumps are wrong ? 2) if I w...
by tryphon
Sat Jun 15, 2019 9:14 am
Forum: Sound
Topic: Why change TL before key on ?
Replies: 2
Views: 418

Re: Why change TL before key on ?

Thanks, that confirms what I thought!
by tryphon
Sun Jun 09, 2019 7:05 pm
Forum: Sound
Topic: Why change TL before key on ?
Replies: 2
Views: 418

Why change TL before key on ?

I'm "disassembling" some VGM from MD games, and notice many weird stuffs. For example, I have something like that : 000000: [channel 1] [operator 3] TL = 16 000000: [channel 1] key off 000000: [channel 1] [operator 3] TL = 8 000000: [channel 1] [operator 3] TL = 29 000000(1FD6): [channel 1] key off ...
by tryphon
Thu May 02, 2019 8:31 pm
Forum: Sound
Topic: Some beginner questions concerning YM2612
Replies: 24
Views: 3317

Re: Some beginner questions concerning YM2612

So, according to this page, it seems that in audio we use the dB for tensions (why ?), which is different (why ?).

So it's indeed 10^(dB/20), which indeed equals roughly 2^(dB/6).

Thanks :)