comparison doc/examples.rst @ 455:7dae98b84cdd tip master

Merge branch 'master' of https://github.com/amsehili/auditok
author www-data <www-data@c4dm-xenserv-virt2.eecs.qmul.ac.uk>
date Tue, 03 Dec 2024 09:18:01 +0000
parents f9d5eb9387d2
children
comparison
equal deleted inserted replaced
452:8045b52f33b9 455:7dae98b84cdd
269 events.append(region) 269 events.append(region)
270 except KeyboardInterrupt: 270 except KeyboardInterrupt:
271 pass 271 pass
272 272
273 rec.rewind() 273 rec.rewind()
274 full_audio = load(rec.data, sr=sr, sw=sw, ch=ch) 274 full_audio = auditok.load(rec.data, sr=sr, sw=sw, ch=ch)
275 # alternatively you can use 275 # alternatively you can use
276 full_audio = auditok.AudioRegion(rec.data, sr, sw, ch) 276 full_audio = auditok.AudioRegion(rec.data, sr, sw, ch)
277 full_audio.play(progress_bar=True) 277 full_audio.play(progress_bar=True)
278 278
279 279