Skip to content

Failed to load SFZ file. #6

@S3BzA

Description

@S3BzA

Installed cargo for Windows (Win11). Cloned the repo over http. cd'd into sampler. I suspect this might be a Windows specific issue, but on the off chance it can still get fixed is my reason for making an issue.

cargo version: cargo 1.85.1 (d73d2caf9 2024-12-31)

cargo run fails:

warning: `sampler` (bin "sampler") generated 5 warnings (run `cargo fix --bin "sampler"` to apply 2 suggestions)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s
     Running `target\debug\sampler.exe`

thread 'main' panicked at src\format\sfz_loader.rs:10:74:
Failed to load SFZ file.: IOError(Os { code: 3, kind: NotFound, message: "The system cannot find the path specified." })
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: process didn't exit successfully: `target\debug\sampler.exe` (exit code: 101)

cargo test output:

test base::midi_message::tests::from_bytes_invalid ... ok
test base::midi_message::tests::from_bytes_valid ... ok
test base::processor_proxy::tests::send_midi_to_source ... ok
test base::processor_proxy::tests::send_parameter_to_source ... ok
test engine::cpal_processor::tests::forward_parameter_to_processor ... ok
test processing::sampler::linear_adsr::tests::attack ... ok
test processing::sampler::linear_adsr::tests::release ... ok
test processing::sampler::oscillator_sound::tests::calculate_sine ... ok
test processing::sampler::oscillator_voice::tests::play_note ... ok
test processing::sampler::oscillator_voice::tests::render_sound ... ok
test processing::sampler::tests::render_voices_mono ... ok
test processing::sampler::tests::render_voices_stereo ... ok
test processing::sampler::tests::sustain_pedal ... ok
test processing::sine::tests::render_sine ... ok
test processing::sampler::audio_file_sound::tests::returns_samples ... ok
test engine::cpal_processor::tests::forward_parameter_to_proxy ... ok
test base::processor_proxy::tests::send_parameter_to_proxies ... ok
test processing::sampler::audio_file_voice::tests::play_note ... ok
test processing::sampler::audio_file_sound::tests::applies_to_note ... ok
test processing::sampler::audio_file_sound::tests::interpolates_samples ... ok
test processing::sampler::audio_file_voice::tests::render_sound ... ok
test format::sfz_loader::tests::from_file ... ok

test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions