# How to use two buzzera separately

**URL:** <https://forum.makecode.com/t/how-to-use-two-buzzera-separately/29813>\
**Category:** micro:bit\
**Created:** [July 24, 2024, 5:44pm UTC](https://forum.makecode.com/t/how-to-use-two-buzzera-separately/29813 "2024-07-24T17:44:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Materion](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/materion/32/16493_2.png) [@Materion](https://forum.makecode.com/u/Materion)\
**Post date:** [July 24, 2024, 5:44pm UTC](https://forum.makecode.com/t/how-to-use-two-buzzera-separately/29813/1 "2024-07-24T17:44:36Z")

</div>

Hello,

I have BBC Micro bit V2 with built in buzzer. I connect it to joypad with its own buzzer. Is there a way to play two different notes in same time - first note on buzzer on Microbit and second note on buzzer built in joypad?

---

<div class="post-metadata">

**Author:** ![pythom](https://avatars.discourse-cdn.com/v4/letter/p/54ee81/32.png) [@pythom](https://forum.makecode.com/u/pythom)\
**Post date:** [September 14, 2024, 3:47pm UTC](https://forum.makecode.com/t/how-to-use-two-buzzera-separately/29813/2 "2024-09-14T15:47:02Z")

</div>

Hi, if you want to use two buzzers in the same time, you should use

```typescript
music.ringTone(Note.C)

```

for the built-in buzzer and

```typescript
pins.analogSetPitchPin(AnalogPin.P0)
pins.analogPitch(440, 100)

```

for the external buzzer (check if your joypad has its buzzer connected to pin 0).  
You may have to specify to use the internal buzzer (`music.setBuiltInSpeakerEnabled(true)`), because micro:bit can find out if you are using external buzzer.
