Playing Music in Alice By David Yan Under the direction of Professor Susan Rodger July 2015.

Slides:



Advertisements
Similar presentations
How to utilize your iTunes for use with your SwiMP3 Please be aware that all the SwiMP3 line of players do not have licensing to any of the songs that.
Advertisements

Visual Lists By Chris Brown under Prof. Susan Rodger Duke University July 2012.
Alice Learning to program: Part Four Creating Sounds, Making Billboards, Fun with 3-D Text, New Events, and Rotating Objects by Ruthie Tucker and Jenna.
Texture Maps Alice Project 2008 Duke University Professor Susan H. Rodger Gaetjens Lezin July 2008.
Getting Started With Alice By Ruthie Tucker under the direction of Prof. Susan Rodger Duke University, July
Coloring Randomly: Random Selection in Alice By Jenna Hayes under the direction of Professor Susan Rodger Duke University July 2008.
Princess & Dragon Part 2: Teaching a Dragon to Fly—Methods & Properties By Elizabeth Liang under the direction of Professor Susan Rodger Duke University.
Lesson 7B Creating Our Own Methods Slides are adapted from aliceprogramming.net or
Lets Play Catch! Keeping Score in Alice By Francine Wolfe Duke University Professor Susan Rodger May 2010.
Scene changes By Deborah Nelson Duke University Under the direction of Professor Susan Rodger July 2008.
LMMS is a digital audio workstation that allows you to produce instrumental songs. LMMS stands for Linux MultiMedia Studio. The software was originally.
Creating Functions Deborah Nelson Duke University Professor Susan Rodger July 22, 2008.
Alice Learning to program: Part Two by Ruthie Tucker and Jenna Hayes Under the direction of Professor Susan Rodger Duke University, July 2008.
Princess & Dragon Part 4: Breathing Fire—Adding Effects to Alice By Elizabeth Liang under the direction of Professor Susan Rodger Duke University June.
Created in 2011 at Liberty High School. Getting Started Overview on Magnet Tool – Graphics – Text – Image – Video – Sound – Wall A Sample Glog How to.
Technology Academy  According to the New Oxford American Dictionary: ◦ “A digital recording of a radio broadcast or similar program, made available.
Working with Numbers in Alice - Converting to integers and to strings - Rounding numbers. - Truncating Numbers Samantha Huerta under the direction of Professor.
by Chris Brown under Prof. Susan Rodger Duke University June 2012
Getting Started With Alice By Ruthie Tucker under the direction of Prof. Susan Rodger Duke University, July
Using Moodle This is a rough draft of instructions for teachers to use Moodle in lieu of the in- service that is held periodically. Call me if you need.
Sharing Alice Exporting Movies, Code, and Web Pages By Elizabeth Liang under the direction of Professor Susan Rodger Duke University July 2009, modified.
Playing Music in Alice By David Yan Under the direction of Professor Susan Rodger July 2015.
Changing Camera Views! Part 2: Simple Scene Change & Lighting Fixes By Bella Onwumbiko under the direction of Professor Susan Rodger Duke University July.
3–D Helium Molecule Tutorial Alice Project Duke University Professor Susan H. Rodger Gaetjens Lezin June 2008.
Advance Technology Training February 13, :00 pm – 4:00 pm Nha Nou Yang Devin Hildebrand.
Alice 2.0 Introductory Concepts and Techniques Project 1 Exploring Alice and Object-Oriented Programming.
Finding a Music File to Work With From the PUSD student home page, select “Royalty Free Music”
Changing Color, Using Text Objects, and Random Selection in Alice By Jenna Hayes Under the direction of Professor Susan Rodger Duke University, July 2008.
Teaching a character to walk in more than one world: Parameters and Inheritance. By Lana Dyck under the direction of Professor Susan Rodger Duke University.
Audacity 1.3 Beta This is a tutorial for Audacity 1.3 Beta. This does not cover older versions for things have been changed for the ease of use, and does.
By Deborah Nelson Duke University Professor Susan Rodger July 13, 2008.
Scene changes By Deborah Nelson Duke University Under the direction of Professor Susan Rodger June
Animating Objects in Groups: Using Arrays and Lists By Ruthie Tucker under the direction of Professor Susan Rodger Summer 2008.
Lists Tutorial By Deborah Nelson Duke University Professor Susan Rodger July 13, 2008.
An Introduction to Alice (Short Version) – Extras! Yossra Hamid Under the Supervision of Professor Susan Rodger Duke University, June 2014 This is a continuation.
Making a Timer in Alice By Jenna Hayes under the direction of Professor Susan Rodger Duke University July
How to Design a Page, Part 2 HOWE/ANDERSON. Step 1: Login   Job No  User ID/ Password.
Alice Learning to program: Part Two Writing Your Own Methods by Ruthie Tucker and Jenna Hayes Under the direction of Professor Susan Rodger Duke University,
Recording Your Script 1)Find a quiet place to record. 2)Open up your phone’s recording app. 3)When recording, remember: Speak very clearly Enunciate Do.
Creating a Historical Tour in Alice By Jenna Hayes May 2010.
Sharing Alice v2 Exporting Movies, Code, and Web Pages By Elizabeth Liang Edited by David Yan under the direction of Professor Susan Rodger Duke University.
1 Quiz Template: Using the ‘ask user’ functions By Deborah Nelson Duke University Under the direction of Professor Susan Rodger July 2009.
The Essentials of Alice Mrs. Jayne Slease SBMS CTE Computer Science and Animation Credit to Duke Students under the direction of Professor Susan Rodger.
All sections to appear here Welcome to my pptPlex Slide Show, this can be executed in either two ways: 1.As a normal PowerPoint slide show: Example hit.
Tutorial for Arrays and Lists. Description This presentation will cover the basics of using Arrays and Lists in an Alice world It uses a set of chickens.
Simple Collision Detection By David Yan Under the direction of Professor Susan Rodger and Chari Distler Duke University, June 2015.
Skater World: Part Four By Deborah Nelson Duke University Under the direction of Professor Susan Rodger June 1, 2009.
Using Placeholders to Simplify your Methods: Learning Methods, Part 2 By Deborah Nelson Duke University Professor Susan Rodger June 16, 2008.
PowerPoint Basics Tutorial 2: A Slide Show In this tutorial you’re going to create a presentation from scratch. You will have to keep this presentation.
Windows Movie Maker World Language Department 2006/2007.
If you don’t have Google Earth downloaded already, you can go to to get it.
Headshots in Alice Duke University Professor Susan H. Rodger Gaetjens Lezin July 2008.
 You can fix any verbal/visual errors  To make it more interesting by adding transitions and music  To be able to add it to your My Big Campus online.
