Giter Site home page Giter Site logo

ptwz / lidar_altimeter Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 74 KB

Audio output for Garmin LIDAR Lite for use in hobby aviation

Home Page: http://peter.turczak.de/content/projects/lidar_altimeter/index.html

License: GNU General Public License v2.0

Shell 1.46% OpenSCAD 8.70% C++ 89.84%
altimeter arduino aviation garmin-lidar-lite lidar-lite voice

lidar_altimeter's People

Contributors

ptwz avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

lidar_altimeter's Issues

Make file for LPC

I am very surprised/ pleased by the quality of the LPC data used in this project. They sound much better than mine (also processed by your python_wizard) (I also noticed that 'ready', 'fail' and 'retard' sounds different)
Can you share the script to generate the sound wave as you did for make_sample.sh? Which voice are you using? (Tom ?)
I also use say on Mac and prepare the sound with Sox.

I have a Python script to process the text file line by line and generate an LPC file that my Arduino can read directly from a sd card
My flow goes like this for each line

       # generate temporary audio wave with  the Mac's voice	
	system('say  -v"tom" -o audio/' +  label +'a.wave -r 140 '+ '[[slnc 10]]'+line)
	
	# convert wave to 8kHz 16 bit wav
	system('sox audio/'+ label+'a.wave  -r 8k -b16  audio/'+label+'.wav ') 
	
	#play audio
	system('afplay audio/'+ label+'.wav')
	
 	#print label to file so the Arduino can file the line in the file
	system('printf '+label+': >> '+ out)
	
	#process wave with python_wizard
	system('python python_wizard.py -u 0.93 -w 2 -S -p -a -0.9375 -m 0.9 -F 25 -f hex  audio/'+ label+'.wav >> '+ out) 
	
	#delete temporary wave
	system('rm audio/'+label+'a.wave')

Maybe the quality produced on my side is related on how I use python_wizard but I want to make sure that I generate the wave file correctly before processing them with python_wizard

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.