[Japi-cvs] SF.net SVN: japi:[1002]
Status: Beta
Brought to you by:
christianhujer
|
From: <chr...@us...> - 2009-02-21 16:21:23
|
Revision: 1002
http://japi.svn.sourceforge.net/japi/?rev=1002&view=rev
Author: christianhujer
Date: 2009-02-21 16:21:18 +0000 (Sat, 21 Feb 2009)
Log Message:
-----------
Moved learning classes from midi library to midilearn program.
Added Paths:
-----------
progs/midilearn/trunk/src/prj/net/sf/japi/midilearn/Interval.java
progs/midilearn/trunk/src/prj/net/sf/japi/midilearn/IntervalTrainer.java
Removed Paths:
-------------
libs/midi/trunk/src/prj/net/sf/japi/midi/Interval.java
libs/midi/trunk/src/prj/net/sf/japi/midi/IntervalTrainer.java
Deleted: libs/midi/trunk/src/prj/net/sf/japi/midi/Interval.java
===================================================================
--- libs/midi/trunk/src/prj/net/sf/japi/midi/Interval.java 2009-02-20 21:22:29 UTC (rev 1001)
+++ libs/midi/trunk/src/prj/net/sf/japi/midi/Interval.java 2009-02-21 16:21:18 UTC (rev 1002)
@@ -1,47 +0,0 @@
-/*
- * Copyright (C) 2009 Christian Hujer.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-package net.sf.japi.midi;
-
-import java.util.Locale;
-import java.util.ResourceBundle;
-import org.jetbrains.annotations.NotNull;
-
-/** An Interval, used for the {@link IntervalTrainer}.
- * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
- */
-public class Interval {
-
- /** The distance of this interval, e.g. 0 for prime, 12 for octave. */
- private int distance;
-
- /** Returns the names of this interval in the current locale.
- * @return The names of this interval in the current locale.
- */
- public String[] getNames() {
- return ResourceBundle.getBundle("Interval").getString("I_" + distance + ".names").split(",");
- }
-
- /** Returns the names of this interval in the specified locale.
- * @param locale Locale in which to return the names.
- * @return The names of this interval in the specified locale.
- */
- public String[] getNames(@NotNull final Locale locale) {
- return ResourceBundle.getBundle("Interval", locale).getString("I_" + distance + ".names").split(",");
- }
-}
Deleted: libs/midi/trunk/src/prj/net/sf/japi/midi/IntervalTrainer.java
===================================================================
--- libs/midi/trunk/src/prj/net/sf/japi/midi/IntervalTrainer.java 2009-02-20 21:22:29 UTC (rev 1001)
+++ libs/midi/trunk/src/prj/net/sf/japi/midi/IntervalTrainer.java 2009-02-21 16:21:18 UTC (rev 1002)
@@ -1,28 +0,0 @@
-/*
- * Copyright (C) 2009 Christian Hujer.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-package net.sf.japi.midi;
-
-/** Training program for intervals.
- * Plays intervals and asks the user to tell the correct kind of interval.
- * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
- */
-public class IntervalTrainer {
-
-}
-
Copied: progs/midilearn/trunk/src/prj/net/sf/japi/midilearn/Interval.java (from rev 999, libs/midi/trunk/src/prj/net/sf/japi/midi/Interval.java)
===================================================================
--- progs/midilearn/trunk/src/prj/net/sf/japi/midilearn/Interval.java (rev 0)
+++ progs/midilearn/trunk/src/prj/net/sf/japi/midilearn/Interval.java 2009-02-21 16:21:18 UTC (rev 1002)
@@ -0,0 +1,46 @@
+/*
+ * 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.japi.midilearn;
+
+import java.util.Locale;
+import java.util.ResourceBundle;
+import org.jetbrains.annotations.NotNull;
+
+/** An Interval, used for the {@link IntervalTrainer}.
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
+ */
+public class Interval {
+
+ /** The distance of this interval, e.g. 0 for prime, 12 for octave. */
+ private int distance;
+
+ /** Returns the names of this interval in the current locale.
+ * @return The names of this interval in the current locale.
+ */
+ public String[] getNames() {
+ return ResourceBundle.getBundle("Interval").getString("I_" + distance + ".names").split(",");
+ }
+
+ /** Returns the names of this interval in the specified locale.
+ * @param locale Locale in which to return the names.
+ * @return The names of this interval in the specified locale.
+ */
+ public String[] getNames(@NotNull final Locale locale) {
+ return ResourceBundle.getBundle("Interval", locale).getString("I_" + distance + ".names").split(",");
+ }
+}
Property changes on: progs/midilearn/trunk/src/prj/net/sf/japi/midilearn/Interval.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ LF
Copied: progs/midilearn/trunk/src/prj/net/sf/japi/midilearn/IntervalTrainer.java (from rev 999, libs/midi/trunk/src/prj/net/sf/japi/midi/IntervalTrainer.java)
===================================================================
--- progs/midilearn/trunk/src/prj/net/sf/japi/midilearn/IntervalTrainer.java (rev 0)
+++ progs/midilearn/trunk/src/prj/net/sf/japi/midilearn/IntervalTrainer.java 2009-02-21 16:21:18 UTC (rev 1002)
@@ -0,0 +1,27 @@
+/*
+ * 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.japi.midilearn;
+
+/** Training program for intervals.
+ * Plays intervals and asks the user to tell the correct kind of interval.
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
+ */
+public class IntervalTrainer {
+
+}
+
Property changes on: progs/midilearn/trunk/src/prj/net/sf/japi/midilearn/IntervalTrainer.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ LF
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|