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

Sfx should have changeable start time #19

Open
Draknek opened this issue Aug 11, 2011 · 2 comments
Open

Sfx should have changeable start time #19

Draknek opened this issue Aug 11, 2011 · 2 comments

Comments

@Draknek
Copy link
Contributor

Draknek commented Aug 11, 2011

Because of MP3-encoding issues, it's useful to be able to start a Sfx from 50ms in (for example).

@djcsdy
Copy link
Contributor

djcsdy commented Aug 13, 2011

Or alternatively you can replace the MP3 import code in Flex!

https://github.com/djcsdy/flex-extensions/blob/master/src/net/noiseinstitute/flexextensions/compiler/media/mp3/MP3TranscodeJob.java

(I’ve been meaning to write a blog post about this forever...)

@IkonOne
Copy link

IkonOne commented Mar 10, 2012

This is a Sfx class that I am using that allows for variable start time in the play function and preserves the start time if you use the loop function as well. There is an additional playAtPosition function that is also a very hacky 2d positional sound function. Everything is fully functional and tested. The playAtPosition function could probably use additional discussion if it is even to be considered.

http://pastebin.com/yh9CDS9t

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

3 participants