Home
last modified time | relevance | path

Searched refs:freqbase (Results 1 – 25 of 152) sorted by relevance

1234567

/dports/net/ntp/ntp-4.2.8p15/scripts/monitoring/
H A Dntploopwatch97 undef($freqbase);
429 printf " freqbase\t= %s\n",defined($freqbase) ?"$freqbase":"dynamic";
1066 local($freqbase) unless defined($freqbase);
1171 if (defined($freqbase))
1193 $freqbase = int($freqbase / $s) * $s;
1200 $freqbase = $m unless defined($freqbase);
1213 $miny = $minfreq - $freqbase;
1214 $maxy = $maxfreq - $freqbase;
1219 ? ($maxfreq-$freqbase,$minfreq-$freqbase) : (0.5,-0.5));
1232 sprintf("%g",$freqbase >= 0 ? $freqbase : -$freqbase);
[all …]
H A Dloopwatch.config.SAMPLE39 # freqbase: dynamic/<baseval>
41 # if dynamic is selected, freqbase is adjusted to fit into the range of
43 freqbase=dynamic
52 # 0 enables dynamic adjust of value ranges for freqbase and cmplscale
/dports/emulators/mess/mame-mame0226/src/devices/sound/
H A Dfm.cpp608 double freqbase; /* frequency base */ member
829 if( (ST->TAC -= (int)(ST->freqbase*4096)) <= 0 ) \
841 if( (ST->TBC -= (int)(ST->freqbase*4096*step)) <= 0 ) \
1497 ST->rate, ST->clock, ST->freqbase ); in init_timetables()
1749 OPN->ST.freqbase = 1.0; in OPNSetPres()
1752 OPN->eg_timer_add = (1<<EG_SH) * OPN->ST.freqbase; in OPNSetPres()
2871 F2608->deltaT.freqbase = F2608->OPN.ST.freqbase; in ym2608_postload()
3016 F2608->deltaT.freqbase = OPN->ST.freqbase; in ym2608_reset_chip()
3078 DELTAT->freqbase = OPN->ST.freqbase; in ym2608_reset_chip()
3110 F2608->deltaT.freqbase = OPN->ST.freqbase; in ym2608_write()
[all …]
/dports/emulators/mame/mame-mame0226/src/devices/sound/
H A Dfm.cpp608 double freqbase; /* frequency base */ member
829 if( (ST->TAC -= (int)(ST->freqbase*4096)) <= 0 ) \
841 if( (ST->TBC -= (int)(ST->freqbase*4096*step)) <= 0 ) \
1497 ST->rate, ST->clock, ST->freqbase ); in init_timetables()
1749 OPN->ST.freqbase = 1.0; in OPNSetPres()
1752 OPN->eg_timer_add = (1<<EG_SH) * OPN->ST.freqbase; in OPNSetPres()
2871 F2608->deltaT.freqbase = F2608->OPN.ST.freqbase; in ym2608_postload()
3016 F2608->deltaT.freqbase = OPN->ST.freqbase; in ym2608_reset_chip()
3078 DELTAT->freqbase = OPN->ST.freqbase; in ym2608_reset_chip()
3110 F2608->deltaT.freqbase = OPN->ST.freqbase; in ym2608_write()
[all …]
/dports/audio/zmusic/ZMusic-1.1.8/thirdparty/opnmidi/chips/mamefm/
H A Dfm.cpp635 double freqbase; /* frequency base */ member
856 if( (ST->TAC -= (int)(ST->freqbase*4096)) <= 0 ) \
868 if( (ST->TBC -= (int)(ST->freqbase*4096*step)) <= 0 ) \
1530 ST->rate, ST->clock, ST->freqbase ); in init_timetables()
1782 OPN->ST.freqbase = 1.0; in OPNSetPres()
1785 OPN->eg_timer_add = (uint32_t)((1<<EG_SH) * OPN->ST.freqbase); in OPNSetPres()
2924 F2608->deltaT.freqbase = F2608->OPN.ST.freqbase; in ym2608_postload()
3076 F2608->deltaT.freqbase = OPN->ST.freqbase; in ym2608_reset_chip()
3138 DELTAT->freqbase = OPN->ST.freqbase; in ym2608_reset_chip()
3170 F2608->deltaT.freqbase = OPN->ST.freqbase; in ym2608_write()
[all …]
/dports/multimedia/musikcube/musikcube-0.96.7/src/plugins/gmedecoder/gme/
H A Dfm.c609 double freqbase; /* frequency base */ member
818 if( ((ST)->TAC -= (int)((ST)->freqbase*4096)) <= 0 ) \
830 if( ((ST)->TBC -= (int)((ST)->freqbase*4096*step)) <= 0 ) \
1491 ST->rate, ST->clock, ST->freqbase ); in init_timetables()
1752 OPN->ST.freqbase = 1.0; in OPNSetPres()
1755 OPN->eg_timer_add = (1<<EG_SH) * OPN->ST.freqbase; in OPNSetPres()
1783 OPN->fn_max = (UINT32)( (double)0x20000 * OPN->ST.freqbase * (1<<(FREQ_SH-10)) ); in OPNSetPres()
3524 F2608->deltaT.freqbase = OPN->ST.freqbase; in ym2608_reset_chip()
3586 DELTAT->freqbase = OPN->ST.freqbase; in ym2608_reset_chip()
3618 F2608->deltaT.freqbase = OPN->ST.freqbase; in ym2608_write()
[all …]
H A Dym2413.c212 double freqbase; /* frequency base */ member
1224 chip->freqbase = (chip->rate) ? ((double)chip->clock / 72.0) / chip->rate : 0; in OPLL_initalize()
1225 if ( fabs( chip->freqbase - 1.0 ) < 0.0000001 ) in OPLL_initalize()
1226 chip->freqbase = 1.0; in OPLL_initalize()
1229 chip->freqbase = 1.0; in OPLL_initalize()
1230 logerror("freqbase=%f\n", chip->freqbase); in OPLL_initalize()
1240 …chip->fn_tab[i] = (UINT32)( (double)i * 64 * chip->freqbase * (1<<(FREQ_SH-10)) ); /* -10 because … in OPLL_initalize()
1267 chip->lfo_am_inc = (1.0 / 64.0 ) * (1<<LFO_SH) * chip->freqbase; in OPLL_initalize()
1270 chip->lfo_pm_inc = (1.0 / 1024.0) * (1<<LFO_SH) * chip->freqbase; in OPLL_initalize()
1275 chip->noise_f = (1.0 / 1.0) * (1<<FREQ_SH) * chip->freqbase; in OPLL_initalize()
[all …]
H A Dfm2612.c608 double freqbase; /* frequency base */ member
984 if( ((ST)->TAC -= (int)((ST)->freqbase*4096)) <= 0 ) \
996 if( ((ST)->TBC -= (int)((ST)->freqbase*4096*step)) <= 0 ) \
2019 static void init_timetables(FM_OPN *OPN, double freqbase) in init_timetables() argument
2050 OPN->fn_max = (UINT32)( (double)0x20000 * freqbase * (1<<(FREQ_SH-10)) ); in init_timetables()
2057 OPN->ST.freqbase = (OPN->ST.rate) ? ((double)OPN->ST.clock / OPN->ST.rate) / pres : 0; in OPNSetPres()
2058 if ( fabs( OPN->ST.freqbase - 1.0 ) < 0.0001 ) in OPNSetPres()
2059 OPN->ST.freqbase = 1.0; in OPNSetPres()
2062 OPN->eg_timer_add = (UINT32)((1<<EG_SH) * OPN->ST.freqbase); in OPNSetPres()
2066 OPN->lfo_timer_add = (UINT32)((1<<LFO_SH) * OPN->ST.freqbase); in OPNSetPres()
[all …]
/dports/audio/bambootracker/BambooTracker-0.4.5/BambooTracker/chips/mame/
H A Dfm.c607 double freqbase; /* frequency base */ member
826 if( ((ST)->TAC -= (int)((ST)->freqbase*4096)) <= 0 ) \
838 if( ((ST)->TBC -= (int)((ST)->freqbase*4096*step)) <= 0 ) \
1505 ST->rate, ST->clock, ST->freqbase ); in init_timetables()
1766 OPN->ST.freqbase = 1.0; in OPNSetPres()
1770 OPN->eg_timer_add = (UINT32)((1 << EG_SH) * OPN->ST.freqbase); in OPNSetPres()
3501 F2608->deltaT.freqbase = F2608->OPN.ST.freqbase; in ym2608_postload()
3653 F2608->deltaT.freqbase = OPN->ST.freqbase; in ym2608_reset_chip()
3715 DELTAT->freqbase = OPN->ST.freqbase; in ym2608_reset_chip()
3748 F2608->deltaT.freqbase = OPN->ST.freqbase; in ym2608_write()
[all …]
/dports/audio/deadbeef/deadbeef-0.7.2/plugins/gme/game-music-emu-0.6pre/vgmplay/VGMPlay/chips/
H A Dfm.c608 double freqbase; /* frequency base */ member
827 if( ((ST)->TAC -= (int)((ST)->freqbase*4096)) <= 0 ) \
839 if( ((ST)->TBC -= (int)((ST)->freqbase*4096*step)) <= 0 ) \
1500 ST->rate, ST->clock, ST->freqbase ); in init_timetables()
1761 OPN->ST.freqbase = 1.0; in OPNSetPres()
1764 OPN->eg_timer_add = (1<<EG_SH) * OPN->ST.freqbase; in OPNSetPres()
3493 F2608->deltaT.freqbase = F2608->OPN.ST.freqbase; in ym2608_postload()
3640 F2608->deltaT.freqbase = OPN->ST.freqbase; in ym2608_reset_chip()
3702 DELTAT->freqbase = OPN->ST.freqbase; in ym2608_reset_chip()
3735 F2608->deltaT.freqbase = OPN->ST.freqbase; in ym2608_write()
[all …]
/dports/audio/vgmplay/vgmplay-0.40.9_2/chips/
H A Dfm.c607 double freqbase; /* frequency base */ member
826 if( ((ST)->TAC -= (int)((ST)->freqbase*4096)) <= 0 ) \
838 if( ((ST)->TBC -= (int)((ST)->freqbase*4096*step)) <= 0 ) \
1499 ST->rate, ST->clock, ST->freqbase ); in init_timetables()
1760 OPN->ST.freqbase = 1.0; in OPNSetPres()
1763 OPN->eg_timer_add = (1<<EG_SH) * OPN->ST.freqbase; in OPNSetPres()
3492 F2608->deltaT.freqbase = F2608->OPN.ST.freqbase; in ym2608_postload()
3639 F2608->deltaT.freqbase = OPN->ST.freqbase; in ym2608_reset_chip()
3701 DELTAT->freqbase = OPN->ST.freqbase; in ym2608_reset_chip()
3734 F2608->deltaT.freqbase = OPN->ST.freqbase; in ym2608_write()
[all …]
/dports/emulators/quasi88/quasi88-0.6.4/src/snddrv/src/sound/
H A Dfm.c593 double freqbase; /* frequency base */ member
814 if( (ST->TAC -= (int)(ST->freqbase*4096)) <= 0 ) \
826 if( (ST->TBC -= (int)(ST->freqbase*4096*step)) <= 0 ) \
1417 ST->rate, ST->clock, ST->freqbase ); in init_timetables()
1659 OPN->ST.freqbase = 1.0; in OPNSetPres()
1662 OPN->eg_timer_add = (1<<EG_SH) * OPN->ST.freqbase; in OPNSetPres()
3341 F2608->deltaT.freqbase = F2608->OPN.ST.freqbase; in YM2608Postload()
3484 F2608->deltaT.freqbase = OPN->ST.freqbase; in YM2608ResetChip()
3546 DELTAT->freqbase = OPN->ST.freqbase; in YM2608ResetChip()
3578 F2608->deltaT.freqbase = OPN->ST.freqbase; in YM2608Write()
[all …]
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/snd/
H A Dfm.c644 double freqbase; /* frequency base */ member
870 if( (ST->TAC -= (int)(ST->freqbase*4096)) <= 0 ) \
882 if( (ST->TBC -= (int)(ST->freqbase*4096*step)) <= 0 ) \
1649 ST->rate, ST->clock, ST->freqbase ); in init_timetables()
1927 OPN->ST.freqbase = 1.0; in OPNSetPres()
1930 OPN->eg_timer_add = (1<<EG_SH) * OPN->ST.freqbase; in OPNSetPres()
3131 F2608->deltaT.freqbase = F2608->OPN.ST.freqbase; in YM2608_postload()
3307 F2608->deltaT.freqbase = OPN->ST.freqbase; in YM2608ResetChip()
3369 DELTAT->freqbase = OPN->ST.freqbase; in YM2608ResetChip()
3401 F2608->deltaT.freqbase = OPN->ST.freqbase; in YM2608Write()
[all …]
/dports/emulators/gngeo/gngeo-gngeo_0.8/src/ym2610/
H A Dym2610.c579 double freqbase; /* frequency base */ member
691 double freqbase; member
1507 ST->rate, ST->clock, ST->freqbase ); in init_timetables()
1513 rate = ((double)dttable[d*32 + i]) * SIN_LEN * ST->freqbase * (1<<FREQ_SH) / ((double)(1<<20)); in init_timetables()
1680 OPN->ST.freqbase = (OPN->ST.rate) ? ((double)OPN->ST.clock / OPN->ST.rate) / pres : 0; in OPNSetPres()
1684 OPN->ST.freqbase = 1.0; in OPNSetPres()
1687 OPN->eg_timer_add = (1<<EG_SH) * OPN->ST.freqbase; in OPNSetPres()
1719 OPN->lfo_freq[i] = (1.0 / lfo_samples_per_step[i]) * (1<<LFO_SH) * OPN->ST.freqbase; in OPNSetPres()
2377 … adpcma[c].step = (u32)((float)(1 << ADPCM_SHIFT) * ((float)YM2610.OPN.ST.freqbase) / 3.0); in OPNB_ADPCMA_write()
2844 YM2610.adpcmb.freqbase = YM2610.OPN.ST.freqbase; in YM2610ChangeSamplerate()
[all …]
/dports/games/libretro-mame2000/mame2000-libretro-e364a15/src/sound/
H A Dfm.c246 float freqbase; /* frequency base */ member
451 if( (ST->TAC -= (int)(ST->freqbase*4096)) <= 0 ) \
463 if( (ST->TBC -= (int)(ST->freqbase*4096*step)) <= 0 ) \
889 rate = (float)DTTABLE[d*32 + i] * ST->freqbase * FREQ_RATE; in init_timetables()
897 rate = ST->freqbase; /* frequency rate */ in init_timetables()
1208 OPN->LFO_FREQ[i] = (UINT32)(freq_table[i] * OPN->ST.freqbase); in OPNSetPris()
2166 DELTAT->freqbase = OPN->ST.freqbase; in YM2608ResetChip()
2192 F2608->deltaT.freqbase = OPN->ST.freqbase; in YM2608Write()
2196 F2608->deltaT.freqbase = OPN->ST.freqbase; in YM2608Write()
2200 F2608->deltaT.freqbase = OPN->ST.freqbase; in YM2608Write()
[all …]
H A Dymdeltat.h10 float freqbase; member
/dports/emulators/quasi88/quasi88-0.6.4/src/snddrv-old/src/sound/
H A Dfm.c599 double freqbase; /* frequency base */ member
711 if( (ST->TAC -= (int)(ST->freqbase*4096)) <= 0 ) \
723 if( (ST->TBC -= (int)(ST->freqbase*4096*step)) <= 0 ) \
1348 ST->rate, ST->clock, ST->freqbase ); in init_timetables()
1665 OPN->ST.freqbase = 1.0; in OPNSetPres()
1668 OPN->eg_timer_add = (1<<EG_SH) * OPN->ST.freqbase; in OPNSetPres()
3373 F2608->deltaT.freqbase = F2608->OPN.ST.freqbase; in YM2608_postload()
3526 F2608->deltaT.freqbase = OPN->ST.freqbase; in YM2608ResetChip()
3583 DELTAT->freqbase = OPN->ST.freqbase; in YM2608ResetChip()
3615 F2608->deltaT.freqbase = OPN->ST.freqbase; in YM2608Write()
[all …]
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/sound/
H A Dfm.c594 double freqbase; /* frequency base */ member
819 if( (ST->TAC -= (int)(ST->freqbase*4096)) <= 0 ) \
831 if( (ST->TBC -= (int)(ST->freqbase*4096*step)) <= 0 ) \
1417 ST->rate, ST->clock, ST->freqbase ); in init_timetables()
1659 OPN->ST.freqbase = 1.0; in OPNSetPres()
1662 OPN->eg_timer_add = (1<<EG_SH) * OPN->ST.freqbase; in OPNSetPres()
3368 F2608->deltaT.freqbase = F2608->OPN.ST.freqbase; in YM2608_postload()
3524 F2608->deltaT.freqbase = OPN->ST.freqbase; in YM2608ResetChip()
3586 DELTAT->freqbase = OPN->ST.freqbase; in YM2608ResetChip()
3618 F2608->deltaT.freqbase = OPN->ST.freqbase; in YM2608Write()
[all …]
H A Dym2413.c257 double freqbase; /* frequency base */ member
1245 chip->freqbase = (chip->rate) ? ((double)chip->clock / 72.0) / chip->rate : 0; in OPLL_initalize()
1248 chip->freqbase = 1.0; in OPLL_initalize()
1249 logerror("freqbase=%f\n", chip->freqbase); in OPLL_initalize()
1259 …chip->fn_tab[i] = (UINT32)( (double)i * 64 * chip->freqbase * (1<<(FREQ_SH-10)) ); /* -10 because … in OPLL_initalize()
1286 chip->lfo_am_inc = (1.0 / 64.0 ) * (1<<LFO_SH) * chip->freqbase; in OPLL_initalize()
1289 chip->lfo_pm_inc = (1.0 / 1024.0) * (1<<LFO_SH) * chip->freqbase; in OPLL_initalize()
1294 chip->noise_f = (1.0 / 1.0) * (1<<FREQ_SH) * chip->freqbase; in OPLL_initalize()
1297 chip->eg_timer_add = (1<<EG_SH) * chip->freqbase; in OPLL_initalize()
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/sound/
H A Dfm.c594 double freqbase; /* frequency base */ member
819 if( (ST->TAC -= (int)(ST->freqbase*4096)) <= 0 ) \
831 if( (ST->TBC -= (int)(ST->freqbase*4096*step)) <= 0 ) \
1650 OPN->ST.freqbase = 1.0; in OPNSetPres()
1653 OPN->eg_timer_add = (1<<EG_SH) * OPN->ST.freqbase; in OPNSetPres()
3358 F2608->deltaT.freqbase = F2608->OPN.ST.freqbase; in YM2608_postload()
3514 F2608->deltaT.freqbase = OPN->ST.freqbase; in YM2608ResetChip()
3576 DELTAT->freqbase = OPN->ST.freqbase; in YM2608ResetChip()
3608 F2608->deltaT.freqbase = OPN->ST.freqbase; in YM2608Write()
4266 DELTAT->freqbase = OPN->ST.freqbase; in YM2610ResetChip()
[all …]
H A Dym2413.c257 double freqbase; /* frequency base */ member
1243 chip->freqbase = (chip->rate) ? ((double)chip->clock / 72.0) / chip->rate : 0; in OPLL_initalize()
1246 chip->freqbase = 1.0; in OPLL_initalize()
1247 log_cb(RETRO_LOG_DEBUG, LOGPRE "freqbase=%f\n", chip->freqbase); in OPLL_initalize()
1257 …chip->fn_tab[i] = (UINT32)( (double)i * 64 * chip->freqbase * (1<<(FREQ_SH-10)) ); /* -10 because … in OPLL_initalize()
1284 chip->lfo_am_inc = (1.0 / 64.0 ) * (1<<LFO_SH) * chip->freqbase; in OPLL_initalize()
1287 chip->lfo_pm_inc = (1.0 / 1024.0) * (1<<LFO_SH) * chip->freqbase; in OPLL_initalize()
1292 chip->noise_f = (1.0 / 1.0) * (1<<FREQ_SH) * chip->freqbase; in OPLL_initalize()
1295 chip->eg_timer_add = (1<<EG_SH) * chip->freqbase; in OPLL_initalize()
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/snd/
H A Dfm.c644 double freqbase; /* frequency base */ member
868 if( (ST->TAC -= (int)(ST->freqbase*4096)) <= 0 ) \
880 if( (ST->TBC -= (int)(ST->freqbase*4096*step)) <= 0 ) \
1647 ST->rate, ST->clock, ST->freqbase ); in init_timetables()
1903 OPN->ST.freqbase = 1.0; in OPNSetPres()
1906 OPN->eg_timer_add = (1<<EG_SH) * OPN->ST.freqbase; in OPNSetPres()
3094 F2608->deltaT.freqbase = F2608->OPN.ST.freqbase; in YM2608_postload()
3259 F2608->deltaT.freqbase = OPN->ST.freqbase; in YM2608ResetChip()
3321 DELTAT->freqbase = OPN->ST.freqbase; in YM2608ResetChip()
3353 F2608->deltaT.freqbase = OPN->ST.freqbase; in YM2608Write()
[all …]
/dports/emulators/dgen-sdl/dgen-sdl-1.33/
H A Dfm.c632 double freqbase; /* frequency base */ member
854 if( (ST->TAC -= (int)(ST->freqbase*4096)) <= 0 ) \
866 if( (ST->TBC -= (int)(ST->freqbase*4096*step)) <= 0 ) \
1634 ST->rate, ST->clock, ST->freqbase ); in init_timetables()
1890 OPN->ST.freqbase = 1.0; in OPNSetPres()
1893 OPN->eg_timer_add = (1<<EG_SH) * OPN->ST.freqbase; in OPNSetPres()
3609 F2608->deltaT.freqbase = F2608->OPN.ST.freqbase; in YM2608_postload()
3770 F2608->deltaT.freqbase = OPN->ST.freqbase; in YM2608ResetChip()
3832 DELTAT->freqbase = OPN->ST.freqbase; in YM2608ResetChip()
3864 F2608->deltaT.freqbase = OPN->ST.freqbase; in YM2608Write()
[all …]
/dports/emulators/dosbox-staging/dosbox-staging-0.78.0/src/hardware/mame/
H A Dymdeltat.h21 double freqbase; member
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/nuvie/sound/adplug/
H A Dfm_opl.cpp249 double freqbase; /* frequency base */ member
1208 OPL->freqbase = (OPL->rate) ? ((double)OPL->clock / 72.0) / OPL->rate : 0; in OPL_initalize()
1211 OPL->freqbase = 1.0; in OPL_initalize()
1221 …OPL->fn_tab[i] = (uint32)( (double)i * 64 * OPL->freqbase * (1<<(FREQ_SH-10)) ); /* -10 because ch… in OPL_initalize()
1249 OPL->lfo_am_inc = (1.0 / 64.0 ) * (1<<LFO_SH) * OPL->freqbase; in OPL_initalize()
1252 OPL->lfo_pm_inc = (1.0 / 1024.0) * (1<<LFO_SH) * OPL->freqbase; in OPL_initalize()
1257 OPL->noise_f = (1.0 / 1.0) * (1<<FREQ_SH) * OPL->freqbase; in OPL_initalize()
1259 OPL->eg_timer_add = (1<<EG_SH) * OPL->freqbase; in OPL_initalize()
1748 DELTAT->freqbase = OPL->freqbase; in OPLResetChip()

1234567