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

learn more… | top users | synonyms (3)

0
votes
0answers
48 views

Personal Reminder with Speak capability repeats multiple times

I am trying to create a personal reminder for myself using the Speak function in Mathematica hoping that the computer speaks the task only once at the designated time. However, I have found that the ...
3
votes
2answers
144 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 ...
3
votes
0answers
62 views

Playing a sound gives errors in Mathematica 10.3

I tried this Play[Sin[2 Pi 440 t], {t, 0, 1}] and it gives errors. What is wrong with my Mathematica( v10.3)? Update I found what cause this warning ...
3
votes
1answer
23 views

List of sound objects indexing

I am creating a list of sound objects: tones={}; For[j = 0, j <= 40, j++, tones = Append[tones, Play[Sin[2*Pi*t*500/Exp[-0.1*j/20]], {t, 0, 1}]]]; Each ...
3
votes
1answer
60 views

How do I keep Speak[] from spelling out words?

When I input Speak["aeiou"] it spells out a-e-i-o-u, but I want it to be pronounced as one word. How do I do this? Is it even possible?
7
votes
3answers
124 views

Morse Code Spacing

Trying to make a function to convert text into morse code and play the sound. Have it pretty much completed, but I cannot get mathematica to emit no sound so I can have a pause between the dots and ...
5
votes
2answers
273 views

More elegant function construction for blues loop

Is there a more elegant way to do this: ...
6
votes
2answers
71 views

Duration of each note $\pm \epsilon$

Apologies if this has been asked before, but I can't seem to find a solution. I have a little track - eg: ...
6
votes
1answer
306 views

Welcome sound in Mathematica

My first introduction with Mathematica was about eleven years ago. It was still version 4.2 which had a nice welcome sound whenever you opened a new notebook. However this welcome sound is absent in ...
8
votes
1answer
919 views

How to Speak in a foreign language?

A previous question changed the pronunciation by changing the spelling of words or by externally changing the default system voice. This is useful for speaking in foreign languages too, but I don't ...
9
votes
3answers
241 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: ...
2
votes
1answer
102 views

How can I convert a Sound created with SoundNote to a list of samples?

I have a Sound created with SoundNote, as follows: simpleSound = Sound[SoundNote["C"]] ...
1
vote
1answer
87 views

How to define a periodic function from an interval to Play (monotonic) sound

I would like to define a function on an interval and then duplicate it on other intervals of the same length in order to define a (generally discontinuous) periodic function, from which I could get a ...
3
votes
0answers
71 views

How to have Mathematica pronounce/speak International Phonetic Alphabet? [duplicate]

We know that Speak could read out English words and sentences such as Speak["this is a sentence"] Unfortunately, ...
2
votes
1answer
65 views

Export an animation as .avi file with sound?

If I have a list myTb containing Image objects, I can export the list as an .avi file using the command ...
0
votes
2answers
56 views

Evaluating a set of expressions under button control with voice annotation [closed]

For example, let us assume that a user clicks the button named "Evaluate" and then a voice announces "Please wait your expression is being evaluated". Mathematica then carries out set of instructions ...
5
votes
1answer
98 views

How to sustain (pedal) a note?

I searched the documentation for SoundNote, Sound, EmitSound, etc... but cannot find any ...
1
vote
0answers
22 views

Why is there a lag in EmitMIDI and StopMIDI?

If I run: ...
5
votes
1answer
88 views

How to make Play scrubbable?

For longer audio clips, the functionality provided by Play or Sound is clunky. I find myself wanting to scrub through with a ...
0
votes
1answer
42 views

Determine what a sound snippet contains?

The function SystemDialogInput["RecordSound"] brings up an interface that lets you record a sound object. Let's say we first record a one second long snippet of ...
1
vote
1answer
110 views

Strange behavior: Cannot import data as MP3 format anymore

I am having the strangest problem since a day: Mathematica is no longer (after a reinstall) able to import MP3 files. I think these details should not be relevant, but they are all there are: It ...
2
votes
0answers
60 views

Mathematica 10 Audio Export Issue

Summary of the problem: When exporting data as an audio file (AIFF/WAV etc.), there appears to be unwanted scaling and offset in the data such that the minimum and maximum values are forced to be -1 ...
3
votes
0answers
63 views

How to produce timely spoken text?

On my system (Mac OSX 10.10.4) the following code produces only the first utterance. The second one is produce when the user interacts in some way with the front end (mouseover, mouseclick). How can I ...
3
votes
1answer
98 views

Extracting a time series from a sound object

After importing a sound file, how can I generate a time series (preferably as an $n\times 1$ matrix) which gives the intensity at equal time intervals?
7
votes
1answer
321 views

How to extract notes and chords from audio?

I have a 3-second recording of a guitar chord which you can safely download here. I'm trying to use Mathematica's wavelet features to find out the notes in the chord, at least the docs says that ...
1
vote
1answer
68 views

How to cut imported audio?

How to cut an audio clip imported by the Import function? E.g. I'm interested in the content starting from the 100th sample up to the 200th. I'd like to avoid ...
1
vote
0answers
90 views

