VOGONS

Common searches


Search results

Display options

Re: Drums on truly real OPL2

Copyright (C) 2019 - 2021 Superfury This file is part of UniPCemu. UniPCemu is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later …

Re: Drums on truly real OPL2

superfury wrote on 2022-05-11, 21:17: Would the changing of 64 to (1/169) in the fnum lookup table be correct in this case (see my reverse calculations of 1Hz using octave 0)? Can you please tell me what 64? Where does 64 come from?

Re: Drums on truly real OPL2

FREQ_SH - part of emulators uses 10.10 fixed point accurancy (FREQ_SH=10). Part uses 16.16 (opl3Emu: FREQ_SH=16). I use 10.22 because on 32-bit register (STM32) because I can remove the "and" after shifting right by 22 positions (time critical section) - FREQ_SH=22. If you use 10.10 format, you will …

Re: Drums on truly real OPL2

Superfury , look at opl3emu and nukedOPL3. I use format 10.22 in the DINO-2e OPL-2 like emulator. In this case the floating point operations are not needed. Yamaha also doesn't need them and Yamaha doesn't need multiplying (all done by fixed point addition, xor, and, or, shifts and arrays). f - …

Re: Control F10

"Guys" in English is commonly used as a gender-neutral term. https://www.washingtonpost.com/outlook/2021/07/07/guys-defense-gendered-etymology/ https://en.wiktionary.org/wiki/guy#Usage_notes In plural, guys may not be completely gender-neutral , but it may refer to people of any gender in some …

Re: Control F10

Hi Guys, I am a woman, not guy. I really don't like it when people think that all programmers and all electronics are boys. "Hi colleagues" or "Hi to all" will be more appropriate... But it is completely unnecessary on forums and chats. In the config file i had: mapperfile=mapper-0.74.map while it …

Re: Drums on truly real OPL2

Although I don't know how to calculate the frequency shifts in fixed point format. Do you mean bit2, bit3, bit5 and bit7? If yes, it is very easy. // phaseCounter is in format 10.22 fixed point uint32_t phaseCounter uint16_t tmp=phaseCounter>>22; // normalize to 10-bit integer uint8_t bit2=(tmp …

Re: Drums on truly real OPL2

and forth between the floating point format of the modulator/carrier output Due to loss of accuracy of floating point numbers at each operation you should not use them to calculate phase of drum (HH, TC, SD) instruments. If your value 16384 will be rounded to 16383.997 your output of HH and TC will …

Re: Control F10

Try to hit "0" (zero) key on keyboard if you see red alert and skip point 7. We probably use different versions of DosBox. Before next -startmapper use -resetmapper because I don't know what happened after point 6). Keymapper in DosBox is very non-intuitive. White box means: checked Black box means …

Re: Drums on truly real OPL2

These are sampled at that rate, then lowpass filtered at 15392Hz. I see you also cannot hear this feedback squeak that makes all music uncomfortable. I cut it with special algorithm for feedback (only if OPL_FREQ is set to 49716 the filter is disabled for full compatibility). Don't compare game …

Re: Control F10

Thanks for your reply. Will you be so kind to tell me the correct procedure? 1) Run dosbox with parameter -setmapper dosbox -setmapper 2) Click "Cap Mouse" 3) Click "Next" until you see "Bind: Ctrl F10" 4) Click "Del" 5) Click "Add" 6) Click "0" (zero) 7) Click "Cap Mouse" 8 ) Check Mod1 and Mod2 ( …

Re: Drums on truly real OPL2

tempphase <<= 9; //0x200 when 1 makes it become 0x300 tempphase |= 0x100; //0x100 is always! tempop_phase = phase8_2; //Calculate the phase of channel 8 carrier signal! if (((tempop_phase>>3)^(tempop_phase>>5))&1) tempphase = 0x300; result = calcOperator(8, op8_2,op8_2,op8_2, adlibfreq(op8_2), …

Page 3 of 4