3.15.1 Top new questions this week

3.15.1.1 How to programmatically play an Audio object?
3.15.1.2 TreePlot does not give a "binary-looking" tree for a binary tree
3.15.1.3 Partition array without unpacking
3.15.1.4 Creating a simple Dock Cell that Fades In when Cursor Hover Over It
3.15.1.5 Why are Exp[3] and 2 treated differently within Complex?
3.15.1.6 KeyDrop does not respect Key in V11
3.15.1.7 Strategies for creating 3D text
3.15.1.1 How to programmatically play an Audio object?

http://mathematica.stackexchange.com/questions/128147/how-to-programmatically-play-an-audio-object

 
A Sound object can be programmatically played using EmitSound.  Example: 
 
snd = ExampleData[{"Sound", "AltoFlute"}]; 
 
Button["Play!", EmitSound[snd]] 
 
 
What about an Audio object?
 

- asked by Szabolcs (14 votes), answered by Szabolcs (9 votes)

3.15.1.2 TreePlot does not give a "binary-looking" tree for a binary tree

http://mathematica.stackexchange.com/questions/128323/treeplot-does-not-give-a-binary-looking-tree-for-a-binary-tree

 
I use the following code to generate a binary tree with root 1. 
 
TreePlot[{1 -> 2, 1 -> 3, 2 -> 4, 2 -> 5, 3 -> 6, 3 -> 7, 4 -> 8, 
4 -> 9, 5 -> 10, 5 -> 11, 6 ->  ...
 

- asked by Tony (13 votes), answered by WReach (19 votes)

3.15.1.3 Partition array without unpacking

http://mathematica.stackexchange.com/questions/128133/partition-array-without-unpacking

 
What is the simplest way to partition a list into equal-length sublists, allow the last sublist to be shorter of necessary, and avoid unpacking? 
 
Partition doesn't usually unpack: 
 
arr = RandomReal[1,  ...
 

- asked by Szabolcs (13 votes), answered by Szabolcs (7 votes)

3.15.1.4 Creating a simple Dock Cell that Fades In when Cursor Hover Over It

http://mathematica.stackexchange.com/questions/128025/creating-a-simple-dock-cell-that-fades-in-when-cursor-hover-over-it

 
I like to create dock cells, that enhance the look of my notebooks.  Do you know of a simple way to get the functionality in iBooks shown below in the video.  I want the dock cell in Mathematica to  ...
 

- asked by Michael McCain (13 votes), answered by Karsten 7. (14 votes)

3.15.1.5 Why are Exp[3] and 2 treated differently within Complex?

http://mathematica.stackexchange.com/questions/128211/why-are-exp3-and-2-treated-differently-within-complex

 
Why doesn't the last command below split the complex number into its real and imaginary parts? 
 
Complex[2,2] 
(* 2 + 2 I *) 
Complex[N[Exp[3]], N[Exp[3]]] 
(* 20.0855 + 20.0855 I *) 
...
 

- asked by Fernando Saldanha (12 votes), answered by Szabolcs (18 votes)

3.15.1.6 KeyDrop does not respect Key in V11

http://mathematica.stackexchange.com/questions/128171/keydrop-does-not-respect-key-in-v11

 
KeyDrop[<|a -> 1|>, Key[a]] 
 
 
 
<|a -> 1|> 
 
 
 
KeyTake[<|a -> 1|>, Key[a]] 
 
 
 
<||> 
 
 
 
closely related but not the same: Unexpected behavior of KeyTake 
 
Are there any  ...
 

- asked by Kuba (11 votes), answered by Xavier (5 votes)

3.15.1.7 Strategies for creating 3D text

http://mathematica.stackexchange.com/questions/128412/strategies-for-creating-3d-text

 
I am interested in using Mathematica to create 3D text for printing.  I stumbled upon this answer which works very well in a slightly modified form: 
 
text3D[text_String, mult_] := ListPlot3D[ 
...
 

- asked by bobthechemist (10 votes), answered by J. M. (14 votes)