diff --git a/gradint-build/Makefile b/gradint-build/Makefile index d2e4ece9c5d8dec836fad34fe6d5df0af8574e06..d78d4a3879c3487982b0cc692b9cc94d62677026 100644 --- a/gradint-build/Makefile +++ b/gradint-build/Makefile @@ -1,5 +1,5 @@ # This file is part of the source code of -# gradint v0.9948 (c) 2002-2010 Silas S. Brown. GPL v3+. +# gradint v0.9949 (c) 2002-2010 Silas S. Brown. GPL v3+. # 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 diff --git a/gradint-build/src/booktime.py b/gradint-build/src/booktime.py index a2fa96e05adbab99f2f74f4154aa71e470a9f7e4..402c93d572c589eb1d37c12b4417b7c5f740ff2c 100644 --- a/gradint-build/src/booktime.py +++ b/gradint-build/src/booktime.py @@ -1,5 +1,5 @@ # This file is part of the source code of -# gradint v0.9948 (c) 2002-2010 Silas S. Brown. GPL v3+. +# gradint v0.9949 (c) 2002-2010 Silas S. Brown. GPL v3+. # 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 diff --git a/gradint-build/src/filescan.py b/gradint-build/src/filescan.py index bf87caa0943f8a7f87acf924e9306a2f252825d3..0417aa213311854683481548db5df6e001c6c147 100644 --- a/gradint-build/src/filescan.py +++ b/gradint-build/src/filescan.py @@ -1,5 +1,5 @@ # This file is part of the source code of -# gradint v0.9948 (c) 2002-2010 Silas S. Brown. GPL v3+. +# gradint v0.9949 (c) 2002-2010 Silas S. Brown. GPL v3+. # 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 diff --git a/gradint-build/src/frontend.py b/gradint-build/src/frontend.py index ca068996a02f63a7ffb34742434a0dcf9d7e09de..4d03ebb815e8e6c362b10a93c5a248aec8f7444c 100644 --- a/gradint-build/src/frontend.py +++ b/gradint-build/src/frontend.py @@ -1,5 +1,5 @@ # This file is part of the source code of -# gradint v0.9948 (c) 2002-2010 Silas S. Brown. GPL v3+. +# gradint v0.9949 (c) 2002-2010 Silas S. Brown. GPL v3+. # 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 diff --git a/gradint-build/src/lessonplan.py b/gradint-build/src/lessonplan.py index 432c9d831d1ff01a2b4ee1235a8f1700da0b76cb..04048badde7832d6769ad44a5c0cd0d5bf70ada5 100644 --- a/gradint-build/src/lessonplan.py +++ b/gradint-build/src/lessonplan.py @@ -1,5 +1,5 @@ # This file is part of the source code of -# gradint v0.9948 (c) 2002-2010 Silas S. Brown. GPL v3+. +# gradint v0.9949 (c) 2002-2010 Silas S. Brown. GPL v3+. # 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 diff --git a/gradint-build/src/loop.py b/gradint-build/src/loop.py index 6470df224f26d4d6be8dbca42b12101ca32d7874..3dca3976afc09b3de06a89dcf7b622d403892d84 100644 --- a/gradint-build/src/loop.py +++ b/gradint-build/src/loop.py @@ -1,5 +1,5 @@ # This file is part of the source code of -# gradint v0.9948 (c) 2002-2010 Silas S. Brown. GPL v3+. +# gradint v0.9949 (c) 2002-2010 Silas S. Brown. GPL v3+. # 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 diff --git a/gradint-build/src/makeevent.py b/gradint-build/src/makeevent.py index 25d97c4a0a10214720f9fa2eada27fefae3699ee..ce9f089c10e75ed1114caf969fc1bd0c329325a9 100644 --- a/gradint-build/src/makeevent.py +++ b/gradint-build/src/makeevent.py @@ -1,5 +1,5 @@ # This file is part of the source code of -# gradint v0.9948 (c) 2002-2010 Silas S. Brown. GPL v3+. +# gradint v0.9949 (c) 2002-2010 Silas S. Brown. GPL v3+. # 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 @@ -243,16 +243,18 @@ if partialsDirectory: ff=open(partialsDirectory+os.sep+f,"rb") amend = [] while True: + fftell = ff.tell() char = ff.read(1) if not "0"<=char<="9": break - size,fname = (char+ff.readline()).strip(wsp).split(None,1) + size,fname = (char+ff.readline(256)).strip(wsp).split(None,1) + try: size=int(size) + except: break # binary just happened to start with "0"-"9" addFile(fname) - size=int(size) amend.append(l+os.sep+v+os.sep+fname) audioDataPartials[l+os.sep+v+os.sep+fname] = (f,offset,size) offset += size - for k in amend: audioDataPartials[k]=(audioDataPartials[k][0],audioDataPartials[k][1]+ff.tell()-1,audioDataPartials[k][2]) - del ff, amend, offset + for k in amend: audioDataPartials[k]=(audioDataPartials[k][0],audioDataPartials[k][1]+fftell,audioDataPartials[k][2]) + del ff,amend,offset if partials_raw_mode: if not f.endswith(extsep+"raw"): return elif not f.endswith(dotwav) or f.endswith(dotmp3): return diff --git a/gradint-build/src/play.py b/gradint-build/src/play.py index 44eaa1b7623e784bf29822917b335c508b78d1d9..ff38f779e56abee252ec7ed0309736fa14cda405 100644 --- a/gradint-build/src/play.py +++ b/gradint-build/src/play.py @@ -1,5 +1,5 @@ # This file is part of the source code of -# gradint v0.9948 (c) 2002-2010 Silas S. Brown. GPL v3+. +# gradint v0.9949 (c) 2002-2010 Silas S. Brown. GPL v3+. # 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 diff --git a/gradint-build/src/recording.py b/gradint-build/src/recording.py index 9f0f28bad115a5ed20320e859d3aca3c02444c4a..159173497c052a6e7800d6b645e80ebaa630a08a 100644 --- a/gradint-build/src/recording.py +++ b/gradint-build/src/recording.py @@ -1,5 +1,5 @@ # This file is part of the source code of -# gradint v0.9948 (c) 2002-2010 Silas S. Brown. GPL v3+. +# gradint v0.9949 (c) 2002-2010 Silas S. Brown. GPL v3+. # 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 diff --git a/gradint-build/src/sequence.py b/gradint-build/src/sequence.py index 7f6054c7ae333174d65abd6ebeb3d0a4042dd6ec..ceb279496e258922855f142f79f5cb109fbc1807 100644 --- a/gradint-build/src/sequence.py +++ b/gradint-build/src/sequence.py @@ -1,5 +1,5 @@ # This file is part of the source code of -# gradint v0.9948 (c) 2002-2010 Silas S. Brown. GPL v3+. +# gradint v0.9949 (c) 2002-2010 Silas S. Brown. GPL v3+. # 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 diff --git a/gradint-build/src/synth.py b/gradint-build/src/synth.py index 2d5f1dc565d9c6241a27bd72970ef49c6ed780b5..eb807061d3dfb17e539f534e0c92294269dcfc97 100644 --- a/gradint-build/src/synth.py +++ b/gradint-build/src/synth.py @@ -1,5 +1,5 @@ # This file is part of the source code of -# gradint v0.9948 (c) 2002-2010 Silas S. Brown. GPL v3+. +# gradint v0.9949 (c) 2002-2010 Silas S. Brown. GPL v3+. # 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 diff --git a/gradint-build/src/system.py b/gradint-build/src/system.py index 4aaeebe91611cf8ef298bc65ba141ca73a93fa95..d796c405c1c8a5079d1811625538e6b4b06dea43 100644 --- a/gradint-build/src/system.py +++ b/gradint-build/src/system.py @@ -1,5 +1,5 @@ # This file is part of the source code of -# gradint v0.9948 (c) 2002-2010 Silas S. Brown. GPL v3+. +# gradint v0.9949 (c) 2002-2010 Silas S. Brown. GPL v3+. # 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 diff --git a/gradint-build/src/top.py b/gradint-build/src/top.py index fe1af7752acfb4d4787ad1fdcb4eed749d679875..170f1d43855925aa91e222f9b8b1a24fa1c5ecd3 100644 --- a/gradint-build/src/top.py +++ b/gradint-build/src/top.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -program_name = "gradint v0.9948 (c) 2002-2010 Silas S. Brown. GPL v3+." +program_name = "gradint v0.9949 (c) 2002-2010 Silas S. Brown. GPL v3+." # 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 diff --git a/gradint-build/thindown.py b/gradint-build/thindown.py index 7b9983654fbc5f78521f6aba32fe1f99365c58eb..e4620f1f61f5cda3b9957e0f98f9aa59d9a5c5e7 100644 --- a/gradint-build/thindown.py +++ b/gradint-build/thindown.py @@ -1,5 +1,5 @@ # This file is part of the source code of -# gradint v0.9948 (c) 2002-2010 Silas S. Brown. GPL v3+. +# gradint v0.9949 (c) 2002-2010 Silas S. Brown. GPL v3+. # 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