20
votes
Accepted
How to align similar TimeSeries like ImageAlign?
One way to approach this is with "Dynamic Time Warping". First, preprocess your data to get the MFCC coefficients and extract the data from the time series:
...
16
votes
Accepted
Sound synthesizer using Manipulate
First let me observe that your coding style makes debugging difficult, I highly recommend breaking giant expressions into manageable pieces.
Second, in the code below I have used a different ...
16
votes
Accepted
How fast is my fidget spinner spinning? A sound experiment!
First, import the audio and extract usable data from it:
...
16
votes
Accepted
Can Mathematica be used to edit MP3 tags?
Yes. The documentation mentions here that it can import ID3v1, ID3v2 and APE tags. The metadata is returned in a nested association. Now to try it on whatever mp3's I have lying around:
...
16
votes
Generating random sequence of integers with ordering constraints
Perhaps have a look at DiscreteMarkovProcess using an appropriate transition matrix embedding your constraints?
Here's a simple example, implementing 1-5 above, to ...
15
votes
Accepted
If we listen to the sound, why does $\sin(x^2)$ shrink and grow in intervals?
What (I think) happens is that you use a constant rate of $8000\,\text{Hz}$ on a steady increasing frequency. This leads to interesting effects when the frequency of the function gets bigger than you ...
13
votes
How do you remove noise to detect just the human voice?
About a year ago,I saw a demo in Labview that can detect the voice of killer whale in a setting of the sound of seawater.
I want to try the similar thing in Mathematica.
Based upon Vitaliy Kaurov's ...
13
votes
How to get the frequency information of an mp3 audio?
You can see the spectrum of the first note played, (first 40000 points)
...
13
votes
How to record a sound and play the reverse of that in Mathematica?
Let's first try with a sound sample from MMA examples repository:
s = Import["ExampleData/rule30.wav"]
A FullForm of ...
13
votes
Accepted
Identifying Silence in Audio
Import the subject audio:
aud = Import["http://home.ustc.edu.cn/~xiaozh/SE/del_silences.wav"]
Identify silences:
...
12
votes
How to measure Sample Rate?
One can also use Import[] to directly query the *.wav file's sample rate, like so:
...
11
votes
Welcome sound in Mathematica
There was a symbol called StartupSound. You could switch it on via the command:
SetOptions[$FrontEnd, StartupSound -> True]...
11
votes
Accepted
How to programmatically play an Audio object?
The following resulted from a lot of spelunking and reading the code of Audio`Play.
...
11
votes
Accepted
Beep anytime evaluation finishes
An alternative to EvaluationCompletionAction would be to adjust $Post. Try
...
11
votes
Wolfram Neural Net Repository Questions
I believe I'm a heavy user of the neural network framework and the Wolfram Neural Network Repository(WNNR) and these are how I see the WNNR from a user's perspective. Hope it will be helpful.
First of ...
11
votes
Accepted
Problem with Spectrogram
You should get the old result back by setting MaxPlotPoints -> Infinity in the Spectrogram call, eg
...
10
votes
Accepted
Play the sound of $\pi$
Here's how to "dial" the digits of $\pi$ on a touch tone phone (code adapted and modernized from an old Mathematica demo, but see this as well):
...
10
votes
How to programmatically play an Audio object?
You can also use Sound`AudioToSound[] to convert the Audio[] object to a Sound[] object that ...
10
votes
Accepted
How to visualize overtones in Mathematica?
You can use Manipulate with an IntervalSlider to look at the different harmonics.
...
10
votes
Accepted
Why does Mathematica take so long to produce this sound?
Creating the audio signal as a vector first allows us to use more efficient ways to sample the function:
...
9
votes
Creating a vibrato in Mathematica
How about solving the harmonic oscillator equation with a time-varying frequency?
...
9
votes
Accepted
How to Speak in a foreign language?
I let Mathematica parse the input into a speakable string, but then I send it to the operating system as if going through the command terminal. This allows me to set the voice flag for my installed ...
9
votes
Accepted
9
votes
Accepted
Computing FundamentalFrequency
You can use Cepstrum,Wiki says
It was originally invented for characterizing the seismic echoes resulting from earthquakes and bomb explosions. It has also been used to determine the fundamental ...
9
votes
How fast is my fidget spinner spinning? A sound experiment!
Using Fourier Discrete Transform.
Let's start by observing the Fourier content of the beginning of the signal:
...
9
votes
Why does Mathematica take so long to produce this sound?
The way you have created the function you are forcing MMA to keep evaluating your expression, which although lightweight on its own, is rather heavy when it needs to be repeated for different values ...
8
votes
Creating a vibrato in Mathematica
As an alternative, let's let the derivative of the phase vary with time.
A fixed tone will have $d \phi / d t = 2 \pi \cdot 440$. A vibrato that you want should have $d \phi / d t = 2 \pi (440 + \sin ...
8
votes
Accepted
How to define a periodic function from an interval to Play (monotonic) sound
You can define a periodic function by this simple idiom
T = 1;
g[x_ /; 0 <= x <= T] := x^2;
g[x_] := g[Mod[x, T]]
Here, ...
8
votes
How do I use Mathematica to upload to Clyp?
Important Note: Clyp seems to have changed its API-related policies recently in a way that breaks the routine given below. I do not know how to fix this. I can only guarantee that it was working well ...
8
votes
Generating Shepard and Risset tones
to generate middle c..
you make the air vibrate 262 times in 1 second
If you give mathematica a Sine wave that repeats 262 times a second
it will convert this to sound wave.
For a Sine function to ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
sound × 289signal-processing × 33
fourier-analysis × 24
import × 23
export × 19
plotting × 11
dynamic × 10
manipulate × 8
animation × 8
neural-networks × 7
list-manipulation × 6
functions × 5
bugs × 5
front-end × 5
filtering × 5
video × 5
graphics × 4
image-processing × 4
gui-construction × 4
machine-learning × 4
wolfram-cloud × 4
time-series × 4
function-construction × 3
random × 3
customization × 3