spiffyscore

Check-in [8293931a34]
Login
Overview
SHA1:8293931a343a1bb04950c215063b7c14e4495b6b
Date: 2011-11-03 19:23:05
User: brian
Comment:Added a very, very bad set of violin samples
Timelines: family | ancestors | descendants | both | develop
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2011-11-07
01:39
[4f872339ff] Altered the sample-based instruments to ine Csound string formatting instead of a billion if clauses to choose what file to play (user: brian, tags: develop)
2011-11-03
19:23
[8293931a34] Added a very, very bad set of violin samples (user: brian, tags: develop)
18:50
[0021a3fe22] Merged in diskin2 mode for cfg.orc (user: brian, tags: develop)
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Modified cfg.orc from [c58361434c] to [a0811d420c].

     1      1   sr=44100
     2      2   ksmps=20
     3      3   nchnls=1
     4      4   
     5      5   instr 3
     6         -    if p5=105 then
            6  +    if p5=1.05 then
     7      7           asig diskin2 "samples/bass/1.05.wav", 1
     8      8       elseif p5=1.06 then
     9      9           asig diskin2 "samples/bass/1.06.wav", 1
    10     10       elseif p5=1.07 then
    11     11           asig diskin2 "samples/bass/1.07.wav", 1
    12     12       elseif p5=1.08 then
    13     13           asig diskin2 "samples/bass/1.08.wav", 1
................................................................................
    79     79       asound oscili kenv, cpspch(p5), p6; oscillator
    80     80       out asound
    81     81   endin
    82     82   
    83     83   instr 4
    84     84       aFMinst foscili p4, cpspch(p5), p6, p7, p8, p9
    85     85   endin
           86  +
           87  +instr 5
           88  +    if p5=3.07 then
           89  +        asig diskin2 "samples/violin/3.07.wav", 1
           90  +    elseif p5=3.08 then
           91  +        asig diskin2 "samples/violin/3.08.wav", 1
           92  +    elseif p5=3.08 then
           93  +        asig diskin2 "samples/violin/3.09.wav", 1
           94  +    elseif p5=3.10 then
           95  +        asig diskin2 "samples/violin/3.10.wav", 1
           96  +    elseif p5=3.11 then
           97  +        asig diskin2 "samples/violin/3.11.wav", 1
           98  +    elseif p5=4.00 then
           99  +        asig diskin2 "samples/violin/4.00.wav", 1
          100  +    elseif p5=4.01 then
          101  +        asig diskin2 "samples/violin/4.01.wav", 1
          102  +    elseif p5=4.02 then
          103  +        asig diskin2 "samples/violin/4.02.wav", 1
          104  +    elseif p5=4.03 then
          105  +        asig diskin2 "samples/violin/4.03.wav", 1
          106  +    elseif p5=4.04 then
          107  +        asig diskin2 "samples/violin/4.04.wav", 1
          108  +    elseif p5=4.05 then
          109  +        asig diskin2 "samples/violin/4.05.wav", 1
          110  +    elseif p5=4.06 then
          111  +        asig diskin2 "samples/violin/4.06.wav", 1
          112  +    elseif p5=4.07 then
          113  +        asig diskin2 "samples/violin/4.07.wav", 1
          114  +    elseif p5=4.08 then
          115  +        asig diskin2 "samples/violin/4.08.wav", 1
          116  +    elseif p5=4.09 then
          117  +        asig diskin2 "samples/violin/4.09.wav", 1
          118  +    elseif p5=4.10 then
          119  +        asig diskin2 "samples/violin/4.10.wav", 1
          120  +    elseif p5=4.11 then
          121  +        asig diskin2 "samples/violin/4.11.wav", 1
          122  +    elseif p5=5.00 then
          123  +        asig diskin2 "samples/violin/5.00.wav", 1
          124  +    elseif p5=5.01 then
          125  +        asig diskin2 "samples/violin/5.01.wav", 1
          126  +    elseif p5=5.02 then
          127  +        asig diskin2 "samples/violin/5.02.wav", 1
          128  +    elseif p5=5.03 then
          129  +        asig diskin2 "samples/violin/5.03.wav", 1
          130  +    elseif p5=5.04 then
          131  +        asig diskin2 "samples/violin/5.04.wav", 1
          132  +    elseif p5=5.05 then
          133  +        asig diskin2 "samples/violin/5.05.wav", 1
          134  +    elseif p5=5.06 then
          135  +        asig diskin2 "samples/violin/5.06.wav", 1
          136  +    elseif p5=5.07 then
          137  +        asig diskin2 "samples/violin/5.07.wav", 1
          138  +    elseif p5=5.08 then
          139  +        asig diskin2 "samples/violin/5.08.wav", 1
          140  +    elseif p5=5.09 then
          141  +        asig diskin2 "samples/violin/5.09.wav", 1
          142  +    elseif p5=5.10 then
          143  +        asig diskin2 "samples/violin/5.10.wav", 1
          144  +    elseif p5=5.11 then
          145  +        asig diskin2 "samples/violin/5.11.wav", 1
          146  +    endif
          147  +    outs asig
          148  +endin

Added samples/violin/3.07.wav version [91dadc3e2c].

cannot compute difference between binary files

Added samples/violin/3.08.wav version [be7c18dc74].

cannot compute difference between binary files

Added samples/violin/3.09.wav version [a329787b04].

