Csound

1 program Added 2025-10-28T05:54:55Z Model: x-ai/grok-4-fastTemp: 0.4 Evidence Report issue View issues
Aliases: —
Provenance: commit 5e8f83bebb · authored 2025-10-28T06:54:55+01:00 · model x-ai/grok-4-fast

Sources mentioning this language

7 sources · pl_id: pl/csound
LLM (this repo) · 1PldbLinguistPygmentsWikipediaHyperpolyglotWikidata · Q259347

Wikipedia infobox

Pulled from the wikimedia/structured-wikipedia snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and pl_fact.csv for the long-table provenance.

Designed byJohn Fitch · Steven Yi · Victor Lazzarini
First appeared1986
LicenseLGPL 2.1 or later
Homepagehttp://csound.com

Extensions claimed by this language

4 claims. Each row is one upstream assertion with its strength. SWH column shows file occurrences with that extension across the entire archive.
ExtensionSourceStrengthSWH
.orclinguistprimary804.8K files
.orcpygmentsprimary804.8K files
.udolinguistsecondary4.3K files
.udopygmentssecondary4.3K files

Related languages

Mond (0.17)Arend (0.15)Candid (0.14)Strand (0.14)Xtend (0.14)

LLM-contributed programs

Simple Sine Tone Generator

Provenance: commit 5e8f83bebb · authored 2025-10-28T06:54:55+01:00 · model x-ai/grok-4-fast · Temp 0.4
code.csd · added: 2025-10-28T05:54:55Z
<CsoundSynthesizer>
<CsInstruments>
sr = 44100
kr = 4410
ksmps = 10
nchnls = 1

instr 1
aout oscil 10000, 440, 1
out aout
endin
</CsInstruments>
<CsScore>
f1 0 8192 10 1
i1 0 1
e
</CsScore>
</CsoundSynthesizer>

Real programs from Software Heritage

1 sample mined from derived_datasets/<date>/contents/*.parquet, byte-verified against the SWH archive. Citation-grade qualified SWHIDs preserved.
901.orc · 1110 B · ext .orc · seen 14× in SWH
via unique-primary
swh:1:cnt:eaf5836473c41331c732448204d2c36d99f576f5;origin=https://github.com/JoelNash-Xuuki/DAW;anchor=swh:1:rev:90abcd0c88a64d3b0dc33bdfd93aacd30c69b7c5;path=/src/901.orc
Open in SWH · Raw bytes (SWH) · GitHub raw
Show source
sr        =         44100
kr        =         4410
ksmps     =         10
nchnls    =         1

			instr 	901
inotedur	=		p3
imaxamp		=		ampdb(88)
icarrfreq	=		80
imodfreq	=		55
ilowndx		=		0
indxdiff	=		5-0

; PARAMETERS DEFINING THE ADSR AMPLITUDE ENVELOPE
; TIMES ARE A PERCENTAGE OF p3
;   attack amp  = p9     attack length  = p14
;   decay amp   = p10    decay length   = p15
;   sustain amp = p11    sustain length = p16
;   release amp = p12    release length = p17
;   end amp     = p13

; PARAMETERS DEFINING THE ADSR FREQ DEVIATION ENVELOPE
; TIMES ARE A PERCENTAGE OF p3
;   attack amp  = p18    attack length  = p23
;   decay amp   = p19    decay length   = p24
;   sustain amp = p20    sustain length = p25
;   release amp = p21    release length = p26
;   end amp     = p22

aampenv		linseg	.75, .125*p3, .8, .125*p3, 1.0, .25*p3, .15, .5*p3, .0
adevenv		linseg	1.0, .125*p3, .0, .25*p3, .0, .25*p3, .0, .25*p3, .0
amodosc		oscili	(ilowndx+indxdiff*adevenv)*imodfreq, imodfreq, 1
acarosc		oscili	imaxamp*aampenv, icarrfreq+amodosc, 1
			out		acarosc
			endin

Contribute — propose a file extension

Tell us where to find evidence about Csound (mapped to pl/csound). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Csound/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← cson Csound Document →