At the time video games had emerged as a popular form of entertainment in the late 1970s, music was stored on physical medium in analog waveforms such as compact cassettes and phonograph records. Such components were expensive and prone to breakage under heavy use, making them less than ideal for use in an arcade cabinet, though in rare cases such as "Journey", they were used. A more affordable method of having music in a video game was to use digital means, where a specific computer chip would change electrical impulses from computer code into analog sound waves on the fly for output on a speaker. Sound effects for the games were also generated in this fashion. An early example of such an approach to video game music was the opening chiptune in Tomohiro Nishikado's "Gun Fight" (1975).