I want to make any sharps or flats in music

Hi there. i am YuminCoding.
I had a question about putting music in arcade makecode. While I was doing my skill map, I came across a note with a # in one of the songs. So far, I haven’t been able to put # or flat, but I’m wondering how to do it. If you look at the picture below, you may understand, so please refer to it.


can you see some notes having a #?
I was curious about this note, so I asked. I’m glad it’s not that there’s no way at all.
And I have one other question for you.
in ‘image transformation test’(https://arcade.makecode.com/27800-70465-05726-62974), this is showing that object rotation. i see a code, that code is It looks like the following picture:

and this picture:

this block is change rotation of [mySprite] by [rotationAmount] Degrees block.
I wonder which category (Extension) can I get this block from? I wish I had an answer for this too.
thank you. from YuminCoding

There is a better rotation extension here: https://github.com/jwunderl/pxt-scaling

For the sharps and flats, select the note you want to change and use the J key on your keyboard to toggle through sharps and flats.

1 Like

You can also use CTRL.

Hello, Luke

Hello. thanks to reply it my pending.
There is something I would like to ask you.
This Github project uses blocks as a format for specifying values.
This block is a block format, so this is not this block.

But don’t be discouraged yet. Here’s a hint.

This block is a slightly light brown value change block, similar to the block color in the arcade-storytelling extension. And the block must be in some extension (in Github).
this is an js code:

enum SpriteKindLegacy { Player, Projectile, Food, Enemy } controller.right.onEvent(ControllerButtonEvent.Repeated, function () { rotationAmount = rotationIncrement rotate() }) controller.left.onEvent(ControllerButtonEvent.Pressed, function () { rotationAmount = 0 - rotationIncrement rotate() }) controller.right.onEvent(ControllerButtonEvent.Pressed, function () { rotationAmount = rotationIncrement rotate() }) function rotate () { transformSprites.changeRotation(mySprite, rotationAmount) transformSprites.changeRotation(mySprite2, rotationAmount) mySprite.say("" + transformSprites.getRotation(mySprite) + " degrees") } controller.left.onEvent(ControllerButtonEvent.Repeated, function () { rotationAmount = 0 - rotationIncrement rotate() }) let rotationAmount = 0 let rotationIncrement = 0 let mySprite2: Sprite = null let mySprite: Sprite = null mySprite = sprites.create(img""" ...........ccccc66666........... ........ccc4444444444666........ ......cc444444444bb4444466...... .....cb4444bb4444b5b444444b..... ....eb4444b5b44444b44444444b.... ...ebb44444b4444444444b444446... ..eb6bb444444444bb444b5b444446.. ..e6bb5b44444444b5b444b44bb44e.. .e66b4b4444444444b4444444b5b44e. .e6bb444444444444444444444bb44e. eb66b44444bb444444444444444444be eb66bb444b5b44444444bb44444444be fb666b444bb444444444b5b4444444bf fcb666b44444444444444bb444444bcf .fbb6666b44444444444444444444bf. .efbb66666bb4444444444444444bfe. .86fcbb66666bbb44444444444bcc688 8772effcbbbbbbbbbbbbbbbbcfc22778 87722222cccccccccccccccc22226678 f866622222222222222222222276686f fef866677766667777776667777fffef fbff877768f86777777666776fffffbf fbeffeefffeff7766688effeeeefeb6f f6bfffeffeeeeeeeeeeeeefeeeeebb6e f66ddfffffeeeffeffeeeeeffeedb46e .c66ddd4effffffeeeeeffff4ddb46e. .fc6b4dddddddddddddddddddb444ee. ..ff6bb444444444444444444444ee.. ....ffbbbb4444444444444444ee.... ......ffebbbbbb44444444eee...... .........fffffffcccccee......... ................................ """, SpriteKindLegacy.Player) mySprite.setPosition(16, 16) mySprite2 = sprites.create(img""" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . """, SpriteKindLegacy.Player) mySprite2.setPosition(96, 56) mySprite2.setImage(transformSprites.scale2x(sprites.food.bigBurger)) rotationIncrement = 10

Among these codes, transform Sprites.change Rotation((), ()) is the js code of the corresponding block. Please find more diligently on Github. thank you.
from cuteyumin1004 :smiley: :smiley: :smiley: :smiley: :smiley:

1 Like

??? I’m not too sure what you’re asking but I’ve used both extensions and the graphical quality of the brown sprite transform extension is worse than the sprite scaling one. The only difference is that you have to define the image as a separate variable for the sprite scaling. If you want an example just look at my Card Game: Sprites behaving in satisfying, unintentional ways I initially used the brown one but switched to the scaling one

Oh wait, i have a solution now!
let me check your code.

wait. where these extensions come from? stats, blockObject, Sprite transforms.

Wow luke, i found a answer now!!!
sometimes i tried make this file: setting.ts, and more extension maded!
i think you was used this solution :open_mouth::open_mouth::open_mouth:
well, i should copy your code now.

1 Like

OOF PiX, i’m sorry but i can’t use a CTRL button to use sharp and flat. but KIKIvsIT was right.
but you didn’t wrong. in windows, i think can do toggle sharp and flat.

cool! btw, i don’t use windows. that might be it…

so pencil sharpening right?

oopz is this linux?
or… what is your computer;;;

sharp & flat. that is right.

oh, KIKIvsIT, thank you! that working!

It’s a chromebook. It is based on Linux…
That might be it.

Bruh what chromebook lol
I understand.