New answers tagged

4

It doesn't seem to be available with Options so let's edit this manually. So you can inspect the output or use ToBoxes to know what needs to be changed. And change it: sound = Sound[{SoundNote["C"], SoundNote["G"]}] ToBoxes[ sound ] /. GraphicsBox[gr_, opts___, ImageSize -> _, opts2___ ] :> GraphicsBox[gr, opts, opts2, ImageSize -> 500 ] // ...


4

You can use Play to produce a fixed-duration sound of arbitrary frequency. For example to play, to get a 2600 Hz tone for 1 second you could use: Play[Sin[2600 2 π t], {t, 0, 1}] To play a sequence of fixed-duration sounds , you can use Sound on a list of Play functions as shown in the first Scope example here. For those of a certain age, here is a ...


0

Working on my previous comment; this: Sound[{SoundNote["D", 1, "Violin"], SoundNote["E", 1, "Violin"], SoundNote["F", 1, "Violin"], SoundNote["G", 1, "Violin"], SoundNote["A", 1, "Violin"], SoundNote["B", 1, "Violin"]}] plays a succession of 6 notes for 1 second each. Violin specifies the instrument; there are a lot of different styles in the ...



Top 50 recent answers are included