# Play Audio

**URL:** <https://forums.fusetools.com/t/play-audio/6868>\
**Category:** Feature Suggestions\
**Created:** [January 10, 2017, 8:00am UTC](https://forums.fusetools.com/t/play-audio/6868 "2017-01-10T08:00:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Simo\_Santavirta](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/simo_santavirta/32/175_2.png) [@Simo\_Santavirta](https://forums.fusetools.com/u/Simo_Santavirta)\
**Post date:** [January 10, 2017, 8:00am UTC](https://forums.fusetools.com/t/play-audio/6868/1 "2017-01-10T08:00:07Z")

</div>

This long, long, looong waited feature just doesn’t seems to materialize. Any news about it? I was wondering if Experimental.Audio could still work? According to my test it doesn’t, but I was able to play sound with it at some point (over a year ago) so I was wondering maybe it just got a bit dusty. Maybe it’s the importer and files are just compiled to wrong location or something. I don’t know.

Here’s a little test project that was able to play sound at some point.

- [Attached RAR file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/udImIfVAU0Bq-image-1484033876864.rar)

I know there’s the Soundcloud app example that uses iOS and Android libraries to stream audio, but I would like this to work on dotnetexe, since developing on device isn’t efficient. Also I would like to include my sound in app, not stream.

Or maybe someone could help me to get audio playing on dotnetexe and I could then use the Soundcloud example as basis for creating the same feature on android and ios.

Thanks.

---

<div class="post-metadata">

**Author:** ![Simo\_Santavirta](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/simo_santavirta/32/175_2.png) [@Simo\_Santavirta](https://forums.fusetools.com/u/Simo_Santavirta)\
**Post date:** [January 10, 2017, 8:02am UTC](https://forums.fusetools.com/t/play-audio/6868/2 "2017-01-10T08:02:43Z")

</div>

Maybe I should render my sounds as video and play it hidden.

---

<div class="post-metadata">

**Author:** ![Baggers](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/baggers/32/665_2.png) [@Baggers](https://forums.fusetools.com/u/Baggers)\
**Post date:** [January 10, 2017, 9:14am UTC](https://forums.fusetools.com/t/play-audio/6868/3 "2017-01-10T09:14:57Z")

</div>

Simo! good to see you. How about this:

```auto
<App>
    <Button Text="LOUD NOISES">
        <Clicked>
            <PlaySound File="Wilhelm.wav" />
        </Clicked>
    </Button>
</App>

```

This is currently working internally. It’s on a branch that is waiting to land. A few of our team are still out on well earned vacation but will be back soon, at that point we can start landing all this stuff.

The api currently is only what you see here. PlaySound is a TriggerAction and you can use it where you would expect.

We learned the hard way that a general ‘Audio’ api wouldnt feel nice, so we have split it into a Sound api (so far just this guy above) and a StreamingAudio api. I’m working on the latter right now, it supports background playback on iOS & Android and can play http streams as well as bundled files.

[edit]  
Hmm, looking back at your question it seems more focused on streaming playback than sounds. Damn, as the v1 of the streaming player likely will be mobile only (we kinda want to ship it and then fill in the gaps)

---

<div class="post-metadata">

**Author:** ![Baggers](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/baggers/32/665_2.png) [@Baggers](https://forums.fusetools.com/u/Baggers)\
**Post date:** [January 10, 2017, 9:17am UTC](https://forums.fusetools.com/t/play-audio/6868/4 "2017-01-10T09:17:46Z")

</div>

Woops I forgot to mention `Experimental.Audio`. It’s deprecated. The issues we had were that google’s implementation of OpenSL on some android devices was buggy and so we couldn’t match what we had on other platforms.

---

<div class="post-metadata">

**Author:** ![Simo\_Santavirta](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/simo_santavirta/32/175_2.png) [@Simo\_Santavirta](https://forums.fusetools.com/u/Simo_Santavirta)\
**Post date:** [January 10, 2017, 9:38am UTC](https://forums.fusetools.com/t/play-audio/6868/5 "2017-01-10T09:38:18Z")

</div>

Good to hear it’s so close to release. Hopefully it’ll follow same design as with duration,position,volume and looping (+while…'s)

---

<div class="post-metadata">

**Author:** ![Anders\_Bondehagen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_bondehagen/32/98_2.png) [@Anders\_Bondehagen](https://forums.fusetools.com/u/Anders_Bondehagen)\
**Post date:** [January 12, 2017, 1:43pm UTC](https://forums.fusetools.com/t/play-audio/6868/6 "2017-01-12T13:43:11Z")

</div>

I’m not sure we will have all that in the first version. We want to get out _just something_ right now and then start to iterate on it.

---

<div class="post-metadata">

**Author:** ![Simo\_Santavirta](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/simo_santavirta/32/175_2.png) [@Simo\_Santavirta](https://forums.fusetools.com/u/Simo_Santavirta)\
**Post date:** [January 12, 2017, 1:46pm UTC](https://forums.fusetools.com/t/play-audio/6868/7 "2017-01-12T13:46:11Z")

</div>

Understood, no worries, I ended up using hidden and mp4 format for now 🙂
