From bc6ed0b48783c0407320f41cf1983ccc8f477a16 Mon Sep 17 00:00:00 2001 From: Thorin Date: Fri, 19 Mar 2010 05:11:44 +0000 Subject: added copyrights --- diff --git a/City/City.py b/City/City.py index 766206d..689b1b3 100755 --- a/City/City.py +++ b/City/City.py @@ -1,8 +1,22 @@ #!/usr/bin/env python -""" -Turn all of this into executable functions -Then move it to run.py -""" + +#This python module is part of the Jam2Jam XO Activity, March, 2010 +# +#Copyright (C) 2010 Thorin Kerr & Andrew Brown +# +#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 2 of the License, or 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, write to the Free Software +#Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. from CsHelpers import * import CsSched, Parameters, OrcBuilder, Tracks diff --git a/City/CsHelpers.py b/City/CsHelpers.py index 800dae1..862c17b 100755 --- a/City/CsHelpers.py +++ b/City/CsHelpers.py @@ -1,4 +1,22 @@ #! /usr/bin/env python +#This python module is part of the Jam2Jam XO Activity, March, 2010 +# +#Copyright (C) 2010 Thorin Kerr & Andrew Brown +# +#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 2 of the License, or 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, write to the Free Software +#Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + """ This file should be imported by all other files, so-as to defined cross-module global variables.""" print "loading CsHelpers" import os,sys diff --git a/City/CsSched.py b/City/CsSched.py index 14e5588..1dc6ab2 100755 --- a/City/CsSched.py +++ b/City/CsSched.py @@ -1,5 +1,21 @@ #!/usr/bin/env python - +#This python module is part of the Jam2Jam XO Activity, March, 2010 +# +#Copyright (C) 2010 Thorin Kerr & Andrew Brown +# +#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 2 of the License, or 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, write to the Free Software +#Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. import csnd, heapq from CsHelpers import * diff --git a/City/OrcBuilder.py b/City/OrcBuilder.py index 776cc9e..b1005f2 100755 --- a/City/OrcBuilder.py +++ b/City/OrcBuilder.py @@ -1,3 +1,20 @@ +#This python module is part of the Jam2Jam XO Activity, March, 2010 +# +#Copyright (C) 2010 Thorin Kerr & Andrew Brown +# +#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 2 of the License, or 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, write to the Free Software +#Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #!/usr/bin/env python import csnd, sys diff --git a/City/Parameters.py b/City/Parameters.py index 000405e..ca64d7f 100755 --- a/City/Parameters.py +++ b/City/Parameters.py @@ -1,4 +1,21 @@ #!/usr/bin/env python +#This python module is part of the Jam2Jam XO Activity, March, 2010 +# +#Copyright (C) 2010 Thorin Kerr & Andrew Brown +# +#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 2 of the License, or 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, write to the Free Software +#Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. """Describes an object for storing parameter values. All Controllers should write to this object. All Readers should read from the object""" diff --git a/City/Tracks.py b/City/Tracks.py index de9e3d9..43ab986 100755 --- a/City/Tracks.py +++ b/City/Tracks.py @@ -1,7 +1,23 @@ #!/usr/bin/env python +#This python module is part of the Jam2Jam XO Activity, March, 2010 +# +#Copyright (C) 2010 Thorin Kerr & Andrew Brown +# +#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 2 of the License, or 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, write to the Free Software +#Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. """ This module defines Notes, Scores, Beats and Players and a convenience class for midi file parsing. -TEST THIS PLAYER! """ #Note has no instrument number diff --git a/City/midiImport.py b/City/midiImport.py index 2473343..6c36d21 100755 --- a/City/midiImport.py +++ b/City/midiImport.py @@ -1,18 +1,18 @@ #!/usr/bin/env python -""" -Will Ware -Dec 6 2001, 10:41 pm -http://groups.google.com/group/alt.sources/msg/0c5fc523e050c35e - -midi.py -- MIDI classes and parser in Python -Placed into the public domain in December 2001 by Will Ware -Python MIDI classes: meaningful data structures that represent MIDI events -and other objects. You can read MIDI files to create such objects, or -generate a collection of objects and use them to write a MIDI file. -Helpful MIDI info: -http://crystal.apana.org.au/ghansper/midi_introduction/midi_file_form... -http://www.argonet.co.uk/users/lenny/midi/mfile.html -""" +# +#Will Ware +#Dec 6 2001, 10:41 pm +#http://groups.google.com/group/alt.sources/msg/0c5fc523e050c35e +# +#midi.py -- MIDI classes and parser in Python +#Placed into the public domain in December 2001 by Will Ware +#Python MIDI classes: meaningful data structures that represent MIDI events +#and other objects. You can read MIDI files to create such objects, or +#generate a collection of objects and use them to write a MIDI file. +#Helpful MIDI info: +#http://crystal.apana.org.au/ghansper/midi_introduction/midi_file_form... +#http://www.argonet.co.uk/users/lenny/midi/mfile.html + import sys, string, types, exceptions debugflag = 0 diff --git a/InstrumentPanel.py b/InstrumentPanel.py index 03f0110..9cc303f 100644 --- a/InstrumentPanel.py +++ b/InstrumentPanel.py @@ -1,3 +1,21 @@ +#This python module is part of the Jam2Jam XO Activity, March, 2010 +# +#Copyright (C) 2010 Thorin Kerr & Andrew Brown +# +#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 2 of the License, or 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, write to the Free Software +#Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + import gtk from sugar.graphics import style @@ -16,4 +34,4 @@ class InstrumentPanel(gtk.EventBox): def show(self, text): self.status_label.set_text(text) - \ No newline at end of file + diff --git a/J2JToolbar.py b/J2JToolbar.py index 550fa78..2e66eaa 100755 --- a/J2JToolbar.py +++ b/J2JToolbar.py @@ -1,3 +1,21 @@ +#This python module is part of the Jam2Jam XO Activity, March, 2010 +# +#Copyright (C) 2010 Thorin Kerr & Andrew Brown +# +#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 2 of the License, or 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, write to the Free Software +#Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + import gtk, gst, thread, tempfile, time, os import pygame import olpcgames diff --git a/activity.py b/activity.py index bba8d80..63b031a 100755 --- a/activity.py +++ b/activity.py @@ -1,3 +1,21 @@ +#This python module is part of the Jam2Jam XO Activity, March, 2010 +# +#Copyright (C) 2010 Thorin Kerr & Andrew Brown +# +#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 2 of the License, or 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, write to the Free Software +#Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + import pygame import olpcgames from sugar.graphics.toolbutton import ToolButton diff --git a/run.py b/run.py index dd0a105..a7d4db4 100644 --- a/run.py +++ b/run.py @@ -1,5 +1,23 @@ #! /usr/bin/env python +#This python module is part of the Jam2Jam XO Activity, March, 2010 +# +#Copyright (C) 2010 Thorin Kerr & Andrew Brown +# +#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 2 of the License, or 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, write to the Free Software +#Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + import subprocess import logging, olpcgames import olpcgames.pausescreen as pausescreen diff --git a/setup.py b/setup.py index c86765f..5ee421c 100755 --- a/setup.py +++ b/setup.py @@ -1,4 +1,22 @@ #!/usr/bin/env python +#This python module is part of the Jam2Jam XO Activity, March, 2010 +# +#Copyright (C) 2010 Thorin Kerr & Andrew Brown +# +#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 2 of the License, or 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, write to the Free Software +#Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + from sugar.activity import bundlebuilder if __name__ == "__main__": bundlebuilder.start("Jam2Jam") -- cgit v0.9.1