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
0answers
52 views

Is there a complex version of PeriodogramArray?

I am trying to build some functions to help me work with audio data collected as time streams but converted to the frequency domain. The frequency domain results must be complex because phase is ...
0
votes
0answers
55 views

Is it possible to create an instrumental version of an mp3 file in Mathematica?

I'm aware that it's possible to use a program like Audacity to do this and that it's most likely easier, but I'd like to know how to make instrumental versions of songs in the mp3 format using ...
3
votes
2answers
117 views

Find peak decibel level (or some measure of peak loudness) from audio sample

So a shotgun range opened near my house and I've been tasked by the HOA to do some nuisance analysis. I've got a quick sample of audio and want to find the peak noise levels at the places where the ...
4
votes
0answers
79 views

Undocumented Aspects of MFCC Computation by AudioLocalMeasurements

There are a number of undocumented procedures and parameters underpinning the computation of MFCC vectors by AudioLocalMeasurements including the size and form of ...
1
vote
2answers
119 views

How to generate Pink Noise using Mathematica 8

I have tried to generate pink noise with the following commands : ...
1
vote
0answers
34 views

Is it possible to compute the second stereo track if one has a mono track and one of the stereo tracks?

I'm curious about Mathematica's capabilities to process audio files. Suppose I want to reconstruct a stereo audio track. The first bit of information I have is a mono track made from a stereo to mono ...
0
votes
1answer
70 views

AudioLocalMeasurements and MFCC

I call AudioLocalMeasurements as follows: ...
0
votes
1answer
51 views

Normalization of AudioData

The documentation for AudioData says: "By default, AudioData[audio] normalizes values to lie between -1 and 1." One might imagine that the min and max of the result would be -1 and 1 respectively ...
1
vote
0answers
45 views

SoundNote[ ] generates a different output for each audio channel

When SoundNote[] is evaluated, I expect the audio both channels to be the same but they are different. The code ...
1
vote
4answers
162 views

Generate an audio file which makes rhythmic buzzer sounds

I will perform an experiment which consists of deadlift trials during 5 minutes. To control the rhythm of this fatiguing exercise, I would like to generate a sound file which gives a buzzer noise ...
2
votes
1answer
110 views

How to turn the internal sound note into the form of function

I want to make a brief Fourier transformation of the sound notes of the same pitch but played by different instruments to see the difference of their Fourier ...
7
votes
2answers
204 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 ...
2
votes
1answer
149 views

Computing FundamentalFrequency

How does Mathematica use AudioLocalMeasurements to compute the fundamental frequency? Is there any formula? I can't seem to find what method Mathematica makes use ...
11
votes
2answers
578 views

How to combine Neural Network and Audio like Classify?

I want to combine Audio object and Neural Network ,first thing I remember is Classify ...
3
votes
1answer
111 views

Confused about the usage of AudioSpectralTransformation

The documentation for AudioSpectralTransformation says: AudioSpectralTransformation computes the short-time Fourier transform of audio, maps every value at ...
7
votes
2answers
218 views

How to capture the system sound output, but not the microphone?

This is my $Version "11.1.1 for Microsoft Windows (64-bit) (May 16, 2017)" We have two methods to record sounds in ...
7
votes
2answers
196 views

Combining Midi Files

I have a list of imported midi files, as Sound objects. I simply want to string them together. I've tried a lot of things and nothing has worked, apart from a hack-y version of manipulating the midi's ...
0
votes
0answers
114 views

Dynamic sound generator [duplicate]

i wanna create a notebook with dynamic sound-output. I want to emit a continous sound (sine wave) while being able to adjust the frequency in real time without having to click the play-button again. ...
0
votes
1answer
179 views

Spectrogram to ArrayPlot

I have an Audio that I want to extract the Spectrogram data from such that when I plot it using ...
0
votes
1answer
141 views

Frequencies doubled in fourier transform [duplicate]

With this code I get a nice plot of the Fourier transform, but the frequencies are doubled. By this I mean that when using a sine wave I generated at 220 Hz, the plot gives me a single peak at 440 Hz. ...
0
votes
2answers
147 views

Symmetrical waveform of sound

How can I record my sound to get the symmetrical waveform? AudioPlot[mysound, PlotStyle -> Red, AxesStyle -> Blue] Or How can I transform "my sound" to ...
0
votes
1answer
1k views

How do I perform an FFT on a .wav file?

I've been trying all day to figure out how to do this. I have been able to import the data without any problem and have been able to also plot just the data. However, I keep getting error messages ...
1
vote
0answers
31 views

Speak Function to say numbers from a list in a defined delay [closed]

I want to create a script that "speaks" a few digits. This is what I got thus far: A = RandomChoice[0 ;; 9, 15]; Do[Speak[i], {i, A}] Mathematica "says" those 15 ...
3
votes
1answer
616 views

Frequency decomposition of an mp3 file?

After loading an mp3 file test = Import["test.mp3"] I would like to make a plot with x-axis being the frequency of waveforms ...
2
votes
1answer
127 views

