Skip to content

Commit

Permalink
Merge branch 'feature-smpl' into maint-poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
iluvcapra committed Nov 24, 2024
2 parents 7104f3c + bf536f6 commit 016e504
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
" * `adm`: EBU Audio Defintion Model metadata, as used by Dolby Atmos.\n",
" * `cues`: Cue marker metadata, including labels and notes \n",
" * `dolby`: Dolby recorder and playback metadata\n",
" * `smpl`: Sampler midi note and loop metadata\n",
"\n",
"Each of these is an attribute of a `WavInfoReader` object.\n",
"\n",
Expand Down Expand Up @@ -304,7 +305,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.5"
"version": "3.12.5"
}
},
"nbformat": 4,
Expand Down
Binary file added tests/test_files/smpl/alarm_citizen_loop1_fr.wav
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
15 changes: 15 additions & 0 deletions tests/test_smpl.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
from unittest import TestCase
from glob import glob

import wavinfo

class TestSmpl(TestCase):
def setUp(self) -> None:
self.test_files = glob("tests/test_files/smpl/*.wav")
return super().setUp()

def test_each(self):
for file in self.test_files:
w = wavinfo.WavInfoReader(file)
d = w.walk()
self.assertIsNotNone(d)

0 comments on commit 016e504

Please sign in to comment.