Questions tagged [sound]

Questions relating to Mathematica's sound and audio functionality, including Play, Sound, Audio and Speak.

Filter by
Sorted by
Tagged with
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 ...
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
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
78 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
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. ...
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'...
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 ...
12 votes
3 answers
1k views

Realtime audio processing using Dynamic

Can I make real time audio processing with Mathematica in the same way I can do with images using Dynamic[CurrentImage[]]. I know that is possible to use ...
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 ...
2 votes
1 answer
94 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 ...
5 votes
2 answers
132 views

Full list of symbols not supported in the cloud?

I planned to use AudioCapture[] in a cloud notebook and just found out it’s not supported. There used to be a convenient “not in the cloud” icon in a symbols ...
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 ...
3 votes
1 answer
275 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). ...
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 ...
13 votes
1 answer
539 views

Wolfram Neural Net Repository Questions

I was a research scientist in the machine learning team, and mostly involved with the neural net repository.
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: ...
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 ...
24 votes
5 answers
4k views

Is it possible to use Mathematica to record sound and/or vision?

I think the title says it all. I know about ImageCapture which seems to capture stills. Can ImageCapture be made to capture a ...
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 ...
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 ...
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
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 ...
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 ...
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: ...
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: ...
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 ...
10 votes
2 answers
290 views

Manipulate a list representing Bach's Prelude in C

Bach's Prelude in C is repetitious in an easily modelable manner: Each of the first 32 bars is structured so that, if given the first 5 notes, you can construct the entire 16 note bar by appending ...
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, ...
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
1 answer
75 views

How to remove the waveform box for midi Sound?

For midi sounds, the bottom box in the DisplayForm is always blank, I'd like to be able to remove it: Sound[{SoundNote["C"], SoundNote["G"]}]
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 ...
2 votes
0 answers
128 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
339 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}...
7 votes
2 answers
7k views

How to get the frequency information of an mp3 audio?

I have: music = Import["http://www.qlcoder.com/uploads/145425353234642.mp3", "mp3"] Then I get: But what I want to get is ...
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
289 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 ...
31 votes
3 answers
11k views

How do you remove noise to detect just the human voice?

How do you detect different sound frequencies and cut off parts in an audio file? Among instruments, how do you pick up the human voice?
10 votes
3 answers
483 views

Creating a vibrato in Mathematica

I am trying to get Mathematica to output a vibrato; a tone which has a frequency that slightly varies. To get a tone with a non-changing frequency, I use this command: ...
6 votes
4 answers
702 views

Why can I still hear sound when the frequency of the periodic function inside Play is higher than the range of human ear?

We know that usually sound that is perceptible by humans has frequencies from about 20 Hz to 20,000 Hz, but as the title said, I can still hear the sound of the outputs of the following code: ...
7 votes
2 answers
382 views

Resources for Sound Synthesis & Design

Are there any resources for sound synthesis using Mathematica? This page, Mathematica: Audio Synthesis Software, refers to other software packages, e.g. Max/MSP and Csound, for real-time synthesis. ...

1
2 3 4 5 6