Raster image to a waveform, for audio adjustments, as image effects? [closed]

How can a normal (raster) image: Image["URL"] Be converted in the Wolfram Language to a waveform, for example in greyscale, being the sum of all the harmonics in ...
0
votes
1answer
80 views

Calculating functions of sounds

I've seen that it is possible to create a sound from functions: Sound[{Play[Sin[1000 t (1 + t^2)], {t, 0, .2}], Play[Sin[500 t (1 + t^3)], {t, 0, .5}]}] Is is ...
5
votes
0answers
109 views

realtime audio processing possible? [duplicate]

I'm an improvising musician and also a sound engineer. So, I'm interested in the creative process of music as well as the science of sound. I would like to connect my guitar with an interface to my ...
3
votes
1answer
322 views

How to manipulate spoken text with Speak?

I need to vary the speed, pause, reverse and in general control aspects of the playback of Speak[] is this possible?
9
votes
2answers
287 views

How to export Speak output?

I made a series of interval workouts based on Speak[], where the voice tells me when the intervals start, when they stop and how much time I have left to prepare. ...
1
vote
1answer
80 views

How to use ListPlay and PlayRange in Manipulate

The following correctly produces a click sound: ...
5
votes
2answers
121 views

How to loop a sound

I have created a sound which I would like to play continuously until stopped, by looping back to the beginning. The sound is represented as list of samples, which can be played by ...
1
vote
0answers
61 views

EmitSound delay [closed]

I am experiencing a long delay (6 sec) between evaluating an EmitSound expression and the actual sound output. This may have happened after upgrading to Mma 10.0.2 ...
5
votes
0answers
163 views

How to plot Spectrogram of SoundNote?

I try to use the expression: Spectrogram[Sound[SoundNote[{"C", "E", "G", "C5"}, 10, "Vibraphone"]]] to plot the spectrogram of a SoundNote. But Spectrogram ...
2
votes
1answer
146 views

How to get a audio file's duration time in Mathematica?

I have a *.avi file and if I want to know the file's duration time: I can use this code to get the result: Import["test.avi", "Duration"] or the code to get the ...
4
votes
1answer
165 views

LowpassFilter in v10: unit issues?

Bug introduced in 10.0.0 and fixed in 10.1.0 I tried this with a clean start and no documents loaded. Now, evaluating the following on the documentation page for ...
1
vote
0answers
179 views

Can Mathematica reconstruct an audio signal from a given spectrogram

I just realized that Mathematica can easily construct a spectrogram for a given .wav file. My question is, to what extent can this process be inverted in Mathematica? Namely, lets say I have the ...
4
votes
2answers
97 views

Save imported sound into a notebook (so I can e-mail it)

At the end of my code I'd like to put an imported (wav) sound. I would then play it with EmitSound[my_sound] when this cell will ...
3
votes
0answers
77 views

What determines quality of midi playback in Mathematica?

I'm using Mathematica 10, and ocassionally when I import a midi file and play it, the sound is very disappointing! the sound volume seems to vary (sometimes normal, sometimes very low) some ...
0
votes
1answer
197 views

Turning sound into a graph

I'm writing a comprehensive text on graphs and Mathematica and in this context I have this, let's call it, creative gap between sound and graphs. There are plenty of ways one can create graphs from ...
2
votes
0answers
94 views

silent soundnote and superimposing sound objects

In Mathematica 9, Soundnote[None] has zero duration if it is the last note in a Sound expression. For instance, the sound object ...
3
votes
0answers
69 views

What SampleRate and SampleDepth does Mathematica use on output?

The Play function will happily accept arbitrary values for its SampleDepth and SampleRate ...
1
vote
1answer
159 views

Audio sample data from a Sound object

When generating a Sound object by using Sound primitives, like: Needs["Audio`"] sound = Sound[ListWaveform[{{1, 1}, {1.496, .7}, {2.501, .3}}, 265, 1]]; how can ...
4
votes
0answers
218 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. ...
30
votes
1answer
1k views

May the Fourth be with you

Happy Star Wars day. I was playing around with the image manipulation functions in Mathematica in an attempt to recreate the Star Wars crawl. There's an HTML/CSS implementation which is in my ...
4
votes
0answers
163 views

Is it possible to model the piano key attack?

My purpose is to model the attack of a piano key. As the key is pressed a sound must be emitted. When the key is released the sound must stop with decreasing volume. I have a partial success when ...
2
votes
1answer
260 views

Sampling a musical instrument (or re-tuning MIDI)

I'd like to try to convert a piece of MIDI music made with SoundNote to another tuning (not microtonal or even split-black-keys, just a slightly different tuning for each note). I searched for pitch ...
0
votes
1answer
212 views

Plot Notes present in sound sample

I would like to visualize a sampled sound, and place the sounds as notes starting from C0 to A8 or such. I have a table of ...
1
vote
1answer
461 views

How to find the local maximum of a list [duplicate]

I have imported a wav sound that a = Import["sound.wav"] and we know that soundStrength = a[[1]][[1]] is a list of sound ...