Changeset 34378


Ignore:
Timestamp:
2020-09-14T15:52:34+12:00 (4 years ago)
Author:
davidb
Message:

No longer need the JSON file copied into the web/ext/audio area

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/mars-src/trunk/src/CASCADE-MAKE/WAVESURFER.sh

    r34370 r34378  
    7070    /bin/cp -r "$package$version/dist" "../../../web/ext/audio/ws"
    7171
     72# Turns out the JSON used by the Spectrogram plugin for WaveSurferJS wants
     73# the data directly (e.g. inline).  Can be set up with a URL call
     74#   WaveSurfer.util.fetchFile() ...
     75# but more effort, so have opted to embed JSON directly into wavesurfer-player.js
     76#    echo "Copying  colormap/hot-colormap.json to ../../../web/ext/audio/ws/."
     77#    /bin/cp -r colormap/hot-colormap.json ../../../web/ext/audio/ws/.
     78
    7279    echo "Copying  wavesurfer-player to ../../../web/ext/audio"
    7380    /bin/cp -r wavesurfer-player/css wavesurfer-player/wavesurfer-player.js ../../../web/ext/audio/.
     81
    7482
    7583fi
Note: See TracChangeset for help on using the changeset viewer.