class AudioBookCreator::SpeakerDef

Attributes

bit_rate[RW]
channels[RW]
max_hours[RW]

split on this hour mark

rate[RW]
regen_audio[RW]
sample_rate[RW]
voice[RW]

currently like the following voices: Vicki # 10 Serena # 8 UK Allison # ? (ok) Moira # 7 Irish Fiona # 5 Scottish Kate # 4 UK Susan # 2 Zosia # 0 Poland Angelica # 0 Mexican? Paulina # 0 Mexican

Public Class Methods

new(options = {}) click to toggle source
# File lib/audio_book_creator/speaker_def.rb, line 25
def initialize(options = {})
  options.each { |n, v| public_send("#{n}=", v) }

  # for speaking the chapter
  @voice    ||= "Vicki"
  @rate     ||= 280

  # for binding the book
  @channels  ||= 1
  @bit_rate  ||= 32
  @max_hours ||= 7
  @sample_rate ||= 22_050
end