cannot compute difference between binary files

Added samples/violin/3.10.wav version [9ec0cf45e5].

cannot compute difference between binary files

Added samples/violin/3.11.wav version [febad8547c].

cannot compute difference between binary files

Added samples/violin/4.00.wav version [99a0049e7f].

cannot compute difference between binary files

Added samples/violin/4.01.wav version [c6f6725f8f].

cannot compute difference between binary files

Added samples/violin/4.02.wav version [8facf1aa8c].

cannot compute difference between binary files

Added samples/violin/4.03.wav version [4a79f04135].

cannot compute difference between binary files

Added samples/violin/4.04.wav version [3784e3b4fd].

cannot compute difference between binary files

Added samples/violin/4.05.wav version [426e685d09].

cannot compute difference between binary files

Added samples/violin/4.06.wav version [4508912bc2].

cannot compute difference between binary files

Added samples/violin/4.07.wav version [a1545e9d26].

cannot compute difference between binary files

Added samples/violin/4.08.wav version [a9461ed31b].

cannot compute difference between binary files

Added samples/violin/4.09.wav version [82320d5d1a].

cannot compute difference between binary files

Added samples/violin/4.10.wav version [13c837dfa4].

cannot compute difference between binary files

Added samples/violin/4.11.wav version [cf5017f10d].

cannot compute difference between binary files

Added samples/violin/5.00.wav version [77cf68a157].

cannot compute difference between binary files

Added samples/violin/5.01.wav version [e062aa503b].

cannot compute difference between binary files

Added samples/violin/5.02.wav version [a2c349d8e6].

cannot compute difference between binary files

Added samples/violin/5.03.wav version [00a8ef8b10].

cannot compute difference between binary files

Added samples/violin/5.04.wav version [77dc78528a].

cannot compute difference between binary files

Added samples/violin/5.05.wav version [f392909f77].

cannot compute difference between binary files

Added samples/violin/5.06.wav version [bc6dc8f0c4].

cannot compute difference between binary files

Added samples/violin/5.07.wav version [9a3c68e5f3].

cannot compute difference between binary files

Added samples/violin/5.08.wav version [61c81ce45f].

cannot compute difference between binary files

Added samples/violin/5.09.wav version [9014c1e21a].

cannot compute difference between binary files

Added samples/violin/5.10.wav version [f1fa1241d2].

cannot compute difference between binary files

Added samples/violin/5.11.wav version [d4ed637350].

cannot compute difference between binary files

Modified spiffyscore.py from [d189f30210] to [c67f427fd6].

   101    101                           "u": ["C/4 C/4 C/4 C/4"],
   102    102                       },
   103    103                   },
   104    104               },
   105    105           },
   106    106           "sync_test": {
   107    107               "body": {
   108         -#                "lead_instr": {  # Instrument 'melody'
   109         -#                    "score_line": "i1 %(time)f %(duration)f 7000 %(octave)d.%(note)s %(octave)d.%(note)s 0 6",
   110         -#                    "octave": 8,
   111         -#                    "duration": 30,
   112         -#                    "grammars": {  # Notes for this instrument to use in this piece
   113         -#                        "u": ["A/4, B/4, C/4 D/4 (u)", "D/4' D/4' D/4' D/4' (v)"],
   114         -#                        "v": ["C/4 C/4 C/4 C/4 (w)"],
   115         -#                        "w": ["E/4 F/4 E/4 F/4 (u)"],
   116         -#                    },
   117         -#                },
          108  +                "lead_instr": {  # Instrument 'melody'
          109  +                    "score_line": "i5 %(time)f %(duration)f 7000 %(octave)d.%(note)s",
          110  +                    "octave": 4,
          111  +                    "duration": 30,
          112  +                    "grammars": {  # Notes for this instrument to use in this piece
          113  +#                        "u": ["A ^A B C ^C D ^D E F ^F G ^G"],
          114  +                        "u": ["A/2, B/2, C/2 D/2 (u)", "D/2' D/2' D/2' D/2' (v)"],
          115  +                        "v": ["C/2 C/2 C/2 C/2 (w)"],
          116  +                        "w": ["E/2 F/2 E/2 F/2 (u)"],
          117  +                    },
          118  +                },
   118    119                   "follow_instr": {  # Instrument 'melody'
   119    120                       "score_line": "i3 %(time)f %(duration)f 7000 %(octave)d.%(note)s",
   120    121   #                    "sync": "lead_instr",
   121    122                       "octave": 2,
   122    123                       "duration": 30,
   123    124                       "grammars": {  # Notes for this instrument to use in this piece
   124         -                        "u": ["A ^A B C ^C D ^D E F ^F G ^G"],
   125         -#                        "u": ["E F G E (v)"],
   126         -#                        "v": ["G A A A (e)", "G A A A (v)"],
   127         -#                        "e": ["B A G A (v)"],
          125  +#                        "u": ["A ^A B C ^C D ^D E F ^F G ^G"],
          126  +                        "u": ["E F G E (v)"],
          127  +                        "v": ["G A A A (e)", "G A A A (v)"],
          128  +                        "e": ["B A G A (v)"],
   128    129                       },
   129    130                   },
   130    131               },
   131    132           },
   132    133       }
   133    134       print '''f1 0 512 10 1
   134    135   f2 0 8192 10 .24 .64 .88 .76 .06 .5 .34 .08