Questions tagged [sound]
Questions relating to Mathematica's sound and audio functionality, including Play, Sound, Audio and Speak.
277
questions
6
votes
1
answer
309
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
106
views
Speak[] function using Wolfram Cloud
I wrote a program for practicing note identification on a guitar:
...
2
votes
0
answers
62
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
31
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
23
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
...
0
votes
0
answers
41
views
How to stop annoying notifications sound when using "Remove from Evaluation Queue" shortcut?
I have Mathematica 13.0 Student Edition for Windows 10 and whenever I use " Shift + Alt + / " I get this annoying "Windows" notifications sound. There has to be a way to stop it, ...
0
votes
0
answers
35
views
How to change the system Audio level using a slider in Mathematica?
I am trying to design a slider that would change the system Audio level. I couldn't find any functions in the documentation that can manipulate the system Audio. Does anyone know a way to do this? ...
5
votes
0
answers
192
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
205
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
299
views
What is 0 dB in Periodogram?
Consider some sound:
ViolinNote = Sound[SoundNote["G", 1, "Violin"]]
We may plot the periodogram:
...
5
votes
2
answers
189
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
0
answers
54
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
89
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
294
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
264
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
408
views
Wolfram Neural Net Repository Questions
I am a research scientist in the machine learning team, and mostly involved with the neural net repository. One of the discussions with my group raised these question in my mind, and these might be ...
0
votes
0
answers
39
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
849
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 ...
1
vote
1
answer
154
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
186
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
78
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 ...
0
votes
0
answers
28
views
Importing multi sequence Midi Files into Mathematica
Can I import a multi sequence Midifile into Mathematica?
Can I import multiple short Midifiles into Mathematica in one go?
Thanks, peter
1
vote
1
answer
41
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
70
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
32
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
73
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
112
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
114
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
159
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
46
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
86
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
69
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
65
views
How to export Speak to wav or mp3 file?
How to export Speak["valentine"] to wav or mp3 file?
13
votes
1
answer
581
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.
4
votes
1
answer
182
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
82
views
Sound steganography with `InverseSpectrogram`
Here is my code of how to hide a message inside a sound:
...
1
vote
1
answer
50
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
32
views
Error running AudioIntervals on ExampleData
I get a strange error when running:
...
1
vote
0
answers
42
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
86
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
7
votes
2
answers
416
views
Mathematica emits a beep after any evaluation - how to remove it?
Without any obvious reason Mathematica started to emit a beep after each evaluation, even when it is error free. Why is that, and how can I turn it off? I tried restarting Mathematica to no avail, and ...
0
votes
1
answer
26
views
Speak misses words when executed first time in new cell
Version->12.1.1 for Microsoft Windows (64-bit) (June 19, 2020)
ReleaseID->12.1.1.0 (6959458, 2020061902)
PatchLevel->0
When I evaluate for the first time in a new input cell:
...
3
votes
1
answer
318
views
Exporting a Manipulate/Animate with sound to create a Video
In the Documentation of Video (under Scope, 4th example) a Manipulation is combined with audio and exported as a file.mp4 video:
...
1
vote
1
answer
111
views
Noise filtering in audio
I was given audio with white Gaussian noise and i have to implement two types of filter: Rectangle and Triangle that filter out redundant frequencies and reduce the amount of noise
Here is the code ...
1
vote
1
answer
55
views
Composite musical notes
I want to be able to define my own musical notes from the ones provided by Mathematica (just as I can define my own data types using standard ones in C programming language). For example, I want to be ...
6
votes
1
answer
64
views
Make "Violin" sound come out upon entering Emit Sound
How do I make this sound like a violin instead of a beep?
EmitSound[ Play[ Sin[600 π t], {t, 0, 1}]]
3
votes
0
answers
122
views
Create my own voice on Mathematica 12 [closed]
I want to create my own voice on Mathematica 12 and use it
for this function
SpeechSynthesize["Hello"]
We can use theses voices on Mathematica
...
4
votes
1
answer
220
views
How do I play quarter tones in "Violin" style?
I am trying to use the SoundNote command with "Violin" as my instrument but I cannot see how I can play quarter tones and smaller denominations ("cents").
1
vote
0
answers
48
views
I want to convert a piece of violin I heard on youtube into a waveform (amplitude versus time or frequency) [closed]
I want to convert a piece of violin I heard on youtube into a waveform (amplitude versus time or frequency). How to do this using Mathematica, please? I suspect it may have something to do with ...
2
votes
1
answer
71
views
How to create a seek bar with Slider
I am trying to create a simple audio player but I am stuck at designing the seek bar. I am using the AudioStream framework.
After loading music in a variable <...