Skip to content

Commit

Permalink
Validation of py opcodes for csound 7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fggp committed Sep 3, 2024
1 parent 712b653 commit d614ade
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion 7.x/src/py/examples/cabrera/python0.csd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<CsoundSynthesizer>
<CsOptions>
-odac
-odac -m0
</CsOptions>
<CsInstruments>
Expand Down
2 changes: 1 addition & 1 deletion 7.x/src/py/examples/cabrera/python1.csd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<CsoundSynthesizer>
<CsOptions>
-odac
-odac -m0
</CsOptions>
<CsInstruments>
Expand Down
2 changes: 1 addition & 1 deletion 7.x/src/py/examples/cabrera/python2.csd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<CsoundSynthesizer>
<CsOptions>
-odac
-odac -m0
</CsOptions>
<CsInstruments>
Expand Down
2 changes: 1 addition & 1 deletion 7.x/src/py/examples/cabrera/python3.csd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<CsoundSynthesizer>
<CsOptions>
-odac
-odac -m0
</CsOptions>
<CsInstruments>
Expand Down
2 changes: 1 addition & 1 deletion 7.x/src/py/examples/cabrera/python4.csd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<CsoundSynthesizer>
<CsOptions>
-odac
-odac -m0
</CsOptions>
<CsInstruments>
Expand Down
2 changes: 1 addition & 1 deletion 7.x/src/py/examples/cabrera/python5.csd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<CsoundSynthesizer>
<CsOptions>
-odac
-odac -m0
</CsOptions>
<CsInstruments>
Expand Down
2 changes: 1 addition & 1 deletion 7.x/src/py/examples/cabrera/pythonlocal.csd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<CsoundSynthesizer>
<CsOptions>
-odac
-odac -m0
</CsOptions>
<CsInstruments>
Expand Down
2 changes: 1 addition & 1 deletion 7.x/src/py/examples/cabrera/pythonlocal2.csd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<CsoundSynthesizer>
<CsOptions>
-odac
-odac -m0
</CsOptions>
<CsInstruments>
Expand Down
4 changes: 2 additions & 2 deletions 7.x/src/py/examples/ievent.orc
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ p = _CSOUND_
print("\\n --> Python version number: {}\\n".format(sys.version_info[0]))
cs = ctcsound.Csound(pointer_=p)
for i in range(800):
cs.scoreEvent('i', [1, i * .2, 0.05, 6.8 + random() * 3, 70.0])
cs.scoreEvent('i', [1, i * .2, 0.05, 8.8 + random() * 3, 70.0])
cs.event(ctcsound.CS_INSTR_EVENT, [1, i*0.2, 0.05, 6.8 + random()*3, 70.0])
cs.event(ctcsound.CS_INSTR_EVENT, [1, i*0.2, 0.05, 8.8 + random()*3, 70.0])
}}

instr 1
Expand Down
2 changes: 1 addition & 1 deletion 7.x/src/py/examples/pyexect1.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
print 'zum'
print('zum')
2 changes: 1 addition & 1 deletion 7.x/src/py/examples/pyexect2.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
print 'pa'
print('pa')
2 changes: 1 addition & 1 deletion 7.x/src/py/examples/pyexect3.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
print 'zi'
print('zi')
2 changes: 1 addition & 1 deletion 7.x/src/py/examples/pyexect4.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
print 'zut'
print('zut')

0 comments on commit d614ade

Please sign in to comment.