Questions tagged [sound]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
27 views

Plot Audio DAta

I am a beginner in mathematica. Currently i am working on audio file my problem is when i extract audio information using BinaryReadList and try to plot it works with mono wav file but cannot get ...
1
vote
1answer
46 views

Multiple notes at once in sound

I am trying to write a sound such that I can play double or triple stops in a Sound style. I am trying to do ...
1
vote
0answers
88 views

How can you write musical notation in Mathematica?

I am trying to write a project that overlaps particle physics and music, and have written all the basis in Mathematica, but to display it I need to write some lines of music out. I deally I would like ...
1
vote
0answers
33 views

How to filter audio to get best results in correlation?

I am trying to recognise the alphabetical letters by saving some data of records of me and others saying each letter, then comparing a test audio not contained in the data to each letter using the ...
0
votes
0answers
28 views

Generating audio from integer list data

I have integer list data which I am outputting to MIDI format, however the list data range of values is much greater than the MIDI note range, so is it possible to use the min and max value in the ...
1
vote
0answers
55 views

Speed up/slow down audio file

I am importing an audiofile to Mathematica and want to play it back at double speed. The only functions I see are the advanced options of AudioPitchShift (which doesn't alter the duration but ...
0
votes
0answers
22 views

FLAC to MP3 converter errors exporting meta information

So I'm making a simple .flac to .mp3 converter, but it can't handle the metadata for the files, as sometimes they have incompatible tags. (For example, Xiph is only found in .flac) The code so far: <...
0
votes
0answers
16 views

How can I know the true range of the values returned by AudioLocalMeasurements?

I need to normalize the values of different AudioLocalMeasurements results but I can't seem to find any info regarding the range of values in which each measurement ...
2
votes
1answer
54 views

Where to find information about models, data and labels used by Image/AudioIdentify?

I am thinking about using Mathematica 12's ImageIdentify and AudioIdentify functions for an interdisciplinary research project. The social science part of it requires to describe a little bit the ...
3
votes
1answer
44 views

Integers to soundnote for midi generation

To generate a midi file given two lists of integers of equal length, one for the note pitch and one for the corresponding note duration (tempo), I'd like to use the built in Midi file generator, but ...
0
votes
1answer
49 views

Export and import sound give different data

If I export a sound object and then I import the same sound I have a different data array. The errors seem to have a certain regularity. They are all multiples of the same value: Why does it ...
0
votes
1answer
58 views

Manipulate plot and sound of a function simultaneously

I've an amplitude function (see below). I want to manipulate both a plot of this function and the sound it makes with the same sliders. Is this possible? ...
1
vote
0answers
37 views

Adding of Mathematica “Play” structures in Mathematica 10

I try to do some sound manipulation in Mathematica 10, because i can't upgrade to Mathematica 11 with my students license, which i realise would have a lot more to offer for Audio Processing. However ...
1
vote
0answers
66 views

Sound Processing frequency Dynamicly

Would like to know if there is a method to call upon the frequency of a song at a given time for instance at 0:34 second the frequency is x ; But to do this live meaning as long as the song is ...
0
votes
0answers
51 views

Pressing key to play sound

Is possible to bind keyboard keys so that they make a sound? I want to make a piano keyboard that I can play from my laptop keyboard. Example: Clicking "1" on keyboard makes Mathematica start ...
1
vote
0answers
73 views

animated gif with music, sound or voice-over

I created a animated gif. This animation exist of 20 frames. The animation repeats after the last frame. I want to add music,sound or a voice-over to this animated gif. Who has a suggestion to do ...
0
votes
0answers
51 views

doppler graph using an audio file

I'm trying to plot a graph frequency (Hz) x Time (ms). My problem is, I dont know what kind of data I'm extracting from the audio file. When I write the function: ...
1
vote
1answer
58 views

MouseOver and Speak

I am having an issue where Mouseover doesn't work with Speak and instead returns Null. All ...
2
votes
1answer
56 views

Sound loop without hiccups

I want to make a seamless sound loop that can play forever, but the consecutive EmitSound commands do not merge as I would like them to; that is, the sound seems to hiccup at the point where the loop ...
2
votes
1answer
154 views

CDF Deploy of dynamic module

I am trying to deploy a CDF file with a small animation that does the following: when the button is pressed, it plays a sound and displays a spectrogram ; while the sound plays, a red progress line ...
9
votes
2answers
247 views

Frequency of ticks in mechanical watches

I'm looking to find the frequency of a relatively large dataset (or a relatively short audio file) of a repeating sound, like so: Here are the original files, for those willing to play. :) eta2412 ...
0
votes
1answer
65 views

My module producing sound could not be compiled

So, here's my code to return a play object after passing in frequency and duration as parameters. When I run it, it says "Sound::ssnm: A good PlayRange could not be found since most of the ...
2
votes
0answers
46 views

Create tone with adjustable frequency/amplitude

How can I play a tone and adjust its frequency and amplitude? As an example, say I wanted to play a SquareWave with a slider for frequency and amplitude. Using a <...
5
votes
1answer
80 views

Weird Export of .M4A format

When Exporting .M4A format audio, the duration is always 1. It seems that the audio is fast-forward played... Is that a bug and how can I fix it? Sample code: ...
3
votes
1answer
46 views

Eliminate clicks/pops from Play function

When using the Play function with a simple Sin wave, the audio clicks/pops at the beginning and end of the audio sample. How ...
5
votes
1answer
71 views

Precision-related error in Audio

Bug introduced in 11.3 or earlier CASE:4075745 I have been experimenting with using Audio and associated functions for data acquisition using an external sound ...
6
votes
0answers
95 views

Automated Phone Attendant with Mathematica [closed]

I'm considering using an old notebook with a built-in modem as an automated attendant. Basically, it would have the following functionalities: static menu pre-recorded messages caller interaction via ...
0
votes
0answers
35 views

Cannot import ExampleData/dialing.m4a in mma version 11.2.0.0

I cannot import MPEG-4 audio, whether it be the example file provided, or any other M4A file I have. The documentation clearly states that this should work, but here's what I get when I try it. <...
0
votes
1answer
41 views

Fine control of AudioRecord

I use an external sound card (Fireface UCX) for data acquisition, generating stimulus .wav files with Mathematica, using Audacity to simultaneously play the stimulus and record several channels of ...
8
votes
1answer
166 views

Audio equivalent of CurrentImage

Unfortunately, there is no CurrentAudio[] function yet. I'm trying to poll for 1 second clips of audio (as fast as possible) from my computer's microphone (and ...
6
votes
1answer
68 views

How to CloudDeploy an APIFunction that takes audio as input?

I have a function whose argument is Audio and I'd like to deploy it as an API (and then call it from Python). This works as with ...
27
votes
4answers
958 views

How fast is my fidget spinner spinning? A sound experiment!

I would like to measure how fast my 6-bladed fidget spinner spins. To do so, after giving it a hard spin, I gently touch the spinner with a wooden stirring stick to create a buzzing sound which ...
3
votes
0answers
52 views

Finding the beat rate of a song [duplicate]

I'm trying to use Mathematica to find out the beat rate of a song. The image below shows some markups I made in another program in milliseconds. I was able to find that there is a pattern every ...
0
votes
0answers
108 views

Playing sound using an array of soundsamples

I have an assignment where I have to apply effects such as reverb to a .wav file using mathematica. I used Import["sound.wav","data"] to get the array and then did ...
2
votes
0answers
45 views

Identifying the range of the voice

I'm trying to do an equalization in an audio program called Audition. To have a good voice equalization, I need to have a frequency range of my voice. A minimum value and a maximum frequency value. ...
4
votes
0answers
100 views

Softening Strident Sounds

I asked a question that was very well resolved by kjosborne I have some audios that I am looking for better the quality. Now I'm looking for a solution to soften the sound of ...
3
votes
1answer
255 views

Machine learning classify function with audio and set of pictures

As I see from documentation, Classify function supports Audio and Pictures as input, video is not supported unfortunately :( Will it work if I try to use classify for mixed data input like ...
5
votes
1answer
140 views

Identifying Silence in Audio

I have some audios that contain short spaces of silence with different periods of time. Looking for information, I found this question. The audio example is this. Is there a way the program can do ...
1
vote
0answers
105 views

Generating music notes on the fly, that play over one another

I'm attempting to use Mathematica to generate music on the fly. I know that I can take a list of notes (which have lengths associated with them) and create a sound object, and play that sound object. ...
7
votes
0answers
202 views

Synthesizing Kylo Ren Voice in Mathematica - Start Wars

Kylo Ren voice in Star Wars The Force Awakens is very cool. When I watched the movie in 2015, one of the first things that came up to my mind was how to do such voice in Mathematica. At the time ...
4
votes
1answer
65 views

Extract RawArray from Audio

Audio objects backed by in-memory data (not files) seem to contain a RawArray. Is there a way to get the ...
0
votes
0answers
28 views

Minimization Over a Set of Size 1

Set f[c_?NumericQ] := Module[{data}, data = AudioData[AudioNormalize[Import["myfile.wav"]]]; Mean[Take[data, {c, c + 400}]]] and then apply ...
2
votes
1answer
59 views

Is there a discrepancy between reported and actual SampleRate in AudioGenerator

When AudioGenerator is used to generate an Audio object, there may be a discrepancy between the specified (and reported) SampleRate and the actual time difference between the samples. This was ...
0
votes
0answers
49 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
53 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
112 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
115 views

How to generate Pink Noise using Mathematica 8

I have tried to generate pink noise with the following commands : ...
1
vote
0answers
32 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
66 views

AudioLocalMeasurements and MFCC

I call AudioLocalMeasurements as follows: ...