Skip to content

Latest commit

 

History

History
77 lines (61 loc) · 2.01 KB

HOWTO-slides.md

File metadata and controls

77 lines (61 loc) · 2.01 KB

Process audio

session_number=0
infile=RecordXXX.amr
outfile=fpb-${session_number}
title='There is no Spoon'
date='2015-02-16'

mplayer -really-quiet "${infile}" -ao pcm:file=>( sox -t wav - -t wav -e unsigned-integer "${outfile}.wav" )
# ... post process... for example Audacious
oggenc -q 4 \
    --date "${date}" \
    --title "${title}" \
    --album 'FPB' \
    --artist "Speaker ${session_number}" \
    --genre speach \
    "${outfile}.wav"

Try to play with options to make file as small as possible, with as good quality as possible. For example try oggenc -q 2 -b 16 --resample 22000

Audio should start with informative message:

This is recording of Functional Programming Brno meetup number __ where ____ ____ talks about ____. Functional Programming Brno is platform for everyone with interest in functional programming that happens to be in or near Brno. To find out more visit FPBrno.github.io.

Some of audio files (mostly more work consuming ones) might end with:

Hi. I have a favour to ask: if you are listening right now, please let us know by tweeting @FPBrno. That way we'll know that recording our meetups makes sense and we'll continue to do so even though it's quite time-consuming. Thanks.

Prepare data for player

n=0
import -window root img-$n.png; len n+=1

or for pdf

gs -dBATCH -dNOPAUSE -dSAFER \
    -dAlignToPixels=0 -dGridFitTT=2 \
    -dTextAlphaBits=4 -dGraphicsAlphaBits=4 \
    -dPDFFitPage -g1024x598 \
    -sOutputFile=slides/img-%d.png \
    -sDEVICE=png48 \
    "${slides}.pdf"

Then minify screenshots at https://tinypng.com/.

Create online player

For inspiration look to last meetup recording.

Other

  • create new folder "fbb-X"
  • stuff it with data
  • modify gen/test-html.hs and regenerate index.html
  • check locally how it looks
  • check that it will work over http and https (for example use // instead of http:// where possible)
  • create pull-request