Table of Contents

Namespace SunSharp

Classes

EffectExtensions
Microtones

Provides conversion methods between SunVox pitch values and frequencies in Hz.

NoteNameExtensions

Extension methods for the NoteName enum.

Slot

Represents a SunVox slot.

SlotAlreadyClosedException
SlotAlreadyOpenException
SunVox

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

SunVoxException

Represents errors that occur when the SunVox library returns an unexpected value or is called in an invalid state.

SynthModuleTypeHelper
Synthesizer

Project synthesizer, containing all the existing modules.

Timeline

Project timeline, containing all the existing patterns.

UtilityHelper
VirtualPattern

Virtual, 16-track pattern for sending events to the engine.

Structs

FineTunePair

Represents a pair of fine-tune and relative note adjustment values. Used for per-module configuration.

ModuleFlags

Represents the flags and properties of a SunVox module.

Note

Represents a musical note or command in the SunVox pattern format. This structure encapsulates both standard musical notes (C0-F#10) and special commands like note off, stop, play, etc.

PatternEvent

Represents a SunVox pattern event that encodes music commands such as notes, effects, and controller changes in a compact 64-bit format.

PatternHandle

Represents a handle to a pattern. The handle may be invalid if the pattern does not exist.

Slots
Speed

Contains beats per minute and ticks per line.

SunVoxVersion

Represents the version of the SunVox library.

SynthModuleHandle

Represents a handle to a generic synthesizer module, providing access to module properties and operations regardless of the underlying module type.

Interfaces

IGenericSynthModuleHandle

Represents a handle to a generic synthesizer module, providing access to module properties and operations regardless of the underlying module type.

IPatternHandle

Represents a handle to a pattern. The handle may be invalid if the pattern does not exist.

ISlot

Represents a SunVox slot.

ISlots
ISunVox

Allows for object-oriented approach to using the SunVox library.

ISynthModuleHandle
ISynthesizer

Project synthesizer, containing all the existing modules.

ITimeline

Project timeline, containing all the existing patterns.

IVirtualPattern

Virtual, 16-track pattern for sending events to the engine.

Enums

AudioChannel
AudioChannels

Number of audio channels at initialization. 'Mono' is not currently supported by SunVox.

Column
ControllerType
Effect

Represents various effects that can be applied to notes or tracks in the SunVox pattern.

NoteName

Represents the name of a musical note within an octave.

OutputType
SunVoxInitOptions
SynthModuleType
TimeMapType
ValueScalingMode