Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8946321
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T12:28:49+00:00 2026-06-15T12:28:49+00:00

I know that some devices headphone ports (maybe all of them? any reference here

  • 0

I know that some devices headphone ports (maybe all of them? any reference here would be good) have 3 channels, for stereo sound and microphone. So I was wondering if it’s possible to detect something like this pedal on these devices.

If it’s possible, using the audio recorder would be enough? I’m studying possibilities for an app here, and this sounds promising if possible.

Thanks

EDIT

I was searching more about it and I was wondering if the pedal would have the same effect as those headsets with buttons. It’s deadly easy to override their effects, I created a simple app that does it and now I’m waiting for my pedal to try. Any thoughts about it ?

UPDATE

I just tried it in the pedal and it doesn’t work. Although we managed to use the pedal to pause a music app. The device was running Cyanogen though. The voice recorder also didn’t detect anything on the key press. Need suggestions on how to detect it :).

UPDATE

AS the bounty is about to expire, a minor update. The last link provided by @Nick.T got some helpful info but I’m still not able to create a sample to detect the pedal. So I made a small change on the title question, and any guidance on that direction would be very much appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T12:28:50+00:00Added an answer on June 15, 2026 at 12:28 pm

    It’s not clear if this will work without having the actual hardware in my hands, but… Don’t plug the jack all the way into the socket. The tip of the jack should then connect to pin 2, left audio out, of this diagram:
    http://pinoutsguide.com/CellularPhones-P-W/samsung_galaxy_headset_pinout.shtml
    and the ring should connect to pin 3, microphone in. If you push the jack all the way in, the ground pin on the jack shorts out the microphone input and you won’t detect anything – pictures at https://en.wikipedia.org/wiki/File:Photo-audiojacks.jpg show how the connections will mate.

    Play some audio out the Left channel, record it on the mic channel, and measure the amplitude. That may – if it’s all wired up right – tell you the pedal position. If the far end of the potentiometer is connected to the ring of the jack, that’s not going to work.

    That all sounds rather Heath Robinson. You could buy an inline 3-pin female jack socket and a 4-pin male jack plug and wire the two together to get whatever pinout you need. No electronics; just connectors and bits of wire! Or use a cable like this one:
    http://www.ebay.co.uk/itm/1mt-3-5mm-4-Pin-Jack-Male-Plug-4-Pole-Jack-female-Socket-Extension-Lead-Cable-/251172651017?pt=UK_Computing_Sound_Vision_Audio_Cables_Adapters&hash=item3a7b0e8009&_uhb=1
    and a sharp knife and some stickytape.

    The other problem would come if the phone refuses to send audio to the jack when the jack isn’t plugged fully home – there’s an extra contact in the socket that detects that mechanically. But it would work if you made 3-pin to 4-pin adapter.

    Or, just cut the 3.5mm jack off your (shiny new) expression pedal. Replace it with the 4-pin connector off one of those broken phone headsets you have lying around.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know that there are some threads have a similar issue with this thread.
I know that there must be some differences. I have a Silverlight component (
I just want to know that can i make an application which have some
Some information: i have to write a program that controls some devices (this is
I know that some other languages, such as PHP , support a concept of
I know that the additional consideratiosn when compiling for x64 is that some data
In jquery when I run: $('li').each(some-function(i){}); The IDE seems to know that some-function is
i know that there is some rules and standards in css handling but i
I know that if I am inside some function foo() which is called somewhere
I know that this may be an amateur question but for some reason I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.