-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #87 from bitwig/spotless
Use formatting tools for java code so its easier to deal with external contributors
- Loading branch information
Showing
71 changed files
with
2,411 additions
and
2,320 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,48 @@ | ||
package com.bitwig.dawproject; | ||
|
||
import jakarta.xml.bind.annotation.XmlElement; | ||
import jakarta.xml.bind.annotation.XmlRootElement; | ||
|
||
import com.bitwig.dawproject.timeline.Lanes; | ||
import com.bitwig.dawproject.timeline.Markers; | ||
import com.bitwig.dawproject.timeline.Points; | ||
import jakarta.xml.bind.annotation.XmlElement; | ||
import jakarta.xml.bind.annotation.XmlRootElement; | ||
|
||
/** Represents the main Arrangement timeline of a DAW. */ | ||
|
||
@XmlRootElement(name = "Arrangement") | ||
public class Arrangement extends Referenceable | ||
{ | ||
/** Automation data for time-signature inside this Arrangement. | ||
* <pre>{@code | ||
* <Arrangement> | ||
* <TimeSignatureAutomation target="id-of-TimeSignatureParameter" ... > | ||
* <TimeSignaturePoint time="0" numerator="7", denominator="8"/> | ||
* <TimeSignaturePoint time="21" numerator="4", denominator="4"/> | ||
* ... | ||
* </TimeSignatureAutomation> | ||
* </Arrangement> | ||
* }</pre> | ||
* */ | ||
@XmlElement(required = false, name = "TimeSignatureAutomation", type = Points.class) | ||
public Points timeSignatureAutomation; | ||
public class Arrangement extends Referenceable { | ||
/** | ||
* Automation data for time-signature inside this Arrangement. | ||
* | ||
* <pre>{@code | ||
* <Arrangement> | ||
* <TimeSignatureAutomation target="id-of-TimeSignatureParameter" ... > | ||
* <TimeSignaturePoint time="0" numerator="7", denominator="8"/> | ||
* <TimeSignaturePoint time="21" numerator="4", denominator="4"/> | ||
* ... | ||
* </TimeSignatureAutomation> | ||
* </Arrangement> | ||
* }</pre> | ||
*/ | ||
@XmlElement(required = false, name = "TimeSignatureAutomation", type = Points.class) | ||
public Points timeSignatureAutomation; | ||
|
||
/** Automation data for tempo inside this Arrangement, which will define the conversion between seconds and beats | ||
* at the root level. */ | ||
@XmlElement(required = false, name = "TempoAutomation", type = Points.class) | ||
public Points tempoAutomation; | ||
/** | ||
* Automation data for tempo inside this Arrangement, which will define the | ||
* conversion between seconds and beats at the root level. | ||
*/ | ||
@XmlElement(required = false, name = "TempoAutomation", type = Points.class) | ||
public Points tempoAutomation; | ||
|
||
/** Cue markers inside this arrangement */ | ||
@XmlElement(required = false, name = "Markers", type = Markers.class) | ||
public Markers markers; | ||
/** Cue markers inside this arrangement */ | ||
@XmlElement(required = false, name = "Markers", type = Markers.class) | ||
public Markers markers; | ||
|
||
/** The lanes of this arrangement. Generally this would contain another Lanes timeline for (and scoped to) each | ||
* track which would then contain all Note, Audio, and Automation timelines. */ | ||
@XmlElement(name = "Lanes", type = Lanes.class) | ||
public Lanes lanes; | ||
/** | ||
* The lanes of this arrangement. Generally this would contain another Lanes | ||
* timeline for (and scoped to) each track which would then contain all Note, | ||
* Audio, and Automation timelines. | ||
*/ | ||
@XmlElement(name = "Lanes", type = Lanes.class) | ||
public Lanes lanes; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.