Home
last modified time | relevance | path

Searched refs:eg_rout (Results 1 – 25 of 30) sorted by relevance

12

/dports/games/chocolate-doom/chocolate-doom-3.0.1/opl/
H A Dopl3.c431 slot->eg_rout = 0x1ff; in OPL3_EnvelopeGenOff()
436 if (slot->eg_rout == 0x00) in OPL3_EnvelopeGenAttack()
442 slot->eg_rout += ((~slot->eg_rout) * slot->eg_inc) >> 3; in OPL3_EnvelopeGenAttack()
443 if (slot->eg_rout < 0x00) in OPL3_EnvelopeGenAttack()
445 slot->eg_rout = 0x00; in OPL3_EnvelopeGenAttack()
451 if (slot->eg_rout >= slot->reg_sl << 4) in OPL3_EnvelopeGenDecay()
457 slot->eg_rout += slot->eg_inc; in OPL3_EnvelopeGenDecay()
470 if (slot->eg_rout >= 0x1ff) in OPL3_EnvelopeGenRelease()
473 slot->eg_rout = 0x1ff; in OPL3_EnvelopeGenRelease()
477 slot->eg_rout += slot->eg_inc; in OPL3_EnvelopeGenRelease()
[all …]
H A Dopl3.h57 Bit16s eg_rout; member
/dports/emulators/pcem/pcem_emulator-pcem-faf5d6423060/src/dosbox/
H A Dnukedopl.cpp418 slot->eg_rout = 0x1ff; in OPL3_EnvelopeGenOff()
423 if (slot->eg_rout == 0x00) in OPL3_EnvelopeGenAttack()
429 slot->eg_rout += ((~slot->eg_rout) * slot->eg_inc) >> 3; in OPL3_EnvelopeGenAttack()
430 if (slot->eg_rout < 0x00) in OPL3_EnvelopeGenAttack()
432 slot->eg_rout = 0x00; in OPL3_EnvelopeGenAttack()
438 if (slot->eg_rout >= slot->reg_sl << 4) in OPL3_EnvelopeGenDecay()
444 slot->eg_rout += slot->eg_inc; in OPL3_EnvelopeGenDecay()
457 if (slot->eg_rout >= 0x1ff) in OPL3_EnvelopeGenRelease()
460 slot->eg_rout = 0x1ff; in OPL3_EnvelopeGenRelease()
464 slot->eg_rout += slot->eg_inc; in OPL3_EnvelopeGenRelease()
[all …]
H A Dnukedopl.h37 Bit16s eg_rout; member
/dports/audio/libadplug/adplug-adplug-2.3.3/src/
H A Dnukedopl.c434 slot->eg_rout = 0x1ff; in OPL3_EnvelopeGenOff()
439 if (slot->eg_rout == 0x00) in OPL3_EnvelopeGenAttack()
445 slot->eg_rout += ((~slot->eg_rout) * slot->eg_inc) >> 3; in OPL3_EnvelopeGenAttack()
446 if (slot->eg_rout < 0x00) in OPL3_EnvelopeGenAttack()
448 slot->eg_rout = 0x00; in OPL3_EnvelopeGenAttack()
454 if (slot->eg_rout >= slot->reg_sl << 4) in OPL3_EnvelopeGenDecay()
460 slot->eg_rout += slot->eg_inc; in OPL3_EnvelopeGenDecay()
473 if (slot->eg_rout >= 0x1ff) in OPL3_EnvelopeGenRelease()
476 slot->eg_rout = 0x1ff; in OPL3_EnvelopeGenRelease()
480 slot->eg_rout += slot->eg_inc; in OPL3_EnvelopeGenRelease()
[all …]
H A Dnukedopl.h60 Bit16s eg_rout; member
/dports/games/zdoom/zdoom-2.8.1/src/oplsynth/
H A Dnukedopl3.cpp257 slot->eg_rout = 0x1ff; in envelope_gen_off()
261 if (slot->eg_rout == 0x00) { in envelope_gen_attack()
266 slot->eg_rout += ((~slot->eg_rout) *slot->eg_inc) >> 3; in envelope_gen_attack()
267 if (slot->eg_rout < 0x00) { in envelope_gen_attack()
268 slot->eg_rout = 0x00; in envelope_gen_attack()
278 slot->eg_rout += slot->eg_inc; in envelope_gen_decay()
288 if (slot->eg_rout >= 0x1ff) { in envelope_gen_release()
290 slot->eg_rout = 0x1ff; in envelope_gen_release()
294 slot->eg_rout += slot->eg_inc; in envelope_gen_release()
322 slot->eg_rout = 0x00; in eg_keyon()
[all …]
H A Dnukedopl3.h166 Bit16s eg_rout; member
/dports/games/sdlpop/SDLPoP-1.22/src/
H A Dopl3.c431 slot->eg_rout = 0x1ff; in OPL3_EnvelopeGenOff()
436 if (slot->eg_rout == 0x00) in OPL3_EnvelopeGenAttack()
442 slot->eg_rout += ((~slot->eg_rout) * slot->eg_inc) >> 3; in OPL3_EnvelopeGenAttack()
443 if (slot->eg_rout < 0x00) in OPL3_EnvelopeGenAttack()
445 slot->eg_rout = 0x00; in OPL3_EnvelopeGenAttack()
451 if (slot->eg_rout >= slot->reg_sl << 4) in OPL3_EnvelopeGenDecay()
457 slot->eg_rout += slot->eg_inc; in OPL3_EnvelopeGenDecay()
470 if (slot->eg_rout >= 0x1ff) in OPL3_EnvelopeGenRelease()
473 slot->eg_rout = 0x1ff; in OPL3_EnvelopeGenRelease()
477 slot->eg_rout += slot->eg_inc; in OPL3_EnvelopeGenRelease()
[all …]
H A Dopl3.h57 Bit16s eg_rout; member
/dports/games/shockolate/systemshock-0.8.2-43-ga9eb1b93/src/Libraries/adlmidi/chips/nuked/
H A Dnukedopl3_174.c308 slot->eg_rout = 0x1ff; in OPL3_EnvelopeGenOff()
313 if (slot->eg_rout == 0x00) in OPL3_EnvelopeGenAttack()
319 slot->eg_rout += ((~slot->eg_rout) * slot->eg_inc) >> 3; in OPL3_EnvelopeGenAttack()
320 if (slot->eg_rout < 0x00) in OPL3_EnvelopeGenAttack()
322 slot->eg_rout = 0x00; in OPL3_EnvelopeGenAttack()
328 if (slot->eg_rout >= slot->reg_sl << 4) in OPL3_EnvelopeGenDecay()
334 slot->eg_rout += slot->eg_inc; in OPL3_EnvelopeGenDecay()
347 if (slot->eg_rout >= 0x1ff) in OPL3_EnvelopeGenRelease()
350 slot->eg_rout = 0x1ff; in OPL3_EnvelopeGenRelease()
354 slot->eg_rout += slot->eg_inc; in OPL3_EnvelopeGenRelease()
[all …]
H A Dnukedopl3.c372 Bit16u eg_rout; in OPL3_EnvelopeCalc() local
376 slot->eg_out = slot->eg_rout + (slot->reg_tl << 2) in OPL3_EnvelopeCalc()
451 eg_rout = slot->eg_rout; in OPL3_EnvelopeCalc()
457 eg_rout = 0x00; in OPL3_EnvelopeCalc()
460 if ((slot->eg_rout & 0x1f8) == 0x1f8) in OPL3_EnvelopeCalc()
466 eg_rout = 0x1ff; in OPL3_EnvelopeCalc()
471 if (!slot->eg_rout) in OPL3_EnvelopeCalc()
477 eg_inc = ((~slot->eg_rout) << shift) >> 4; in OPL3_EnvelopeCalc()
481 if ((slot->eg_rout >> 4) == slot->reg_sl) in OPL3_EnvelopeCalc()
498 slot->eg_rout = (eg_rout + eg_inc) & 0x1ff; in OPL3_EnvelopeCalc()
[all …]
H A Dnukedopl3_174.h66 Bit16s eg_rout; member
/dports/audio/zmusic/ZMusic-1.1.8/thirdparty/oplsynth/
H A Dnukedopl3.cpp260 slot->eg_rout = 0x1ff; in envelope_gen_off()
264 if (slot->eg_rout == 0x00) { in envelope_gen_attack()
269 slot->eg_rout += ((~slot->eg_rout) *slot->eg_inc) >> 3; in envelope_gen_attack()
270 if (slot->eg_rout < 0x00) { in envelope_gen_attack()
271 slot->eg_rout = 0x00; in envelope_gen_attack()
281 slot->eg_rout += slot->eg_inc; in envelope_gen_decay()
291 if (slot->eg_rout >= 0x1ff) { in envelope_gen_release()
293 slot->eg_rout = 0x1ff; in envelope_gen_release()
297 slot->eg_rout += slot->eg_inc; in envelope_gen_release()
325 slot->eg_rout = 0x00; in eg_keyon()
[all …]
/dports/audio/zmusic/ZMusic-1.1.8/thirdparty/adlmidi/chips/nuked/
H A Dnukedopl3_174.c334 slot->eg_rout = 0x1ff; in OPL3_EnvelopeGenOff()
339 if (slot->eg_rout == 0x00) in OPL3_EnvelopeGenAttack()
345 slot->eg_rout += ((~slot->eg_rout) * slot->eg_inc) >> 3; in OPL3_EnvelopeGenAttack()
346 if (slot->eg_rout < 0x00) in OPL3_EnvelopeGenAttack()
348 slot->eg_rout = 0x00; in OPL3_EnvelopeGenAttack()
354 if (slot->eg_rout >= slot->reg_sl << 4) in OPL3_EnvelopeGenDecay()
360 slot->eg_rout += slot->eg_inc; in OPL3_EnvelopeGenDecay()
373 if (slot->eg_rout >= 0x1ff) in OPL3_EnvelopeGenRelease()
376 slot->eg_rout = 0x1ff; in OPL3_EnvelopeGenRelease()
380 slot->eg_rout += slot->eg_inc; in OPL3_EnvelopeGenRelease()
[all …]
H A Dnukedopl3.c511 Bit16u eg_rout; in OPL3_EnvelopeCalc() local
515 slot->eg_out = slot->eg_rout + (slot->reg_tl << 2) in OPL3_EnvelopeCalc()
599 eg_rout = slot->eg_rout; in OPL3_EnvelopeCalc()
605 eg_rout = 0x00; in OPL3_EnvelopeCalc()
608 if ((slot->eg_rout & 0x1f8) == 0x1f8) in OPL3_EnvelopeCalc()
614 eg_rout = 0x1ff; in OPL3_EnvelopeCalc()
619 if (!slot->eg_rout) in OPL3_EnvelopeCalc()
625 eg_inc = ((~slot->eg_rout) << shift) >> 4; in OPL3_EnvelopeCalc()
629 if ((slot->eg_rout >> 4) == slot->reg_sl) in OPL3_EnvelopeCalc()
646 slot->eg_rout = (eg_rout + eg_inc) & 0x1ff; in OPL3_EnvelopeCalc()
[all …]
H A Dnukedopl3_174.h66 Bit16s eg_rout;
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/opl/
H A Dopl3.c369 Bit16u eg_rout; in OPL3_EnvelopeCalc() local
373 slot->eg_out = slot->eg_rout + (slot->reg_tl << 2) in OPL3_EnvelopeCalc()
448 eg_rout = slot->eg_rout; in OPL3_EnvelopeCalc()
454 eg_rout = 0x00; in OPL3_EnvelopeCalc()
457 if ((slot->eg_rout & 0x1f8) == 0x1f8) in OPL3_EnvelopeCalc()
463 eg_rout = 0x1ff; in OPL3_EnvelopeCalc()
468 if (!slot->eg_rout) in OPL3_EnvelopeCalc()
474 eg_inc = ((~slot->eg_rout) << shift) >> 4; in OPL3_EnvelopeCalc()
478 if ((slot->eg_rout >> 4) == slot->reg_sl) in OPL3_EnvelopeCalc()
495 slot->eg_rout = (eg_rout + eg_inc) & 0x1ff; in OPL3_EnvelopeCalc()
[all …]
H A Dopl3.h59 Bit16s eg_rout; member
/dports/emulators/dosbox-staging/dosbox-staging-0.78.0/src/libs/nuked/
H A Dopl3.c396 uint16_t eg_rout; in OPL3_EnvelopeCalc() local
400 slot->eg_out = slot->eg_rout + (slot->reg_tl << 2) in OPL3_EnvelopeCalc()
475 eg_rout = slot->eg_rout; in OPL3_EnvelopeCalc()
481 eg_rout = 0x00; in OPL3_EnvelopeCalc()
484 if ((slot->eg_rout & 0x1f8) == 0x1f8) in OPL3_EnvelopeCalc()
490 eg_rout = 0x1ff; in OPL3_EnvelopeCalc()
495 if (!slot->eg_rout) in OPL3_EnvelopeCalc()
501 eg_inc = ~slot->eg_rout >> (4 - shift); in OPL3_EnvelopeCalc()
505 if ((slot->eg_rout >> 4) == slot->reg_sl) in OPL3_EnvelopeCalc()
522 slot->eg_rout = (eg_rout + eg_inc) & 0x1ff; in OPL3_EnvelopeCalc()
[all …]
H A Dopl3.h60 uint16_t eg_rout; member
/dports/games/NBlood/NBlood-a1689a4/source/audiolib/src/
H A Dopl3.cpp382 Bit16u eg_rout; in OPL3_EnvelopeCalc() local
386 slot->eg_out = slot->eg_rout + (slot->reg_tl << 2) in OPL3_EnvelopeCalc()
461 eg_rout = slot->eg_rout; in OPL3_EnvelopeCalc()
467 eg_rout = 0x00; in OPL3_EnvelopeCalc()
470 if ((slot->eg_rout & 0x1f8) == 0x1f8) in OPL3_EnvelopeCalc()
476 eg_rout = 0x1ff; in OPL3_EnvelopeCalc()
481 if (!slot->eg_rout) in OPL3_EnvelopeCalc()
487 eg_inc = ((~slot->eg_rout) << shift) >> 4; in OPL3_EnvelopeCalc()
491 if ((slot->eg_rout >> 4) == slot->reg_sl) in OPL3_EnvelopeCalc()
508 slot->eg_rout = (eg_rout + eg_inc) & 0x1ff; in OPL3_EnvelopeCalc()
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/audio/softsynth/opl/
H A Dnuked.cpp376 Bit16u eg_rout; in OPL3_EnvelopeCalc() local
380 slot->eg_out = slot->eg_rout + (slot->reg_tl << 2) in OPL3_EnvelopeCalc()
455 eg_rout = slot->eg_rout; in OPL3_EnvelopeCalc()
461 eg_rout = 0x00; in OPL3_EnvelopeCalc()
464 if ((slot->eg_rout & 0x1f8) == 0x1f8) in OPL3_EnvelopeCalc()
470 eg_rout = 0x1ff; in OPL3_EnvelopeCalc()
475 if (!slot->eg_rout) in OPL3_EnvelopeCalc()
481 eg_inc = ((~slot->eg_rout) << shift) >> 4; in OPL3_EnvelopeCalc()
485 if ((slot->eg_rout >> 4) == slot->reg_sl) in OPL3_EnvelopeCalc()
502 slot->eg_rout = (eg_rout + eg_inc) & 0x1ff; in OPL3_EnvelopeCalc()
[all …]
/dports/games/scummvm/scummvm-2.5.1/audio/softsynth/opl/
H A Dnuked.cpp376 Bit16u eg_rout; in OPL3_EnvelopeCalc() local
380 slot->eg_out = slot->eg_rout + (slot->reg_tl << 2) in OPL3_EnvelopeCalc()
457 eg_rout = slot->eg_rout; in OPL3_EnvelopeCalc()
463 eg_rout = 0x00; in OPL3_EnvelopeCalc()
466 if ((slot->eg_rout & 0x1f8) == 0x1f8) in OPL3_EnvelopeCalc()
472 eg_rout = 0x1ff; in OPL3_EnvelopeCalc()
477 if (!slot->eg_rout) in OPL3_EnvelopeCalc()
483 eg_inc = ((~slot->eg_rout) << shift) >> 4; in OPL3_EnvelopeCalc()
487 if ((slot->eg_rout >> 4) == slot->reg_sl) in OPL3_EnvelopeCalc()
506 slot->eg_rout = (eg_rout + eg_inc) & 0x1ff; in OPL3_EnvelopeCalc()
[all …]
/dports/audio/zmusic/ZMusic-1.1.8/thirdparty/oplsynth/oplsynth/
H A Dnukedopl3.h169 Bit16s eg_rout;

12