Lab 13
Develop the pitch->blip function, that accepts a midi note number and returns an rsound containing a quarter-second tone at that pitch. Make sure the function works by playing its result.
Develop the pitches->blipsound function, that accepts a list of midi note numbers and returns a single rsound containing a sequence of blips. Make sure the function works by playing its result.
Develop the put-at-end function, that accepts a number and a list and returns a new list with the number at the end. Make sure to include test cases for this function. Also, try feeding its result into pitches->blipsound.
Develop the appendd function, that accepts two lists and returns a new one containing the elements of the first followed by the elements of the second. Test using a test case and also by using pitches->blipsound
Develop the reversee function, that accepts a list and returns the reversed list. Hint: consider using one of the functions you developed earlier. Test with a test case and also with pitches->blipsound.
Develop the insert function, that accepts a single number and a list of numbers that is ordered from smallest to largest, and returns a new list that is ordered from smallest to largest that includes the new element. Test using a test case and also using pitches->blipsound.
Develop the sortt function. Can you guess what it does?