I've built an audioPlayer Capsule that retrieves and plays a playlist of audio from a remote endpoint.
In the simulator and on my Galaxy s9, I can invoke the Capsule & play audio. I can also use the navigation controls to skip forward / go back.
However, in both the simulator & the device, Next, Previous, Pause, Stop, and Resume commands are all interpreted as PlayPlaylist Actions (which passes my playlist to audioPlay.PlayAudio) and simply start playing the audio from the beginning.
Do I need to hook into or build new Actions to manually trigger these audio control functions? I figured these would be "free" or built-in.
Additionally, I'm trying to figure out how to identify which AudioItem index I'm playing, so I can update the result view.
Voice command such as play/stop/next/previous/resume are built-in for audio player (not the library, but in marketplace itself).
Thus, developer at current stage has no control over the audio player once start player and has to rely on the voice command.
As a result:
Developer should NOT add training for these voice command.
There is no way to test the voice command in IDE or on-device testing, but rest assured that once your capsule released to marketplace these voice command would work.
You can check any of the sleep sound capsule in market place and verify the feature. None of them has training for voice command.
I haven't seen that behavior. Since you have an S9, you can confirm in the Bixby Market place with an existing capsule that's using the audio player. For example, you can enable AudioBurst. Start the audio player, then click on the Bixby button and and say similar commands like...
Next, Previous, Pause, etc
I was getting the expected behavior. If you're not, it might be something related to your specific capsule. Please confirm at your convenience.
Related
If you are familiar with scratch, you'll know that Scratch 3 was built to support mobile.
Javascript audio isn't working on mobile devices shows that mobile doesn't support auto playback of audio
Scratch seems to play audio without a problem...
Does anyone know the secret behind Scratch mobile audio playing capabilities? (share pieces of code which scratch uses to play audio on mobile)
(Incase you're wondering why I need to know this, I need to use it on my website)
Read the answer carefully.
Some mobile browsers support automatic playback of audio, but ios, chrome and others require interactive actions to trigger the sound playback.You can try working with the mute attribute..
Scratch can't play sounds automatically. You have to click the Start button on any project. By "interactive actions" they mean clicks, scroll etc,.
I'm interested in creating a Capsule for Bixby which will play audio files upon invocation - similar to the narrative news / flash briefing functions on Google Home & Alexa & their respective richMedia responses & AudioPlayer directives.
Is this possible with Bixby right now? The documentation does not mention an audio player & after googling, all I can find re: audio is that You can use Bixby to play audio from Spotify.
Has anyone built a capsule that plays dev supplied mp3/wav audio?
Not at the moment but the ability to play mp3 files will be coming shortly. Stay tuned!
I am trying to test my agent on a real device. Following instruction from
Official Google video
However, my panel for integrating Actions on Google doesn't look similar to the one shown in the video.
I see neither AUTHORIZE nor PREVIEW button. I can not set invocation name and TTS voice as well.
I attached my panel that I see. Is there anything missing?
My Action on Google dialog:
That video predates recent changes in the API.AI Actions on Google screen.
The name and voice are now set in the Actions Console, but neither are required to do testing.
If you're willing to accept the default voice for testing, you can
Click on the "Test" button in the screen you're referencing.
You can then go to the Simulator (there will be a link provided) or ask any Assistant device (such as Home) to start your action with "Talk to my test app".
They launched this new platform on the Google I/O.
Now you have the invocation name and everything else in the Actions on Google Console.
It's a pretty intuitive platform, the only annoying thing is that you need to fulfill all of the App information before testing. You can see that the simulator is in this console as well.
Whenever you modify things in API.ai, click the UPDATE button (the one in your print screen), then TEST. Then you can test in the console simulator.
In my WP8 app, there is a background audio that plays throughout my App.
When I minimize the App, the audio obviously goes off as it is supposed to do. However, when I resume the app, the audio does not continue, that is totally stops!
Another interesting thing to be noted in my App is that after resuming, only the background music is affected whereas other audio that need to be played for a short duration, say for example on a button click, function normally as expected.
I think it's got something to do with the App's life cycle and Fast App Resume feature.
Kindly help me out. Thanks.
If you're not working on with the BackgroundAudioPlayer, then you should check this in order to play Background Audio within your application.
Reference: Background Audio Streamer Sample
Hi i am implementing vungle using the plugin for corona sdk.
The video shows fine but the advert plays over the top of my background music / sound.
I have tried calling audio.pause and audio.setVolume(0) before the advert is shown but that doesn't work, even if i call audio pause or setvolume and then show the ad wih a second delay.
The audio is paused but then resumes when the advert plays one second later.
E-mailed vungle but haven't had a reply.. I saw a post on the dev forums about it but it had no replies so i know other people have had the same problem just wondered if anyone has a solution?
Thanks!