Package net.paulhertz.pixelaudio.io
Interface AudioBrushSessionIO.BrushFactory<B>
- Enclosing class:
- AudioBrushSessionIO
public static interface AudioBrushSessionIO.BrushFactory<B>
Factory that rebuilds brush objects while reading a session.
-
Method Summary
Modifier and TypeMethodDescriptioncreate(PACurveMaker curve, GestureGranularConfig.Builder builder, GestureGranularConfigIO.InstrumentType instrumentType, AudioBrushSessionIO.BrushRecord record) Creates a brush from linked gesture/config files and its manifest record.
-
Method Details
-
create
B create(PACurveMaker curve, GestureGranularConfig.Builder builder, GestureGranularConfigIO.InstrumentType instrumentType, AudioBrushSessionIO.BrushRecord record) Creates a brush from linked gesture/config files and its manifest record.- Parameters:
curve- loaded gesture curvebuilder- loaded granular configuration builderinstrumentType- instrument type declared in the manifestrecord- manifest record for the brush- Returns:
- created brush object
-