Skip to content

Instantly share code, notes, and snippets.

View oleq's full-sized avatar
☀️

Aleksander Nowodzinski oleq

☀️
View GitHub Profile
@oleq
oleq / _README.md
Last active September 7, 2024 13:11
A2DP audio streaming using Raspberry PI (Raspbian Jessie)

What is this all about?

This tutorial will turn your Raspberry PI into a simple Bluetooth audio receiver, which plays music through connected speakers. It's like a regular car audio system, but it can be used anywhere and it's a good value.

   Audio source (i.e. smartphone) 
                |
                v
 (((  Wireless Bluetooth Channel  )))
 |
var getWeek = function(d) {var e=new Date(d),f=e.setDate(d.getDate()-(d.getDay()+6)%7+3);e.setMonth(0,4);return((f-e)/6048e5)+1.5|0};
var testData = {
'2005-01-01': 53,
'2005-01-02': 53,
'2005-12-31': 52,
'2007-01-01': 01,
'2007-12-30': 52,
'2007-12-31': 01,
'2008-01-01': 01,