Home
last modified time | relevance | path

Searched refs:phaseinc (Results 1 – 25 of 31) sorted by relevance

12

/dports/audio/sc3-plugins/sc3-plugins-Version-3.9.0/source/VOSIMUGens/
H A DVOSIM.cpp169 phase = phase + phaseinc; in VOSIM_next_a()
183 phase = phase + phaseinc; in VOSIM_next_a()
260 phase = phase + phaseinc; in VOSIM_next_aaak()
274 phase = phase + phaseinc; in VOSIM_next_aaak()
351 phase = phase + phaseinc; in VOSIM_next_aaka()
365 phase = phase + phaseinc; in VOSIM_next_aaka()
442 phase = phase + phaseinc; in VOSIM_next_akaa()
456 phase = phase + phaseinc; in VOSIM_next_akaa()
533 phase = phase + phaseinc; in VOSIM_next_aakk()
547 phase = phase + phaseinc; in VOSIM_next_aakk()
[all …]
/dports/audio/csound/csound-6.15.0/Opcodes/
H A Dugnorman.c1194 p->phaseinc[0] = 50.0 * tmp; in atsaddnzset()
1195 p->phaseinc[1] = 150.0 * tmp; in atsaddnzset()
1196 p->phaseinc[2] = 250.0 * tmp; in atsaddnzset()
1197 p->phaseinc[3] = 350.0 * tmp; in atsaddnzset()
1198 p->phaseinc[4] = 455.0 * tmp; in atsaddnzset()
1199 p->phaseinc[5] = 570.0 * tmp; in atsaddnzset()
1200 p->phaseinc[6] = 700.0 * tmp; in atsaddnzset()
1201 p->phaseinc[7] = 845.0 * tmp; in atsaddnzset()
1364 p->phaseinc[0] = 50.0 * tmp; in atsaddnzset_S()
1670 p->phaseinc[0] = 50.0 * tmp; in atssinnoiset()
[all …]
H A Dugnorman.h49 MYFLT phaseinc[25]; member
152 double phaseinc[25]; /* to create an array of noise */ member
244 double phaseinc[25]; member
/dports/games/libretro-nxengine/nxengine-libretro-10c4381/nxengine/sound/
H A Dpxt.cpp303 pxwave->phaseinc = ((MODEL_SIZE * pxwave->repeat) / (float_type)size_blocks); in pxt_RenderPXWave()
312 pxwave->phaseacc += pxwave->phaseinc; in pxt_RenderPXWave()
353 main->phaseinc = ((MODEL_SIZE * main->repeat) / (float_type)size_blocks); in CreateAudio()
354 pitch->phaseinc = ((MODEL_SIZE * pitch->repeat) / (float_type)size_blocks); in CreateAudio()
435 phaseval = ((float_type)bm * main->phaseinc) / 32; in CreateAudio()
438 main->phaseacc += (main->phaseinc + phaseval); in CreateAudio()
444 phaseval = ((float_type)(-bm) * main->phaseinc) / 128; in CreateAudio()
447 main->phaseacc += (main->phaseinc - phaseval); in CreateAudio()
451 pitch->phaseacc += pitch->phaseinc; in CreateAudio()
452 pitch2->phaseacc += pitch2->phaseinc; in CreateAudio()
[all …]
H A Dpxt.h29 float_type phaseinc; member
/dports/x11/x11perf/x11perf-1.6.1/
H A Ddo_lines.c42 float phaseinc; /* how much to increment phasef at each segment */ in GenerateLines() local
72 phaseinc = ((float)size4) / ((float)p->objects); in GenerateLines()
73 if (phaseinc < 1.0) phaseinc = 1.0; in GenerateLines()
158 phasef += phaseinc; in GenerateLines()
H A Ddo_segs.c39 int phaseinc; /* how much to increment phase at each segment */ in GenerateSegments() local
70 phaseinc = size8 / p->objects; in GenerateSegments()
71 if (phaseinc == 0) phaseinc = 1; in GenerateSegments()
152 phase += phaseinc; in GenerateSegments()
/dports/games/nxengine/nxengine-evo-2.6.5-1/src/sound/
H A DOrganya.cpp204 i.phaseinc = (event.note * 800 + 100) / (double) sampling_rate; in Synth()
208 i.cur_length = d.size() / i.phaseinc; in Synth()
211 i.phaseinc = (freq / sampling_rate); in Synth()
302 i.phaseacc += i.phaseinc; in Synth()
H A DOrganya.h37 double phaseacc, phaseinc, cur_vol; member
/dports/emulators/x16-emulator/x16-emulator-r38/extern/src/
H A Dym2151.c549 double mult,phaseinc,Hz; in YM_init_chip_tables() local
571 phaseinc = (Hz*SIN_LEN) / (double)sampfreq; in YM_init_chip_tables()
574 phaseinc = phaseinc_rom[i]; /* real chip phase increment */ in YM_init_chip_tables()
575 phaseinc *= scaler; /* adjust */ in YM_init_chip_tables()
579 freq[ 768+2*768+i ] = ((int)(phaseinc*mult)) & 0xffffffc0; /* adjust to X.10 fixed point */ in YM_init_chip_tables()
630 phaseinc = (Hz*SIN_LEN) / (double)YM_sampfreq; in YM_init_chip_tables()
633 dt1_freq[ (j+0)*32 + i ] = (int32_t) (phaseinc * mult); in YM_init_chip_tables()
/dports/emulators/cannonball/cannonball-0.34/src/main/hwaudio/
H A Dym2151.cpp512 double mult,phaseinc,Hz; in init_chip_tables() local
534 phaseinc = (Hz*SIN_LEN) / (double)sampfreq; in init_chip_tables()
537 phaseinc = phaseinc_rom[i]; /* real chip phase increment */ in init_chip_tables()
538 phaseinc *= scaler; /* adjust */ in init_chip_tables()
542 freq[ 768+2*768+i ] = ((int)(phaseinc*mult)) & 0xffffffc0; /* adjust to X.10 fixed point */ in init_chip_tables()
593 phaseinc = (Hz*SIN_LEN) / (double)sampfreq; in init_chip_tables()
596 dt1_freq[ (j+0)*32 + i ] = (int32_t) (phaseinc * mult); in init_chip_tables()
/dports/multimedia/musikcube/musikcube-0.96.7/src/plugins/gmedecoder/gme/
H A Dym2151.c558 double mult,phaseinc,Hz; in init_chip_tables() local
581 phaseinc = (Hz*SIN_LEN) / (double)chip->sampfreq; in init_chip_tables()
584 phaseinc = phaseinc_rom[i]; /* real chip phase increment */ in init_chip_tables()
585 phaseinc *= scaler; /* adjust */ in init_chip_tables()
589 chip->freq[ 768+2*768+i ] = ((int)(phaseinc*mult)) & 0xffffffc0; /* adjust to X.10 fixed point */ in init_chip_tables()
625 phaseinc = (Hz*SIN_LEN) / (double)chip->sampfreq; in init_chip_tables()
628 chip->dt1_freq[ (j+0)*32 + i ] = phaseinc * mult; in init_chip_tables()
/dports/games/libretro-mame2000/mame2000-libretro-e364a15/src/sound/
H A Dym2151.c569 double mult,pom,pom2,clk,phaseinc,Hz; in init_chip_tables() local
606 phaseinc = (Hz*SIN_LEN) / (double)chip->sampfreq; in init_chip_tables()
609 phaseinc = phaseinc_rom[i]; /*real chip phase increment*/ in init_chip_tables()
610 phaseinc *= scaler; /*adjust*/ in init_chip_tables()
614 chip->freq[ 768+2*768+i ] = ((int)(phaseinc*mult)) & 0xffffffc0; /*adjust to X.10 fixed point*/ in init_chip_tables()
667 phaseinc = (Hz*SIN_LEN) / (double)chip->sampfreq; in init_chip_tables()
670 chip->DT1freq[ (j+0)*32 + i ] = phaseinc * mult; in init_chip_tables()
/dports/audio/deadbeef/deadbeef-0.7.2/plugins/gme/game-music-emu-0.6pre/vgmplay/VGMPlay/chips/
H A Dym2151.c599 double mult,phaseinc,Hz; in init_chip_tables() local
623 phaseinc = (Hz*SIN_LEN) / (double)chip->sampfreq; in init_chip_tables()
626 phaseinc = phaseinc_rom[i]; /* real chip phase increment */ in init_chip_tables()
627 phaseinc *= scaler; /* adjust */ in init_chip_tables()
631 chip->freq[ 768+2*768+i ] = ((int)(phaseinc*mult)) & 0xffffffc0; /* adjust to X.10 fixed point */ in init_chip_tables()
682 phaseinc = (Hz*SIN_LEN) / (double)chip->sampfreq; in init_chip_tables()
685 chip->dt1_freq[ (j+0)*32 + i ] = phaseinc * mult; in init_chip_tables()
/dports/audio/vgmplay/vgmplay-0.40.9_2/chips/
H A Dym2151.c598 double mult,phaseinc,Hz; in init_chip_tables() local
622 phaseinc = (Hz*SIN_LEN) / (double)chip->sampfreq; in init_chip_tables()
625 phaseinc = phaseinc_rom[i]; /* real chip phase increment */ in init_chip_tables()
626 phaseinc *= scaler; /* adjust */ in init_chip_tables()
630 chip->freq[ 768+2*768+i ] = ((int)(phaseinc*mult)) & 0xffffffc0; /* adjust to X.10 fixed point */ in init_chip_tables()
681 phaseinc = (Hz*SIN_LEN) / (double)chip->sampfreq; in init_chip_tables()
684 chip->dt1_freq[ (j+0)*32 + i ] = phaseinc * mult; in init_chip_tables()
/dports/audio/praat/praat-6.2.03/external/espeak/
H A Dwavegen.cpp99 static int phaseinc; variable
715 phaseinc = (wdata.pitch>>7) * PHASE_INC_FACTOR; in Wavegen()
736 wavephase += phaseinc; in Wavegen()
798 wavephase += phaseinc; in Wavegen()
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/sound/
H A Dym2151.c599 double mult,pom,phaseinc,Hz; in init_chip_tables() local
621 phaseinc = (Hz*SIN_LEN) / (double)chip->sampfreq; in init_chip_tables()
624 phaseinc = phaseinc_rom[i]; /* real chip phase increment */ in init_chip_tables()
625 phaseinc *= scaler; /* adjust */ in init_chip_tables()
629 chip->freq[ 768+2*768+i ] = ((int)(phaseinc*mult)) & 0xffffffc0; /* adjust to X.10 fixed point */ in init_chip_tables()
680 phaseinc = (Hz*SIN_LEN) / (double)chip->sampfreq; in init_chip_tables()
683 chip->dt1_freq[ (j+0)*32 + i ] = phaseinc * mult; in init_chip_tables()
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/sound/
H A Dym2151.c600 double mult,pom,phaseinc,Hz; in init_chip_tables() local
622 phaseinc = (Hz*SIN_LEN) / (double)chip->sampfreq; in init_chip_tables()
625 phaseinc = phaseinc_rom[i]; /* real chip phase increment */ in init_chip_tables()
626 phaseinc *= scaler; /* adjust */ in init_chip_tables()
630 chip->freq[ 768+2*768+i ] = ((int)(phaseinc*mult)) & 0xffffffc0; /* adjust to X.10 fixed point */ in init_chip_tables()
681 phaseinc = (Hz*SIN_LEN) / (double)chip->sampfreq; in init_chip_tables()
684 chip->dt1_freq[ (j+0)*32 + i ] = phaseinc * mult; in init_chip_tables()
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/snd/
H A Dym2151.c617 double mult,pom,phaseinc,Hz; in init_chip_tables() local
639 phaseinc = (Hz*SIN_LEN) / (double)chip->sampfreq; in init_chip_tables()
642 phaseinc = phaseinc_rom[i]; /* real chip phase increment */ in init_chip_tables()
643 phaseinc *= scaler; /* adjust */ in init_chip_tables()
647 chip->freq[ 768+2*768+i ] = ((int)(phaseinc*mult)) & 0xffffffc0; /* adjust to X.10 fixed point */ in init_chip_tables()
698 phaseinc = (Hz*SIN_LEN) / (double)chip->sampfreq; in init_chip_tables()
701 chip->dt1_freq[ (j+0)*32 + i ] = phaseinc * mult; in init_chip_tables()
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/snd/
H A Dym2151.c617 double mult,pom,phaseinc,Hz; in init_chip_tables() local
639 phaseinc = (Hz*SIN_LEN) / (double)chip->sampfreq; in init_chip_tables()
642 phaseinc = phaseinc_rom[i]; /* real chip phase increment */ in init_chip_tables()
643 phaseinc *= scaler; /* adjust */ in init_chip_tables()
647 chip->freq[ 768+2*768+i ] = ((int)(phaseinc*mult)) & 0xffffffc0; /* adjust to X.10 fixed point */ in init_chip_tables()
698 phaseinc = (Hz*SIN_LEN) / (double)chip->sampfreq; in init_chip_tables()
701 chip->dt1_freq[ (j+0)*32 + i ] = phaseinc * mult; in init_chip_tables()
/dports/audio/csound/csound-6.15.0/Opcodes/emugens/
H A Dbeosc.c312 int32_t phaseinc = (int32_t)(p->cpstoinc * freqin); in beosc_kkiii() local
342 phase += phaseinc; in beosc_kkiii()
356 phase += phaseinc; in beosc_kkiii()
369 phase += phaseinc; in beosc_kkiii()
382 phase += phaseinc; in beosc_kkiii()
/dports/audio/espeak/espeak-1.48.04-source/src/
H A Dwavegen.cpp119 static int phaseinc; variable
1218 phaseinc = (wdata.pitch>>7) * PHASE_INC_FACTOR; in Wavegen()
1245 wavephase += phaseinc; in Wavegen()
1329 wavephase += phaseinc; in Wavegen()
/dports/games/libretro-bluemsx/blueMSX-libretro-faf470e/Src/SoundChips/
H A DMameYM2151.c540 DoubleT mult,phaseinc,Hz; in init_chip_tables() local
559 phaseinc = phaseinc_rom[i]; /* real chip phase increment */ in init_chip_tables()
560 phaseinc *= scaler; /* adjust */ in init_chip_tables()
564 chip->freq[ 768+2*768+i ] = ((int)(phaseinc*mult)) & 0xffffffc0; /* adjust to X.10 fixed point */ in init_chip_tables()
600 phaseinc = (Hz*SIN_LEN) / (DoubleT)chip->sampfreq; in init_chip_tables()
603 chip->dt1_freq[ (j+0)*32 + i ] = (Int32)(phaseinc * mult); in init_chip_tables()
/dports/audio/supercollider/SuperCollider-3.11.0-Source/server/plugins/
H A DOscUGens.cpp1045 float phaseinc = (fin - unit->mPrevIn) * offset; in Shaper_next_k() local
1048 …(inNumSamples, ZXP(out) = ShaperPerform(table0, table1, fin, offset, fmaxindex); fin += phaseinc;); in Shaper_next_k()
1208 int32 phaseinc = freq + (int32)(CALCSLOPE(phasein, unit->m_phasein) * unit->m_radtoinc); in Osc_ikk_perform() local
1211 LOOP1(inNumSamples, ZXP(out) = lookupi1(table0, table1, phase, lomask); phase += phaseinc;); in Osc_ikk_perform()
1605 int32 phaseinc = freq + (int32)(CALCSLOPE(phasein, unit->m_phasein) * unit->m_radtoinc); in OscN_next_nkk() local
1816 int32 phaseinc = freq + (int32)(CALCSLOPE(phasein, unit->m_phasein) * unit->m_radtoinc); in VOsc_next_ikk() local
1844 phase += phaseinc;); in VOsc_next_ikk()
1889 phase += phaseinc; level += slope;); in VOsc_next_ikk()
1912 int32 phaseinc = freq; in VOsc_next_ika() local
1940 phase += phaseinc;); in VOsc_next_ika()
[all …]
/dports/audio/snd/snd-21.2/
H A Dclm.c15707 if (gen->phaseinc) free(gen->phaseinc); in free_phase_vocoder()
15749 g->phaseinc = (mus_float_t *)malloc(bytes); in pv_info_copy()
15750 mus_copy_floats(g->phaseinc, p->phaseinc, p->N / 2); in pv_info_copy()
15811 mus_clear_floats(gen->phaseinc, gen->N / 2); in pv_reset()
15881 pv->phaseinc = (mus_float_t *)calloc(N2, sizeof(mus_float_t)); in mus_make_phase_vocoder()
16054 sincos((pv->freqs[i] + pv->phaseinc[i]) * 0.5, &s, &c); in mus_phase_vocoder_with_editors()
16062 pv->phases[i] += (pv->interp * (pv->freqs[i] + pv->phaseinc[i]) * 0.5); in mus_phase_vocoder_with_editors()
16063 pv->phaseinc[i] = pv->freqs[i]; in mus_phase_vocoder_with_editors()
16068 pv->freqs[i] = scl * (pv->freqs[i] - pv->phaseinc[i]); in mus_phase_vocoder_with_editors()
16072 pv->freqs[i] = scl * (pv->freqs[i] - pv->phaseinc[i]); in mus_phase_vocoder_with_editors()
[all …]

12