/dports/audio/lenticular-lv2/lenticular_lv2-0.5.0-14-g14d8075/eurorack/plaits/dsp/oscillator/ |
H A D | oscillator.h | 111 float this_sample = next_sample; in Render() local 134 this_sample -= stmlib::ThisBlepSample(t); in Render() 139 this_sample += stmlib::ThisBlepSample(t); in Render() 145 *out++ = 2.0f * this_sample - 1.0f; in Render() 149 hp_state_ = this_sample; in Render() 186 *out++ = 2.0f * this_sample - 1.0f; in Render() 215 this_sample = 128.0f * (this_sample - 0.5f); in Render() 220 this_sample = 4.0f * (this_sample - 0.5f); in Render() 225 this_sample = 2.0f * this_sample - 1.0f; in Render() 229 this_sample = 2.0f * this_sample - 1.0f; in Render() [all …]
|
H A D | variable_shape_oscillator.h | 95 float this_sample = next_sample; in Render() local 130 this_sample -= value * stmlib::ThisBlepSample(reset_time); in Render() 145 this_sample += square_amount * stmlib::ThisBlepSample(t); in Render() 147 this_sample -= triangle_step * stmlib::ThisIntegratedBlepSample(t); in Render() 161 this_sample -= (1.0f - triangle_amount) * stmlib::ThisBlepSample(t); in Render() 163 this_sample += triangle_step * stmlib::ThisIntegratedBlepSample(t); in Render() 183 *out++ = (2.0f * this_sample - 1.0f); in Render()
|
H A D | variable_saw_oscillator.h | 84 float this_sample = next_sample; in Render() local 101 this_sample += notch * stmlib::ThisBlepSample(t); in Render() 103 this_sample -= triangle_step * stmlib::ThisIntegratedBlepSample(t); in Render() 111 this_sample -= notch * stmlib::ThisBlepSample(t); in Render() 113 this_sample += triangle_step * stmlib::ThisIntegratedBlepSample(t); in Render() 127 *out++ = (2.0f * this_sample - 1.0f) / (1.0f + kVariableSawNotchDepth); in Render()
|
H A D | formant_oscillator.h | 77 float this_sample = next_sample; in Render() local 95 this_sample += discontinuity * stmlib::ThisBlepSample(reset_time); in Render() 108 *out++ = this_sample; in Render()
|
/dports/audio/surge-synthesizer-lv2/surge-release_1.9.0/libs/eurorack/eurorack/plaits/dsp/oscillator/ |
H A D | oscillator.h | 111 float this_sample = next_sample; in Render() local 134 this_sample -= stmlib::ThisBlepSample(t); in Render() 139 this_sample += stmlib::ThisBlepSample(t); in Render() 145 *out++ = 2.0f * this_sample - 1.0f; in Render() 149 hp_state_ = this_sample; in Render() 186 *out++ = 2.0f * this_sample - 1.0f; in Render() 215 this_sample = 128.0f * (this_sample - 0.5f); in Render() 220 this_sample = 4.0f * (this_sample - 0.5f); in Render() 225 this_sample = 2.0f * this_sample - 1.0f; in Render() 229 this_sample = 2.0f * this_sample - 1.0f; in Render() [all …]
|
H A D | variable_shape_oscillator.h | 95 float this_sample = next_sample; in Render() local 130 this_sample -= value * stmlib::ThisBlepSample(reset_time); in Render() 145 this_sample += square_amount * stmlib::ThisBlepSample(t); in Render() 147 this_sample -= triangle_step * stmlib::ThisIntegratedBlepSample(t); in Render() 161 this_sample -= (1.0f - triangle_amount) * stmlib::ThisBlepSample(t); in Render() 163 this_sample += triangle_step * stmlib::ThisIntegratedBlepSample(t); in Render() 183 *out++ = (2.0f * this_sample - 1.0f); in Render()
|
H A D | variable_saw_oscillator.h | 84 float this_sample = next_sample; in Render() local 101 this_sample += notch * stmlib::ThisBlepSample(t); in Render() 103 this_sample -= triangle_step * stmlib::ThisIntegratedBlepSample(t); in Render() 111 this_sample -= notch * stmlib::ThisBlepSample(t); in Render() 113 this_sample += triangle_step * stmlib::ThisIntegratedBlepSample(t); in Render() 127 *out++ = (2.0f * this_sample - 1.0f) / (1.0f + kVariableSawNotchDepth); in Render()
|
H A D | formant_oscillator.h | 77 float this_sample = next_sample; in Render() local 95 this_sample += discontinuity * stmlib::ThisBlepSample(reset_time); in Render() 108 *out++ = this_sample; in Render()
|
/dports/audio/lenticular-lv2/lenticular_lv2-0.5.0-14-g14d8075/eurorack/stages/ |
H A D | oscillator.h | 134 float this_sample = next_sample; in Render() local 157 this_sample -= ThisBlepSample(t); in Render() 162 this_sample += ThisBlepSample(t); in Render() 172 hp_state_ = this_sample; in Render() 179 *out++ = this_sample; in Render() 215 *out++ = 2.0f * this_sample - 1.0f; in Render() 244 this_sample = 128.0f * (this_sample - 0.5f); in Render() 249 this_sample = 4.0f * (this_sample - 0.5f); in Render() 254 this_sample = 2.0f * this_sample - 1.0f; in Render() 258 this_sample = 2.0f * this_sample - 1.0f; in Render() [all …]
|
/dports/audio/lenticular-lv2/lenticular_lv2-0.5.0-14-g14d8075/eurorack/rings/dsp/ |
H A D | string_synth_oscillator.h | 96 float this_sample = next_sample; in Render() local 111 this_sample += ThisBlepSample(t); in Render() 120 this_sample -= a; in Render() 132 this_sample = 64.0f * (this_sample - 0.5f); in Render() 133 filter_state += integrator_coefficient * (this_sample - filter_state); in Render() 137 this_sample = 4.0f * (this_sample - 0.5f); in Render() 138 filter_state += integrator_coefficient * (this_sample - filter_state); in Render() 142 this_sample = 2.0f * this_sample - 1.0f; in Render() 144 sample = (this_sample - filter_state) * 0.5f; in Render() 146 this_sample = 2.0f * this_sample - 1.0f; in Render() [all …]
|
/dports/audio/lenticular-lv2/lenticular_lv2-0.5.0-14-g14d8075/parasites/rings/dsp/ |
H A D | string_synth_oscillator.h | 96 float this_sample = next_sample; in Render() local 111 this_sample += ThisBlepSample(t); in Render() 120 this_sample -= a; in Render() 132 this_sample = 64.0f * (this_sample - 0.5f); in Render() 133 filter_state += integrator_coefficient * (this_sample - filter_state); in Render() 137 this_sample = 4.0f * (this_sample - 0.5f); in Render() 138 filter_state += integrator_coefficient * (this_sample - filter_state); in Render() 142 this_sample = 2.0f * this_sample - 1.0f; in Render() 144 sample = (this_sample - filter_state) * 0.5f; in Render() 146 this_sample = 2.0f * this_sample - 1.0f; in Render() [all …]
|
/dports/audio/lenticular-lv2/lenticular_lv2-0.5.0-14-g14d8075/eurorack/warps/dsp/ |
H A D | oscillator.cc | 112 float this_sample = next_sample; in RenderPolyblep() local 125 this_sample += ThisBlepSample(t); in RenderPolyblep() 132 this_sample -= ThisBlepSample(t); in RenderPolyblep() 138 this_sample = 128.0f * (this_sample - 0.5f); in RenderPolyblep() 139 lp_state += integrator_coefficient * (this_sample - lp_state); in RenderPolyblep() 145 this_sample -= ThisBlepSample(t); in RenderPolyblep() 151 this_sample = this_sample * 2.0f - 1.0f; in RenderPolyblep() 154 lp_state += 0.3f * (this_sample - lp_state); in RenderPolyblep() 157 lp_state += 0.25f * ((hp_state - this_sample) - lp_state); in RenderPolyblep() 159 hp_state = this_sample; in RenderPolyblep()
|
/dports/audio/lenticular-lv2/lenticular_lv2-0.5.0-14-g14d8075/parasites/warps/dsp/ |
H A D | oscillator.cc | 112 float this_sample = next_sample; in RenderPolyblep() local 125 this_sample += ThisBlepSample(t); in RenderPolyblep() 132 this_sample -= ThisBlepSample(t); in RenderPolyblep() 138 this_sample = 128.0f * (this_sample - 0.5f); in RenderPolyblep() 139 lp_state += integrator_coefficient * (this_sample - lp_state); in RenderPolyblep() 145 this_sample -= ThisBlepSample(t); in RenderPolyblep() 151 this_sample = this_sample * 2.0f - 1.0f; in RenderPolyblep() 154 lp_state += 0.3f * (this_sample - lp_state); in RenderPolyblep() 157 lp_state += 0.25f * ((hp_state - this_sample) - lp_state); in RenderPolyblep() 159 hp_state = this_sample; in RenderPolyblep()
|
/dports/audio/lenticular-lv2/lenticular_lv2-0.5.0-14-g14d8075/parasites/braids/ |
H A D | analog_oscillator.cc | 109 int32_t this_sample = next_sample; in RenderCSaw() local 182 *buffer++ = (this_sample - 8192) << 1; in RenderCSaw() 208 int32_t this_sample = next_sample; in RenderSquare() local 246 this_sample += ThisBlepSample(t); in RenderSquare() 256 this_sample -= ThisBlepSample(t); in RenderSquare() 268 *buffer++ = (this_sample - 16384) << 1; in RenderSquare() 288 int32_t this_sample = next_sample; in RenderSaw() local 321 this_sample -= ThisBlepSample(t); in RenderSaw() 331 *buffer++ = (this_sample - 16384) << 1; in RenderSaw() 356 int32_t this_sample = next_sample; in RenderVariableSaw() local [all …]
|
/dports/audio/lenticular-lv2/lenticular_lv2-0.5.0-14-g14d8075/eurorack/braids/ |
H A D | analog_oscillator.cc | 109 int32_t this_sample = next_sample; in RenderCSaw() local 182 *buffer++ = (this_sample - 8192) << 1; in RenderCSaw() 208 int32_t this_sample = next_sample; in RenderSquare() local 246 this_sample += ThisBlepSample(t); in RenderSquare() 256 this_sample -= ThisBlepSample(t); in RenderSquare() 268 *buffer++ = (this_sample - 16384) << 1; in RenderSquare() 288 int32_t this_sample = next_sample; in RenderSaw() local 321 this_sample -= ThisBlepSample(t); in RenderSaw() 331 *buffer++ = (this_sample - 16384) << 1; in RenderSaw() 356 int32_t this_sample = next_sample; in RenderVariableSaw() local [all …]
|
/dports/audio/lenticular-lv2/lenticular_lv2-0.5.0-14-g14d8075/parasites/yarns/ |
H A D | voice.cc | 314 int32_t this_sample = next_sample; in RenderSaw() local 319 this_sample -= ThisBlepSample(t); in RenderSaw() 323 this_sample = (this_sample - 16384) << 1; in RenderSaw() 324 audio_buffer_.Overwrite(offset_ - (scale_ * this_sample >> 16)); in RenderSaw() 341 int32_t this_sample = next_sample; in RenderSquare() local 348 this_sample += ThisBlepSample(t); in RenderSquare() 355 this_sample -= ThisBlepSample(t); in RenderSquare() 360 this_sample = (this_sample - 16384) << 1; in RenderSquare() 362 integrator_state += integrator_coefficient * (this_sample - integrator_state) >> 15; in RenderSquare() 363 this_sample = integrator_state << 3; in RenderSquare() [all …]
|
/dports/audio/lenticular-lv2/lenticular_lv2-0.5.0-14-g14d8075/eurorack/yarns/ |
H A D | voice.cc | 320 int32_t this_sample = next_sample; in RenderSaw() local 325 this_sample -= ThisBlepSample(t); in RenderSaw() 329 this_sample = (this_sample - 16384) << 1; in RenderSaw() 330 audio_buffer_.Overwrite(offset_ - (scale_ * this_sample >> 16)); in RenderSaw() 347 int32_t this_sample = next_sample; in RenderSquare() local 354 this_sample += ThisBlepSample(t); in RenderSquare() 361 this_sample -= ThisBlepSample(t); in RenderSquare() 366 this_sample = (this_sample - 16384) << 1; in RenderSquare() 368 integrator_state += integrator_coefficient * (this_sample - integrator_state) >> 15; in RenderSquare() 369 this_sample = integrator_state << 3; in RenderSquare() [all …]
|
/dports/audio/lenticular-lv2/lenticular_lv2-0.5.0-14-g14d8075/eurorack/plaits/dsp/noise/ |
H A D | clocked_noise.h | 64 float this_sample = next_sample; in Render() local 79 this_sample += discontinuity * stmlib::ThisBlepSample(t); in Render() 84 *out++ = this_sample + raw_amount * (raw_sample - this_sample); in Render()
|
/dports/audio/surge-synthesizer-lv2/surge-release_1.9.0/libs/eurorack/eurorack/plaits/dsp/noise/ |
H A D | clocked_noise.h | 64 float this_sample = next_sample; in Render() local 79 this_sample += discontinuity * stmlib::ThisBlepSample(t); in Render() 84 *out++ = this_sample + raw_amount * (raw_sample - this_sample); in Render()
|
/dports/audio/lenticular-lv2/lenticular_lv2-0.5.0-14-g14d8075/eurorack/tides2/ |
H A D | ramp_shaper.h | 54 float this_sample = next_sample_; in BandLimitedPulse() local 73 this_sample += stmlib::ThisBlepSample(t) * discontinuity; in BandLimitedPulse() 79 return this_sample; in BandLimitedPulse() 135 float this_sample = next_sample_; in BandLimitedSlope() local 156 this_sample += stmlib::ThisIntegratedBlepSample(t) * discontinuity; in BandLimitedSlope() 164 return this_sample; in BandLimitedSlope()
|
/dports/audio/lenticular-lv2/lenticular_lv2-0.5.0-14-g14d8075/eurorack/plaits/dsp/speech/ |
H A D | lpc_speech_synth_controller.cc | 300 float this_sample[2]; in Render() local 301 copy(&next_sample_[0], &next_sample_[2], &this_sample[0]); in Render() 320 this_sample[0] += discontinuity[0] * ThisBlepSample(reset_time); in Render() 322 this_sample[1] += discontinuity[1] * ThisBlepSample(reset_time); in Render() 329 *excitation++ = this_sample[0] * gain; in Render() 330 *output++ = this_sample[1] * gain; in Render()
|
/dports/audio/surge-synthesizer-lv2/surge-release_1.9.0/libs/eurorack/eurorack/plaits/dsp/speech/ |
H A D | lpc_speech_synth_controller.cc | 300 float this_sample[2]; 301 copy(&next_sample_[0], &next_sample_[2], &this_sample[0]); 320 this_sample[0] += discontinuity[0] * ThisBlepSample(reset_time); 322 this_sample[1] += discontinuity[1] * ThisBlepSample(reset_time); 329 *excitation++ = this_sample[0] * gain; 330 *output++ = this_sample[1] * gain;
|
/dports/audio/lenticular-lv2/lenticular_lv2-0.5.0-14-g14d8075/eurorack/plaits/dsp/fx/ |
H A D | sample_rate_reducer.h | 77 float this_sample = next_sample; in Process() local 89 this_sample += discontinuity * stmlib::ThisBlepSample(t); in Process() 95 *in_out++ = this_sample; in Process()
|
/dports/audio/surge-synthesizer-lv2/surge-release_1.9.0/libs/eurorack/eurorack/plaits/dsp/fx/ |
H A D | sample_rate_reducer.h | 77 float this_sample = next_sample; in TextDiagnosticPrinter() 89 this_sample += discontinuity * stmlib::ThisBlepSample(t); in TextDiagnosticPrinter() 95 *in_out++ = this_sample; in TextDiagnosticPrinter()
|
/dports/emulators/mess/mame-mame0226/src/devices/sound/ |
H A D | tms5110.cpp | 324 int32_t this_sample; in process() local 486 this_sample = lattice_filter(); /* execute lattice filter */ in process() 493 fprintf(stderr,"Out:%06d ", this_sample); in process() 502 while (this_sample > 16383) this_sample -= 32768; in process() 503 while (this_sample < -16384) this_sample += 32768; in process() 505 buffer[buf_count] = clip_analog(this_sample); in process() 512 buffer[buf_count] = (this_sample<<1)|((this_sample&0x2000)>>13); in process() 514 this_sample &= ~0xF; in process() 518 buffer[buf_count] = (this_sample<<1)|((this_sample&0x3E00)>>9); in process()
|