Show / Hide Table of Contents

Struct PatternNote

Represents the note, its duration and it's position within a pattern.

Namespace: InsaneScatterbrain.RetroKit.Editor
Syntax
[Serializable]
public struct PatternNote

Fields

duration

Declaration
public float duration
Field Value
Type Description
System.Single

note

Declaration
public Note note
Field Value
Type Description
Note

position

Declaration
public float position
Field Value
Type Description
System.Single

Methods

GetSamples(ISampleProvider, Single)

Generates and returns the samples for this PatternNote, based on the given sample provider and beats per minute.

Declaration
public float[] GetSamples(ISampleProvider sampleProvider, float bpm)
Parameters
Type Name Description
ISampleProvider sampleProvider

The sample provider.

System.Single bpm

The beats per minute.

Returns
Type Description
System.Single[]

The samples.

Back to top Generated by DocFX