You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, i have problems when try play mp3 from my tessel 2.
When i run next code, this is blocked when av.Player() is called.
'use strict';constpath=require('path');constav=require('tessel-av');constmp3=path.join(__dirname,'20-second-nonsense.mp3');console.log('one');// this is showed in consoleconstsound=newav.Player(mp3);console.log('two');// this never show in consolesound.play();sound.on('timeupdate',function(seconds){seconds=Math.round(seconds);if(seconds===2){this.pause();}if(seconds>12){this.stop().play();}});sound.on('pause',function(){setTimeout(()=>this.play(10),1000);});
My environment info:
(base) MacBook-Pro:audio edwingomez$ t2 version
INFO Looking for your Tessel...
INFO Connected to Tessel-02A37EC93AD1.
INFO Tessel Environment Versions:
INFO t2-cli: 0.1.23
INFO t2-firmware: 0.2.0
INFO Node.js: 8.11.3
(base) MacBook-Pro:audio edwingomez$ node -v
v10.16.0
Hi, i have problems when try play mp3 from my tessel 2.
When i run next code, this is blocked when
av.Player()
is called.My environment info:
My package.json
The text was updated successfully, but these errors were encountered: