Set the synchronizer to run the full time. Added documentation indicating that artists must add blank time at the end to eliminate the need to chop time off.

This commit is contained in:
foley@ru.is
2014-01-24 12:36:41 +00:00
parent f7d8c07bad
commit 6fcde3bb4b
2 changed files with 18 additions and 6 deletions

View File

@@ -62,11 +62,18 @@ The zip file/CD should contain this structure:
\texttt{libraries/} &required libraries and sample code for them\\
\texttt{prior-art/} &other existing synchronizer code that this system was inspired by\\
\texttt{tests/} &code for initial testing of the IR libraries\\
\texttt{util/} &useful utilities including a brute-force search routine for Philips remotes\\
\texttt{util/} &useful utilities including a general IR decoder\\
\end{tabular}
\section{Video preparation}
If you can get the artist to put at least 10 seconds of black at the end of the video, then you can use the full duration.
Otherwise, we will always cut off a few seconds of the video at the end to sure that all players stay synchronized.
See the {\tt choptime} and {\tt resetdelay} timing parameters in the code for how to adjust how much is cut.
In addition, the DVD or BD should have the entire content in one chapter and set to autoplay.
\section{How to operate}
To setup a freshly programmed synchronizer, the procedure is straightforward.
To setup a freshly programmed synchronizer, the procedure is straightforward.\\
\begin{enumerate}
\item Unpack the synchronizer and verify all of the parts are present.
\item {\em Make sure that the installation, play time, and player model on the label match the configuration you are setting up.}
@@ -79,14 +86,18 @@ To setup a freshly programmed synchronizer, the procedure is straightforward.
If the player fails to synchronize, consult Section~\ref{faq} for hints on how to diagnose.
\section{How to reconfigure}
If you need to change something, you will need to setup the Arduino IDE to change the program and upload it to the synchronizer.
\subsection{Arduino IDE and libraries}
You will first need to install the Arduino programming software from \url{http://arduino.cc}.
At the time of writing, the suggested version is 1.0.5.
If you are on a windows computer, it is very important to pick the right version (32bit vs. 64bit).
We do not include a copy of the Arduino software because it is constantly changing and improving.
Then install the IRRemote library from Ken Shirriff\cite{shirriff2009multiproto}.
Install the IRremote library from libraries. \footnote{The latest version can be acquired from \url{https://github.com/shirriff/Arduino-IRremote}} This usually consists of copying the \texttt{IRRemote} folder into \url{Documents/Arduino/libraries}. The newest 1.0+ series of Arduino software has an automated tool for this under ``Sketch'' then ``Import libraries''. More details on installing libraries at \cite{arduino:libraries}.
Install the all of the libraries in the {\tt libraries} folder. This usually consists of copying the \texttt{IRRemote} folder into \url{Documents/Arduino/libraries}.
The newest 1.0+ series of Arduino software has an automated tool for this under ``Sketch'' then ``Import libraries''.
More details on installing libraries at \cite{arduino:libraries}.
You may need to install other libraries; consult the top of the arduino code you are using for where to download the latest version.
Generally, the files in {\tt libraries} are sufficient.
\subsection{Setting up code}
Either copy the installation code\footnote{from \texttt{installations/}} or fresh synchronizer code\footnote{from \texttt{dvd/}} into a new \texttt{installations/} folder with the name and model number. For example, the installation ``dawn'' on a ``Toshiba SD590EKE'' would have the folder name \begin{verbatim}installations/dawn_toshiba_sd590eke/\end{verbatim}.

View File

@@ -34,9 +34,10 @@ String INST_NAME="Trajectories";
String ARTIST="Sigurdur Gudjonsson (video) & Anna Thorvaldsdottir (sound)";
String YEAR="2014";
int videotime = 14*60+44; // set here your DVD title playtime in seconds
int choptime = 4; // how much to chop at the end
int choptime = 0; // how much to chop at the end
// choptime is also for tuning timing errors
// for this video, 5 chopped off 4 seconds
// if the artists include 10 seconds of blackscreen at the end, then this can be set
// to 0
int resetdelay = 0; // seconds from reset to playing from beginning
int playtime = videotime - choptime + resetdelay;