Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathanaël Lécaudé <natcl@hotmail.com>2007-08-23 20:39:47 (GMT)
committer Nathanaël Lécaudé <natcl@hotmail.com>2007-08-23 20:39:47 (GMT)
commit92600cf679c72e015be9d0893491c29a00f70c46 (patch)
tree1f80c22eaa43e91b448072c095f2f7dd31108f01
parent9fdf26da5c1600d77c061fb8e526e575c6e878ad (diff)
Changed temp orchestra file path
-rw-r--r--.gitignore2
-rwxr-xr-xsound/snd.py5
2 files changed, 4 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 23b426e..e57bdf8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,4 @@
Connect-*.xo
*.pyc
+*.kpf
.*.sw[op]
-*.kpf \ No newline at end of file
diff --git a/sound/snd.py b/sound/snd.py
index 3e94753..28416cf 100755
--- a/sound/snd.py
+++ b/sound/snd.py
@@ -4,7 +4,6 @@
# define breakpoints function
import os
-import csnd
orchlines = []
scorelines = []
@@ -12,6 +11,8 @@ instrlist = []
wavnum = [10]
fnum = [100]
+temp_path = env.get_profile_path() + '/pippy'
+
def quit(self):
perf.Stop()
@@ -90,7 +91,7 @@ def playWave(sound='horse', pitch=1, amplitude=1, loop=False, duration=1, startt
scorelines.append("i%ld %f %f %s\n" % (wavnum[0], float(starttime), float(duration), str(env)))
def audioOut():
- path = os.path.dirname(os.path.abspath(__file__))
+ path = temp_path
csd = open(path + "/temp.csd", "w")
csd.write("<CsoundSynthesizer>\n\n")
csd.write("<CsOptions>\n")