footswitch Footswitch

Tags: Extension Writer

A transcription tool working wholly within LibreOffice Writer.
Allows the transcriber using Audio or Video to control Play/Pause, Jump back, Jump forward and Input timestamps via Hot Key, button click or a foot pedal.

footswitch 0c92af54 76ea 46be a2c2 2b53b615ea86

Description

Footswitch (LibreOffice version) is a media player in its own right.

Built using the python bindings for LibreOffice it listens to the foot pedal and calls the functions which you have assigned to them.

This python script allows the transcriber to work wholly within LibreOffice Writer with control of the Play/pause, Jump back and Jump forward available via Hot Key, button click or a foot pedal.

It was written specifically to run under Linux using: a VEC Infinity USB foot pedal but will work with foot pedals from other manufacturers, see the notes below and LibreOffice Writer as the word processor.

There is no reason for it not to work under a Windows OS, that I can think of, with the exception of access to a foot pedal, where I believe that interfacing with a HID device (foot pedal) can be problematic. That said, I would think that configuring “footswitch” to not use a foot pedal and assigning the Hot Key actions to the physical foot pedal using the “AutoHotKey” software, freely available for Windows users, would achieve the same result.

From this point on, please assume that all instructions are for Linux.

If you attempt to access a foot pedal using footswitch in MS Windows or Mac OS, I would like to know if and how you succeed. In which case I can update this document. I for my part do not own either OS.

Written on a Linux Mint 17.3 Rosa 64bit machine using python 3.4.3 and LibreOffice 5.1

Dependencies are as follows: LibreOffice (tested with version 5.1 and 4.2) python3-uno default-jre (Java Runtime Environment) libreoffice-script-provider-python libreoffice-avmedia-backend-gstreamer python3-evdev (Linux only and only if you are using a foot pedal) gksu (Linux only and only if you are using a foot pedal)

User Interface available in English, Spanish and German.

Release List

  • Release Description Compatibility Operating Systems License Release notes  
  • 1.3 Adapted to cope with the move by LibreOffice to Gtk3 and Ubuntu dropping the gksu package. 4.2 Linux GPL

    Footswitch (LibreOffice version) is a media player in its own right.

    Built using the python bindings for LibreOffice it listens to the foot pedal
    and calls the functions which you have assigned to them.

    Other flavours of footswitch are available, which are only for Linux
    and run separately from but in conjunction with LibreOffice Writer.
    There are versions based on both the Vlc and Gstreamer media players.
    For details visit https://sourceforge.net/u/rolfofsaxony


    Features:
    - Uses Gstreamer bindings in LibreOffice so should play whatever audio media
    Gstreamer can play
    - Configuration of 3 pedals for Infinity USB foot pedal (or USB pedals from
    other manufacturers)
    Jump Forward, Jump Back, Play/Pause,Timestamp, Unclear timestamp and Disable (pedal)
    - Controls are Pause, Play, Jump back, Jump Forward, Stop, TimeStamp,
    Unclear TimeStamp, Adjust Volume
    - Configurable Jump lengths and jump back after pause
    - Very small (always on top) window footprint allowing full-screen
    for text editor
    - Running time and current position displayed
    - Alterable Hot-Keys for all of the functions
    - Plays common video files
    - Pre-loaded LibreOffice Writer Hot-Keys
    Alt+1 Load footswitch
    Alt+2 Toggle Play/Pause
    Alt+3 Stop/Exit
    Alt+5 Jump Back
    Alt+6 Jump Forwards
    Alt+8 Volume Up
    Alt+9 Volume Down
    Alt+0 Help

    Alt+T Insert Time Stamp
    Alt+U Insert Unclear Time Stamp

    Download
  • 1.1.0 More aggressive attempt to discover the installed foot pedal on Linux 4.2 Linux GPL
    Footswitch (for LibreOffice) (1.1.0)
      * The known_hid_footpedals.txt file has been included in the delivery.
      * This file is used to dynamically find and assign the foot pedals
      * HID identity
      *
      * A new option on the Footswitch drop down menu has been added
      * “Edit Known Footpedals”
      * This allows you to edit the file and add your own footpedals
      * Hid devices codes if they are not already included in the file
      *
      * known_hid_footpedals.txt file
        #This is a list of known foot pedals for the udev system
        #first part is the vendor:product id and then a comma separator 
        # and then the name of the device
        # To add your own device, just add it to the end of the text
        # on its own line.
        # Optionally you may add the 3 key codes that your foot pedal sends
        #  see the Microdia entry below,
        #          Left pedal send KEY_PREVIOUS
        #          Middle pedal send KEY_PAUSE
        #          Right pedal send KEY_NEXT
        # Note: to get the vendor:product id of your device
        # type lsusb on the command line
        # Lines that start with the hash (#) character are comments
        #
        05f3:00ff,Vec foot pedal
        07b4:0202,Olympus RS26 foot pedal
        07b4:0218,Olympus RS28 foot pedal
        0c45:7403,Microdia foot pedal,KEY_PREVIOUS,KEY_PAUSE,KEY_NEXT
        0d50:0040,F4 foot pedal
        12c4:0008,Telep foot pedal
        0911:091a,Philips foot pedal
     
    Download
  • 1.0.0 Initial release 4.2 GPL Download

Feedback

☆ ☆ ☆ ☆ ☆

Post your review

Reviews

No one has commented on this page yet.

RSS feed for reviews on this page | RSS feed for all reviews