ADVERTISING

Microsoft

Sound of Code

Agency: Wunderman

Description

Go to http://www.microsoft.com/click/soundofcode/ and use the code samples below to test the Sound of Code music generator. Paste the code below into the Sound of Code music generator and then click “Generate.” Click “preview” to hear the results.
Sample #1
public static object ConvertParameter(string parameterValue, Type type)
{
if (type == typeof(LetterPosition))
return TranslationEngine.GetLetterPositionFromString(type, parameterValue);
else if (type == typeof(TaglineInsertType))
return TranslationEngine.GetTaglineInsertTypeFromString(type,parameterValue);
else return System.Convert.ChangeType(parameterValue, type);
}
Sample #2
private static bool ExecuteRandomRule(int seed)
{
System.Random intital = new Random();
int input = intital.Next(1000000);
System.Random random = new Random(input);
int rand = random.Next(0, seed);
if (rand == 0)
return true;
else
return false;
}

This professional campaign titled 'Sound of Code' was published in United States in September, 2010. It was created for the brand: Microsoft, by ad agency: Wunderman. This Digital medium campaign is related to the Electronics, Technology industry and contains 1 media asset. It was submitted over 13 years ago.

Credits

Advertising Agency: Wunderman, Seattle, USA

ADVERTISING

Sign up for our newsletter

Don't miss out. Receive our free weekly newsletter to learn about the best creative work from all around the globe. We're keeping your email safe and confidential.