mirror of
https://github.com/iluvcapra/wavinfo.git
synced 2025-12-31 08:50:41 +00:00
Merge branch 'feature-smpl' into maint-poetry
This commit is contained in:
@@ -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",
|
||||
@@ -304,7 +305,7 @@
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.11.5"
|
||||
"version": "3.12.5"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
|
||||
BIN
tests/test_files/smpl/alarm_citizen_loop1_fr.wav
Normal file
BIN
tests/test_files/smpl/alarm_citizen_loop1_fr.wav
Normal file
Binary file not shown.
BIN
tests/test_files/smpl/alarm_citizen_loop1_res3.wav
Normal file
BIN
tests/test_files/smpl/alarm_citizen_loop1_res3.wav
Normal file
Binary file not shown.
BIN
tests/test_files/smpl/alarm_citizen_loop1_rev.wav
Normal file
BIN
tests/test_files/smpl/alarm_citizen_loop1_rev.wav
Normal file
Binary file not shown.
BIN
tests/test_files/smpl/alarm_citizen_loop1_vendFF.wav
Normal file
BIN
tests/test_files/smpl/alarm_citizen_loop1_vendFF.wav
Normal file
Binary file not shown.
15
tests/test_smpl.py
Normal file
15
tests/test_smpl.py
Normal file
@@ -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)
|
||||
Reference in New Issue
Block a user