Skip to Content

How to make design studio play a sound

Hi All

Just wanted to know if anyone has managed to get Design Studio to be able to play a sound.

Here is what I am thinking of doing.

We have a dashboard that monitors QM Notifications, when there is a new notification I would like an alert to sound. I cant see any way of doing this at the moment, I see there is a Embedded media component in the SCN Pack but you cant script it to play the sound.

Any ideas?

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Oct 20, 2016 at 04:08 PM

    Hi Alex,

    I just created a new SCN community SDK component called "Audio" (technical component). With the next release of the repository you can get it. You have to provide a sound file ["mp3", "opus", "ogg", "wav", "aac", "m4a", "mp4", "webm", ...] and you need to run the component's method play/stop. There is also an event that fires once the song finishes.

    That's it. Let me know what you think.

    I would be interested to hear what exactly you are going to do with it.

    Kind regards

    Martin

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 26, 2016 at 11:53 AM

    Thanks Martin!!!

    I didn't get a notification that you had replied so please accept my apologies for the late delay!

    This will be very helpful :)

    Basically we have implemented plant maintenance, the Equipment team have a dashboard which shows them the open PM's etc, for a PM to be raised a user need to raise a Notification, when a new notification is detected I intend to play this sound to alert them to the fact :)

    Any idea when the next release of the repository is?

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 07, 2017 at 07:33 AM

    Hi Martin,

    Probably a kind of Monday morning symptom, but I can't find this 'Audio' Component. Where can I find it ?

    thx in advance,

    Baudouin

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Martin,

      I have the same question as Baudouin. I installed the "stable" SDK as of 9/22/17 (skipped installing prototypes) but I have not been able to locate the "Audio" component. I am relatively new to Design Studio so maybe I am just missing something obvious.

      Thanks,

      Jena