Home
last modified time | relevance | path

Searched refs:wave_pos (Results 1 – 25 of 44) sorted by relevance

12

/dports/audio/whysynth/whysynth-20120903/src/
H A Dagran_oscillator.c123 while (grain->wave_pos < 0.0f) grain->wave_pos += 1.0f; in agran_oscillator()
177 float wave_pos = grain->wave_pos, in agran_oscillator() local
196 wave_pos += grain->w; in agran_oscillator()
199 wave_pos -= 1.0f; in agran_oscillator()
218 wave_pos += grain->w; in agran_oscillator()
221 wave_pos -= 1.0f; in agran_oscillator()
240 grain->wave_pos = wave_pos; in agran_oscillator()
261 wave_pos += grain->w; in agran_oscillator()
264 wave_pos -= 1.0f; in agran_oscillator()
283 wave_pos += grain->w; in agran_oscillator()
[all …]
H A Dagran_oscillator.h84 float wave_pos; /* wavetable wave phase */
/dports/games/libretro-quicknes/QuickNES_Core-901248a/nes_emu/
H A DNes_Namco_Apu.cpp44 osc.wave_pos = 0; in reset()
115 int wave_pos = osc.wave_pos; in run_until() local
120 int addr = wave_pos + osc_reg [6]; in run_until()
122 wave_pos++; in run_until()
135 if ( wave_pos >= wave_size ) in run_until()
136 wave_pos = 0; in run_until()
140 osc.wave_pos = wave_pos; in run_until()
160 out->positions [ i ] = osc.wave_pos; in save_state()
176 osc.wave_pos = in.positions [ i ]; in load_state()
/dports/audio/libgme/game-music-emu-0.6.1/gme/
H A DNes_Namco_Apu.cpp39 osc.wave_pos = 0; in reset()
112 int wave_pos = osc.wave_pos; in run_until() local
117 int addr = wave_pos + osc_reg [6]; in run_until()
119 wave_pos++; in run_until()
132 if ( wave_pos >= wave_size ) in run_until()
133 wave_pos = 0; in run_until()
137 osc.wave_pos = wave_pos; in run_until()
H A DGb_Oscs.cpp247 wave_pos = 0; in write_register()
260 int amp = (wave [wave_pos] >> volume_shift & playing) * 2; in run()
285 int wave_pos = (this->wave_pos + 1) & (wave_size - 1); in run() local
289 int amp = (wave [wave_pos] >> volume_shift) * 2; in run()
290 wave_pos = (wave_pos + 1) & (wave_size - 1); in run()
301 this->wave_pos = (wave_pos - 1) & (wave_size - 1); in run()
H A DGb_Oscs.h69 int wave_pos; member
/dports/games/zdoom/zdoom-2.8.1/game-music-emu/gme/
H A DNes_Namco_Apu.cpp39 osc.wave_pos = 0; in reset()
112 int wave_pos = osc.wave_pos; in run_until() local
117 int addr = wave_pos + osc_reg [6]; in run_until()
119 wave_pos++; in run_until()
132 if ( wave_pos >= wave_size ) in run_until()
133 wave_pos = 0; in run_until()
137 osc.wave_pos = wave_pos; in run_until()
H A DGb_Oscs.cpp247 wave_pos = 0; in write_register()
260 int amp = (wave [wave_pos] >> volume_shift & playing) * 2; in run()
285 int wave_pos = (this->wave_pos + 1) & (wave_size - 1); in run() local
289 int amp = (wave [wave_pos] >> volume_shift) * 2; in run()
290 wave_pos = (wave_pos + 1) & (wave_size - 1); in run()
301 this->wave_pos = (wave_pos - 1) & (wave_size - 1); in run()
H A DGb_Oscs.h69 int wave_pos; member
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/libs/gme/gme/
H A DNes_Namco_Apu.cpp39 osc.wave_pos = 0; in reset()
112 int wave_pos = osc.wave_pos; in run_until() local
117 int addr = wave_pos + osc_reg [6]; in run_until()
119 wave_pos++; in run_until()
132 if ( wave_pos >= wave_size ) in run_until()
133 wave_pos = 0; in run_until()
137 osc.wave_pos = wave_pos; in run_until()
H A DGb_Oscs.cpp247 wave_pos = 0; in write_register()
260 int amp = (wave [wave_pos] >> volume_shift & playing) * 2; in run()
285 int wave_pos = (this->wave_pos + 1) & (wave_size - 1); in run() local
289 int amp = (wave [wave_pos] >> volume_shift) * 2; in run()
290 wave_pos = (wave_pos + 1) & (wave_size - 1); in run()
301 this->wave_pos = (wave_pos - 1) & (wave_size - 1); in run()
H A DGb_Oscs.h69 int wave_pos; member
/dports/multimedia/audacious-plugins/audacious-plugins-4.1/src/console/
H A DNes_Namco_Apu.cc39 osc.wave_pos = 0; in reset()
112 int wave_pos = osc.wave_pos; in run_until() local
117 int addr = wave_pos + osc_reg [6]; in run_until()
119 wave_pos++; in run_until()
132 if ( wave_pos >= wave_size ) in run_until()
133 wave_pos = 0; in run_until()
137 osc.wave_pos = wave_pos; in run_until()
H A DGb_Oscs.cc247 wave_pos = 0; in write_register()
260 int amp = (wave [wave_pos] >> volume_shift & playing) * 2; in run()
285 int wave_pos = (this->wave_pos + 1) & (wave_size - 1); in run() local
289 int amp = (wave [wave_pos] >> volume_shift) * 2; in run()
290 wave_pos = (wave_pos + 1) & (wave_size - 1); in run()
301 this->wave_pos = (wave_pos - 1) & (wave_size - 1); in run()
/dports/audio/zmusic/ZMusic-1.1.8/thirdparty/game-music-emu/gme/
H A DNes_Namco_Apu.cpp39 osc.wave_pos = 0; in reset()
112 int wave_pos = osc.wave_pos; in run_until() local
117 int addr = wave_pos + osc_reg [6]; in run_until()
119 wave_pos++; in run_until()
132 if ( wave_pos >= wave_size ) in run_until()
133 wave_pos = 0; in run_until()
137 osc.wave_pos = wave_pos; in run_until()
H A DGb_Oscs.cpp247 wave_pos = 0; in write_register()
260 int amp = (wave [wave_pos] >> volume_shift & playing) * 2; in run()
285 int wave_pos = (this->wave_pos + 1) & (wave_size - 1); in run() local
289 int amp = (wave [wave_pos] >> volume_shift) * 2; in run()
290 wave_pos = (wave_pos + 1) & (wave_size - 1); in run()
301 this->wave_pos = (wave_pos - 1) & (wave_size - 1); in run()
/dports/audio/deadbeef/deadbeef-0.7.2/plugins/gme/game-music-emu-0.6pre/gme/
H A DNes_Namco_Apu.cpp39 osc.wave_pos = 0; in reset()
117 int wave_pos = osc.wave_pos; in run_until() local
124 int addr = wave_pos + osc_reg [6]; in run_until()
126 wave_pos++; in run_until()
139 if ( wave_pos >= wave_size ) in run_until()
140 wave_pos = 0; in run_until()
144 osc.wave_pos = wave_pos; in run_until()
H A DNes_Fds_Apu.cpp28 wave_pos = 0; in reset()
235 int wave_pos = this->wave_pos; in run_until() local
247 int amp = regs_ [wave_pos] * volume; in run_until()
248 wave_pos = (wave_pos + 1) & (wave_size - 1); in run_until()
269 this->wave_pos = wave_pos; in run_until()
/dports/multimedia/musikcube/musikcube-0.96.7/src/plugins/gmedecoder/gme/
H A DNes_Namco_Apu.cpp39 osc.wave_pos = 0; in reset()
117 int wave_pos = osc.wave_pos; in run_until() local
124 int addr = wave_pos + osc_reg [6]; in run_until()
126 wave_pos++; in run_until()
139 if ( wave_pos >= wave_size ) in run_until()
140 wave_pos = 0; in run_until()
144 osc.wave_pos = wave_pos; in run_until()
H A DNes_Fds_Apu.cpp28 wave_pos = 0; in reset()
235 int wave_pos = this->wave_pos; in run_until() local
247 int amp = regs_ [wave_pos] * volume; in run_until()
248 wave_pos = (wave_pos + 1) & (wave_size - 1); in run_until()
269 this->wave_pos = wave_pos; in run_until()
/dports/emulators/pcem/pcem_emulator-pcem-faf5d6423060/src/
H A Dsound_pssj.c27 int wave_pos; member
151 pssj->dac_val = (pssj->wave_pos > (pssj->pulse_width << 1)) ? 0xff : 0; in pssj_callback()
154 pssj->dac_val = pssj->wave_pos << 3; in pssj_callback()
157 if (pssj->wave_pos & 16) in pssj_callback()
158 pssj->dac_val = (pssj->wave_pos ^ 31) << 4; in pssj_callback()
160 pssj->dac_val = pssj->wave_pos << 4; in pssj_callback()
166 pssj->wave_pos = (pssj->wave_pos + 1) & 31; in pssj_callback()
/dports/audio/lmms/lmms-1.2.2/plugins/papu/gb_apu/
H A DGb_Oscs.cpp247 wave_pos = 0; in write_register()
260 int amp = (wave [wave_pos] >> volume_shift & playing) * 2; in run()
285 int wave_pos = (this->wave_pos + 1) & (wave_size - 1); in run() local
289 int amp = (wave [wave_pos] >> volume_shift) * 2; in run()
290 wave_pos = (wave_pos + 1) & (wave_size - 1); in run()
301 this->wave_pos = (wave_pos - 1) & (wave_size - 1); in run()
/dports/games/tanks-of-freedom/Tanks-of-Freedom-0.7.0-beta/scripts/
H A Dwave_controller.gd4 var wave_pos
16 #wave_pos = (1+ sin(angle_line) ) * ( animation.get_current_animation_length() * 0.5)
18 wave_pos = angle_line % animation_length
20 animation.seek(wave_pos,true)
/dports/multimedia/libxine/xine-lib-1.2.11/src/demuxers/
H A Ddemux_wav.c125 off_t wave_pos; in open_wav_file() local
129 wave_pos = 0; in open_wav_file()
130 if (find_chunk_by_tag(this, fmt_TAG, &wave_size, &wave_pos)==0) in open_wav_file()
134 if (this->input->seek(this->input, wave_pos, SEEK_SET) != wave_pos) in open_wav_file()
/dports/audio/festival/speech_tools/sigpr/pda/
H A Dsrpd1.3.cc628 static int wave_pos; in read_next_wave_segment() local
642 wave_pos = offset; in read_next_wave_segment()
650 wave_pos = offset; in read_next_wave_segment()
673 for (i = 0; (i < p_seg->size) && (i+wave_pos)<sig.num_samples(); in read_next_wave_segment()
675 p_seg->data[i] = sig.a(i + wave_pos,0); in read_next_wave_segment()
679 if (wave_pos <= sig.num_samples()) in read_next_wave_segment()
681 wave_pos += offset; in read_next_wave_segment()

12