Skip to content

quizbowl/audio-packets

Repository files navigation

Audio packets

The audio files have been renamed to avoid spoilers.

The original answerline documents are included, and have also been converted to plain text.

Contents

Some sets currently rehosted without explicit permission. Links to forum threads and sources (which may not work anymore):

Audio packets not archived here

Not an exhaustive list of all audio packets ever made, but hopefully useful:

† Defunct; formerly available exclusively via Qblitz before it shut down at some point before October 2023. Unclear ownership or hosting rights at this point.

Upcoming (as of November 2023):

Script

A bash script (play_il_packet.bash) is included to make playing the packets easier (either by yourself, or in a group). It merely reads each question prompt out loud before playing the corresponding audio file, and goes through a single directory in order.

This section assumes that you already know how to use a command line interface to change the directory and run a simple program. It was written for my own personal use (on a Mac), so it may not work for you out of the box.

To play packet 1 from Imaginary Landscape No. 1, for example:

cd il1
../play_il_packet.bash 1

You can skip to a certain question (in case you quit by mistake). For example, to start playing packet 1 from question 6:

../play_il_packet.bash 1 6

The script is controlled by the following commands:

  • Press Space to play/pause a question
  • Press Ctrl-C to stop a question early
  • Press Ctrl-C again to exit

The script can be configured by enabling the following flags:

  • ANSWERPLEASE: waits and says "Answer please?" and "Time" after the question finishes
  • ENTER: must press enter to continue to the next question
  • SAYANSWER: says the answer after the question finishes
  • SKIPHARD: skips questions whose filename contains the string "Hard"

The script has the following requirements:

  • say: text-to-speech Mac built-in, for speaking the question prompts and answers
  • mplayer: open-source media player, for playing the audio files (can install via homebrew)

To determine the audio device ID, you can run a command such as mplayer -ao coreaudio:device_id=help path/to/some/music.mp3.

File structure

The script expects the folders and packets to be formatted in a certain way. See examples in this repository.

For each packet, there must be a folder of audio questions (1/01.mp3, 1/02.mp3, etc.), a text file of prompts (prompts/1.txt) containing one line for each question (starting with 1. , 2. , etc.), and a text file of answers (containing one line for each answer (starting with ANSWER: ). Thus, a question set foo with 2 packets of 3 questions each should have the following structure:

foo/1/01.mp3
foo/1/02.mp3
foo/1/03.mp3
foo/2/01.mp3
foo/2/02.mp3
foo/2/03.mp3
foo/answers/1.txt
foo/answers/2.txt
foo/prompts/1.txt
foo/prompts/2.txt

How to download questions

The options are listed with the most recommended one first.

  1. Use any git client (either command line or desktop) to clone the whole repository. This will keep all the packets in one place. Any updates can easily be downloaded with a simple git pull.
  2. Click the green Clone or download button above, then Download ZIP to download the whole repository.
  3. Using GitHub’s online interface, navigate to an audio file and click either View Raw or Download. You may need to use a browser like Firefox instead of Google Chrome. This is because GitHub intentionally serves all raw files as plain/text, regardless of the actual type. Firefox plays these audio files because it tries to detect the type of any file, instead of trusting what GitHub’s server says.

How to play audio over Discord

Gist of these instructions

Your computer can have multiple “audio devices,” such as a microphone, a speaker, or a virtual audio device that you might need to create anew.

  • Change the output audio device in your media player from “speaker” to the virtual device.
    • If you also want to hear your media player’s audio through your speakers/headphones, you will need to create a “multi-output device” that outputs simultaneously to both “speaker” (or default output) and the virtual device. Then change the output audio device in your media player to this new multi-output device.
  • Change the input audio device in your Discord voice settings from “microphone” to the virtual device.
    • If you also want to talk into your microphone while playing music, you will need to combine “microphone” and the virtual device by doing something more complicated.

Search how to play music through mic on Google for more information on this topic.

Mac

Install Soundflower (a Mac extension for interapplication audio routing) and use Soundflower (2ch) as the virtual device. Change the media player output to Soundflower (2ch) and the Discord input to Soundflower (2ch).

Example settings for the Multi-Output Device (in the native Mac utility Audio MIDI Setup):

Windows

Install something like Cable to use virtual devices.

Discord settings

Your Discord voice settings should look similar to the following image. Disable echo, silence, and noise detection (as these features are intended for conversational speech). Change the bitrate of the Discord voice channel to 96 kbps.

About

Archive for audio quizbowl packets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published