- AbcTools - Class in com.corajr.loom.util
-
- AbcTools() - Constructor for class com.corajr.loom.util.AbcTools
-
- add(LEvent) - Method in class com.corajr.loom.EventCollection
-
Add an event to the collection, unless it overlaps with an existing
event.
- add(PVector) - Method in class com.corajr.loom.mappings.PositionHeading
-
- add(BigFraction) - Method in class com.corajr.loom.time.Interval
-
- addAfterwards(Collection<LEvent>) - Method in class com.corajr.loom.EventCollection
-
Add events after the end of the last event currently in the collection.
- addAll(Collection<LEvent>) - Method in class com.corajr.loom.EventCollection
-
- addAllTurtleDrawCommands() - Method in class com.corajr.loom.Pattern
-
- addr - Static variable in class com.corajr.loom.recording.BinaryOscBundle
-
- addWithOffset(BigFraction, Collection<LEvent>) - Method in class com.corajr.loom.EventCollection
-
Add events with a specified offset.
- after(double, Callable<Void>) - Method in class com.corajr.loom.Pattern
-
Triggers the specified callback after a given amount of time.
- after(BigFraction, Callable<Void>) - Method in class com.corajr.loom.Pattern
-
Triggers the specified callback after a given amount of time.
- after(double, Transform) - Method in class com.corajr.loom.Pattern
-
Triggers the specified transform after a given amount of time.
- after(BigFraction, Transform) - Method in class com.corajr.loom.Pattern
-
Triggers the specified transform after a given amount of time.
- after(double, LEvent...) - Method in class com.corajr.loom.Pattern
-
Adds events to the pattern at a certain time offset.
- after(BigFraction, LEvent...) - Method in class com.corajr.loom.Pattern
-
Adds events to the pattern at a certain time offset.
- alphabet - Variable in class com.corajr.loom.transforms.LsysRewriter
-
- apply(Interval, LEvent) - Method in class com.corajr.loom.EventBoundaryProxy
-
- apply(Interval, LEvent) - Method in class com.corajr.loom.EventMatchFilter
-
- apply(Interval, LEvent) - Method in class com.corajr.loom.EventTransformer
-
- apply(EventCollection) - Method in class com.corajr.loom.transforms.EventRewriter
-
- apply(EventCollection) - Method in class com.corajr.loom.transforms.LsysRewriter
-
- apply(int, LEvent) - Method in class com.corajr.loom.transforms.LsysRewriter.LsysRule
-
- apply(int, LEvent) - Method in class com.corajr.loom.transforms.MatchRewriter.MatchRule
-
- apply(int, LEvent) - Method in class com.corajr.loom.transforms.Rule
-
Return transformed events according to this rule
- apply(LEvent) - Method in class com.corajr.loom.transforms.Rule
-
- apply(EventCollection) - Method in class com.corajr.loom.transforms.SubdivideRewriter
-
- apply(int, LEvent) - Method in class com.corajr.loom.transforms.SubdivideRewriter.SubdivideRule
-
- asCallable(Callable<?>...) - Method in class com.corajr.loom.Pattern
-
- asCallable() - Method in class com.corajr.loom.Pattern
-
- asColor(int...) - Method in class com.corajr.loom.Pattern
-
Set a mapping from the pattern's events to colors, blending between them
using lerpColor
in HSB mode.
- asColor() - Method in class com.corajr.loom.Pattern
-
- asDrawCommand(DrawCommand...) - Method in class com.corajr.loom.Pattern
-
- asDrawCommand() - Method in class com.corajr.loom.Pattern
-
- asFloat(float, float) - Method in class com.corajr.loom.Pattern
-
Set the mapping from this pattern's values to floats.
- asFloat() - Method in class com.corajr.loom.Pattern
-
Returns the current float value of this pattern according to the
previously set FloatMapping.
- asInt(int, int) - Method in class com.corajr.loom.Pattern
-
Set the mapping from this pattern's values to integers.
- asInt() - Method in class com.corajr.loom.Pattern
-
Returns the current int value of this pattern according to the previously
set IntMapping.
- asMidiChannel(Integer...) - Method in class com.corajr.loom.Pattern
-
Sets the mapping of this pattern's values to MIDI channels.
- asMidiChannel() - Method in class com.corajr.loom.Pattern
-
Gets the current MIDI channel for this pattern.
- asMidiChannel(Interval) - Method in class com.corajr.loom.Pattern
-
- asMidiCommand(Integer...) - Method in class com.corajr.loom.Pattern
-
Maps this pattern's values to the specified MIDI commands.
- asMidiCommand() - Method in class com.corajr.loom.Pattern
-
Gets the current MIDI command for this pattern.
- asMidiCommand(Interval) - Method in class com.corajr.loom.Pattern
-
- asMidiData1(int, int) - Method in class com.corajr.loom.Pattern
-
Maps the pattern's values to MIDI data byte 1.
- asMidiData1() - Method in class com.corajr.loom.Pattern
-
Returns the current value of MIDI data 1.
- asMidiData1(Interval) - Method in class com.corajr.loom.Pattern
-
- asMidiData2(int, int) - Method in class com.corajr.loom.Pattern
-
Maps the pattern's values to MIDI data 2.
- asMidiData2() - Method in class com.corajr.loom.Pattern
-
Returns the current MIDI data 2 value for this pattern.
- asMidiData2(Interval) - Method in class com.corajr.loom.Pattern
-
- asMidiInstrument(String) - Method in class com.corajr.loom.Pattern
-
Set a mapping from the pattern's events to MIDI notes, using a specified
instrument.
- asMidiInstrument(MidiTools.Instrument) - Method in class com.corajr.loom.Pattern
-
Set a mapping from the pattern's events to MIDI notes, using a specified
instrument.
- asMidiMessage(Pattern) - Method in class com.corajr.loom.Pattern
-
Maps the specified note pattern as a MIDI message, which will be
Typically this will be called using the pattern itself as argument, i.e.
- asMidiMessage(Pattern, Pattern, Pattern, Pattern) - Method in class com.corajr.loom.Pattern
-
Maps the current pattern to MIDI messages and schedules them to be sent
out using the Loom's
MidiBusWrapper
.
- asMidiNote(Integer...) - Method in class com.corajr.loom.Pattern
-
Maps the values of this pattern to MIDI notes.
- asMidiNote() - Method in class com.corajr.loom.Pattern
-
Returns the current MIDI note.
- asMidiPercussion(String) - Method in class com.corajr.loom.Pattern
-
Set a mapping from the pattern's events to a percussive sound.
- asMidiPercussion(MidiTools.Percussion) - Method in class com.corajr.loom.Pattern
-
Set a mapping from the pattern's events to a percussive sound.
- asObject(Object...) - Method in class com.corajr.loom.Pattern
-
- asObject() - Method in class com.corajr.loom.Pattern
-
- asOscBundle(NetAddress) - Method in class com.corajr.loom.Pattern
-
Sets a mapping to wrap up the OSC messages for this pattern's onsets into
bundles and schedules them to be sent using the Loom's
OscP5Wrapper
.
- asOscBundle(NetAddress, Pattern...) - Method in class com.corajr.loom.Pattern
-
Sets a mapping to wrap up the OSC messages for this pattern's onsets into
bundles and schedules them to be sent using the Loom's
OscP5Wrapper
.
- asOscBundle() - Method in class com.corajr.loom.Pattern
-
Returns the pattern's value as an OSC bundle.
- asOscMessage(String) - Method in class com.corajr.loom.Pattern
-
Maps this pattern to an OSC message with a default argument of 1.
- asOscMessage(String, int) - Method in class com.corajr.loom.Pattern
-
Maps this pattern to an OSC message with a single integer argument.
- asOscMessage(String, Mapping<?>) - Method in class com.corajr.loom.Pattern
-
Sets a mapping of this pattern to OSC messages, with a new
Mapping
used to provide the arguments.
- asOscMessage(String, Pattern, Mapping<?>) - Method in class com.corajr.loom.Pattern
-
Sets this pattern's mapping to OSC messages, using a second pattern
subPattern
to provide the values that will be translated
into the message's arguments.
- asOscMessage() - Method in class com.corajr.loom.Pattern
-
Returns the current OSC message value of this pattern.
- asSample(AudioSample) - Method in class com.corajr.loom.Pattern
-
Sets a mapping that triggers a Minim AudioSample when this pattern's
events have a value of 1.0.
- asSoundFile(SoundFile) - Method in class com.corajr.loom.Pattern
-
Sets a mapping that triggers a SoundFile when this pattern's
events have a value of 1.0.
- asStatefulCallable() - Method in class com.corajr.loom.Pattern
-
- asStatefulCallable(StatefulCallable...) - Method in class com.corajr.loom.Pattern
-
- asSynthParam(Synth, String, float, float) - Method in class com.corajr.loom.Pattern
-
Sets a mapping from this pattern to the parameters of a
supercollider.Synth object.
- asTurtleDrawCommand(TurtleDrawCommand...) - Method in class com.corajr.loom.Pattern
-
- asTurtleDrawCommand(boolean, TurtleDrawCommand...) - Method in class com.corajr.loom.Pattern
-
- asTurtleDrawCommand() - Method in class com.corajr.loom.Pattern
-
- c(DrawCommand...) - Static method in class com.corajr.loom.mappings.Draw
-
Shorthand to combine multiple DrawCommands into a single command.
- c(TurtleDrawCommand...) - Static method in class com.corajr.loom.mappings.TurtleDraw
-
Shorthand to combine commands.
- call(BigFraction) - Method in class com.corajr.loom.continuous.ConstantFunction
-
- call(BigFraction) - Method in class com.corajr.loom.continuous.ContinuousFunction
-
Returns the value of the function at this point in the cycle.
- call(Interval) - Method in class com.corajr.loom.continuous.DelayFunction
-
- call(BigFraction) - Method in class com.corajr.loom.continuous.FollowerFunction
-
- call(Interval) - Method in class com.corajr.loom.continuous.MatchFunction
-
- call(BigFraction) - Method in class com.corajr.loom.continuous.SineFunction
-
- call(Interval) - Method in class com.corajr.loom.continuous.ThresholdFunction
-
- call(BigFraction) - Method in class com.corajr.loom.continuous.TriggerFunction
-
- call(double) - Method in class com.corajr.loom.mappings.ColorMapping
-
- call(LEvent) - Method in interface com.corajr.loom.mappings.EventMapping
-
- call(double) - Method in class com.corajr.loom.mappings.FloatMapping
-
- call(double) - Method in class com.corajr.loom.mappings.IntMapping
-
- call(double) - Method in interface com.corajr.loom.mappings.Mapping
-
- call(double) - Method in class com.corajr.loom.mappings.MidiMessageMapping
-
- call(LEvent) - Method in class com.corajr.loom.mappings.MidiMessageMapping
-
- call(double) - Method in class com.corajr.loom.mappings.ObjectMapping
-
- call(double) - Method in class com.corajr.loom.mappings.OscBundleMapping
-
- call(double) - Method in class com.corajr.loom.mappings.OscMessageMapping
-
- call(LEvent) - Method in class com.corajr.loom.mappings.StatefulCallableMapping
-
- call(double) - Method in class com.corajr.loom.mappings.StatefulCallableMapping
-
- call() - Method in class com.corajr.loom.mappings.TurtleDrawCommand
-
- call(Pattern) - Method in class com.corajr.loom.transforms.Transform
-
Executes the transform on the original pattern, and returns the modified
version.
- call(Pattern) - Method in class com.corajr.loom.transforms.Transforms.Noop
-
- call(Pattern) - Method in class com.corajr.loom.transforms.Transforms.Reverse
-
- call(Pattern) - Method in class com.corajr.loom.transforms.Transforms.Rewrite
-
- call(Pattern) - Method in class com.corajr.loom.transforms.Transforms.Shift
-
- call(Pattern) - Method in class com.corajr.loom.transforms.Transforms.Speed
-
- call() - Method in class com.corajr.loom.util.CallableNoop
-
- call() - Method in class com.corajr.loom.util.CallableOnChange
-
- call() - Method in class com.corajr.loom.util.StatefulCallable
-
- CallableNoop - Class in com.corajr.loom.util
-
- CallableNoop() - Constructor for class com.corajr.loom.util.CallableNoop
-
- CallableOnChange - Class in com.corajr.loom.util
-
- CallableOnChange(AtomicInteger, Callable<?>, int) - Constructor for class com.corajr.loom.util.CallableOnChange
-
- canApply(int, LEvent) - Method in class com.corajr.loom.transforms.LsysRewriter.LsysRule
-
- canApply(int, LEvent) - Method in class com.corajr.loom.transforms.MatchRewriter.MatchRule
-
- canApply(int, LEvent) - Method in class com.corajr.loom.transforms.Rule
-
Defines which events this rule applies to.
- canApply(LEvent) - Method in class com.corajr.loom.transforms.Rule
-
- canApply(int, LEvent) - Method in class com.corajr.loom.transforms.SubdivideRewriter.SubdivideRule
-
- clear() - Method in class com.corajr.loom.Pattern
-
- clone() - Method in class com.corajr.loom.ConcretePattern
-
- clone() - Method in class com.corajr.loom.Pattern
-
- ColorMapping - Class in com.corajr.loom.mappings
-
Mapping from doubles to colors.
- ColorMapping(int...) - Constructor for class com.corajr.loom.mappings.ColorMapping
-
- com.corajr.loom - package com.corajr.loom
-
- com.corajr.loom.continuous - package com.corajr.loom.continuous
-
- com.corajr.loom.mappings - package com.corajr.loom.mappings
-
- com.corajr.loom.recording - package com.corajr.loom.recording
-
- com.corajr.loom.time - package com.corajr.loom.time
-
- com.corajr.loom.transforms - package com.corajr.loom.transforms
-
- com.corajr.loom.util - package com.corajr.loom.util
-
- com.corajr.loom.wrappers - package com.corajr.loom.wrappers
-
- Compound(DrawCommand...) - Constructor for class com.corajr.loom.mappings.Draw.Compound
-
Create a new Compound command.
- Compound(Collection<DrawCommand>) - Constructor for class com.corajr.loom.mappings.Draw.Compound
-
Create a new Compound command.
- Compound(TurtleDrawCommand...) - Constructor for class com.corajr.loom.mappings.TurtleDraw.Compound
-
Create a new Compound command.
- Compound(Collection<TurtleDrawCommand>) - Constructor for class com.corajr.loom.mappings.TurtleDraw.Compound
-
Create a new Compound command.
- ConcretePattern - Class in com.corajr.loom
-
The implementation of a Pattern, which stores its output mappings and
associated events/function.
- ConcretePattern(Loom) - Constructor for class com.corajr.loom.ConcretePattern
-
- ConcretePattern(Loom, double) - Constructor for class com.corajr.loom.ConcretePattern
-
- ConcretePattern(Loom, EventQueryable) - Constructor for class com.corajr.loom.ConcretePattern
-
- ConcretePattern(Loom, ContinuousFunction) - Constructor for class com.corajr.loom.ConcretePattern
-
- ConstantFunction - Class in com.corajr.loom.continuous
-
Returns a constant whenever queried.
- ConstantFunction(double) - Constructor for class com.corajr.loom.continuous.ConstantFunction
-
- containedBy(Interval) - Method in class com.corajr.loom.LEvent
-
Returns true if the event's start is less than or equal to the query
interval's end, and the event's end is after the query interval starts.
- ContinuousFunction - Class in com.corajr.loom.continuous
-
A ContinuousFunction must define call
as a function of time,
returning a value between 0.0 and 1.0.
- ContinuousFunction() - Constructor for class com.corajr.loom.continuous.ContinuousFunction
-
- DEFAULT_POSITION - Static variable in class com.corajr.loom.mappings.TurtleState
-
- DEFAULT_RESOLUTION - Static variable in class com.corajr.loom.time.Scheduler
-
One millisecond at standard playback speed.
- defaultState() - Static method in class com.corajr.loom.mappings.TurtleState
-
Returns a TurtleState which starts at (0,0), pointing to 0.0 radians, and
has an empty PositionHeading stack.
- delay(double) - Method in class com.corajr.loom.Pattern
-
- delay(BigFraction) - Method in class com.corajr.loom.Pattern
-
- DelayFunction - Class in com.corajr.loom.continuous
-
Returns the value of the original function after a delay.
- DelayFunction(Pattern, BigFraction) - Constructor for class com.corajr.loom.continuous.DelayFunction
-
- dispose() - Method in class com.corajr.loom.Loom
-
- dispose() - Method in class com.corajr.loom.recording.MidiBusRecorder
-
- dispose() - Method in class com.corajr.loom.recording.OscP5Recorder
-
- dispose() - Method in interface com.corajr.loom.wrappers.IMidiBus
-
- dispose() - Method in interface com.corajr.loom.wrappers.IOscP5
-
- dispose() - Method in class com.corajr.loom.wrappers.MidiBusImpl
-
- dispose() - Method in class com.corajr.loom.wrappers.MidiBusWrapper
-
- dispose() - Method in class com.corajr.loom.wrappers.OscP5Impl
-
- dispose() - Method in class com.corajr.loom.wrappers.OscP5Wrapper
-
- draw() - Method in class com.corajr.loom.Loom
-
- Draw - Class in com.corajr.loom.mappings
-
Classes for various drawing commands.
- Draw() - Constructor for class com.corajr.loom.mappings.Draw
-
- draw(PApplet) - Method in class com.corajr.loom.mappings.Draw.Compound
-
- draw(PApplet) - Method in class com.corajr.loom.mappings.Draw.Ellipse
-
- draw(PApplet) - Method in class com.corajr.loom.mappings.Draw.Forward
-
- draw(PApplet) - Method in class com.corajr.loom.mappings.Draw.Line
-
- draw(PApplet, TurtleState) - Method in class com.corajr.loom.mappings.Draw.Noop
-
- draw(PApplet) - Method in class com.corajr.loom.mappings.Draw.Pop
-
- draw(PApplet) - Method in class com.corajr.loom.mappings.Draw.Push
-
- draw(PApplet) - Method in class com.corajr.loom.mappings.Draw.Rect
-
- draw(PApplet) - Method in class com.corajr.loom.mappings.Draw.Rotate
-
- draw(PApplet) - Method in class com.corajr.loom.mappings.Draw.Translate
-
- draw(PApplet) - Method in class com.corajr.loom.mappings.DrawCommand
-
Does the actual drawing of the shape/line/etc.
- draw() - Method in class com.corajr.loom.mappings.DrawCommand
-
- draw() - Method in class com.corajr.loom.mappings.Turtle
-
- draw(PApplet, TurtleState) - Method in class com.corajr.loom.mappings.TurtleDraw.Compound
-
- draw(PApplet, TurtleState) - Method in class com.corajr.loom.mappings.TurtleDraw.Forward
-
- draw(PApplet, TurtleState) - Method in class com.corajr.loom.mappings.TurtleDraw.Move
-
- draw(PApplet, TurtleState) - Method in class com.corajr.loom.mappings.TurtleDraw.Pop
-
- draw(PApplet, TurtleState) - Method in class com.corajr.loom.mappings.TurtleDraw.Push
-
- draw(PApplet, TurtleState) - Method in class com.corajr.loom.mappings.TurtleDraw.Turn
-
- draw(PApplet) - Method in class com.corajr.loom.mappings.TurtleDrawCommand
-
- draw(PApplet, TurtleState) - Method in class com.corajr.loom.mappings.TurtleDrawCommand
-
Draws the current command and returns an updated turtle state.
- draw() - Method in class com.corajr.loom.Pattern
-
- Draw.Compound - Class in com.corajr.loom.mappings
-
Combines several different DrawCommands into a single command.
- Draw.Ellipse - Class in com.corajr.loom.mappings
-
Draws an ellipse.
- Draw.Forward - Class in com.corajr.loom.mappings
-
Draw a line by a specified amount and translate to the end of that line.
- Draw.Line - Class in com.corajr.loom.mappings
-
Draws a line from (x1, y1) to (x2, y2).
- Draw.Noop - Class in com.corajr.loom.mappings
-
Do nothing.
- Draw.Pop - Class in com.corajr.loom.mappings
-
Pop a transformation matrix of the draw context from the stack.
- Draw.Push - Class in com.corajr.loom.mappings
-
Push the current transformation matrix of the draw context to the stack.
- Draw.Rect - Class in com.corajr.loom.mappings
-
Draws a rectangle.
- Draw.Rotate - Class in com.corajr.loom.mappings
-
Rotate the drawing context by the specified amount.
- Draw.Translate - Class in com.corajr.loom.mappings
-
Translates the drawing context.
- DrawCommand - Class in com.corajr.loom.mappings
-
Describes a drawing operation but does not execute it right away.
- DrawCommand() - Constructor for class com.corajr.loom.mappings.DrawCommand
-
- ellipse(float, float, float, float) - Static method in class com.corajr.loom.mappings.Draw
-
Make a new Ellipse.
- Ellipse(float, float, float, float) - Constructor for class com.corajr.loom.mappings.Draw.Ellipse
-
Create the ellipse command.
- EPSILON - Static variable in class com.corajr.loom.time.IntervalMath
-
- equals(Object) - Method in class com.corajr.loom.LEvent
-
- equals(Object) - Method in class com.corajr.loom.time.Interval
-
- EventBoundaryProxy - Class in com.corajr.loom
-
Transforms each event of a parent EventQueryable into separate onset and
release events.
- EventBoundaryProxy(Pattern, EventQueryable) - Constructor for class com.corajr.loom.EventBoundaryProxy
-
- EventCollection - Class in com.corajr.loom
-
Stores events as a sorted map indexed by start position.
- EventCollection() - Constructor for class com.corajr.loom.EventCollection
-
- EventMapping<T> - Interface in com.corajr.loom.mappings
-
Allows the user to call a mapping using an event instead of a value.
- EventMatchFilter - Class in com.corajr.loom
-
Match events from the parent EventQueryable according to a specified value.
- EventMatchFilter(EventQueryable, double) - Constructor for class com.corajr.loom.EventMatchFilter
-
- EventQueryable - Interface in com.corajr.loom
-
Allows the caller to ask for all events falling within a given query
interval.
- EventRewriter - Class in com.corajr.loom.transforms
-
Takes in an EventCollection and outputs a new EventCollection.
- EventRewriter(Rule...) - Constructor for class com.corajr.loom.transforms.EventRewriter
-
- EventRewriter(Collection<Rule>) - Constructor for class com.corajr.loom.transforms.EventRewriter
-
- eventsFromString(String) - Static method in class com.corajr.loom.util.AbcTools
-
- EventTransformer - Class in com.corajr.loom
-
Abstract class for transforming the events of an EventQueryable.
- EventTransformer(EventQueryable) - Constructor for class com.corajr.loom.EventTransformer
-
- every(double, Transform) - Method in class com.corajr.loom.Pattern
-
- every(double, Callable<Void>) - Method in class com.corajr.loom.Pattern
-
- every(BigFraction, Callable<Void>) - Method in class com.corajr.loom.Pattern
-
- evt(double, double) - Static method in class com.corajr.loom.LEvent
-
- evt(BigFraction, double) - Static method in class com.corajr.loom.LEvent
-
- extend(String) - Method in class com.corajr.loom.Pattern
-
Extends the current pattern by treating the input as equally spaced
events within a single cycle.
- extend(Integer...) - Method in class com.corajr.loom.Pattern
-
Extends the current pattern by treating the input as equally spaced
events within a single cycle.
- extend(LEvent...) - Method in class com.corajr.loom.Pattern
-
Extends the pattern by adding the events specified after the last event
currently in the pattern.
- extend(Collection<LEvent>) - Method in class com.corajr.loom.Pattern
-
Extends the pattern by adding the events specified after the last event
currently in the pattern.
- extend(double, LEvent...) - Method in class com.corajr.loom.Pattern
-
Extends the pattern by adding the given events after a specified offset.
- extend(BigFraction, LEvent...) - Method in class com.corajr.loom.Pattern
-
Extends the pattern by adding the given events after a specified offset.
- extend(BigFraction, Collection<LEvent>) - Method in class com.corajr.loom.Pattern
-
Extends the pattern by adding the given events after a specified offset.
- fire() - Method in class com.corajr.loom.continuous.TriggerFunction
-
- FloatMapping - Class in com.corajr.loom.mappings
-
Map a value from [0.0, 1.0] to [lo, hi] inclusive, as a floating-point value.
- FloatMapping(float, float) - Constructor for class com.corajr.loom.mappings.FloatMapping
-
- FollowerFunction - Class in com.corajr.loom.continuous
-
"Follows" another pattern by returning that pattern's value when queried.
- FollowerFunction(Pattern) - Constructor for class com.corajr.loom.continuous.FollowerFunction
-
Creates a pattern that returns the same value as the underlying pattern.
- following(Pattern) - Static method in class com.corajr.loom.Pattern
-
Create a new pattern that returns the same value as another.
- forEach(Pattern) - Static method in class com.corajr.loom.ConcretePattern
-
Generate a pattern of note on and off events from the events of another
pattern.
- forEach(Pattern, Double) - Static method in class com.corajr.loom.ConcretePattern
-
Generate a pattern of note on or note off events from the events of
another pattern, depending on the boundary type desired.
- forward(float) - Static method in class com.corajr.loom.mappings.Draw
-
Make a new Forward.
- Forward(float) - Constructor for class com.corajr.loom.mappings.Draw.Forward
-
Create a new draw forward command.
- forward(float) - Static method in class com.corajr.loom.mappings.TurtleDraw
-
Creates a draw forward command.
- Forward(float) - Constructor for class com.corajr.loom.mappings.TurtleDraw.Forward
-
Creates a new draw forward command.
- fromABC(Loom, String) - Static method in class com.corajr.loom.Pattern
-
Takes an ABC tune as input and creates a new pattern suitable for MIDI
output.
- fromCallables(Callable<Void>...) - Static method in class com.corajr.loom.util.CallableOnChange
-
- fromDouble(double) - Method in class com.corajr.loom.transforms.LsysRewriter
-
- fromDoubles(Double...) - Static method in class com.corajr.loom.EventCollection
-
Creates an event collection where each event is 1/N cycles long (where N
is the length of the list) and each has the specified value between 0.0
and 1.0 inclusive.
- fromDoubles(List<Double>) - Static method in class com.corajr.loom.EventCollection
-
Creates an event collection where each event is 1/N cycles long (where N
is the length of the list) and each has the specified value between 0.0
and 1.0 inclusive.
- fromEvents(LEvent...) - Static method in class com.corajr.loom.EventCollection
-
Turn a variable number of Events into an EventCollection.
- fromEvents(Collection<LEvent>) - Static method in class com.corajr.loom.EventCollection
-
Turn a generic Collection of Events into an EventCollection.
- fromEvents(Collection<LEvent>) - Method in class com.corajr.loom.transforms.LsysRewriter
-
- fromFile(File) - Static method in class com.corajr.loom.recording.OscScore
-
- fromInts(Integer...) - Static method in class com.corajr.loom.EventCollection
-
Creates a series of events from integers.
- fromInts(List<Integer>) - Static method in class com.corajr.loom.EventCollection
-
Creates a series of events from integers.
- fromInts(Loom, Integer...) - Static method in class com.corajr.loom.Pattern
-
Creates a new pattern using a sequence of integers, which will be turned
into equally spaced events.
- fromString(String) - Static method in class com.corajr.loom.EventCollection
-
Creates a series of events from a string.
- fromString(Loom, String) - Static method in class com.corajr.loom.Pattern
-
Creates a new pattern using a numerical string, which will be turned into
equally spaced events.
- fromString(Loom, String) - Static method in class com.corajr.loom.util.AbcTools
-
- fromTransform(Transform, Pattern) - Static method in class com.corajr.loom.util.CallableOnChange
-
- generations - Variable in class com.corajr.loom.transforms.LsysRewriter
-
- get() - Method in class com.corajr.loom.wrappers.MidiBusWrapper
-
- get() - Method in class com.corajr.loom.wrappers.OscP5Wrapper
-
- getActiveMappingsFor(Interval) - Method in class com.corajr.loom.ConcretePattern
-
- getActiveMappingsFor(Interval) - Method in class com.corajr.loom.Pattern
-
- getAlphabetFrom(String...) - Static method in class com.corajr.loom.transforms.LsysRewriter
-
- getAngle() - Method in class com.corajr.loom.mappings.PositionHeading
-
- getAngle() - Method in class com.corajr.loom.mappings.TurtleState
-
Get the current angle of the turtle in radians.
- getBPM() - Method in class com.corajr.loom.Loom
-
- getCurrentInterval() - Method in class com.corajr.loom.Loom
-
- getCurrentInterval() - Method in class com.corajr.loom.Pattern
-
Returns the current interval from the perspective of this pattern,
transformed by its time scale, offset, and loop interval (if applicable).
- getCurrentInterval(boolean) - Method in class com.corajr.loom.Pattern
-
Returns the current interval from the perspective of this pattern,
transformed by its time scale, offset, and loop interval (if applicable).
- getCurrentInterval() - Method in class com.corajr.loom.time.Scheduler
-
Retrieves an
Interval
that extends before and after the current
instant by half the minimum resolution.
- getDrawCommands() - Method in class com.corajr.loom.ConcretePattern
-
- getDrawCommands() - Method in class com.corajr.loom.Pattern
-
- getElapsedMillis() - Method in class com.corajr.loom.time.NonRealTimeScheduler
-
- getElapsedMillis() - Method in class com.corajr.loom.time.RealTimeScheduler
-
- getElapsedMillis() - Method in class com.corajr.loom.time.Scheduler
-
Implementations of the Scheduler class must provide the present time when
queried.
- getEnd() - Method in class com.corajr.loom.time.Interval
-
- getForInterval(Interval) - Method in class com.corajr.loom.EventCollection
-
- getForInterval(Interval) - Method in interface com.corajr.loom.EventQueryable
-
- getForInterval(Interval) - Method in class com.corajr.loom.EventTransformer
-
- getHalfMinimum() - Method in class com.corajr.loom.time.Scheduler
-
- getInterval() - Method in class com.corajr.loom.LEvent
-
Gets the interval of the event.
- getLoopInterval() - Method in class com.corajr.loom.Pattern
-
- getMinimumResolution() - Method in class com.corajr.loom.EventBoundaryProxy
-
- getMinimumResolution() - Method in class com.corajr.loom.Loom
-
- getMinimumResolution() - Method in class com.corajr.loom.Pattern
-
- getMinimumResolution() - Method in class com.corajr.loom.time.Scheduler
-
- getNoop() - Method in class com.corajr.loom.mappings.StatefulCallableMapping
-
- getNote() - Method in enum com.corajr.loom.util.MidiTools.Percussion
-
- getNow() - Method in class com.corajr.loom.Loom
-
- getNow() - Method in class com.corajr.loom.time.Scheduler
-
Returns the current time in milliseconds divided by the period.
- getOutputMappings() - Method in class com.corajr.loom.ConcretePattern
-
- getOutputMappings() - Method in class com.corajr.loom.Pattern
-
- getParent() - Method in class com.corajr.loom.Loom
-
- getParentEvent() - Method in class com.corajr.loom.LEvent
-
Gets the event that "spawned" this event, e.g.
- getPatternsWithActiveMappings() - Method in class com.corajr.loom.PatternCollection
-
Finds all the patterns that have external mappings, i.e.
- getPatternsWithActiveMappings() - Method in class com.corajr.loom.time.Scheduler
-
Retrieve the patterns that we must query for callbacks.
- getPeriod() - Method in class com.corajr.loom.Loom
-
- getPeriod() - Method in class com.corajr.loom.time.Scheduler
-
- getPosition() - Method in class com.corajr.loom.mappings.PositionHeading
-
- getPosition() - Method in class com.corajr.loom.mappings.TurtleState
-
Get the current position of the turtle as a PVector.
- getRepeats() - Method in class com.corajr.loom.Pattern
-
- getSize() - Method in class com.corajr.loom.time.Interval
-
- getStart() - Method in class com.corajr.loom.time.Interval
-
- getTimeOffset() - Method in class com.corajr.loom.Pattern
-
- getTimeScale() - Method in class com.corajr.loom.Pattern
-
- getTotalInterval() - Method in class com.corajr.loom.EventCollection
-
Find the span of time taken up by all of the events in this collection.
- getTotalInterval() - Method in class com.corajr.loom.Pattern
-
Retrieve the total interval encompassed by this pattern's events (if
applicable), or its loop interval.
- getTurtleDrawCommands() - Method in class com.corajr.loom.transforms.LsysRewriter
-
- getValue() - Method in class com.corajr.loom.LEvent
-
Gets the value of the event.
- getValue() - Method in class com.corajr.loom.Pattern
-
Returns the value of this Pattern at the current interval, a number
between 0.0 and 1.0 inclusive.
- getValueFor(Interval) - Method in class com.corajr.loom.ConcretePattern
-
- getValueFor(Interval) - Method in class com.corajr.loom.Pattern
-
Returns the value of the pattern for a specified
Interval
.
- getValueOffset() - Method in class com.corajr.loom.Pattern
-
- getValueScale() - Method in class com.corajr.loom.Pattern
-
- TaggedOscBundle - Class in com.corajr.loom.recording
-
- TaggedOscBundle(OscBundle) - Constructor for class com.corajr.loom.recording.TaggedOscBundle
-
- then(Pattern) - Method in class com.corajr.loom.Pattern
-
Gives back a new pattern that switches from this pattern to another after
the loop interval/total interval has elapsed.
- ThresholdFunction - Class in com.corajr.loom.continuous
-
Follows another pattern, returning 1.0 when its value equals or exceeds the
specified threshold and 0.0 otherwise.
- ThresholdFunction(Pattern, double) - Constructor for class com.corajr.loom.continuous.ThresholdFunction
-
Create a ThresholdFunction that follows another pattern.
- toCallable(Transform, Pattern) - Static method in class com.corajr.loom.transforms.Transform
-
- toDoubles(String, String) - Static method in class com.corajr.loom.transforms.LsysRewriter
-
- toFraction(double) - Static method in class com.corajr.loom.time.IntervalMath
-
- toString() - Method in class com.corajr.loom.ConcretePattern
-
- toString() - Method in class com.corajr.loom.EventCollection
-
- toString() - Method in class com.corajr.loom.LEvent
-
- toString() - Method in class com.corajr.loom.mappings.PositionHeading
-
- toString() - Method in class com.corajr.loom.Pattern
-
- toString() - Method in class com.corajr.loom.time.Interval
-
- toString() - Method in class com.corajr.loom.util.CallableOnChange
-
- transform(Interval) - Method in class com.corajr.loom.Pattern
-
Performs the transformation of a given interval, according to the
pattern's time scaling, offset, and loop interval.
- transform(Interval, boolean) - Method in class com.corajr.loom.Pattern
-
Performs the transformation of a given interval, according to the
pattern's time scaling, offset, and loop interval.
- Transform - Class in com.corajr.loom.transforms
-
A Transform must define call
as a function that takes a Pattern
as input and returns a new Pattern.
- Transform() - Constructor for class com.corajr.loom.transforms.Transform
-
- Transforms - Class in com.corajr.loom.transforms
-
- Transforms() - Constructor for class com.corajr.loom.transforms.Transforms
-
- Transforms.Noop - Class in com.corajr.loom.transforms
-
- Transforms.Reverse - Class in com.corajr.loom.transforms
-
- Transforms.Rewrite - Class in com.corajr.loom.transforms
-
- Transforms.Shift - Class in com.corajr.loom.transforms
-
- Transforms.Speed - Class in com.corajr.loom.transforms
-
- translate(float, float) - Static method in class com.corajr.loom.mappings.Draw
-
Make a new Translate.
- Translate(float, float) - Constructor for class com.corajr.loom.mappings.Draw.Translate
-
Create the translate command.
- transpose(Integer) - Method in class com.corajr.loom.Pattern
-
Transposes the pattern by a specified number of semitones.
- TriggerFunction - Class in com.corajr.loom.continuous
-
A "trigger" pattern that can be fired by outside events.
- TriggerFunction() - Constructor for class com.corajr.loom.continuous.TriggerFunction
-
- turn(float) - Method in class com.corajr.loom.mappings.PositionHeading
-
- turn(float) - Static method in class com.corajr.loom.mappings.TurtleDraw
-
Creates a rotate command.
- Turn(float) - Constructor for class com.corajr.loom.mappings.TurtleDraw.Turn
-
Creates a new Turn command.
- turn(float) - Method in class com.corajr.loom.mappings.TurtleState
-
Turns the turtle by the specified angle in radians.
- Turtle - Class in com.corajr.loom.mappings
-
- Turtle(PApplet) - Constructor for class com.corajr.loom.mappings.Turtle
-
Create a new Turtle with a given PApplet.
- turtle - Variable in class com.corajr.loom.Pattern
-
- TurtleDraw - Class in com.corajr.loom.mappings
-
Classes for various drawing commands with a "turtle" that remembers the
drawing state.
- TurtleDraw() - Constructor for class com.corajr.loom.mappings.TurtleDraw
-
- TurtleDraw.Compound - Class in com.corajr.loom.mappings
-
Combines multiple draw commands into one operation.
- TurtleDraw.Forward - Class in com.corajr.loom.mappings
-
Draw forward by a specified amount and move the turtle to the new
location.
- TurtleDraw.Move - Class in com.corajr.loom.mappings
-
Move the turtle by a certain amount without drawing anything.
- TurtleDraw.Pop - Class in com.corajr.loom.mappings
-
Pop a stored position and heading off of the turtle's stack.
- TurtleDraw.Push - Class in com.corajr.loom.mappings
-
Push the current position and heading onto the turtle's stack.
- TurtleDraw.Turn - Class in com.corajr.loom.mappings
-
Rotate the turtle by a specified amount.
- TurtleDrawCommand - Class in com.corajr.loom.mappings
-
Defines the basis for a
Turtle
's drawing commands.
- TurtleDrawCommand() - Constructor for class com.corajr.loom.mappings.TurtleDrawCommand
-
- turtleDrawCommands - Variable in class com.corajr.loom.transforms.LsysRewriter
-
- TurtleState - Class in com.corajr.loom.mappings
-
- TurtleState(PositionHeading, BlockingDeque<PositionHeading>) - Constructor for class com.corajr.loom.mappings.TurtleState
-
Creates a new TurtleState (immutable).
- valueOf(String) - Static method in enum com.corajr.loom.Pattern.MappingType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.corajr.loom.time.Scheduler.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.corajr.loom.util.MidiTools.Instrument
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.corajr.loom.util.MidiTools.Note
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.corajr.loom.util.MidiTools.Percussion
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.corajr.loom.Pattern.MappingType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.corajr.loom.time.Scheduler.State
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.corajr.loom.util.MidiTools.Instrument
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.corajr.loom.util.MidiTools.Note
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.corajr.loom.util.MidiTools.Percussion
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- VERSION - Static variable in class com.corajr.loom.Loom
-
- version() - Static method in class com.corajr.loom.Loom
-
return the version of the library.