{"items": [{"author": "Lex", "source_link": "https://plus.google.com/111102660583646544610", "anchor": "gp-1356973798542", "service": "gp", "text": "I'm only guessing, but I would guess linear interpolation. Working that out, you get formulas like this:\n<br>\n<br>\nvol_L = vol * pan * 2\n<br>\nvol_R = vol * (1-pan) * 2\n<br>\n<br>\nBe sure to double check that nothing is mu-law encoded. There's more to do if it is.", "timestamp": 1356973798}, {"author": "Jeff&nbsp;Kaufman", "source_link": "https://plus.google.com/103013777355236494008", "anchor": "gp-1356975734681", "service": "gp", "text": "@Lex\n\u00a0how would that reverse? \u00a0Converting (left, right) back to (vol, pan)?", "timestamp": 1356975734}, {"author": "Jeff&nbsp;Kaufman", "source_link": "https://plus.google.com/103013777355236494008", "anchor": "gp-1356975994541", "service": "gp", "text": "Hmm, I think it reverses to:\n<br>\n<br>\nvol = 1/2 * (left + right)\n<br>\npan = left / (left + right)", "timestamp": 1356975994}, {"author": "Lex", "source_link": "https://plus.google.com/111102660583646544610", "anchor": "gp-1356976768960", "service": "gp", "text": "vol = (vol_L + vol_R) / 2\n<br>\npan = vol_L / (vol_L + vol_R)\n<br>\n<br>\nLooking at all this, I realize I used pan=0 to mean all the way to the right. That might be backwards. If your pan settings are really 0=left, 1=right, then swap L and R in all the formulas I gave.", "timestamp": 1356976768}, {"author": "Danner", "source_link": "https://www.facebook.com/jefftk/posts/151956734953583?comment_id=151986958283894", "anchor": "fb-151986958283894", "service": "fb", "text": "Careful with messing with linear interp and sound. log volume and stuff... make sure you have the correct interp or things are going to go wonky fast.", "timestamp": "1356977160"}]}