Questions tagged [sound]
Questions relating to Mathematica's sound and audio functionality, including Play, Sound, Audio and Speak.
289
questions
0
votes
0
answers
80
views
Can I get signal data from a radio station at a specific place? [closed]
Is there a way I can tune into a radio station and extract audio data using Mathetmatica? For example, can I tune into 530 kHz (AM) at somewhere around Toronto and extract the audio data broadcasted ...
0
votes
0
answers
34
views
How to play sound in Wolfram Cloud?
I want to play the sound on Wolfram Cloud.
Sound[Table[SoundNote[i,0.1,"Violin"],{i,0,12}]]
The Wolfram Cloud Public address is as follows.
https://www....
2
votes
1
answer
77
views
Can I write a code to play the score?
When I input a score image of music, can I write a code to play it?
I'd like ideas for code writing.
0
votes
0
answers
18
views
Default options for "SpectralCentroid", AudioLocalMeasurements
I'm trying to find the default options for the computation of the spectral centroid but cannot get any info in the window used, overlap if any, and smoothing applied to obtain the result.
Any way to ...
0
votes
0
answers
44
views
Implement the constant-Q transform in a custom audio encoder
I'm working on a project in Wolfram Language where I need to implement the Constant Q Transform (CQT) in a custom audio encoder. The CQT is a time-frequency analysis method that is often used in music ...
1
vote
1
answer
118
views
How to get DFT from Sound/Audio/Image?
When I'm trying to do Discrete Fourier Transform or just get a ListPlot of values from Sound object, I get error message..
I understand that Fourier command (and ListPlot of course) works only with ...
1
vote
1
answer
67
views
Extract the latent space learned from a Neural Network
I would like to visualize and cluster vectors learned in the latent space of a Neural Network.
I am trying to cluster audio tokens, but I don't know what they represent. So the task is to ...
9
votes
2
answers
2k
views
Why does Mathematica take so long to produce this sound?
Mathematica is behaving very slow, but it is not like I could compare, as the speed has always been like this. The following ran in 58.64 seconds. Is this normal? How can I speed it up?
...
0
votes
1
answer
55
views
How to get the time series of colored noise obtained by AudioGenerator function?
In the documentation I found a code that plots a Periodogram.
...
1
vote
0
answers
61
views
Break Wine Glass Using Mathematica [duplicate]
I will be running a demonstration for high school students in a couple of weeks. I’m hoping to introduce them to differential equations by using mathematics to generate a sound wave to break a wine ...
0
votes
0
answers
42
views
Sound issues on Win 11 (?)
I have an "animation" which uses Manipulate(manipulates time) and I want to play sound at the specific times. On my PC (Win10) it works smoothly and ...
2
votes
1
answer
93
views
Converting Audio of Paced breathing to plot
This is for a research project on meditation. A music-type person composed for me an audio for paced breathing, which consists of some undulating tones. I would like to convert it to a smooth ...
0
votes
0
answers
48
views
List of instruments for Sound
I am programming a littele piece of music using Sound[] and I have used sound primitives like "Violin", "Piano", "Organ".
Can you help me to find a complete list of these ...
6
votes
1
answer
377
views
Problem with Spectrogram
Some time ago I wrote a program to analyse a short segment of music and plot as a spectrogram in Mathematica. It allows one to find the notes in a weird chord for example. The example below is from ...
1
vote
1
answer
119
views
Speak[] function using Wolfram Cloud
I wrote a program for practicing note identification on a guitar:
...
2
votes
0
answers
73
views
Using Mathematica as an alarm clock by scheduling a sound file to play at a certain time [closed]
With Mathematica 12.2 I can import a sound file like this:
f = Import["F:\\mysound.mp3", "Sound"];
and play it like this:
...
2
votes
0
answers
50
views
When should I use Audio vs Sound Data types?
It seems like mathematica has 2 related data types Audio and sound.
Why is there 2 separate data types? When would I use one versus the other?
Guesses
I know I can convert between them by ...
0
votes
1
answer
38
views
Two sounds by AudioGenerator at the same time
I am learning how to generate/combine sounds using Mathematica in order to show that sounds cancel at some phases. As an exploratory example, I have
...
5
votes
0
answers
233
views
Any competitive speech-to-text models?
SpeechRecognize is not very useful compared to most voice transcription engines nowadays, simply too fragile and prone to errors.
I use Otter.ai currently, is there anything competitive to that (or ...
5
votes
1
answer
219
views
Why does the audio become longer after importing it?
I was making a video by combining some images and this audio, when I encounter the problem:
I need to get the duration of the audio, and when I use Duration ...
5
votes
1
answer
333
views
What is 0 dB in Periodogram?
Consider some sound:
ViolinNote = Sound[SoundNote["G", 1, "Violin"]]
We may plot the periodogram:
...
6
votes
2
answers
258
views
Music animations
I've been tempted to use Mathematica to create some artistic musical animations. That is, if I have a music file, I want to be able to edit, for example, its waveform animation. For example, get ...
3
votes
1
answer
82
views
How can I save the output from AudioRecord?
I'm trying to save a recording using AudioRecord. My recording gets overwritten even if I save the output in a fresh cell. This illustrates the issue:
...
2
votes
1
answer
132
views
Play two sounds at the same time in mathematica. For example the inventions of Bach NO.8
I use mathematica to play the Inventions No8 by Bach. I want to play the two parts (by right and left hands )at the same time. But I don't know how to do it. Can you help me? Thank you!
...
11
votes
1
answer
307
views
Generating random sequence of integers with ordering constraints
I would like to write a Mathematica routine for generating random musical melodies that obey (some of) the constraints of traditional tonal harmony. For simplicity's sake, I'm interested only in ...
9
votes
1
answer
290
views
How to visualize overtones in Mathematica?
I would like to visualize the difference in sounds extracted by different musical instruments, which is due to different overtones. In order to do this, I define the following samples:
...
13
votes
1
answer
538
views
Wolfram Neural Net Repository Questions
I was a research scientist in the machine learning team, and mostly involved with the neural net repository.
0
votes
0
answers
76
views
How do I loop audio playback automatically?
(Many of the Audio* symbols and functionality are still mostly experimental, so I understand that not all the kinks might be worked out yet. Still, I'd like to try ...
5
votes
2
answers
874
views
I believe Beep uses the system sound which is obnoxious and rude. How does one create a friendlier less intrusive sound?
Beep is a terrible sound for alerting when a background task has successfully completed. It was primarily designed for errors or when a task fails. That's why it's ...
3
votes
1
answer
274
views
Audio Digital Signal Processing
Resource and strategy request
I want to identify resources and strategies to implement a Mathematica based solution for audio digital signal processing (DSP) and digital to analog conversion (DAC).
...
5
votes
2
answers
201
views
How to get the image from output of Sound[]
Sound[] generates a visual representation of notes. I would like to extract that image, only notes, without controls and borders. How can I do it?
Take this example
...
2
votes
0
answers
87
views
How to create a iOS Ringtone from Mathematica
Does anyone have any idea how to create a ringtone for an iOS phone from Mathematica? It appears to be a very (unnecessarily) complicated process, that Apple has recently obfusticated even more by ...
1
vote
1
answer
57
views
How to get correct note timings when importing multi-track Midi files?
I have observed when importing midi files with more than one track, the times for every track except for the first one are sped up.
for example,
...
2
votes
0
answers
125
views
Default color scheme of Spectrogram
Spectrograms seem to use the "SunsetColors" color scheme. That being said, I can't figure out exactly how it is being applied; the ...
1
vote
1
answer
45
views
How to get the data used in AudioPlot
How can I get the data used to plot when using AudioPlot that produces a graph such as:
0
votes
1
answer
116
views
A very simple question on Fourier spectrum of an audio track
Consider the following sound:
sound = ExampleData[{"Sound", "ViolinScale"}]
One may perform a FFT:
...
0
votes
1
answer
338
views
Fourier representation of an audio file
Consider some audio file, e.g.,
file = Audio[File["ExampleData/car.mp3"]]
Is it possible to represent its signal in a form
$f(t) = \sum_{n = n_{\text{min}...
2
votes
1
answer
142
views
Music and Fourier Transform [closed]
I posted this question on MathStackExchange. My question is in here now: How can I program a Fourier Tranform of a plot without knowing the function that generates the plot, assuming the funcion is of ...
2
votes
1
answer
286
views
Plotting an Almost Fourier Transform like 3Blue1Brown
Two years ago 3Blue1Brown posted this video. The important part starts at 9:38 to 9:54.
I am trying to plot his functions in Mathemtica. So, for the first plot with 2Hz I got
...
0
votes
0
answers
47
views
Question as to whether or not the Mathematica IntegerReverse function applied to audio is working as it should
I applied IntegerReverse[Round[Abs[10000000*(Audio[])]]] to an audio file in Mathematica to reverse the data set's digits, but I am unsure if it is doing what it should...
I know that using a ...
1
vote
0
answers
97
views
Reversing audio digits of audio object [closed]
My question is about reversing the integers of an audio object file's data.
If I make an audio object, and I wish to convert the audio-data to integers between 0 and 10000, I then wish to access the ...
4
votes
1
answer
94
views
Is there a way to add your own voice to Speak[]?
Is it possible and how can I create my own voice and apply it to the function Speak?
1
vote
1
answer
122
views
How to export Speak to wav or mp3 file?
How to export Speak["valentine"] to wav or mp3 file?
13
votes
1
answer
601
views
Can Mathematica be used to edit MP3 tags?
Can Mathematica edit mp3 tags?
I have a set of files and I'd like to batch process artist, album title, etc. I know other tools exist; I wonder if Mathematica can do it.
5
votes
1
answer
271
views
'Speak' command does not work
I have Mathematica 12.1.0.0. When I execute the command
Speak["Hello"]
I hear nothing. In the earlier versions of the software, Mathematica would 'speak' the words/string inside the 'Speak'...
2
votes
0
answers
95
views
Sound steganography with `InverseSpectrogram`
Here is my code of how to hide a message inside a sound:
...
1
vote
1
answer
60
views
Subtracting audio channels
Is there a function that takes right channel of audio and combines it with inverted left channel of audio?
Do not confuse inverted with reversed.
The following does not work since it does not allow ...
1
vote
0
answers
44
views
Error running AudioIntervals on ExampleData
I get a strange error when running:
...
1
vote
0
answers
43
views
AudioCapture[] not capturing sound from my Focusrite input
Windows 10:
$AudioInputDevices
{"Focusrite USB (Focusrite USB Au", "Microphone (B525 HD Webcam)"}
In windows settings I can see that the "...
1
vote
0
answers
114
views
How to convolve two audio signal?
Can we obtain reverb effect by convolve two audio signal?
Here are some example.
https://www.bilibili.com/video/BV1vE411h7W2