Table of Contents

Class SongProcessor

Namespace
Microsoft.Xna.Framework.Content.Pipeline.Processors
Assembly
MonoGame.Framework.Content.Pipeline.dll

A custom song processor that processes an intermediate AudioContent type. This type encapsulates the source audio content, producing a Song type that can be used in the game.

[ContentProcessor(DisplayName = "Song - MonoGame")]
public class SongProcessor : ContentProcessor<AudioContent, SongContent>, IContentProcessor
Inheritance
SongProcessor
Implements
Inherited Members

Constructors

SongProcessor()

Initializes a new instance of SongProcessor.

public SongProcessor()

Properties

Quality

Gets or sets the target format quality of the audio content.

public ConversionQuality Quality { get; set; }

Property Value

ConversionQuality

The ConversionQuality of this audio data.

Methods

Process(AudioContent, ContentProcessorContext)

Builds the content for the source audio.

public override SongContent Process(AudioContent input, ContentProcessorContext context)

Parameters

input AudioContent

The audio content to build.

context ContentProcessorContext

Context for the specified processor.

Returns

SongContent

The built audio.