# Solo contrabass — sustained non-vibrato, loopable

Six separate recorded sustained notes, `Strings/Solo Contrabass/SusNV` ([folder](https://github.com/sgossner/VSCO-2-CE/tree/440300901dfe9275fd84e0b7763af1f8443ae62e/Strings/Solo%20Contrabass/SusNV)), from [Versilian Studios Chamber Orchestra 2: Community Edition](https://versilian-studios.com/vsco-community/), [https://github.com/sgossner/VSCO-2-CE](https://github.com/sgossner/VSCO-2-CE/tree/440300901dfe9275fd84e0b7763af1f8443ae62e) at pinned revision `440300901dfe`. **Library credits:** recordings by Sam Gossner (Versilian Studios) and Simon Dalzell (Ivy Audio); sample cutting by Elan Hickler (Soundemote), per the [upstream credits](https://github.com/sgossner/VSCO-2-CE/blob/440300901dfe9275fd84e0b7763af1f8443ae62e/README.md). The [repository license](https://github.com/sgossner/VSCO-2-CE/blob/440300901dfe9275fd84e0b7763af1f8443ae62e/LICENSE) is **CC0 1.0 Universal** ([legal code](https://creativecommons.org/publicdomain/zero/1.0/)); the [sample terms](https://github.com/sgossner/VSCO-2-CE/blob/440300901dfe9275fd84e0b7763af1f8443ae62e/Readme.txt) permit use for any purpose and ask, without making it a condition, for credit to Versilian Studios/Sam Gossner and Ivy Audio/Simon Dalzell. Source links are pinned to that revision. Every source file was checked byte-for-byte against the git blob SHA-1 in the repository tree at that revision.

| Bundled file | Original WAV | Sounding root / MIDI | Measured Hz (cents) | Gain (dB) | Peak / RMS (dBFS) | loopStart (s) / frame | loopEnd (s) / frame | Loop length (s) | Duration (s) |
|---|---|---|---:|---:|---:|---:|---:|---:|---:|
| `contrabass-e1.wav` | [BKCtbss_SusNV_E0_v1_rr1.wav](https://raw.githubusercontent.com/sgossner/VSCO-2-CE/440300901dfe9275fd84e0b7763af1f8443ae62e/Strings/Solo%20Contrabass/SusNV/BKCtbss_SusNV_E0_v1_rr1.wav) | E1 / 28 | 41.20 (−0.1) | +31.27 | −6.0 / −17.4 | 7.710000 / 185040 | 10.768250 / 258438 | 3.058 | 10.778250 |
| `contrabass-g1.wav` | [BKCtbss_SusNV_G0_v1_rr1.wav](https://raw.githubusercontent.com/sgossner/VSCO-2-CE/440300901dfe9275fd84e0b7763af1f8443ae62e/Strings/Solo%20Contrabass/SusNV/BKCtbss_SusNV_G0_v1_rr1.wav) | G1 / 31 | 49.00 (−0.1) | +29.23 | −6.0 / −16.9 | 5.830000 / 139920 | 8.483208 / 203597 | 2.653 | 8.493208 |
| `contrabass-c2.wav` | [BKCtbss_SusNV_C1_v1_rr1.wav](https://raw.githubusercontent.com/sgossner/VSCO-2-CE/440300901dfe9275fd84e0b7763af1f8443ae62e/Strings/Solo%20Contrabass/SusNV/BKCtbss_SusNV_C1_v1_rr1.wav) | C2 / 36 | 65.40 (−0.2) | +24.57 | −6.0 / −16.3 | 3.890000 / 93360 | 6.550625 / 157215 | 2.661 | 6.560625 |
| `contrabass-e2.wav` | [BKCtbss_SusNV_E1_v1_rr1.wav](https://raw.githubusercontent.com/sgossner/VSCO-2-CE/440300901dfe9275fd84e0b7763af1f8443ae62e/Strings/Solo%20Contrabass/SusNV/BKCtbss_SusNV_E1_v1_rr1.wav) | E2 / 40 | 82.37 (−0.7) | +31.98 | −6.0 / −15.1 | 11.080000 / 265920 | 14.017292 / 336415 | 2.937 | 14.027292 |
| `contrabass-gs2.wav` | [BKCtbss_SusNV_G#1_v1_rr1.wav](https://raw.githubusercontent.com/sgossner/VSCO-2-CE/440300901dfe9275fd84e0b7763af1f8443ae62e/Strings/Solo%20Contrabass/SusNV/BKCtbss_SusNV_G%231_v1_rr1.wav) | G♯2 / 44 | 103.84 (+0.2) | +17.23 | −6.0 / −13.1 | 2.270000 / 54480 | 5.149750 / 123594 | 2.880 | 5.159750 |
| `contrabass-cs3.wav` | [BKCtbss_SusNV_C#2_v3_rr1.wav](https://raw.githubusercontent.com/sgossner/VSCO-2-CE/440300901dfe9275fd84e0b7763af1f8443ae62e/Strings/Solo%20Contrabass/SusNV/BKCtbss_SusNV_C%232_v3_rr1.wav) | C♯3 / 49 | 138.60 (+0.1) | +11.14 | −6.0 / −17.8 | 5.460000 / 131040 | 8.749625 / 209991 | 3.290 | 8.759625 |

**Edits.** Kept one channel of the stereo pair: summing these spaced-pair recordings comb-filters (L/R correlation −0.21 to 0.80, sum loss up to 4 dB). The kept channel is the one with more energy in partials 1–4 over the sustain: E1 R (+2.9 dB), G1 L (+0.6 dB), C2 R (+2.0 dB), E2 R (+2.5 dB), G♯2 R (+1.7 dB), C♯3 R (+8.6 dB). Resampled 44.1 kHz → 24 kHz with `afconvert` (mastering-quality sample-rate converter, quality 127). High-passed at 30 Hz with a 4th-order Butterworth (two biquads, Q 0.541 and 1.307) to remove 17–24 Hz room rumble, which is about 17 dB below the note in E0_v1. Applied one constant gain per file to reach −6.0 dBFS sample peak. The attack is kept as recorded: no onset trim was needed because each take starts within 10 ms of its first sound. Loop points: the search covered the steady sustain stretch from the verify step (where 250 ms level stays within 3 dB and pitch within ±25 cents). Up to 40 (loopStart, loopEnd) pairs with matching level and band spectrum in the 200 ms before each point were tried, and loopEnd was moved within ±12 ms to maximise waveform correlation. Each candidate was rendered and scored on spectral and level continuity through the seam, and the best one kept. **Crossfade** (4800 frames = 200 ms, baked into the last 200 ms before each loopEnd): the audio just before loopEnd fades from itself (cos) into the audio just before loopStart (sin). The fade is done in seven complementary zero-phase bands (split at 150/300/600/1200/2400/4800 Hz, which sum back exactly). In each band the gains are divided by √(1 + 2·r·sin·cos), where r is that band's measured correlation between the two segments (clamped ≥ 0), so the band's power stays constant. With r = 0 this is a plain equal-power crossfade. No level ramp was needed on any contrabass file. Takes are non-vibrato (`SusNV`) and very quiet at source (peaks −32 to −38 dBFS), hence gains of +11 to +32 dB.

**Seam verification** (on the delivered 16-bit files, playing `0…loopEnd` then `loopStart…loopEnd` twice, at integer frames exactly as `AudioBufferSourceNode` does):

| File | Last 16 frames before loopEnd vs before loopStart (max LSB) | Seam step (LSB, percentile of in-loop steps) | Seam click energy vs natural signal at loopStart | Spectral distance at seam / loop-body median (dB) | Level deviation ±250 ms around seam / body P95 (dB) | Pitch drift in 0.5 s windows (cents) |
|---|---:|---:|---:|---:|---:|---:|
| `contrabass-e1.wav` | 5 | 269 (p66) | ±0.01 dB | 1.42 / 2.59 | 1.02 / 1.62 | −1.7 to +1.8 |
| `contrabass-g1.wav` | 2 | 10 (p3) | ±0.01 dB | 1.20 / 1.81 | 0.96 / 1.08 | −0.8 to +0.9 |
| `contrabass-c2.wav` | 1 | 290 (p63) | ±0.01 dB | 1.03 / 1.19 | 1.99 / 1.49 | −3.1 to +1.5 |
| `contrabass-e2.wav` | 6 | 984 (p90) | ±0.01 dB | 1.78 / 2.81 | 0.85 / 0.71 | −2.1 to +0.9 |
| `contrabass-gs2.wav` | 5 | 688 (p97) | ±0.01 dB | 2.28 / 1.66 | 0.91 / 1.25 | −1.5 to +1.2 |
| `contrabass-cs3.wav` | 28 | 1302 (p95) | ±0.01 dB | 2.52 / 2.58 | 0.51 / 1.77 | −4.3 to +1.1 |

The crossfade ends fully on the audio just before `loopStart`, so the last frames before `loopEnd` equal those before `loopStart` to within at most 28 LSB (the residual of the outgoing segment in the last frames of the cos/sin curve, plus rounding), against in-loop sample-to-sample steps of hundreds of LSB. The jump from `loopEnd − 1` to `loopStart` is therefore the recording's own step from `loopStart − 1` to `loopStart`. The second-difference (click) energy in a 4 ms window at the seam matches the same measure at `loopStart` in the un-looped audio to within 0.01 dB in every file. Spectral distance compares 25 log-spaced band energies (50 Hz to 0.45·fs) in the 100 ms before and after a point. At the seam it falls between the 5th and 76th percentile of the same measure taken every 20 ms through the loop body, so it is no larger than the recording's own frame-to-frame change.

**Playback.** Set `source.loop = true`, `source.loopStart` and `source.loopEnd` to the listed seconds (they are exact frame / rate values at the file's own rate; 24000 Hz). The files end 10 ms after `loopEnd`: those 10 ms are the audio that follows `loopStart`, faded out with cos². They exist only so that a non-looping stop is click-free. **No `releaseStart`:** no natural release is included. Release with a gain envelope. Re-pitch with `playbackRate` = 2^((target − rootMidi − cents/100)/12).

**Verification.** Every delivered WAV was re-decoded with Apple Core Audio (`afconvert` to float32). The decoded audio is identical to a direct parse of the PCM data, `afinfo` reports 1 ch Int16 at the stated rate, and no sample is clipped. Levels are measured over the whole delivered file. Pitch is the amplitude-weighted fundamental from partials 1–8 (those within 20 dB of the strongest), interpolated from a Hann-windowed FFT of the full loop body. A second, independent harmonic-sum estimator agrees within 0.1 cent on every file but one, E1. There it picked the octave above, because the 41.2 Hz fundamental is 38 dB below the strongest partial. Odd partials at 123.6 and 206 Hz and an autocorrelation of 0.97 at the 41.2 Hz period (0.03 at 82.4 Hz) confirm MIDI 28. At A4 = 440 Hz and C4 = MIDI 60, the sounding pitches are **one octave above the VSCO filename labels**. Use the bundled names and MIDI roots for mapping.
