All Questions

Filter by
Sorted by
Tagged with
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 ...
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 ...
6
votes
1answer
88 views

Function that counts number of consecutive elements after iterator in Table command

I have a 1D Table, something like this, that I want to turn into musical notes: ...
4
votes
1answer
66 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 ...
1
vote
1answer
1k 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 ...