.
OverviewThere are studies which show that relaxation via music would help ease the stress of menopause. Stress effects not only our health, but also our general well being and quality of life. This is a simple project builds a Alexa skill which will play light and easy music to help the stress of menopause. This can be a good companion while practising yoga or other relaxation exercises.
.
The musicFirst I searched and downloaded a royalty free music from the Bensound website. I chose an easy listening and soothing music call The Lounge.
.
Alexa SkillI built an Alexa skill called Light Music, based on this Alexa AudioPlayer Skill Template from DabbleLab. But you will need to register as a member to view the video tutorial.
The video's instructions are very easy to follow and the source code is available. The video will guide you to changes that you need to make to the source code in order to build your own skill.
.
CodeBasically there two pieces of code that you need to change. One is the model file like the following:
.
The other file is the index.js
file:
.
And here is the Alexa Developer Console showing the light music skill:
.
Refer to the code section below to view the complete files.
.
SummaryThis is a very simple Alexa skill and here is a video showing how it works.
There are few inprovements that would make the skill more robust, like adding more music tracks and track shuffling.
.
.
Comments