This repository has been archived on 2024-06-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
coffee.pygments/tests/examplefiles/sc/example.scd.output
Oleh Prypin 6f43092173
Also add auto-updatable output-based tests to examplefiles (#1689)
Co-authored-by: Georg Brandl <georg@python.org>
2021-01-20 10:48:45 +01:00

495 lines
12 KiB
Text
Generated

'Instr' Name.Other
'(' Punctuation
'"cs.fm.BasicFM"' Literal.String.Double
',' Punctuation
' ' Text
'{' Punctuation
'\n ' Text
'arg' Keyword.Declaration
' ' Text
'freq' Name.Other
' ' Text
'=' Operator
' ' Text
'440' Literal.Number.Integer
',' Punctuation
'\n ' Text
'amp' Name.Other
' ' Text
'=' Operator
' ' Text
'0.9' Literal.Number.Float
',' Punctuation
'\n ' Text
'gate' Name.Other
' ' Text
'=' Operator
' ' Text
'0' Literal.Number.Integer
',' Punctuation
'\n ' Text
'carrierFreqRatio' Name.Other
' ' Text
'=' Operator
' ' Text
'1.0' Literal.Number.Float
',' Punctuation
'\n ' Text
'modulatorFreqRatio' Name.Other
' ' Text
'=' Operator
' ' Text
'1.0' Literal.Number.Float
',' Punctuation
'\n ' Text
'// not sure if having these defaults here actually does anything.\n' Comment.Single
' ' Text
'modEnvShape' Name.Other
' ' Text
'=' Operator
' ' Text
'Env' Name.Other
'.' Punctuation
'adsr' Name.Other
'(' Punctuation
'\n ' Text
'attackTime' Name.Other
':' Operator
' ' Text
'0.05' Literal.Number.Float
',' Punctuation
'\n ' Text
'decayTime' Name.Other
':' Operator
' ' Text
'0.1' Literal.Number.Float
',' Punctuation
'\n ' Text
'sustainLevel' Name.Other
':' Operator
' ' Text
'0.5' Literal.Number.Float
' ' Text
'*' Operator
' ' Text
'amp' Name.Other
',' Punctuation
'\n ' Text
'releaseTime' Name.Other
':' Operator
' ' Text
'0.1' Literal.Number.Float
',' Punctuation
'\n ' Text
'peakLevel' Name.Other
':' Operator
' ' Text
'amp' Name.Other
',' Punctuation
'\n ' Text
'curve' Name.Other
':' Operator
' ' Text
'[' Punctuation
'4' Literal.Number.Integer
',' Punctuation
' ' Text
'-' Operator
'4' Literal.Number.Integer
',' Punctuation
' ' Text
'-' Operator
'2' Literal.Number.Integer
']' Punctuation
'\n ' Text
')' Punctuation
',' Punctuation
'\n ' Text
'carrierEnvShape' Name.Other
' ' Text
'=' Operator
' ' Text
'Env' Name.Other
'.' Punctuation
'adsr' Name.Other
'(' Punctuation
'\n ' Text
'attackTime' Name.Other
':' Operator
' ' Text
'0.05' Literal.Number.Float
',' Punctuation
'\n ' Text
'decayTime' Name.Other
':' Operator
' ' Text
'0.1' Literal.Number.Float
',' Punctuation
'\n ' Text
'sustainLevel' Name.Other
':' Operator
' ' Text
'0.5' Literal.Number.Float
' ' Text
'*' Operator
' ' Text
'amp' Name.Other
',' Punctuation
'\n ' Text
'releaseTime' Name.Other
':' Operator
' ' Text
'0.1' Literal.Number.Float
',' Punctuation
'\n ' Text
'peakLevel' Name.Other
':' Operator
' ' Text
'amp' Name.Other
',' Punctuation
'\n ' Text
'curve' Name.Other
':' Operator
' ' Text
'[' Punctuation
'4' Literal.Number.Integer
',' Punctuation
' ' Text
'-' Operator
'4' Literal.Number.Integer
',' Punctuation
' ' Text
'-' Operator
'2' Literal.Number.Integer
']' Punctuation
'\n ' Text
')' Punctuation
';' Punctuation
'\n\n ' Text
'var' Keyword.Declaration
' ' Text
'carrier' Name.Other
',' Punctuation
'\n ' Text
'modulator' Name.Other
',' Punctuation
'\n ' Text
'carrierEnv' Name.Other
',' Punctuation
'\n ' Text
'modEnv' Name.Other
',' Punctuation
'\n ' Text
'out' Name.Other
';' Punctuation
'\n\n ' Text
'modEnv' Name.Other
' ' Text
'=' Operator
' ' Text
'EnvGen' Name.Other
'.' Punctuation
'kr' Name.Other
'(' Punctuation
'\n ' Text
'envelope' Name.Other
':' Operator
' ' Text
'modEnvShape' Name.Other
',' Punctuation
'\n ' Text
'gate' Name.Other
':' Operator
' ' Text
'gate' Name.Other
'\n ' Text
')' Punctuation
';' Punctuation
'\n \n ' Text
'modulator' Name.Other
' ' Text
'=' Operator
' ' Text
'modEnv' Name.Other
' ' Text
'*' Operator
' ' Text
'SinOsc' Name.Other
'.' Punctuation
'ar' Name.Other
'(' Punctuation
'freq' Name.Other
' ' Text
'*' Operator
' ' Text
'modulatorFreqRatio' Name.Other
')' Punctuation
';' Punctuation
'\n \n ' Text
'// carrier sustains until noteoff\n' Comment.Single
' ' Text
'carrierEnvShape' Name.Other
'.' Punctuation
'releaseNode' Name.Other
' ' Text
'=' Operator
' ' Text
'2' Literal.Number.Integer
';' Punctuation
'\n\n ' Text
'carrierEnv' Name.Other
' ' Text
'=' Operator
' ' Text
'EnvGen' Name.Other
'.' Punctuation
'kr' Name.Other
'(' Punctuation
'\n ' Text
'envelope' Name.Other
':' Operator
' ' Text
'carrierEnvShape' Name.Other
',' Punctuation
'\n ' Text
'gate' Name.Other
':' Operator
' ' Text
'gate' Name.Other
'\n ' Text
')' Punctuation
';' Punctuation
'\n\n ' Text
'carrier' Name.Other
' ' Text
'=' Operator
' ' Text
'carrierEnv' Name.Other
' ' Text
'*' Operator
' ' Text
'SinOsc' Name.Other
'.' Punctuation
'ar' Name.Other
'(' Punctuation
'\n ' Text
'(' Punctuation
'freq' Name.Other
' ' Text
'*' Operator
' ' Text
'carrierFreqRatio' Name.Other
')' Punctuation
' ' Text
'+' Operator
' ' Text
'(' Punctuation
'modulator' Name.Other
' ' Text
'*' Operator
' ' Text
'freq' Name.Other
')' Punctuation
'\n ' Text
')' Punctuation
';' Punctuation
'\n\n ' Text
'// free synth when both carrier and modulator envelopes are done\n' Comment.Single
' ' Text
'FreeSelf' Name.Other
'.' Punctuation
'kr' Name.Other
'(' Punctuation
'Done' Name.Other
'.' Punctuation
'kr' Name.Other
'(' Punctuation
'carrierEnv' Name.Other
')' Punctuation
' ' Text
'+' Operator
' ' Text
'Done' Name.Other
'.' Punctuation
'kr' Name.Other
'(' Punctuation
'modEnv' Name.Other
')' Punctuation
' ' Text
'-' Operator
' ' Text
'1' Literal.Number.Integer
')' Punctuation
';' Punctuation
'\n\n ' Text
'out' Name.Other
' ' Text
'=' Operator
' ' Text
'amp' Name.Other
' ' Text
'*' Operator
' ' Text
'carrier' Name.Other
';' Punctuation
'\n' Text
'}' Punctuation
',' Punctuation
' ' Text
'[' Punctuation
'\n ' Text
'\\freq' Literal.String.Symbol
'.' Punctuation
'asSpec' Name.Other
'(' Punctuation
')' Punctuation
',' Punctuation
'\n ' Text
'\\amp' Literal.String.Symbol
'.' Punctuation
'asSpec' Name.Other
'(' Punctuation
')' Punctuation
',' Punctuation
'\n ' Text
'\\nil' Literal.String.Symbol
',' Punctuation
'\n ' Text
'ControlSpec' Name.Other
'(' Punctuation
'0.1' Literal.Number.Float
',' Punctuation
' ' Text
'10' Literal.Number.Integer
')' Punctuation
',' Punctuation
'\n ' Text
'ControlSpec' Name.Other
'(' Punctuation
'0.1' Literal.Number.Float
',' Punctuation
' ' Text
'10' Literal.Number.Integer
')' Punctuation
',' Punctuation
'\n ' Text
'EnvSpec' Name.Other
'(' Punctuation
'Env' Name.Other
'.' Punctuation
'adsr' Name.Other
'(' Punctuation
'\n ' Text
'attackTime' Name.Other
':' Operator
' ' Text
'0.05' Literal.Number.Float
',' Punctuation
'\n ' Text
'decayTime' Name.Other
':' Operator
' ' Text
'0.1' Literal.Number.Float
',' Punctuation
'\n ' Text
'sustainLevel' Name.Other
':' Operator
' ' Text
'0.8' Literal.Number.Float
',' Punctuation
'\n ' Text
'releaseTime' Name.Other
':' Operator
' ' Text
'0.1' Literal.Number.Float
',' Punctuation
'\n ' Text
'peakLevel' Name.Other
':' Operator
' ' Text
'1.0' Literal.Number.Float
',' Punctuation
'\n ' Text
'curve' Name.Other
':' Operator
' ' Text
'[' Punctuation
'4' Literal.Number.Integer
',' Punctuation
' ' Text
'-' Operator
'4' Literal.Number.Integer
',' Punctuation
' ' Text
'-' Operator
'2' Literal.Number.Integer
']' Punctuation
'\n ' Text
')' Punctuation
')' Punctuation
',' Punctuation
'\n ' Text
'EnvSpec' Name.Other
'(' Punctuation
'Env' Name.Other
'.' Punctuation
'adsr' Name.Other
'(' Punctuation
'\n ' Text
'attackTime' Name.Other
':' Operator
' ' Text
'0.05' Literal.Number.Float
',' Punctuation
'\n ' Text
'decayTime' Name.Other
':' Operator
' ' Text
'0.1' Literal.Number.Float
',' Punctuation
'\n ' Text
'sustainLevel' Name.Other
':' Operator
' ' Text
'0.8' Literal.Number.Float
',' Punctuation
'\n ' Text
'releaseTime' Name.Other
':' Operator
' ' Text
'0.1' Literal.Number.Float
',' Punctuation
'\n ' Text
'peakLevel' Name.Other
':' Operator
' ' Text
'1.0' Literal.Number.Float
',' Punctuation
'\n ' Text
'curve' Name.Other
':' Operator
' ' Text
'[' Punctuation
'4' Literal.Number.Integer
',' Punctuation
' ' Text
'-' Operator
'4' Literal.Number.Integer
',' Punctuation
' ' Text
'-' Operator
'2' Literal.Number.Integer
']' Punctuation
'\n ' Text
')' Punctuation
')' Punctuation
'\n' Text
']' Punctuation
')' Punctuation
';' Punctuation
'\n' Text