Using Audacity Let’s get Started Open Audacity. Getting started…
Recording Your Script and Creating Your Podcast !!You are not finished until you have completed all steps on all of the slides up to and including Slide.
Creating a Podcast using GarageBand Symphonic Band Project: An Introduction to Musical Instruments.
Audacity Basics.
Audacity Presented by Carrie Walter
Recording Your Script and Creating Your Podcast
Changing Color, Using Text Objects, and Random Selection in Alice
Let's Race! Typing on the Home Row
Making Objects Move in Unison: Using Lists
Princess & Dragon Part 2: Teaching a Dragon to Fly—Methods & Properties By Elizabeth Liang under the direction of Professor Susan Rodger Duke University.
Recording and editing a Podcast
Professor Susan Rodger
Using Placeholders to Simplify your Methods: Learning Methods, Part 2
Recording Your Script and Creating Your Podcast
Making Objects Move in Unison: Using Lists
Presentation transcript:

Playing Music in Alice By David Yan Under the direction of Professor Susan Rodger July 2015

Getting Music There are many options to get music off the internet If you have your own music then you can just import those directly into Alice This tutorial will show how to get music snippets by first downloading them off the internet then trimming them to segments that are shorter than 30 seconds

WARNING: USE SHORT CLIPS When you are considering using music for use in Alice, please try to limit your music clips to be 30 seconds or less. If you do this then less memory will be used to store your Alice World and you will still be within legal boundaries when it comes copyright issues. Sound files can take up a lot of memory in your Alice world so try to keep sound clips as small as possible. Uploading entire songs is not recommended.

