Overview
Comment: | Got diskin2 sample method partially working; it won't play all of the files, though |
---|---|
Timelines: | family | ancestors | descendants | both | feature/diskin2 |
Files: | files | file ages | folders |
SHA1: |
c9abf46a9f721b9b51b16e12834919fb |
User & Date: | brian on 2011-11-01 19:46:27 |
Other Links: | branch diff | manifest | tags |
Context
2011-11-03
| ||
18:34 | Fixed program to now handle notes with accidentals check-in: b5a8b20242 user: brian tags: feature/diskin2 | |
2011-11-01
| ||
19:46 | Got diskin2 sample method partially working; it won't play all of the files, though check-in: c9abf46a9f user: brian tags: feature/diskin2 | |
18:54 | Imported the todo list from MUS306 check-in: 072fa6ad30 user: brian tags: develop | |
Changes
Modified cfg.orc from [e60884eb39] to [6fbb6f8cb0].
1 2 3 4 | sr=44100 ksmps=20 nchnls=1 | < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | sr=44100 ksmps=20 nchnls=1 instr 3 inum = p5*100 if inum=105 then asig diskin2 "samples/bass/1.05.wav", 1 elseif inum=106 then asig diskin2 "samples/bass/1.06.wav", 1 elseif inum=107 then asig diskin2 "samples/bass/1.07.wav", 1 elseif inum=108 then asig diskin2 "samples/bass/1.08.wav", 1 elseif inum=108 then asig diskin2 "samples/bass/1.09.wav", 1 elseif inum=110 then asig diskin2 "samples/bass/1.10.wav", 1 elseif inum=111 then asig diskin2 "samples/bass/1.11.wav", 1 elseif inum=200 then asig diskin2 "samples/bass/2.00.wav", 1 elseif inum=201 then asig diskin2 "samples/bass/2.01.wav", 1 elseif inum=202 then asig diskin2 "samples/bass/2.02.wav", 1 elseif inum=203 then asig diskin2 "samples/bass/2.03.wav", 1 elseif inum=204 then asig diskin2 "samples/bass/2.04.wav", 1 elseif inum=205 then asig diskin2 "samples/bass/2.05.wav", 1 elseif inum=206 then asig diskin2 "samples/bass/2.06.wav", 1 elseif inum=207 then asig diskin2 "samples/bass/2.07.wav", 1 elseif inum=208 then asig diskin2 "samples/bass/2.08.wav", 1 elseif inum=209 then asig diskin2 "samples/bass/2.09.wav", 1 elseif inum=210 then asig diskin2 "samples/bass/2.10.wav", 1 elseif inum=211 then asig diskin2 "samples/bass/2.11.wav", 1 elseif inum=300 then asig diskin2 "samples/bass/3.00.wav", 1 elseif inum=301 then asig diskin2 "samples/bass/3.01.wav", 1 elseif inum=302 then asig diskin2 "samples/bass/3.02.wav", 1 elseif inum=303 then asig diskin2 "samples/bass/3.03.wav", 1 elseif inum=304 then asig diskin2 "samples/bass/3.04.wav", 1 elseif inum=305 then asig diskin2 "samples/bass/3.05.wav", 1 elseif inum=306 then asig diskin2 "samples/bass/3.06.wav", 1 elseif inum=307 then asig diskin2 "samples/bass/3.07.wav", 1 elseif inum=308 then asig diskin2 "samples/bass/3.08.wav", 1 elseif inum=309 then asig diskin2 "samples/bass/3.09.wav", 1 elseif inum=310 then asig diskin2 "samples/bass/3.10.wav", 1 elseif inum=311 then asig diskin2 "samples/bass/3.11.wav", 1 endif outs asig endin instr 1 asound pluck p4, cpspch(p5), cpspch(p6), p7, p8 p9 p10 out asound endin |
︙ | ︙ |
Modified spiffyscore.py from [791db3d131] to [7509ae0a18].
︙ | ︙ | |||
101 102 103 104 105 106 107 | "u": ["C/4 C/4 C/4 C/4"], }, }, }, }, "sync_test": { "body": { | | | | | | | | | | | | | | | 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 | "u": ["C/4 C/4 C/4 C/4"], }, }, }, }, "sync_test": { "body": { # "lead_instr": { # Instrument 'melody' # "score_line": "i1 %(time)f %(duration)f 7000 %(octave)d.%(note)s %(octave)d.%(note)s 0 6", # "octave": 8, # "duration": 30, # "grammars": { # Notes for this instrument to use in this piece # "u": ["A/4, B/4, C/4 D/4 (u)", "D/4' D/4' D/4' D/4' (v)"], # "v": ["C/4 C/4 C/4 C/4 (w)"], # "w": ["E/4 F/4 E/4 F/4 (u)"], # }, # }, "follow_instr": { # Instrument 'melody' "score_line": "i3 %(time)f %(duration)f 7000 %(octave)d.%(note)s", # "sync": "lead_instr", "octave": 2, "duration": 30, "grammars": { # Notes for this instrument to use in this piece "u": ["E F G E (v)"], "v": ["G A A A (e)", "G A A A (v)"], "e": ["B A G A (v)"], }, }, }, }, } print '''f1 0 512 10 1 f2 0 8192 10 .24 .64 .88 .76 .06 .5 .34 .08 |
︙ | ︙ |
Deleted todo.org version [510751b73f].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |