I just want to:

play a simple 440 Hz sound [no solutions about playing files]

  • using the 3.5 mm jack [no GPIO solutions] pluged loudspeaker of the raspberry pi

  • using a python script without any additional library that i have to download.

Can somebody give me a sample code?

  • Comments are not for extended discussion; this conversation has been moved to chat.
    – Ghanima
    Apr 18 '17 at 18:04

There is only one method to generate sound on the jack, and that is to use the GPIO either directly or via playing sound.

As you have ruled out using the GPIO there is no positive answer to your question.

  • as i still found no answer i assume you are right. I'll play mp3 files created with "audacity". thx for your answer anyway. ;-)
    – doej1367
    Nov 17 '17 at 22:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.