Printed book version:
Smith, Julius O. Spectral Audio Signal Processing, W3K Publishing, http://books.w3k.org/, ISBN 978-0-9745607-3-1.
Web version:
Smith, J.O. Spectral Audio Signal Processing, http://ccrma.stanford.edu/~jos/sasp/, online book, 2011 edition, accessed <date>.
Specific page citation example:
Smith, J.O. "Hamming Window", in Spectral Audio Signal Processing, http://ccrma.stanford.edu/~jos/sasp/Hamming_Window.html, online book, 2011 edition, accessed <date>.
Raw HTML example:
Smith, J.O. Spectral Audio Signal Processing, <A HREF="http://ccrma.stanford.edu/~jos/sasp/"> <tt>http://ccrma.stanford.edu/~jos/sasp/</tt></A>, online book, 2011 edition, accessed <date>.
BibTeX example (requires \usepackage{html} where html.sty comes from the latex2html distribution):
@BOOK{SASPWEB2011, AUTHOR = "Julius O. Smith", TITLE = "Spectral Audio Signal Processing", PUBLISHER = "\htmladdnormallink{\texttt{http:}}{http://ccrma.stanford.edu/~jos/sasp/}\texttt{//\-ccrma.stanford.edu/\-\~{}jos/\-sasp/}", YEAR = "accessed <date>", NOTE = "online book, 2011 edition" }
LaTeX citation example:
I like to cite the online book and add a footnote to the specific page, e.g.,
\cite{SASP}\footnote{\texttt{http://ccrma.stanford.edu/\~{}jos/sasp/Hamming\_Window.html}}Or, if you want live links in the HTML version of your own online material,
\cite{SASP}\footnote{\htmladdnormallink{\texttt{% http://ccrma.stanford.edu/\~{}jos/sasp/Hamming\_Window.html}}{% http://ccrma.stanford.edu/\~{}jos/sasp/Hamming\_Window.html}}