Skip to content
This repository was archived by the owner on Dec 11, 2024. It is now read-only.

Getting started

Robin Houston edited this page Apr 29, 2014 · 11 revisions

To use Talkie:

  • Record a script, and convert the audio file to MP3 and Ogg Vorbis formats. (The Ogg version is needed to support Firefox, which cannot play MP3 files.)

  • Include an <audio> element in your page that references the recording.

  • Load the d3 and Talkie libraries:

    <script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
    <script src="http://kiln.it/talkie-1.min.js" charset="utf-8"></script>
    <link rel="stylesheet" type="text/css" href="http://kiln.it/talkie/ui/1.0/talkie.css">
  • Define a timeline, to associate particular actions to moments in the script:

    Talkie.timeline("audio", {
        "0:01": SOME_ACTION_HERE,
        ...
    });

See the Demos for some complete simple examples.

Clone this wiki locally