I'm now at the point in the project where I can match what I have with what I can.

 

Photo 22-05-15 23 36 57.jpg

 

I overestimated my skills when I announced that I would try to integrate a Shazam-like service into my player.

Or more honest: I didn't overestimate. I set this a s a goal to force myself to reach as far as I could.

At that time, I expected that I'd be faster to adapt embedded  Linux.

Based on no particular evidence, I predicted for @self that I'd be on track with that technology fast.

 

And I didn't get on track fast. It was a steep curve. And that steep curve resulted into unexpected results.

My flashy goals are out of reach. No way will I be able to get that song recognition part integrated.

It's a magnitude more complex than what I learned up till today. I'm  a realist. That's not something I'm going to achieve right now.

 

But I think that this is offset by something more valuable for the outside world. I've shared my struggle.

I will not deliver that mystical enchanted song recognition system.

But on the way of not delivering that, I have written a trail of experiences and HOW-TO's that may help the community.

I learned a lot. And I hope that this opens up opportunities for you.

Along the way, this may have caused some discomfort left or right. It will turn out alright in the end.

 

Achievable Goals

 

First, there are all the things that I've shown before (turntable motor drive, speed detection, control loop, audio sampling, FFT and spectrum analysis, servo lift).

As a stretch for myself, I'm going to port as much as I can of that into the SAMADA5D4.  As a learning opportunity for @self,

And as a tribute to the power of that processor.

 

To make it connected, I plan to beam a part of the audio information to the cloud.

I'll broadcast a message with the bass, mid and treble info of the record currently playing.

Subscribers all over the world (most likely me only ) can subscribe and animate something based on that.

My animated thing will be an internet connected light organ, powered by Yún and Infineon LED shield. Yours may be a frequency analyzer visualization thingy..

Latency  be damned .

 

Ah, and I don't have high power leds for the light organ. Send me some please.

 

 

Table of Contents
Chapter 1: Fix the turntable
1: Perpetuum Ebner Musical 1
2: A Time to Kill and a Time to Heal
3: Preparation for Motor Drive
4: Motor control with Infineon Motor Shield and Arduino UNO
5: Turntable speed sample testbed with Arduino UNO
6: Turntable Speed Sensor design
7: Control Theory - End of Chapter 1
Chapter 2: First Enchantments
8: Digital Light Organ Enchantment
9: Autonomous Servo Lift
10: SMD Time - Solder the IR Speed Sensor PCB
11: Yelp - who can Help me to Compile and Run my First SAMA5D4 C Program
12: Son et Lumiere - End of Chapter 2
Chapter 3: Taming the Board
13: Breakthrough - Run my own C++ Program on the SAMA5D4
14: Digital Light Organ Input Buffer
15: SAMA5D4 Blinky
16: Scope Creep
17: Audio Sampling with 16-bit ADC ADS8343
18: Sending Files to SAMA5D4 over USB
19: Port my Light Organ from Arduino to SAMA5D4
20: Fast Fourier Transform on the SAMA5D4 - End of Chapter 3
Epilogue: Reaching for the Clouds
21: Right-Sizing my Plans
22: My Own C++ Buffered Sampler on the SAMA5D4
Interlude
23: Building In the Motorized Light Organ
24: Up to the Clouds with Yún
25: Publish or Perish
26: Turntable Finished
Stretch & Boni
Bonus 1a: Remote Light Organ with WiFI pt. 1
Bonus 1b: Remote Light Organ with WiFI pt. 2
Grande Finale: Paho MQTT Client on the SAMA5D4
Related blog
Vintage Turntable repair: Can I fix a Perpetuum Ebner from 1958
Review 1: Atmel SMART SAMA5D4 Xplained Ultra Unboxing and First Steps
Review 2: Atmel SMART SAMA5D4 Xplained Ultra - Building the Libraries from Source
Review 3: Digital Continuous Rotation (360°) Servo Part 1
Review 4: Digital Continuous Rotation (360°) Servo Part 2
Review 5: Atmel SMART SAMA5D4 Xplained Ultra - TCP/IP running
Review 6: Atmel SMART SAMA5D4 Xplained Ultra - LINUX Distro with SSH support
poem
Enchanted Objects: Let's work together to tame the ATMEL SMART SAMA5D4 Xplained Ultra kit
17 bis: Off South...
Review 7: Atmel SMART SAMA5D4 Xplained Ultra - C++ ADC Example on Linux
Review 8: Atmel SMART SAMA5D4 Xplained Ultra - Product Review
Review 9a: Atmel SMART SAMA5D4 Xplained Ultra - Set up ADC Buffer with Hardware Trigger Part 1
Review 9b: Atmel SMART SAMA5D4 Xplained Ultra - Set up ADC Buffer with Hardware Trigger Part 2
Review 10: Atmel SMART SAMA5D4 Xplained Ultra - New Content on AT91.com
1958 Turntable from the Black Forest - Summary of the Enchanted Player Story