Speaker doesnt even play sound

the wav files i use are always radio static this is the layout i use to play sound
i can create or add an arduino scheme sorry
microsd card reader: CS - pin 10 SCK - pin 13 MOSİ pin 11 MİSO pin 12 vcc and gnd is connected to the normal power supplies.
Speaker: Negative - GND positive - PİN 9 the audio preferences for the .wav file is
8BİT 16khz mono

What type of radio are you using?

no it makes those kind of sounds i use a speaker its supposed to play music not do static sounds

Speakers should never have DC connections! Show a block diagram of your pieces with lines showing the actual connections.

Are you trying to drive a speaker directly from the arduino pin? What kind of speaker is it? Show your wiring diagram.

im sorry but as i said i dont have much time to do a diagram, so heres a poorly made image, the connections are mentioned in my first post also the dark red cables are connected to gnd, i forgot to draw it

This should clean up your noise

Artist impression of an artist impression???

An illustration of Garbage In - Garbage Out

can you show the pin connections its hard to understand from the image

So uhh i got a df player mp3 player mini and the spraker doesnt play sound


By the way the connect are
SPK1 speaker1 positive SPK2 speaker 1 negative
Also mp3 player
RX pin 11 TX pin 10 gnd gnd VCC 5v

one of the speakers are not connected because i want 1 speaker to play also the code:

#include <SoftwareSerial.h>
#include <DFRobotDFPlayerMini.h>

SoftwareSerial mySerial(10, 11); // RX, TX
DFRobotDFPlayerMini myDFPlayer;

void setup() {
  Serial.begin(9600);
  mySerial.begin(9600);
  Serial.println(F("Initializing DFPlayer ..."));

  if (!myDFPlayer.begin(mySerial)) {
    Serial.println(F("Unable to begin:"));
    while (true);
  }
  Serial.println(F("DFPlayer Mini online."));

  Serial.print(F("Volume: "));
  myDFPlayer.volume(25);  // Set volume value (0~30).
  Serial.println(25);

  Serial.println(F("Playing track 1"));
  myDFPlayer.play(0001);     // Play the file named "0001.mp3"
}

void loop() {
  if (myDFPlayer.available()) {
    int message = myDFPlayer.readType();
    switch (message) {
      case DFPlayerPlayFinished:
        Serial.println(F("Track finished playing."));
        break;
      case DFPlayerError:
        Serial.println(F("DFPlayer Error."));
        int error = myDFPlayer.read();
        printErrorDetail(error);
        break;
      default:
        Serial.println(F("Unknown message."));
        break;
    }
  }
  delay(1000); // Add a small delay to avoid flooding the serial output
}

void printErrorDetail(uint8_t error) {
  switch (error) {
    case TimeOut:
      Serial.println(F("Time Out!"));
      break;
    case WrongStack:
      Serial.println(F("Stack Wrong!"));
      break;
    case DFPlayerCardInserted:
      Serial.println(F("Card Inserted!"));
      break;
    case DFPlayerCardRemoved:
      Serial.println(F("Card Removed!"));
      break;
    case DFPlayerCardOnline:
      Serial.println(F("Card Online!"));
      break;
    case DFPlayerError:
      Serial.println(F("General Error!"));
      break;
    default:
      Serial.println(F("Unknown Error!"));
      break;
  }
}

i updated the code still doesnt work `#include "SoftwareSerial.h"
#include "DFRobotDFPlayerMini.h"

// Use pins 2 and 3 to communicate with DFPlayer Mini
static const uint8_t PIN_MP3_TX = 2; // Connects to module's RX
static const uint8_t PIN_MP3_RX = 3; // Connects to module's TX
SoftwareSerial softwareSerial(PIN_MP3_RX, PIN_MP3_TX);

// Create the Player object
DFRobotDFPlayerMini player;

void setup() {

// Init USB serial port for debugging
Serial.begin(9600);
// Init serial port for DFPlayer Mini
softwareSerial.begin(9600);

// Start communication with DFPlayer Mini
if (player.begin(softwareSerial)) {
Serial.println("OsK");

// Set volume to maximum (0 to 30).
player.volume(30);
// Play the first MP3 file on the SD card
player.play(1);

} else {
Serial.println("Connecting to DFPlayer Mini failed!");
}
}

void loop() {
}
`

theres a error alot mroe different than the main problem i will amke a new topic about it