Questions tagged [sound]

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

Filter by
Sorted by
Tagged with
2
votes
1answer
66 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! ...
10
votes
1answer
255 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 ...
8
votes
1answer
240 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: ...
11
votes
1answer
309 views

Wolfram Neural Net Repository Questions

I am a developer 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 stupid ...
0
votes
0answers
35 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
2answers
821 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
1answer
92 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
2answers
180 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
0answers
72 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
0answers
19 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
1answer
29 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
0answers
53 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
1answer
26 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
1answer
51 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
1answer
56 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
1answer
102 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
1answer
102 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
0answers
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
0answers
81 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
1answer
57 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
1answer
36 views

How to export Speak to wav or mp3 file?

How to export Speak["valentine"] to wav or mp3 file?
13
votes
1answer
560 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
1answer
154 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
0answers
66 views

Sound steganography with `InverseSpectrogram`

Here is my code of how to hide a message inside a sound: ...
1
vote
1answer
45 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
0answers
22 views

Error running AudioIntervals on ExampleData

I get a strange error when running: ...
1
vote
0answers
35 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
0answers
57 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
6
votes
2answers
265 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
1answer
25 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
1answer
201 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
1answer
83 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
1answer
52 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 ...
5
votes
1answer
57 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
0answers
108 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
1answer
208 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
0answers
45 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
1answer
64 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 <...
2
votes
0answers
37 views

Adding sound to a demonstration so I can video my lectures

During my lectures I often stop PowerPoint and do a demonstration using a Mathematica DynamicModule these have sliders and buttons as needed. I am now in lockdown ...
1
vote
0answers
25 views

Play overlapping Audio

I've imported two wav-Files and want to play them successively. Both last about 1 sec but I want to start the second while the first is still playing. I tried ...
1
vote
1answer
48 views

Audio bandpass using Fourier transform

For a mathematics class I am in, my professor is having us manipulate audio files in various ways in order to demonstrate some of the processes we have learned about. One of these in particular is ...
2
votes
1answer
42 views

How to play AudioStream with multiple audio inputs sequentially?

I have around 10 music files in a directory and I load them as AudioStream as shown: ...
3
votes
1answer
64 views

Playing two different instruments at the same time

I have to create a sound where I need to layer the instruments. I have used pure functions like this ...
1
vote
0answers
66 views

No sound from Beep[]

In Mathematica 12.1 under macOS 12.1, input Beep[] produces no audible sound. On the other hand, input Speak["Hello"] ...
1
vote
0answers
33 views

Is it possible to define custom sound style (or instrument)?

For example, you can specify the style or instrument as "Violin" in a SoundNote like: SoundNote[0, 1, "Violin"] Here ...
9
votes
1answer
183 views

How to reproduce Spectrogram from SpectrogramArray?

I'm trying to reproduce the result of Spectrogram from SpectrogramArray, but having no luck, any help? What I've got so far: <...
1
vote
0answers
21 views

What's the parameters of the Spectrogram function

The Spectrogram functions only has these parameters listed: Spectrogram[list,n,d,wfun] What's the value of the other ...
3
votes
2answers
78 views

Creating a Sequence of Sounds using Table

I am trying to play a sequence of sounds in Mathematica using Table. My real example is much more complicated so that is why I got to using ...
0
votes
0answers
50 views

NetDecoder using InverseShortTimeFourier, InverseSpectrogram, or Audio, etc., Possible?

I'm finding it impossible to create a NetDecoder to function as the inverse equivalent of, e.g., NetEncoder["AudioSTFT"], ...
2
votes
1answer
48 views

Converting an AudioStream object into a generic Audio Object

I am attempting to record from a USB Stereo input and I want to preserve the stereo signal. When I tried to use AudioCapture[], it compressed the signal into mono. ...

1
2 3 4 5 6