changeset 83:e5c62fdfae4e

awk program to transform from standard sonic-annotator csv output to molina-style
author Matthias Mauch <matthias.mauch@eecs.qmul.ac.uk>
date Thu, 04 Dec 2014 12:40:28 +0000
parents 00cffb79d0e0
children e640768a007f
files notecsv2molina.awk
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/notecsv2molina.awk	Thu Dec 04 12:40:28 2014 +0000
@@ -0,0 +1,1 @@
+BEGIN {FS=","}; {$2=$1+$2; $3 = 69+(log($3/440)/log(2)*12); print $1,$2, $3}