Fractions are squished in GridBox:
expr = Style["\!\(\*FractionBox[\(\[Alpha]\),\(360 \[Degree]\)]\)", Bold, 30];
{#, Column[{#}]} & @ expr
But we can fix this with AllowScriptLevelChange -> False as shown in linked topic.
{#, Column[{#}, AllowScriptLevelChange -> False]} &@expr
The ...
Hi does anyone know, will the Wolfram Language be a package of all the features and functionality listed at this site reference.wolfram.com/language , bundled together? Or will you have to pay for each sub program separately?
I've looked at the documentation, but it's quite confusing for a novice like myself. Is there some kind of beginner-friendly guide to exporting Mathematica functions to C, or other executable programs?
@MatsGranvik hmmm... at first glance most of the stuff should be included in Mathematica. But I may well be wrong and not up to date on the new marketing strategies of WRI.
@MatsGranvik This is the documentation for Mathematica although it is now called Woflarm Language and I'm sure everything will as usual be included in Mathematica.
@Rojo Best I have without using anything external. Pretty choppy. Manipulate[ Dynamic[EmitSound@Play[Sin[a t], {t, 0, .1}], UpdateInterval -> .1, TrackedSymbols -> {}], {a, 1000, 2000}]
@VitaliyKaurov That's cool, but a lot of these seem to just boil down to "Look, Mathematica can add numbers and plot them!". Some of the posts on Wolfram blog (such as Sasha's probability post or your jigsaw puzzles or several of Michael Trott's) are good examples where Mathematica's potential truly comes across. I haven't seen a single RPi/Arduino example on Community that couldn't have been done just as easily in python.
Maybe the problem is me and I should just stop being a cynical asshole :P
@Rojo Well, I guess what I'm trying to say is that Mathematica is truly capable of doing some things effortlessly and better than other systems out there, so just calling a Device* function and then passing it to ListPlot isn't "impressive" when the actual "cool" part of the project is in the $150 equipment.
@rm-rf RPi and other devices project is at the beginning of the journey for now. Exploring myriads of connectivity choices first is like examining IKEA pieces before you assemble a couch ;-)
@Rojo The thing is, that sound under Linux with Mathematica is really a pain. So when you are on Windows, there might be things that work. Here, it is very unlikely.
Although there is a shortcut SoundPlayer class if you just want to play it but not modify the WAV, and you could maybe use XNA game library for simple pitch adjustments and easy playing.
I guess what I would do is make a RealTimeAudio class that uses NAudio which maintains a stack of sample lists which it plays in order. Then I would expose methods to periodically push new clips onto the stack from Mathematica.
I might not even use NAudio, just put a WAV header onto each sample list it gets from Mathematica and use SoundPlayer.