---
layout: no_sidebar
---
# Oscillators

Snapshots for basic oscillators (from `examples/oscillators.rs`).

Back to [index](./index.md#contents)

---

## osc_sine_440hz
Sine 440 Hz.  
Expression: `sine_hz::<f32>(440.0)`
![](https://github.com/anvlkv/insta-fun/raw/refs/heads/main/examples/snapshots/oscillators__osc_sine_440hz.snap.svg)  
<audio controls src="https://github.com/anvlkv/insta-fun/raw/refs/heads/main/examples/snapshots/oscillators__osc_sine_440hz@audio.snap.wav"></audio>

## osc_saw_440hz
Saw 440 Hz.  
Expression: `saw_hz(440.0)`
![](https://github.com/anvlkv/insta-fun/raw/refs/heads/main/examples/snapshots/oscillators__osc_saw_440hz.snap.svg)  
<audio controls src="https://github.com/anvlkv/insta-fun/raw/refs/heads/main/examples/snapshots/oscillators__osc_saw_440hz@audio.snap.wav"></audio>

## osc_square_440hz
Square 440 Hz.  
Expression: `square_hz(440.0)`
![](https://github.com/anvlkv/insta-fun/raw/refs/heads/main/examples/snapshots/oscillators__osc_square_440hz.snap.svg)  
<audio controls src="https://github.com/anvlkv/insta-fun/raw/refs/heads/main/examples/snapshots/oscillators__osc_square_440hz@audio.snap.wav"></audio>

## osc_triangle_440hz
Triangle 440 Hz.  
Expression: `triangle_hz(440.0)`
![](https://github.com/anvlkv/insta-fun/raw/refs/heads/main/examples/snapshots/oscillators__osc_triangle_440hz.snap.svg)  
<audio controls src="https://github.com/anvlkv/insta-fun/raw/refs/heads/main/examples/snapshots/oscillators__osc_triangle_440hz@audio.snap.wav"></audio>

## osc_soft_saw_440hz
Soft saw 440 Hz.  
Expression: `soft_saw_hz(440.0)`
![](https://github.com/anvlkv/insta-fun/raw/refs/heads/main/examples/snapshots/oscillators__osc_soft_saw_440hz.snap.svg)  
<audio controls src="https://github.com/anvlkv/insta-fun/raw/refs/heads/main/examples/snapshots/oscillators__osc_soft_saw_440hz@audio.snap.wav"></audio>

## osc_organ_440hz
Organ 440 Hz.  
Expression: `organ_hz(440.0)`
![](https://github.com/anvlkv/insta-fun/raw/refs/heads/main/examples/snapshots/oscillators__osc_organ_440hz.snap.svg)  
<audio controls src="https://github.com/anvlkv/insta-fun/raw/refs/heads/main/examples/snapshots/oscillators__osc_organ_440hz@audio.snap.wav"></audio>

## osc_hammond_440hz
Hammond 440 Hz.  
Expression: `hammond_hz(440.0)`
![](https://github.com/anvlkv/insta-fun/raw/refs/heads/main/examples/snapshots/oscillators__osc_hammond_440hz.snap.svg)  
<audio controls src="https://github.com/anvlkv/insta-fun/raw/refs/heads/main/examples/snapshots/oscillators__osc_hammond_440hz@audio.snap.wav"></audio>

## osc_ramp_1hz
Ramp 1 Hz (0..1).  
Expression: `ramp_hz::<f32>(1.0)`
![](https://github.com/anvlkv/insta-fun/raw/refs/heads/main/examples/snapshots/oscillators__osc_ramp_1hz.snap.svg)  
<audio controls src="https://github.com/anvlkv/insta-fun/raw/refs/heads/main/examples/snapshots/oscillators__osc_ramp_1hz@audio.snap.wav"></audio>

---
