Thread: [Japi-cvs] SF.net SVN: japi:[831] progs/jirus/trunk/src/prj/net/sf/jirus
Status: Beta
Brought to you by:
christianhujer
|
From: <chr...@us...> - 2009-02-14 23:02:23
|
Revision: 831
http://japi.svn.sourceforge.net/japi/?rev=831&view=rev
Author: christianhujer
Date: 2009-02-14 21:34:43 +0000 (Sat, 14 Feb 2009)
Log Message:
-----------
Updated copyright statements in source code.
Modified Paths:
--------------
progs/jirus/trunk/src/prj/net/sf/jirus/Jirus.java
progs/jirus/trunk/src/prj/net/sf/jirus/MyReceiver.java
Modified: progs/jirus/trunk/src/prj/net/sf/jirus/Jirus.java
===================================================================
--- progs/jirus/trunk/src/prj/net/sf/jirus/Jirus.java 2009-02-14 21:34:26 UTC (rev 830)
+++ progs/jirus/trunk/src/prj/net/sf/jirus/Jirus.java 2009-02-14 21:34:43 UTC (rev 831)
@@ -1,3 +1,20 @@
+/*
+ * Copyright (C) 2009 Christian Hujer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
package net.sf.jirus;
import java.util.List;
Modified: progs/jirus/trunk/src/prj/net/sf/jirus/MyReceiver.java
===================================================================
--- progs/jirus/trunk/src/prj/net/sf/jirus/MyReceiver.java 2009-02-14 21:34:26 UTC (rev 830)
+++ progs/jirus/trunk/src/prj/net/sf/jirus/MyReceiver.java 2009-02-14 21:34:43 UTC (rev 831)
@@ -1,3 +1,20 @@
+/*
+ * Copyright (C) 2009 Christian Hujer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
package net.sf.jirus;
import javax.sound.midi.InvalidMidiDataException;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-22 10:06:38
|
Revision: 1047
http://japi.svn.sourceforge.net/japi/?rev=1047&view=rev
Author: christianhujer
Date: 2009-02-22 10:06:35 +0000 (Sun, 22 Feb 2009)
Log Message:
-----------
Fixed checkstyle issues.
Modified Paths:
--------------
progs/jirus/trunk/src/prj/net/sf/jirus/Jirus.java
progs/jirus/trunk/src/prj/net/sf/jirus/MyReceiver.java
Modified: progs/jirus/trunk/src/prj/net/sf/jirus/Jirus.java
===================================================================
--- progs/jirus/trunk/src/prj/net/sf/jirus/Jirus.java 2009-02-22 10:06:20 UTC (rev 1046)
+++ progs/jirus/trunk/src/prj/net/sf/jirus/Jirus.java 2009-02-22 10:06:35 UTC (rev 1047)
@@ -39,9 +39,13 @@
// - Allow setups and have them changed dynamically during runtime.
public class Jirus extends BasicCommand {
+ /** Secondary channel for the split. */
public static final int SPLIT_CHANNEL = 0x02;
+
+ /** Split key note. */
public static final int SPLIT_KEY = 0x30;
+ /** Range of midi notes. */
public static final int MIDI_NOTE_RANGE = 128;
/** Main Program.
Modified: progs/jirus/trunk/src/prj/net/sf/jirus/MyReceiver.java
===================================================================
--- progs/jirus/trunk/src/prj/net/sf/jirus/MyReceiver.java 2009-02-22 10:06:20 UTC (rev 1046)
+++ progs/jirus/trunk/src/prj/net/sf/jirus/MyReceiver.java 2009-02-22 10:06:35 UTC (rev 1047)
@@ -28,18 +28,26 @@
*/
public class MyReceiver implements Receiver {
+ /** Note states (on / off). */
private final boolean[] noteState = new boolean[Jirus.MIDI_NOTE_RANGE];
+ /** Currently palying note. */
private int playingNote = 0xFF;
+ /** Receiver to which the data will be forwarded. */
private final Receiver receiver;
+ /** Creates MyReceiver.
+ * @param receiver Receiver to which the data shall be forwarded.
+ */
public MyReceiver(final Receiver receiver) {
this.receiver = receiver;
}
- public void close() {}
+ /** {@inheritDoc} */
+ public void close() { }
+ /** {@inheritDoc} */
public void send(final MidiMessage message, final long timeStamp) {
try {
final byte[] messageData = message.getMessage();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-03-02 02:22:12
|
Revision: 1244
http://japi.svn.sourceforge.net/japi/?rev=1244&view=rev
Author: christianhujer
Date: 2009-03-02 01:31:00 +0000 (Mon, 02 Mar 2009)
Log Message:
-----------
Add @since information for classes and packages.
Modified Paths:
--------------
progs/jirus/trunk/src/prj/net/sf/jirus/Jirus.java
progs/jirus/trunk/src/prj/net/sf/jirus/MyReceiver.java
Modified: progs/jirus/trunk/src/prj/net/sf/jirus/Jirus.java
===================================================================
--- progs/jirus/trunk/src/prj/net/sf/jirus/Jirus.java 2009-03-02 01:30:47 UTC (rev 1243)
+++ progs/jirus/trunk/src/prj/net/sf/jirus/Jirus.java 2009-03-02 01:31:00 UTC (rev 1244)
@@ -33,6 +33,7 @@
* It is especially designed for being used live, e.g. on stage.
*
* @author <a href="mailto:ch...@ri...">Christian Hujer</a>
+ * @since 0.1
*/
// Requirements / Wishlist
// - Allow more complex routing than just a simple keyboard split.
Modified: progs/jirus/trunk/src/prj/net/sf/jirus/MyReceiver.java
===================================================================
--- progs/jirus/trunk/src/prj/net/sf/jirus/MyReceiver.java 2009-03-02 01:30:47 UTC (rev 1243)
+++ progs/jirus/trunk/src/prj/net/sf/jirus/MyReceiver.java 2009-03-02 01:31:00 UTC (rev 1244)
@@ -25,6 +25,7 @@
/**
* Class Description.
* @author <a href="mailto:ch...@ri...">Christian Hujer</a>
+ * @since 0.1
*/
public class MyReceiver implements Receiver {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|