Sound of Code

Agency Network: 
September 2010
Microsoft Digital Ad -  Sound of Code


Go to 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;
return false;

Digital advertisement created by Wunderman, United States for Microsoft, within the category: Electronics, Technology.

Advertising Agency: Wunderman, Seattle, USA
Log in or register to post comments
AdsofChina's picture
Activity Score 99
Marketing Manager at 23red |

Ads of China // 中国广告

clayology com's picture


clayology com
Activity Score 245
Producer/Director at India |

Ads u create needs Attention!!

Featured Content

Latest Collections