-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<CsoundSynthesizer> | ||
<CsOptions> | ||
; Select audio/midi flags here according to platform | ||
-odac ;;;realtime audio out | ||
;-iadc ;;;uncomment -iadc if realtime audio input is needed too | ||
; For Non-realtime ouput leave only the line below: | ||
; -o evalstr.wav -W ;;; for file output any platform | ||
</CsOptions> | ||
<CsInstruments> | ||
sr = 44100 | ||
nchnls = 1 | ||
ksmps = 32 | ||
0dbfs = 1 | ||
; example by Stefano Cucchi - 2024 | ||
instr 2 | ||
ires1 evalstr {{ | ||
instr 3 | ||
a1 poscil p4, p5 | ||
out a1 | ||
endin | ||
}} | ||
print ires1 ; ... and returns 0 | ||
;call the new instrument | ||
;(note that the overall performance is extended) | ||
scoreline_i "i 3 0 3 .2 415" | ||
endin | ||
</CsInstruments> | ||
<CsScore> | ||
i2 0 1 | ||
</CsScore> | ||
</CsoundSynthesizer> |