PeterLemon / RaspberryPi

Raspberry Pi Bare Metal Assembly Programming
447 stars 67 forks source link

Stereo Audio not stereo #19

Closed LizardLad closed 5 years ago

LizardLad commented 5 years ago

In your 12bit 44100Hz stereo cpu demo the audio doesn't actually come out in both sides of the headphones. The headphones are perfectly functional in other devices it seems like this code doesn't actually give stereo output. Is there a way to make the code stereo?

PeterLemon commented 5 years ago

Hi OllieLollie1,

My demos are stereo, I think you are using a R-pi newer than version 1, these newer R-pi's use a 3 prong jack for stereo audio & composite video, I noticed sometimes my stereo headphones when pushed all the way in have mono output on my Stereo Audio demos, you will need to either buy a 3 prong input jack, or push your stereo headphones not all the way into the jack to hear Stereo Sound, I hope this helps.

LizardLad commented 5 years ago

Yes I have a Pi 3B. My headphones have three black rings. Wouldn't that indicate that it should be stereo sound even with the composite video? I tried putting them in part way however isn't that just duplicating the mono channel across two outputs?

PeterLemon commented 5 years ago

Oh weird, dunno what is going on then if you have headphones with 3 black rings! You will be able to hear stereo easily when you get it to work, I use a drum loop that is made to pan & show it off. Try using normal headphones with 2 black rings I guess!

LizardLad commented 5 years ago

Thanks I will try that.


From: PeterLemon notifications@github.com Sent: Wednesday, October 3, 2018 8:21:09 PM To: PeterLemon/RaspberryPi Cc: STRONG, Oliver (ostro2); Author Subject: Re: [PeterLemon/RaspberryPi] Stereo Audio not stereo (#19)

Oh weird, dunno what is going on then if you have headphones with 3 black rings! You will be able to hear stereo easily when you get it to work, I use a drum loop that is made to pan & show it off. Try using normal headphones with 2 black rings I guess!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/PeterLemon/RaspberryPi/issues/19#issuecomment-426584460, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ASWmjcfTi4UHBJ3h0MXoQge7LPG1b043ks5uhI-VgaJpZM4XDLWv.


IMPORTANT: This email and any attachments may contain legally privileged, confidential or private information, and may be protected by copyright. You may only use or disclose this information if you are the intended recipient(s) and if you use it in an authorised way. No other person is allowed to use, review, alter, transmit, disclose, distribute, print or copy this email and any attachments without appropriate authorisation.

If you are not the intended recipient(s) and the email was sent to you by mistake, please notify the sender immediately by return email or phone, destroy any hardcopies of this email and any attachments and delete it from your system. Any legal privilege and confidentiality attached to this email is not waived or destroyed by that mistake.

The Department of Education carries out monitoring, scanning and blocking of emails and attachments sent from or to addresses within the Department of Education for the purposes of operating, protecting, maintaining and ensuring appropriate use of its computer network. It is your responsibility to ensure that this email does not contain and is not affected by computer viruses, defects or interference by third parties or replication problems (including incompatibility with your computer system).

The Department of Education does not accept any responsibility for any loss or damage that may result from reliance on, or the use of, any information contained in the email and any attachments.