Skip to content
Yihui Xiong edited this page Jul 22, 2016 · 24 revisions

Welcome to Respeaker wiki!

##Hardware top view bottom view ###Schematic Respeaker Core v1.0 alpha1 sch ###Component Layout Top Layer

Bottom Layer

Serial console

Connect to the Internet

  • Connect your smart phone/lattop to a Wi-Fi named LinkIt_Smart _xxxxxx and visit 192.168.100.1. After setting a password of respeaker and logining in, you need to select station mode, select a Wi-Fi network and enter the password as the following picture.

Station mode setting.jpg

Record & play

arecord -M -f S16_LE -r 16000 -c 1 --buffer-size=20480 -v /tmp/sample.wav   # record audio with 16000 sample rate, 16 bit width, 1 channel
aplay -M /tmp/sample.wav  # play wav audio
madplay music.mp3         # play mp3 audio

Play music with Airplay/DLNA

  • With Airplay/DLNA, you can stream music to respeaker.
  • To use Airplay/DLNA, you need to connect respeaker and your smart phone to the same Wi-Fi network.

###Use Airplay

  • On your iOS device, swipe up from the bottom of your screen to open Control Center.
  • Tap AirPlay.
  • Select "Shairport Sync on mylinkit", and play music on your iOS device.

  • Connect your headphone to respeaker, then you can enjoy the music now.

##Speech to text

  • This is a python example to use Microsoft cognitive services, you can copy it to respeaker.

$ git clone https://github.com/respeaker/microsoft_cognitive_services.git

  • Get a API key from Microsoft and add it to those scripts.
  • Install required package.

$ pip install monotonic

  • Read audio from microphone.

$ python bing_stt_with_vad.py

  • Recognize audio from file (16000 sample rate, 1 channel).

$ python bing_recognizer.py