EDIT: sorry for the wall of text, I explain the issue more succinctly two posts down
Hello
I'm a relative beginner to working with electronics, but am very enthusiastic to learn. I also recently picked up the bass guitar. I figured it would be a fun project to make a distortion pedal consisting of an amplifier and some diodes to clip the signal of the instrument. After googling other peoples designs to see how they've done it, I found some common designs and copied them, but after plugging everything into a breadboard, it didn't work properly (It sort of worked for a little bit, among various horrible squealing noises, and getting no signal at all, but upon attempting to troubleshoot the issues I only managed to make it stop working entirely). I took it all apart and started again, less ambitiously with the goal to create a basic amplification circuit using an op-amp.
Unfortunately, I managed to cook two opamps and have nearly done the same to my last one another two times. I am currently using an NE5532P.
As a power supply I am using an old wall plug fixed power supply rated at 9V and 510mA that is from some unidentified old device (Perhaps notable is that one day the power supply was supplying 14V and the next it was supplying 15V. I have no clue what that could mean, especially considering its only supposed to be 9V).
I have a voltage divider using two 10kOhm resistors. Ground goes to the negative supply of the opamp and the high voltage goes to the positive supply of the opamp.
The divided voltage goes to non-inverting input via a 1MegOhm resistor, and the input audio signal from the instrument is also plugged in there.
The noninverting input is connected via a 1kOhm resistor to ground, and a 100kOhm gain controlling potentiometer to the output.
However, the moment I plug in the power, the opamp draws way too much current and gets extremely hot, no matter what the gain resistor is set to. I put a 470ohm resistor in series with the power supply to limit the current draw to allow me to probe the circuit with my multimeter before anything is destroyed. I found that there is an 80mV potential difference between the inverting and noninverting inputs. I don't know whether thats because im starving the opamp for power by limiting the current or another issue with my circuit.
This should be a simple circuit, but I just can't figure out whats wrong with it.
I know this is a terribly vague question, but does anyone have any troubleshooting tips, or know what might be causing the particular issues I'm running into?