FieldDB / PraatTextGridJS

A small library which can parse TextGrid into json and json into TextGrid
Apache License 2.0
11 stars 5 forks source link

Convert audio interval json into TextGrid #1

Open cesine opened 10 years ago

cesine commented 10 years ago

@SymonJoryStevens-Guille it looks like this new code fails the build: https://travis-ci.org/OpenSourceFieldlinguistics/PraatTextGridJS/builds/32537117

If you have time, you can take a look at it and try to make it so the build doesnt fail. If not, I can take a look maybe next week.

Failures:
  1) lib/textgrid Should load SampleInput.json
   Message:
     Error: ENOENT, no such file or directory '/home/travis/build/OpenSourceFieldlinguistics/PraatTextGridJS/test/SampleInput.json'
   Stacktrace:
     Error: ENOENT, no such file or directory '/home/travis/build/OpenSourceFieldlinguistics/PraatTextGridJS/test/SampleInput.json'
    at Object.fs.openSync (fs.js:432:18)
    at Object.fs.readFileSync (fs.js:289:15)
    at null.<anonymous> (/home/travis/build/OpenSourceFieldlinguistics/PraatTextGridJS/test/audio-intervals-spec.js:50:39)
cesine commented 9 years ago

@SymonJoryStevens-Guille can you check in those two files that you created as test input and output so we can use your code?