User:Taoist

From WikiAudio

Jump to: navigation, search





kUaDhpVS1K8


You must first understand basic HTML to understand the DOM.

What is the DOM?

  • DOM stands for Document Object Model and it is a representation of the entire html page as a series of nodes and attributes. In HTML-speak this also include all "tags" I.E. <div>, <ul>, <span> <tr>... etc.


  • You can access any of these nodes and change,add,remove or add attributes to them.

The Dom Tree

The browser sees the document as a nested list of notes,attributes and child nodes. A node can be anything. It can be an element,a text,a comment or anything else.


DOM retrieval methods

There are two ways to retrieve elements from the DOM. They are:

  • document.getElementByID(ID)

returns the element with the ID.

  • document.getElementByTagName(name)

returns an array of all the elements with the name.


Storing in variables

You can assign variables to the DOM "getElementBy" retrieval methods.

Example: This assigns x to an element with the id of nav

x = document.getElementById('nav');


getElementByTagName stores in an array

Since getElementTagName stores elements in an array, the elements are accessed starting at 0. Computers start counting at 0, unlike humans which start counting at 1.

nextSibling & previousSibling

You can use nestSibling and previousSibling to choose the next or previous element in the getElementByTagName array.


parentNode

You can reach the element that the current one is embedded in using parentNode.

childNodes

If an element contains other elements then these elements are its children.




http://theproaudiofiles.com/how-its-made-instruments-microphones-audio-gear/ To add a Youtube video: Copy the following code and replace the id code with the code of the youtube video you want to embed. {{#widget:YouTube|id=#|width=640|height=480}} To add a Video video Copy the following code and replace the id code with the code of the Vimeo video you want to embed. {{#widget:Vimeo|id=#|width=640|height=480}}




Daily Cleanup

http://en.wikiaudio.org/index.php?title=Main_Page&oldid=33751

http://en.wikiaudio.org/index.php?title=Search_results&action=edit&oldid=31326

http://en.wikiaudio.org/index.php?title=Search_results&action=edit&oldid=30922

http://en.wikiaudio.org/index.php?title=Search_results&action=edit

http://en.wikiaudio.org/index.php?title=Wikiaudio_ j-o-b-s &action=submit

http://en.wikiaudio.org/index.php?title=Internet_search&action=submit

Spam Regex

Recent Changes Cleanup

Block user

Main edit


http://en.wikiaudio.org/index.php?title=Contribute&action=submit

http://en.wikiaudio.org/index.php?title=MediaWiki:Accountcreatedtext&action=edit

http://en.wikiaudio.org/index.php?title=Create_or_edit_articles&action=edit


http://en.wikiaudio.org/index.php?title=Sandbox&action=edit

http://en.wikiaudio.org/index.php?title=Create_Article&action=submit

http://en.wikiaudio.org/index.php?title=Main_page&action=edit&oldid=33457

Notes and stuff

MIDI system messages

Common

Tune request

This MIDI message tells a device to tune itself. Tune Request was initially created for analog synthesizers (that had oscillators) which would overheat and drift out of tune.

Song Select

Song Select is used to determine which song or sequence is to play. This message is used with devices such as sequencers or drum machines, which can store and recall a number of different songs.

Song Position Pointer

Song Position Pointer is a message that tells a device connected to a MIDI sequencer how many 16th notes have elapsed since the beginning of a song. It is used to make a slave device cue to the playback of a certain position in the song.

MIDI Time Code

Full frame messages

An MTC full frame message contains timing information that represent Hours:Minutes:Seconds:Frames.

This information is expressed in 4 Bytes. These four bytes together are considered the "Full Frame" message.

Their is a byte for hours, a byte for minutes, a byte for seconds and a byte for frames.


In the case of an MTC time readout that looked like this:

03 : 05 : 11 : 10

The MTC Full frame message byte sequence would look like the following:

  • 0 0 1 0 0 0 1 1 (hour)
  • 0 0 0 0 0 1 0 1 (minute)
  • 0 0 0 0 1 0 1 1 (second)
  • 0 0 0 0 1 0 1 0 (frame)

The second and third bits in the first byte define the number of frames per second (Frame Rate).

  • 24 frames per second (fps) = 00
  • 25 frames per second (fps) = 01
  • 29.97 frames per second (fps) = 10
  • 30 frames per second (fps) = 11
Quarter Frame Messages
Cueing Messages
User Bits

System Exclusive

Start of exclusive
Manufacturer's ID#
Product ID#
Device ID#
DATA

Real time

MIDI Beat Clocks

Start

Stop

Continue

Active Sensing

System Reset



http://www.mediawiki.org/wiki/Extension:SoundManager2Button

http://www.mediawiki.org/wiki/Extension:Submit_In_Toolbar