[Extension] arcade-sound-instructions

It’s already out!

2 Likes

no I mean when is this:

coming out

3 Likes

no timeline for that yet! currently working on the next version of Arcade :slight_smile:

5 Likes

I have a quick question. I have an interest in recreating the gameboy duty cycles 12.5%, 25%, 50% and 75% (out of which 25% and 75% are identical). Is there a way to make it so you could make customized duty cycles for your sound waves?

4 Likes

no way to do that from user-land, you’d have to open a PR to add it to our sound library: https://github.com/microsoft/pxt-common-packages/blob/master/libs/mixer/melody.cpp#L86

we do support 10%, 20%, 30%, 40%, and 50% already, though i can’t guarantee they sound exactly like what the gameboy produces.

4 Likes

OK, thank you, they’re similar enough, but for some reason my long notes suddenly drop in pitch for some reason, is there a way to prevent this?

2 Likes

can you give me an example? not sure i know what you mean

1 Like

Here, as you can see, the last two notes become a crescendo, but I need them as separate notes which are just uniform in frequency

1 Like

ah, i think this is a bug in makecode. it will be fixed in the next release (february), but for now you can work around it in one of two ways:

  1. split your notes into separate sound objects and play them one after the other
  2. change the waveform when you change frequency (e.g. bounce between pulses 30 and 20 when changing notes)
3 Likes

Probably should’ve said this before, but @richard this is an awesome game add-on! Love it %100!!!

1 Like

Hi, I wanted to ask if that release is out yet or not

1 Like

plan is to release it at the end of next week, but that’s just a tentative plan! it might get delayed some if we find bugs

4 Likes

This is awesome, literally just yesterday I was sitting next to a student and said “hmm I wonder if we could modify some sounds via code” and there were a pile of sparks around “ooh I wonder how I could make a sound via code” :slight_smile:

Excited to see this land in the searchable list of extensions!

2 Likes

Hiiii, I got it working, it’s great :33

However, I tried plaing both a Pulse 20 and a Sawtooth sound at once
But I want to make two Pulse 20 sounds play at once

How could I do it?

1 Like

Thank you, it used to work, however, there’s an issue… it broke again, could I fix this somehow?

(Also, to make sure there’s an example just in case I need to fix something, I will show the project I used which recently broke into merging the sounds yet again https://makecode.com/_g268M64vp9Y5)