diff --git a/src/commonMain/kotlin/org/wysko/kmidi/ArrayInputStream.kt b/src/commonMain/kotlin/org/wysko/kmidi/ArrayInputStream.kt index b773e6b..d59aaf9 100644 --- a/src/commonMain/kotlin/org/wysko/kmidi/ArrayInputStream.kt +++ b/src/commonMain/kotlin/org/wysko/kmidi/ArrayInputStream.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2023 Jacob Wysko + * Copyright © 2024 Jacob Wysko * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/commonMain/kotlin/org/wysko/kmidi/SmpteTimecode.kt b/src/commonMain/kotlin/org/wysko/kmidi/SmpteTimecode.kt index 03c44bb..debd883 100644 --- a/src/commonMain/kotlin/org/wysko/kmidi/SmpteTimecode.kt +++ b/src/commonMain/kotlin/org/wysko/kmidi/SmpteTimecode.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2023 Jacob Wysko + * Copyright © 2024 Jacob Wysko * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/commonMain/kotlin/org/wysko/kmidi/midi/Arc.kt b/src/commonMain/kotlin/org/wysko/kmidi/midi/Arc.kt index 4fc23db..30a7406 100644 --- a/src/commonMain/kotlin/org/wysko/kmidi/midi/Arc.kt +++ b/src/commonMain/kotlin/org/wysko/kmidi/midi/Arc.kt @@ -1,3 +1,20 @@ +/* + * Copyright © 2024 Jacob Wysko + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.wysko.kmidi.midi import org.wysko.kmidi.midi.event.NoteEvent diff --git a/src/commonMain/kotlin/org/wysko/kmidi/midi/ParameterNumber.kt b/src/commonMain/kotlin/org/wysko/kmidi/midi/ParameterNumber.kt index 3e3c8e1..63dd124 100644 --- a/src/commonMain/kotlin/org/wysko/kmidi/midi/ParameterNumber.kt +++ b/src/commonMain/kotlin/org/wysko/kmidi/midi/ParameterNumber.kt @@ -1,3 +1,20 @@ +/* + * Copyright © 2024 Jacob Wysko + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.wysko.kmidi.midi /** diff --git a/src/commonMain/kotlin/org/wysko/kmidi/midi/StandardMidiFile.kt b/src/commonMain/kotlin/org/wysko/kmidi/midi/StandardMidiFile.kt index 61e9aef..b87157b 100644 --- a/src/commonMain/kotlin/org/wysko/kmidi/midi/StandardMidiFile.kt +++ b/src/commonMain/kotlin/org/wysko/kmidi/midi/StandardMidiFile.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2023 Jacob Wysko + * Copyright © 2024 Jacob Wysko * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/commonMain/kotlin/org/wysko/kmidi/midi/StandardMidiFileWriter.kt b/src/commonMain/kotlin/org/wysko/kmidi/midi/StandardMidiFileWriter.kt index 175eff1..f9a3747 100644 --- a/src/commonMain/kotlin/org/wysko/kmidi/midi/StandardMidiFileWriter.kt +++ b/src/commonMain/kotlin/org/wysko/kmidi/midi/StandardMidiFileWriter.kt @@ -1,3 +1,20 @@ +/* + * Copyright © 2024 Jacob Wysko + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.wysko.kmidi.midi import org.wysko.kmidi.midi.StandardMidiFile.Header.Division.MetricalTime diff --git a/src/commonMain/kotlin/org/wysko/kmidi/midi/TimeBasedSequence.kt b/src/commonMain/kotlin/org/wysko/kmidi/midi/TimeBasedSequence.kt index 4a63337..db756eb 100644 --- a/src/commonMain/kotlin/org/wysko/kmidi/midi/TimeBasedSequence.kt +++ b/src/commonMain/kotlin/org/wysko/kmidi/midi/TimeBasedSequence.kt @@ -1,3 +1,20 @@ +/* + * Copyright © 2024 Jacob Wysko + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.wysko.kmidi.midi import org.wysko.kmidi.midi.event.Event diff --git a/src/commonMain/kotlin/org/wysko/kmidi/midi/TimedArc.kt b/src/commonMain/kotlin/org/wysko/kmidi/midi/TimedArc.kt index eb78fe3..7f61b6e 100644 --- a/src/commonMain/kotlin/org/wysko/kmidi/midi/TimedArc.kt +++ b/src/commonMain/kotlin/org/wysko/kmidi/midi/TimedArc.kt @@ -1,3 +1,20 @@ +/* + * Copyright © 2024 Jacob Wysko + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.wysko.kmidi.midi import org.wysko.kmidi.midi.event.NoteEvent diff --git a/src/commonMain/kotlin/org/wysko/kmidi/midi/analysis/Polyphony.kt b/src/commonMain/kotlin/org/wysko/kmidi/midi/analysis/Polyphony.kt index a8348d5..ce832b3 100644 --- a/src/commonMain/kotlin/org/wysko/kmidi/midi/analysis/Polyphony.kt +++ b/src/commonMain/kotlin/org/wysko/kmidi/midi/analysis/Polyphony.kt @@ -1,3 +1,20 @@ +/* + * Copyright © 2024 Jacob Wysko + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.wysko.kmidi.midi.analysis import org.wysko.kmidi.midi.event.NoteEvent diff --git a/src/commonMain/kotlin/org/wysko/kmidi/midi/builder/Builder.kt b/src/commonMain/kotlin/org/wysko/kmidi/midi/builder/Builder.kt index 68a059c..df05dbc 100644 --- a/src/commonMain/kotlin/org/wysko/kmidi/midi/builder/Builder.kt +++ b/src/commonMain/kotlin/org/wysko/kmidi/midi/builder/Builder.kt @@ -1,3 +1,20 @@ +/* + * Copyright © 2024 Jacob Wysko + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.wysko.kmidi.midi.builder internal interface Builder { diff --git a/src/commonMain/kotlin/org/wysko/kmidi/midi/builder/Note.kt b/src/commonMain/kotlin/org/wysko/kmidi/midi/builder/Note.kt index 89f919c..248281a 100644 --- a/src/commonMain/kotlin/org/wysko/kmidi/midi/builder/Note.kt +++ b/src/commonMain/kotlin/org/wysko/kmidi/midi/builder/Note.kt @@ -1,3 +1,20 @@ +/* + * Copyright © 2024 Jacob Wysko + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.wysko.kmidi.midi.builder private const val NOTES_IN_OCTAVE = 12 diff --git a/src/commonMain/kotlin/org/wysko/kmidi/midi/builder/StandardMidiFileBuilder.kt b/src/commonMain/kotlin/org/wysko/kmidi/midi/builder/StandardMidiFileBuilder.kt index cfa69af..c6f47b3 100644 --- a/src/commonMain/kotlin/org/wysko/kmidi/midi/builder/StandardMidiFileBuilder.kt +++ b/src/commonMain/kotlin/org/wysko/kmidi/midi/builder/StandardMidiFileBuilder.kt @@ -1,3 +1,20 @@ +/* + * Copyright © 2024 Jacob Wysko + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.wysko.kmidi.midi.builder import org.wysko.kmidi.midi.StandardMidiFile diff --git a/src/commonMain/kotlin/org/wysko/kmidi/midi/builder/TrackBuilder.kt b/src/commonMain/kotlin/org/wysko/kmidi/midi/builder/TrackBuilder.kt index 1709cc3..ebc8bdd 100644 --- a/src/commonMain/kotlin/org/wysko/kmidi/midi/builder/TrackBuilder.kt +++ b/src/commonMain/kotlin/org/wysko/kmidi/midi/builder/TrackBuilder.kt @@ -1,3 +1,20 @@ +/* + * Copyright © 2024 Jacob Wysko + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.wysko.kmidi.midi.builder import org.wysko.kmidi.SmpteTimecode diff --git a/src/commonMain/kotlin/org/wysko/kmidi/midi/event/ChannelPressureEvent.kt b/src/commonMain/kotlin/org/wysko/kmidi/midi/event/ChannelPressureEvent.kt index 2b1c76a..8f9992b 100644 --- a/src/commonMain/kotlin/org/wysko/kmidi/midi/event/ChannelPressureEvent.kt +++ b/src/commonMain/kotlin/org/wysko/kmidi/midi/event/ChannelPressureEvent.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2023 Jacob Wysko + * Copyright © 2024 Jacob Wysko * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/commonMain/kotlin/org/wysko/kmidi/midi/event/ControlChangeEvent.kt b/src/commonMain/kotlin/org/wysko/kmidi/midi/event/ControlChangeEvent.kt index 17811cf..c99d083 100644 --- a/src/commonMain/kotlin/org/wysko/kmidi/midi/event/ControlChangeEvent.kt +++ b/src/commonMain/kotlin/org/wysko/kmidi/midi/event/ControlChangeEvent.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2023 Jacob Wysko + * Copyright © 2024 Jacob Wysko * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/commonMain/kotlin/org/wysko/kmidi/midi/event/Event.kt b/src/commonMain/kotlin/org/wysko/kmidi/midi/event/Event.kt index 78ad60d..cbafccd 100644 --- a/src/commonMain/kotlin/org/wysko/kmidi/midi/event/Event.kt +++ b/src/commonMain/kotlin/org/wysko/kmidi/midi/event/Event.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2023 Jacob Wysko + * Copyright © 2024 Jacob Wysko * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/commonMain/kotlin/org/wysko/kmidi/midi/event/MetaEvent.kt b/src/commonMain/kotlin/org/wysko/kmidi/midi/event/MetaEvent.kt index 034e001..9289219 100644 --- a/src/commonMain/kotlin/org/wysko/kmidi/midi/event/MetaEvent.kt +++ b/src/commonMain/kotlin/org/wysko/kmidi/midi/event/MetaEvent.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2023 Jacob Wysko + * Copyright © 2024 Jacob Wysko * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/commonMain/kotlin/org/wysko/kmidi/midi/event/MidiConstants.kt b/src/commonMain/kotlin/org/wysko/kmidi/midi/event/MidiConstants.kt index 2ff0a77..6323ea5 100644 --- a/src/commonMain/kotlin/org/wysko/kmidi/midi/event/MidiConstants.kt +++ b/src/commonMain/kotlin/org/wysko/kmidi/midi/event/MidiConstants.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2023 Jacob Wysko + * Copyright © 2024 Jacob Wysko * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/commonMain/kotlin/org/wysko/kmidi/midi/event/MidiEvent.kt b/src/commonMain/kotlin/org/wysko/kmidi/midi/event/MidiEvent.kt index 0f45198..0e7bef0 100644 --- a/src/commonMain/kotlin/org/wysko/kmidi/midi/event/MidiEvent.kt +++ b/src/commonMain/kotlin/org/wysko/kmidi/midi/event/MidiEvent.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2023 Jacob Wysko + * Copyright © 2024 Jacob Wysko * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/commonMain/kotlin/org/wysko/kmidi/midi/event/NoteEvent.kt b/src/commonMain/kotlin/org/wysko/kmidi/midi/event/NoteEvent.kt index f9296c1..b248c7d 100644 --- a/src/commonMain/kotlin/org/wysko/kmidi/midi/event/NoteEvent.kt +++ b/src/commonMain/kotlin/org/wysko/kmidi/midi/event/NoteEvent.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2023 Jacob Wysko + * Copyright © 2024 Jacob Wysko * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/commonMain/kotlin/org/wysko/kmidi/midi/event/PitchWheelChangeEvent.kt b/src/commonMain/kotlin/org/wysko/kmidi/midi/event/PitchWheelChangeEvent.kt index 9688296..f8ec3c6 100644 --- a/src/commonMain/kotlin/org/wysko/kmidi/midi/event/PitchWheelChangeEvent.kt +++ b/src/commonMain/kotlin/org/wysko/kmidi/midi/event/PitchWheelChangeEvent.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2023 Jacob Wysko + * Copyright © 2024 Jacob Wysko * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/commonMain/kotlin/org/wysko/kmidi/midi/event/PolyphonicKeyPressureEvent.kt b/src/commonMain/kotlin/org/wysko/kmidi/midi/event/PolyphonicKeyPressureEvent.kt index d42d652..d2ddecd 100644 --- a/src/commonMain/kotlin/org/wysko/kmidi/midi/event/PolyphonicKeyPressureEvent.kt +++ b/src/commonMain/kotlin/org/wysko/kmidi/midi/event/PolyphonicKeyPressureEvent.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2023 Jacob Wysko + * Copyright © 2024 Jacob Wysko * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/commonMain/kotlin/org/wysko/kmidi/midi/event/ProgramEvent.kt b/src/commonMain/kotlin/org/wysko/kmidi/midi/event/ProgramEvent.kt index 06c34ba..b208a4e 100644 --- a/src/commonMain/kotlin/org/wysko/kmidi/midi/event/ProgramEvent.kt +++ b/src/commonMain/kotlin/org/wysko/kmidi/midi/event/ProgramEvent.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2023 Jacob Wysko + * Copyright © 2024 Jacob Wysko * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/commonMain/kotlin/org/wysko/kmidi/midi/event/SysexEvent.kt b/src/commonMain/kotlin/org/wysko/kmidi/midi/event/SysexEvent.kt index 126b2c4..67d58e5 100644 --- a/src/commonMain/kotlin/org/wysko/kmidi/midi/event/SysexEvent.kt +++ b/src/commonMain/kotlin/org/wysko/kmidi/midi/event/SysexEvent.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2023 Jacob Wysko + * Copyright © 2024 Jacob Wysko * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/commonMain/kotlin/org/wysko/kmidi/midi/event/VirtualCompositePitchBendEvent.kt b/src/commonMain/kotlin/org/wysko/kmidi/midi/event/VirtualCompositePitchBendEvent.kt index 45691b2..e8b7e8c 100644 --- a/src/commonMain/kotlin/org/wysko/kmidi/midi/event/VirtualCompositePitchBendEvent.kt +++ b/src/commonMain/kotlin/org/wysko/kmidi/midi/event/VirtualCompositePitchBendEvent.kt @@ -1,3 +1,20 @@ +/* + * Copyright © 2024 Jacob Wysko + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.wysko.kmidi.midi.event import org.wysko.kmidi.midi.event.VirtualParameterNumberChangeEvent.VirtualPitchBendSensitivityChangeEvent diff --git a/src/commonMain/kotlin/org/wysko/kmidi/midi/event/VirtualEvent.kt b/src/commonMain/kotlin/org/wysko/kmidi/midi/event/VirtualEvent.kt index b4b2774..dddae4f 100644 --- a/src/commonMain/kotlin/org/wysko/kmidi/midi/event/VirtualEvent.kt +++ b/src/commonMain/kotlin/org/wysko/kmidi/midi/event/VirtualEvent.kt @@ -1,3 +1,20 @@ +/* + * Copyright © 2024 Jacob Wysko + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.wysko.kmidi.midi.event import org.wysko.kmidi.midi.StandardMidiFile diff --git a/src/commonMain/kotlin/org/wysko/kmidi/midi/event/VirtualParameterNumberChangeEvent.kt b/src/commonMain/kotlin/org/wysko/kmidi/midi/event/VirtualParameterNumberChangeEvent.kt index 5de9c92..e98576a 100644 --- a/src/commonMain/kotlin/org/wysko/kmidi/midi/event/VirtualParameterNumberChangeEvent.kt +++ b/src/commonMain/kotlin/org/wysko/kmidi/midi/event/VirtualParameterNumberChangeEvent.kt @@ -1,3 +1,20 @@ +/* + * Copyright © 2024 Jacob Wysko + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.wysko.kmidi.midi.event import org.wysko.kmidi.midi.NonRegisteredParameterNumber diff --git a/src/commonMain/kotlin/org/wysko/kmidi/midi/reader/StandardMidiFileHeaderReader.kt b/src/commonMain/kotlin/org/wysko/kmidi/midi/reader/StandardMidiFileHeaderReader.kt index 5fdb37e..8b2e215 100644 --- a/src/commonMain/kotlin/org/wysko/kmidi/midi/reader/StandardMidiFileHeaderReader.kt +++ b/src/commonMain/kotlin/org/wysko/kmidi/midi/reader/StandardMidiFileHeaderReader.kt @@ -1,3 +1,20 @@ +/* + * Copyright © 2024 Jacob Wysko + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.wysko.kmidi.midi.reader import org.wysko.kmidi.ArrayInputStream diff --git a/src/commonMain/kotlin/org/wysko/kmidi/midi/reader/StandardMidiFileReader.kt b/src/commonMain/kotlin/org/wysko/kmidi/midi/reader/StandardMidiFileReader.kt index 115201a..4aa93da 100644 --- a/src/commonMain/kotlin/org/wysko/kmidi/midi/reader/StandardMidiFileReader.kt +++ b/src/commonMain/kotlin/org/wysko/kmidi/midi/reader/StandardMidiFileReader.kt @@ -1,3 +1,20 @@ +/* + * Copyright © 2024 Jacob Wysko + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.wysko.kmidi.midi.reader import org.wysko.kmidi.ArrayInputStream diff --git a/src/commonMain/kotlin/org/wysko/kmidi/midi/reader/StandardMidiFileReadingException.kt b/src/commonMain/kotlin/org/wysko/kmidi/midi/reader/StandardMidiFileReadingException.kt index 8425208..151417a 100644 --- a/src/commonMain/kotlin/org/wysko/kmidi/midi/reader/StandardMidiFileReadingException.kt +++ b/src/commonMain/kotlin/org/wysko/kmidi/midi/reader/StandardMidiFileReadingException.kt @@ -1,3 +1,20 @@ +/* + * Copyright © 2024 Jacob Wysko + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.wysko.kmidi.midi.reader import org.wysko.kmidi.midi.event.MetaEvent diff --git a/src/commonMain/kotlin/org/wysko/kmidi/midi/reader/StandardMidiFileTracksReader.kt b/src/commonMain/kotlin/org/wysko/kmidi/midi/reader/StandardMidiFileTracksReader.kt index c444392..fba9cf9 100644 --- a/src/commonMain/kotlin/org/wysko/kmidi/midi/reader/StandardMidiFileTracksReader.kt +++ b/src/commonMain/kotlin/org/wysko/kmidi/midi/reader/StandardMidiFileTracksReader.kt @@ -1,3 +1,20 @@ +/* + * Copyright © 2024 Jacob Wysko + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.wysko.kmidi.midi.reader import org.wysko.kmidi.ArrayInputStream diff --git a/src/commonMain/kotlin/org/wysko/kmidi/util/BitwiseOperations.kt b/src/commonMain/kotlin/org/wysko/kmidi/util/BitwiseOperations.kt index 598265c..0deeb81 100644 --- a/src/commonMain/kotlin/org/wysko/kmidi/util/BitwiseOperations.kt +++ b/src/commonMain/kotlin/org/wysko/kmidi/util/BitwiseOperations.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2023 Jacob Wysko + * Copyright © 2024 Jacob Wysko * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/commonTest/kotlin/org/wysko/kmidi/ArrayInputStreamTest.kt b/src/commonTest/kotlin/org/wysko/kmidi/ArrayInputStreamTest.kt index 1a3bce4..493ce25 100644 --- a/src/commonTest/kotlin/org/wysko/kmidi/ArrayInputStreamTest.kt +++ b/src/commonTest/kotlin/org/wysko/kmidi/ArrayInputStreamTest.kt @@ -1,3 +1,20 @@ +/* + * Copyright © 2024 Jacob Wysko + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.wysko.kmidi import junit.framework.TestCase.assertEquals diff --git a/src/commonTest/kotlin/org/wysko/kmidi/midi/SmfExamples.kt b/src/commonTest/kotlin/org/wysko/kmidi/midi/SmfExamples.kt index 7ade790..d6e3956 100644 --- a/src/commonTest/kotlin/org/wysko/kmidi/midi/SmfExamples.kt +++ b/src/commonTest/kotlin/org/wysko/kmidi/midi/SmfExamples.kt @@ -1,3 +1,20 @@ +/* + * Copyright © 2024 Jacob Wysko + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.wysko.kmidi.midi object SmfExamples { diff --git a/src/commonTest/kotlin/org/wysko/kmidi/midi/StandardMidiFileBuilderTest.kt b/src/commonTest/kotlin/org/wysko/kmidi/midi/StandardMidiFileBuilderTest.kt index b198a4c..6856a47 100644 --- a/src/commonTest/kotlin/org/wysko/kmidi/midi/StandardMidiFileBuilderTest.kt +++ b/src/commonTest/kotlin/org/wysko/kmidi/midi/StandardMidiFileBuilderTest.kt @@ -1,3 +1,20 @@ +/* + * Copyright © 2024 Jacob Wysko + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.wysko.kmidi.midi import org.wysko.kmidi.midi.StandardMidiFile.Header.Format.Format1 diff --git a/src/commonTest/kotlin/org/wysko/kmidi/midi/StandardMidiFileReaderTest.kt b/src/commonTest/kotlin/org/wysko/kmidi/midi/StandardMidiFileReaderTest.kt index 8e1d332..b28f509 100644 --- a/src/commonTest/kotlin/org/wysko/kmidi/midi/StandardMidiFileReaderTest.kt +++ b/src/commonTest/kotlin/org/wysko/kmidi/midi/StandardMidiFileReaderTest.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2023 Jacob Wysko + * Copyright © 2024 Jacob Wysko * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/commonTest/kotlin/org/wysko/kmidi/midi/StandardMidiFileWriterTest.kt b/src/commonTest/kotlin/org/wysko/kmidi/midi/StandardMidiFileWriterTest.kt index 5f11586..833575f 100644 --- a/src/commonTest/kotlin/org/wysko/kmidi/midi/StandardMidiFileWriterTest.kt +++ b/src/commonTest/kotlin/org/wysko/kmidi/midi/StandardMidiFileWriterTest.kt @@ -1,3 +1,20 @@ +/* + * Copyright © 2024 Jacob Wysko + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.wysko.kmidi.midi import junit.framework.TestCase.assertEquals diff --git a/src/commonTest/kotlin/org/wysko/kmidi/midi/TimeBasedSequenceTest.kt b/src/commonTest/kotlin/org/wysko/kmidi/midi/TimeBasedSequenceTest.kt index fcac34d..b5d0b82 100644 --- a/src/commonTest/kotlin/org/wysko/kmidi/midi/TimeBasedSequenceTest.kt +++ b/src/commonTest/kotlin/org/wysko/kmidi/midi/TimeBasedSequenceTest.kt @@ -1,3 +1,20 @@ +/* + * Copyright © 2024 Jacob Wysko + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.wysko.kmidi.midi import org.junit.Before diff --git a/src/commonTest/kotlin/org/wysko/kmidi/midi/analysis/PolyphonyTest.kt b/src/commonTest/kotlin/org/wysko/kmidi/midi/analysis/PolyphonyTest.kt index 087b490..71d05cd 100644 --- a/src/commonTest/kotlin/org/wysko/kmidi/midi/analysis/PolyphonyTest.kt +++ b/src/commonTest/kotlin/org/wysko/kmidi/midi/analysis/PolyphonyTest.kt @@ -1,3 +1,20 @@ +/* + * Copyright © 2024 Jacob Wysko + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.wysko.kmidi.midi.analysis import org.wysko.kmidi.midi.event.NoteEvent diff --git a/src/jvmMain/kotlin/org/wysko/kmidi/StandardMidiFileReader.kt b/src/jvmMain/kotlin/org/wysko/kmidi/StandardMidiFileReader.kt index c23aee0..3f46de5 100644 --- a/src/jvmMain/kotlin/org/wysko/kmidi/StandardMidiFileReader.kt +++ b/src/jvmMain/kotlin/org/wysko/kmidi/StandardMidiFileReader.kt @@ -1,7 +1,5 @@ -@file:JvmName("StandardMidiFileReaderJvm") - /* - * Copyright © 2023 Jacob Wysko + * Copyright © 2024 Jacob Wysko * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,6 +15,8 @@ * limitations under the License. */ +@file:JvmName("StandardMidiFileReaderJvm") + package org.wysko.kmidi import org.wysko.kmidi.midi.StandardMidiFile diff --git a/src/jvmTest/kotlin/org/wysko/kmidi/midi/ArcTest.kt b/src/jvmTest/kotlin/org/wysko/kmidi/midi/ArcTest.kt index cbaa59a..b35b7ea 100644 --- a/src/jvmTest/kotlin/org/wysko/kmidi/midi/ArcTest.kt +++ b/src/jvmTest/kotlin/org/wysko/kmidi/midi/ArcTest.kt @@ -1,3 +1,20 @@ +/* + * Copyright © 2024 Jacob Wysko + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.wysko.kmidi.midi import org.junit.Before diff --git a/src/jvmTest/kotlin/org/wysko/kmidi/midi/JVMStandardMidiFileReaderTest.kt b/src/jvmTest/kotlin/org/wysko/kmidi/midi/JVMStandardMidiFileReaderTest.kt index bba5fbd..f041130 100644 --- a/src/jvmTest/kotlin/org/wysko/kmidi/midi/JVMStandardMidiFileReaderTest.kt +++ b/src/jvmTest/kotlin/org/wysko/kmidi/midi/JVMStandardMidiFileReaderTest.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2023 Jacob Wysko + * Copyright © 2024 Jacob Wysko * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.