cool tech zone zone
Built in Speaker - Printable Version

+- cool tech zone zone (https://forum.cooltech.zone)
+-- Forum: Tangara (https://forum.cooltech.zone/forumdisplay.php?fid=3)
+--- Forum: Hardware (https://forum.cooltech.zone/forumdisplay.php?fid=8)
+--- Thread: Built in Speaker (/showthread.php?tid=18)



Built in Speaker - taylorhayis - 2024-03-14

Sometimes I like listening to music on my phone's built in speaker - and I'd love that feature in Tangara! My plan once I build mine, is to add one (or maybe two if I'm feeling fancy) of these to the case (might need to add a bit of extra room in the back) and wire them to a switch to route the headphone jack to the little onboard amp.
Should allow me to annoy people on the train with my tunes! (Sarcasm)

https://www.adafruit.com/product/3885

I've played with iPhone speakers a bit, and they sound good (plus they are only 3mm thick) - but soldering onto the pads is a challenge... plus they are really quiet when driven from an iPod on max volume.

Anyone else have a similar vision? Any ideas for other speakers?


RE: Built in Speaker - Construc_ - 2024-03-15

modular attachable accessories ?
such a neat idea, but its way beyond my capabilities! id love to see how yours goes ?


RE: Built in Speaker - taylorhayis - 2024-03-15

Well I inspired myself with that last reply, so I went to my pile of phones and opened up an iPhone 6 - as expected, the speaker has no connector but instead makes contact to a bit of bare metal on a flex cable below it, with little bendy pins.

Soldered a chopped aux cable onto the pins and that's a bingo - she plays. Sounds pretty not great though, and not very loud. I suspect an amp and a lower output from the iPod might help the sound quality a bit? But proof of concept proven. I suspect a newer iPhone speaker would sound better (as my iPhone 13 speaker sounds great)


Sound demo here - https://www.youtube.com/shorts/4OkoTCWa168 (bastards forced the video to be a short, and wont let me embed - bloody google.)

Definitely going to keep playing with this idea for my Tangara! There's about 8mm of space below the mainboard, plenty for the lipo and a couple iPhone speakers.
At this stage thinking I'll use an external switch that connects the speaker (or amp) to the pins of the headphone jack. With switch on it's playing from loudspeaker, and with switch off it plays though headphone jack (well actually with switch on it would be playing through both...)

[Image: cCJ7guL.png]


RE: Built in Speaker - aga - 2024-03-15

(2024-03-15, 04:23 AM)taylorhayis Wrote: Sounds pretty not great though, and not very loud. I suspect an amp and a lower output from the iPod might help the sound quality a bit? But proof of concept proven. I suspect a newer iPhone speaker would sound better (as my iPhone 13 speaker sounds great)
AFAIK phone/laptop microspeakers need DSP to (among other things) sound good (see this video for a Macbook example) and I don’t think that Tangara’s CPU is powerful enough for this.


RE: Built in Speaker - jacqueline - 2024-03-15

We should be able to manage some basic EQ-type processing; especially when not on Bluetooth.


RE: Built in Speaker - taylorhayis - 2024-03-17

(2024-03-15, 06:44 PM)aga Wrote: Sounds pretty not great though, and not very loud. I suspect an amp and a lower output from the iPod might help the sound quality a bit? But proof of concept proven. I suspect a newer iPhone speaker would sound better (as my iPhone 13 speaker sounds great)
AFAIK phone/laptop microspeakers need DSP to (among other things) sound good (see this video for a Macbook example) and I don’t think that Tangara’s CPU is powerful enough for this.

That's awesome! Thanks for that - I wasn't familiar with DSP, but sounds like that's absolutely how they are doing it. Phone speakers will work - but I your comment makes me feel that they will have a far worse sound quality than on an iPhone.

(2024-03-15, 09:47 PM)jacqueline Wrote: We should be able to manage some basic EQ-type processing; especially when not on Bluetooth.

That might be a solution! If there's an EQ might be able to improve what's lost by not having apple's DSP.

Are there any spare GPIO pins by chance? Would be cool to write some Lua and add a menu entry to enable / disable a GPIO...