Extract power levels of mp3 sound at given times?

Consider loading an mp3 audio file mymp3=Import["test.mp3"]; Now we get an object that looks like One can see a picture of ...
3
votes
1answer
508 views

How to visualize music from midi file format?

From What I understand midi format is a digital format computers can read and reproduce. Is there a way to assign shapes and colors to certain frequencies and durations to visualize the music ...
6
votes
1answer
195 views

If we listen to the sound, why does $\sin(x^2)$ shrink and grow in intervals?

$\sin(x^2)$ gives (it seems) an ever shrinking sine wave: Its frequency gets higher, and the pitch of the sound wave should too, right? But if we pass the $\sin$ through the ...
4
votes
1answer
556 views

Close encounters of the third kind [closed]

anyone knows how to generate the 5 tone notes of the movie? It's only for have fun. Thanks
9
votes
2answers
659 views

How to perform Blind Source Separation on an audio mix?

There have been several scholarly publications on the Blind Source Separation (BSS) problem. Some are aimed at audio signals. I wish to start with a simple case. I have generated a custom sound mix ...
1
vote
1answer
228 views

How to automatically play a sound file after importing

I want Mathematica (Version 11.0.1.0) to automatically play a specific sound file after importing from the hard drive without any user intervention other than opening the notebook. Here is what I have ...
0
votes
0answers
115 views

Import audio of a video

I recorded some videos with my webcam using QuickTime and imported the .mov files as an ImageList into MMA using Import which supports QuickTime Version 7 and earlier. The question is how do I get the ...
9
votes
2answers
618 views

Beep anytime evaluation finishes

These days I have to do long evaluations and I would like to get back to my notebook as soon as they end. Is there a way to ask Mathematica to produce a sound signal anytime it ends an evaluation? I ...
5
votes
1answer
43 views

Speak stops on first Hyphen with IntegerName

IntegerName returns the text of an integer. However, when Speak is applied to the result it stops at the fist hyphen. For ...
2
votes
2answers
92 views

How can I make a surface of revolution from the given “TimeSeries”?

I read this article and I tried to make a simple analog ...
1
vote
2answers
78 views

How can I import “wav” file like “RecordSound”

How to import audio file like as "SystemDialogInput["RecordSound"]"? ...
1
vote
0answers
100 views

How to play MIDI instrument at arbitrary pitch

With SoundNote, one can play specific semitones using numerous styles, such as Piano, Flute, ...
23
votes
2answers
444 views

How to align similar TimeSeries like ImageAlign?

I have three audio files. ...
1
vote
1answer
142 views

How to use AudioTrim to delete the silences?

I have an audio file named del_silences.wav. I want to delete the silence intervals. But using AudioTrim, the audio almost has no change: ...
4
votes
1answer
64 views

How to access time index while playing audio?

I'd like to access the current time (in seconds) while playing audio. For example: song = Import@"file.mp3"; id = Audio`AudioInformation[song, "AudioID"]; Then ...
10
votes
1answer
301 views

How to make Audio work dynamically and separately like DynamicImage?

In Mathematica, there is a new function DynamicImage that can enlarge or drag picture dynamically. So, is there a function ...
3
votes
1answer
104 views

Split audio with AudioIntervals

How do I split an Audio object into multiple ones, where the ith object represents the ith interval satisfying a certain criterion? A quick and dirty solution I just thought of is this: ...
8
votes
0answers
75 views

Implementing custom audio filters that work on file-backed Audio[] objects

Audio supports out-of-core processing. We can create a file-backed Audio object using au = Audio[File[...]]. Any filters ...
6
votes
1answer
92 views

How to test if an Audio object is file backed and extract the file path?

Audio objects can be file backed and support out of core processing. How can I test if an Audio object is file backed and ...
17
votes
2answers
802 views

How to programmatically play an Audio object?

A Sound object can be programmatically played using EmitSound. Example: ...
2
votes
1answer
754 views

Finding peaks on a Periodogram

I am currently working on a school project involving modelling sound recordings of piano notes. I have used the periodogram function to graph my recording and would like to find the peaks of this ...
0
votes
1answer
52 views

Remove sound emitted after evaluation

After the evaluation of a cell Mathematica emits a sounds: how can I remove it? If needed, I use v.10 on a Windows 8.1 64 bits machine.
9
votes
2answers
525 views

How to record a sound and play the reverse of that in Mathematica?

How do I record a sound and then play its reversed version?
2
votes
1answer
64 views

What' s wrong with my code with `play` in table [duplicate]

I couldn't find the reason why the following code consumming my time (1min no output results): ...
5
votes
2answers
422 views

Generating Shepard and Risset tones

The Shepard tone is a famous auditory illusion where the successively generated tones seem as if they keep going higher and higher in pitch. The Risset glissando is a similar auditory illusion, but is ...
6
votes
2answers
382 views

Sound synthesizer using Manipulate

Sound synthesizers, both digital and analog, often include a parameter section for shaping the amplitude of a sound wave over time. This parameter section is commonly known as an "ADSR EG" (attack, ...