Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Queue feature request #2

Open
kjack9 opened this issue Sep 29, 2016 · 5 comments
Open

Queue feature request #2

kjack9 opened this issue Sep 29, 2016 · 5 comments

Comments

@kjack9
Copy link
Contributor

kjack9 commented Sep 29, 2016

I'd like to request a playlist queue feature for Eazy Sound Manager.

The idea would be that I can queue up several sounds in a row to play in sequence. My particular use case for this would be to queue up 3-4 songs as background music, and have ESM cycle through them automatically. This would save me from writing my own code to monitor the playing status of ESM and starting the next song manually.

Suggested things:
SoundManager.AddToQueue(clip)
SoundManager.RemoveFromQueue(clip)
AudioClip[] SoundManager.CurrentQueue()
SoundManager.queueLength
SoundManager.PlayQueue()
SoundManager.QueueParams(fadeInTime, fadeOutTime, loop, persist)

Alternatively, if you'll give me some guidance on how you'd like it done I'll take a look and implementing it in a pull request.

Thanks!

@JackM36
Copy link
Owner

JackM36 commented Sep 30, 2016

That's actually one of the features I am planning to implement for the next update on the asset store, along with one more feature (and some small changes).

Thanks for the suggestions! I will take them into account.

@nzeman
Copy link

nzeman commented Mar 2, 2018

Is there a possibility of this happening in the near future or not? I like the asset for now, but without this I cannot work with it. Maybe add a pitch property for all the audios? Please let me know if this will be implemented or not. Thanks in advance!

@JackM36
Copy link
Owner

JackM36 commented Mar 5, 2018

This has been and still is in my next plans for this asset.

I am really sorry that it is taking a bit long, however I mantain this asset only on my free time since it is completely free. I am currently working on a very big project and therefore have limited free time. I plan to implement it soon though.

You can already access the pitch property from the Audio class. For example myAudio.audioSource.pitch.
Please let me know if I can help with anything else.

@nzeman
Copy link

nzeman commented Mar 5, 2018

Oh okay. It's fine, just was wondering since the last time was 2016 haha! Hopefully somewhere in the next months, because I would love to use this asset in my game and not need to use another solution.

Thank you for your time. :)

@bendangelo
Copy link

I'll be interested in this feature as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants