AM Transmitter

Hello, My name is Sehan and I am new to the fourms.Anyway, today I made a simple script that reads data from a audio source (A audio cable that is connected to Analog Pin 0) Here is the code for it:

/*
Reads audio data (byte data) coming from a audio input.
 
 */

int audioPin = A0;    
void setup() {
  Serial.begin(9600);      
}

void loop() {
audioPin = analogRead(audioPin);   
Serial.print(audioPin);       
 
                  
}

For the code it best to use Hyperterminal because this lags the normal serial monitor on the Arduino IDE.

So I had this idea, if the arduino can read the data from a audio source, then maybe it can transmit it to a AM radio. Is this possible? I have seen arduinos transmit morse code over AM, so can the arduino handle audio?

No, you have no way of changing the amplitude of a high frequency without using external hardware.