Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
56c85399
Commit
56c85399
authored
Dec 14, 1994
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
This file (which is Guido's) was somehow missing...
parent
89fc5e1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
64 additions
and
0 deletions
+64
-0
Mac/Lib/SoundMgr.py
Mac/Lib/SoundMgr.py
+64
-0
No files found.
Mac/Lib/SoundMgr.py
0 → 100644
View file @
56c85399
#Constants for the MacOS Sound Manager
nullCmd
=
0
initCmd
=
1
freeCmd
=
2
quietCmd
=
3
flushCmd
=
4
reInitCmd
=
5
waitCmd
=
10
pauseCmd
=
11
resumeCmd
=
12
callBackCmd
=
13
syncCmd
=
14
emptyCmd
=
15
tickleCmd
=
20
requestNextCmd
=
21
howOftenCmd
=
22
wakeUpCmd
=
23
availableCmd
=
24
versionCmd
=
25
totalLoadCmd
=
26
loadCmd
=
27
scaleCmd
=
30
tempoCmd
=
31
freqDurationCmd
=
40
restCmd
=
41
freqCmd
=
42
ampCmd
=
43
timbreCmd
=
44
getAmpCmd
=
45
waveTableCmd
=
60
phaseCmd
=
61
soundCmd
=
80
bufferCmd
=
81
rateCmd
=
82
continueCmd
=
83
doubleBufferCmd
=
84
getRateCmd
=
85
sizeCmd
=
90
convertCmd
=
91
stdQLength
=
128
dataOffsetFlag
=
0x8000
waveInitChannelMask
=
0x07
waveInitChannel0
=
0x04
waveInitChannel1
=
0x05
waveInitChannel2
=
0x06
waveInitChannel3
=
0x07
stdSH
=
0x00
# Standard sound header encode value
extSH
=
0xFF
# Extended sound header encode value
cmpSH
=
0xFE
# Compressed sound header encode value
initSRate22k
=
0x20
# 22k sampling rate - sampleSynth only
initSRate44k
=
0x30
# 44k sampling rate - sampleSynth only
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment