Feb42010

Feb42010 - UC Santa Cruz Computer Science Game Design Sound...

Info iconThis preview shows pages 1–10. Sign up to view the full content.

View Full Document Right Arrow Icon
Computer Science – Game Design UC Santa Cruz Adapted from Jim 11/10/10 Sound in games Think about truly memorable games They almost always have excellent background music and sound effects Legend of Zelda, PacMan, Katamari Damacy, Little Big Planet, Radiant Silvergun Music and artwork style combine to create an overall tone, or mood, for a game
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Computer Science – Game Design UC Santa Cruz Adapted from Jim 11/10/10 Finding/Making Sounds Where can you find music to use in your game? Reminder: there is this legal framework called Copyright Law Creative Commons: use licenses that may allow free, non-commercial use http://creativecommons.org/ http://archive.org Sites with Creative Commons licensed music New Grounds, Jamendo http://www.newgrounds.com/audio/
Background image of page 2
Computer Science – Game Design UC Santa Cruz Adapted from Jim 11/10/10 Finding/Making Sounds Find someone to create music for you Music student at UCSC, for example One team has already put up announcements for a music person It has never been cheaper to create high quality music Instruments, microphones, mixing technology are all at historically low prices Has led to a proliferation of music
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Computer Science – Game Design UC Santa Cruz Adapted from Jim 11/10/10 Finding/Making Sounds Use your voice! Your voice is wonderfully adaptable and expressive Consider: Record a raw voice clip Bring into an editing software suite Tweak/filter/alter until it suits your game Can do much worse… Tools Audacity
Background image of page 4
Computer Science – Game Design UC Santa Cruz Adapted from Jim 11/10/10 Playing Sounds in XNA Two ways Hard (but powerful) way XACT audio tool Cross-platform audio creation tool Many neat features Edit volume, pitch, looping of sound clips Can easily group together sound clips
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Computer Science – Game Design UC Santa Cruz Adapted from Jim 11/10/10 Simple Sound API Two ways to play music As a song Good for background music, or other long sounds As a sound effect Good for short duration sounds
Background image of page 6
Computer Science – Game Design UC Santa Cruz Adapted from Jim 11/10/10 XNA Simple Sound API Supported music types: wav, wma, mp3 Add sound into project Contents folder Audio files treated like other files in content pipeline Copy sound file into project Contents folder Right-click on Contents folder inside
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Computer Science – Game Design UC Santa Cruz Adapted from Jim 11/10/10 XNA Song API Create a variable of type Song Used to load songs via the content pipeline Song mySong; Load sound file mySong = Content.Load<Song>(@” {name of song file without extension} ”) To play a sound, call Play() method on MediaPlayer object MediaPlayer.Play(mySong);
Background image of page 8
Computer Science – Game Design UC Santa Cruz Adapted from Jim 11/10/10 XNA Sound Effect API Create a variable of type SoundEffect Used to load sounds via the content
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 10
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/10/2010 for the course CMPS 101 taught by Professor Tantalo,p during the Fall '08 term at UCSC.

Page1 / 39

Feb42010 - UC Santa Cruz Computer Science Game Design Sound...

This preview shows document pages 1 - 10. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online