Skip to content

Commit

Permalink
chore: Add copyright header to all source files
Browse files Browse the repository at this point in the history
  • Loading branch information
wyskoj committed Aug 1, 2024
1 parent 5f90ad1 commit b7bfdb3
Show file tree
Hide file tree
Showing 42 changed files with 428 additions and 20 deletions.
2 changes: 1 addition & 1 deletion src/commonMain/kotlin/org/wysko/kmidi/ArrayInputStream.kt
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/commonMain/kotlin/org/wysko/kmidi/SmpteTimecode.kt
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
17 changes: 17 additions & 0 deletions src/commonMain/kotlin/org/wysko/kmidi/midi/Arc.kt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
17 changes: 17 additions & 0 deletions src/commonMain/kotlin/org/wysko/kmidi/midi/ParameterNumber.kt
Original file line number Diff line number Diff line change
@@ -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

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
17 changes: 17 additions & 0 deletions src/commonMain/kotlin/org/wysko/kmidi/midi/TimeBasedSequence.kt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
17 changes: 17 additions & 0 deletions src/commonMain/kotlin/org/wysko/kmidi/midi/TimedArc.kt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
17 changes: 17 additions & 0 deletions src/commonMain/kotlin/org/wysko/kmidi/midi/analysis/Polyphony.kt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
17 changes: 17 additions & 0 deletions src/commonMain/kotlin/org/wysko/kmidi/midi/builder/Builder.kt
Original file line number Diff line number Diff line change
@@ -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<T> {
Expand Down
17 changes: 17 additions & 0 deletions src/commonMain/kotlin/org/wysko/kmidi/midi/builder/Note.kt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
17 changes: 17 additions & 0 deletions src/commonMain/kotlin/org/wysko/kmidi/midi/builder/TrackBuilder.kt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/commonMain/kotlin/org/wysko/kmidi/midi/event/Event.kt
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
17 changes: 17 additions & 0 deletions src/commonMain/kotlin/org/wysko/kmidi/midi/event/VirtualEvent.kt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading

0 comments on commit b7bfdb3

Please sign in to comment.