-
Notifications
You must be signed in to change notification settings - Fork 232
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
Sound Expanded: Add Sound Expanded extension #672
Conversation
This comment was marked as spam.
This comment was marked as spam.
this reminds me of when I tried to make a "while playing note {VAR} for {VAR} beats in the {VAR}th beat fade into note {VAR} for {VAR} beats" block (it went badly) |
isnt start sound on loop the same as start looping sound? |
"start looping ()" only works for sounds that are already playing. |
I have a good idea @LilyMakesThings how about you make a block where you could change the global volume of the project instead of changing each volume of each sprite one by one |
and we could also have volume for specific sounds |
I think I'll have a go for both I have nothing better to do |
I also think adding a stop sounds in (sprite) would be very useful, and if it's used in clones, then it would stop all sounds in the clone. |
Please look at the block palette before suggesting blocks |
I know this is a bit much for a simple extension but is it possible to do a record block? where it records using the microphone and saves it to be used |
There is an extension exactly for that! Find "Recording" in the list: https://github.com/BlueDome77/Turbowarp-Extension-List/blob/main/README.md |
I think you should merge the Sound extension with this |
This comment was marked as spam.
This comment was marked as spam.
extensions/Lily/SoundExpanded.js
Outdated
} | ||
|
||
_getTargets() { | ||
const spriteNames = []; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's avoid the same mistake as looks+. have the top value always be "myself" with value _myself_
and just list every sprite under it, and also add the stage (_stage_
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made a script that does that for skins, I'll add that now
the combination of "start sound [ ] on loop" and "start looping [ ]" is going to confuse many people |
That's the one I think |
I added an attribute for dataURIs so you can export the sound as a data uri. I pretty much only did this for the Sound extension, as well as the Video extension. |
Also how does this compare to #756? |
ultrasound appears to not work in line with the default sound category, rather on its own use of the web audio api - think audio engine, audiostream or tuneshark. the main purpose of this is no different to clones plus, looks plus, etc. |
done? |
yes |
Sound Expanded is an extension that adds a few missing blocks from the Sound category.
This serves as a precursor to my next extension, Audio Engine.