Other Considerations This tutorial will cover how to trim music files for both Mac and PC as well as how to import them into Alice. For this tutorial, we will demonstrate QuickTime for Mac users (beginning on slide 7) and Audacity for PC users (beginning on slide 14). Note that there are many other services you can use but for now we will just use QuickTime and Audacity

Trimming the Music File For Mac Users If you want only a snippet of the music file that you have downloaded, then you will have to trim the music file. For mac users, this can be done very simply through the QuickTime player that is already installed on your mac. Open the QuickTime Player (notice that no windows or anything pop up) However, you can see the QuickTime icon show up in your dock. Select the QuickTime icon and notice that your taskbar at the top of the screen changes to this:

Opening the Music File in QuickTime (Mac) Now that you have QuickTime opened, open the sound file that you would like to trim

Trimming the Music File (Mac) Now that your sound file is opened in QuickTime, we can use the QuickTime trim property. To access this, just go to QuickTime>Edit>Trim.

Trimming the Music File (Mac) Once you have trim selected, just select the range of the sound by moving the yellow trim box around the range of music that you want to keep and then hit “trim” when you are done. This may take a couple tries as you really figure out a precise range of sound that you would like to keep.

Trimming the Music File (Mac) Once you have trimmed your new music file, we now have to save the video as a.mp3 file since QuickTime defaults to a.mov file. I will save my file with filename “aliceMusic.mp3” QuickTime will give you an error if you try to save it as an.mp3 file so when this error message pops up, be sure to select “use both.”

Trimming the Music File (Mac) Now locate the folder where you saved your music file. It should look like this so far in your folder: Double click this file to rename it and just rename it to “aliceMusic.mp3” This message will pop up and just select “Use.mp3”:

Final Step for Mac Now that you have saved your new trimmed file as a.mp3 file, you are ready to import it into Alice! Your file should now look like this in its folder:

Trimming the Music File For PC Users One very simple free program for PC users to use for this purpose is Audacity. The download for Audacity can be found here: Once you have Audacity opened, go to File>Open then select the audio file you want to edit.

Trimming Music for PC To trim music in Audacity, go to Edit>Remove Special>Trim Audio

Trimming Music for PC Once you have selected the Trim Audio option, just drag your cursor over the area of sound that you would like to keep. The selected area should be covered by a gray box like this: Once you have selected the area, just go to Edit>Remove Special>Trim Audio again and your file will be trimmed

Exporting Your Trimmed Music File (PC) Now we need to export your trimmed file as a MP3 file. To do this in Audacity, go to File>Export Audio. When this popup box appears, select MP3 Files as the file type.

Once you have your music files set up you can now import them into Alice!

Importing Sounds Into Alice Now that your files are set up, we will now import these sound files into Alice For this tutorial, I will import these sounds into the soundStarterWorld.a2w file that is attached to this tutorial.

Importing Sounds into Alice When you open and play soundStarterWorld, you will notice that a penguin dances … to no music. Let’s fix this by importing the music files that we have made. To import a sound into Alice, go to Alice>File>Import Once you have the import window open, choose the sound file that you would like to play in Alice.

Importing Sounds into Alice I have imported my “aliceMusic.mp3” file into the world. Once you have selected the sound file you want to import from the import window earlier, we need to locate the sound file in your Alice world. To find the sound file, select World in your object tree, then go to World>Properties Tab> then scroll down in your properties tab until you find “sounds.” Click the plus sign beside “sounds” and you will find the sound that you have imported there.

Playing Sounds in Alice Now that we have found our sound file in Alice, we are going to want to play it. This is very simple. Simply grab your sound in the World Properties>Sounds tab and drag it into your method space.

Playing Sounds in Alice Your World.my first method should look like this now:

Final Step We probably don’t want to have the penguin dance then have the sound play so let’s have the music playing while the penguin is dancing! To do this, we will just place both in a do together block! Just drop in a do-together block and put both lines of code into that block.

Final Code Your final method should look like this:

Final Considerations Often, the events in your world do not run the same length as your sound file (ex. Your music could be playing even after all the movement code has been executed). In the future just be sure to keep your sound files as long as your method runs so that way the music stops playing as soon as everything stops running.

Final Considerations You could also create a separate event such that when the world starts your music starts playing. This way you can have your music playing as soon as the world starts but still be able to add code to your World.my first method.

Play your world and enjoy!