james-trayford / strauss

Sonification Tools and Resources for Analysis Using Sound Synthesis
Apache License 2.0
35 stars 6 forks source link

Sample rate suggestions #8

Closed james-trayford closed 1 year ago

james-trayford commented 1 year ago

Suggestions on the sample-rate branch

Fixed functionality looks good! πŸ˜€

I've put a notebook in new test/pre-merge directory. This shows how in the new branch two examples with differing sample rates sound the same. If you run this on current main, these sound different due to lack of correction implemented by @SamYoules:

test/pre-merge/sampler_samprate_test.ipynb

I'm planning to use this test/pre-merge directory to put tests for merges in general, that we can clear away when merged. I'm looking into automated ways of doing this using either GitHub actions or git hooks.