예제 #1
0
 def tutor_audio(self, i):
     a = Audio(join(self.run_paths[i], 'tutor.wav'))
     return widgets.HTML(a._repr_html_())
예제 #2
0
 def audio(self, irun, iday, ismodel):
     a = Audio(self.rd[irun]['songs'].iloc[iday][ismodel].gen_sound(),
               rate=bsa.SR)
     return widgets.HTML(a._repr_html_())