Changing the pitch of a sound played via the SamplePlayer2D?
Hi all,


I want to change the pitch of a sound each time it's played, so it increments.


I had a look at the docs and came across `voice_set_pitch_scale` but after some playing can't seem to fully understand how it works enough to actually make it work. :-/


Has anyone had any experience with it? I've tried things like:



```
soundSamplePlayer.voice_set_pitch_scale(100,100)
soundSamplePlayer.play('success01')

```

...but can hear no difference. 


Any advice would be greatly appreciated.
OK I figured it out, I'll put it here to help someone in the future. The key point is the pitch scale change changes the currently PLAYING sound, so it must be used after the play command.


I now have this:



```
soundSamplePlayer.play('success01')
soundSamplePlayer.voice_set_pitch_scale(0,1.2)

```

Basically in `voice_set_pitch_scale(0,1.2)` the first argument (which I have as `0`) is the index of the sound that's playing, so in my case, the first (and only) sound.


The second argument, which I'm testing with `1.2` is the scale change, so 20% higher in this case.


I hope that helps someone in the future.
you need to add an external speaker selector and connect it to the front speaker connection on the receiver. set the receiver to stereo.
when you play them all together one pair may be too loud so you can connect an external speaker level volume control to the pair that are too loud. that can go in the remote location if needed. you can also get the speaker selector with volume 
controls built in.
http://www.bestbuy.com/site/speaker-accessories/speaker-selector-switches/abcat0107032.c?id=abcat0107032 cheat engine searches through the memory for values that you input, then locates the memory address of them so that you can change that value later on.

for example:

lets say we would cheat in pinball.

in cheat engine you select pinball as the process.

if your score is 10, you search for 10, when cheat engine is done, change the value in the game (get more / less score), then search for that value, after repeating this a few times, it will have found the address to the value of the score. then you can change it to whatever you want, you can do the same for amounts of balls and so on.

i remember i used to cheat in diablo 2 with it, get infinite stat-points and skillpoints, you could even change the experience to instantly get lvl 99, all games uses values for almost everything, (hp, mana, experience, damage) and so on, just gotta find it in ce so you can change it!

there are tutorials on cheat engines webpage.

http://www.cheatengine.org/tutorials.php right: that's because your play:1 speakers do not support airplay. the support article below may help.
https://www.sonos.com/en-gb/airplay someone had the same problem before but they miss out the new windows update permissions for the microphone so try going to the settings > privacy and go to the microphone section and try turning on also the "allows apps to use microphone" under the 1st microphone access option for device.. so basically just try to turn both permissions on and see if that works. hi @timh we are very sorry that the “shuffle my music” feature algorithm is not perfect yet. i can assure you that the feedback has been passed on to the product team several times. they had to focus on other features but i just asked for you again and will let you know as soon as have more info. in the meantime, i highly recommend that you simply shuffle your favourites, listen to your flow, listen to the new playlist top 2019  or shuffle your own playlists on other days for more variety. [matheus](https://forum.tastyigniter.com/d/1704/1) the extension uses your browser notification which has audio by default, so might be worth looking in your browser setting? Reason: `s` starts at 1 and is incremented on first call, but is never reset. On seconds and subsequent calls `s` no longer starts at 1. `s` is actually unnecessary as you can use the loop counter `i` instead.



A more conventional way to do this sort of thing would be with a single function, not embedded in an object, and to control the detailed behaviour by passing parameter(s).



```
function loadGame(level){
	var values;
	switch(level){
		case 'hard':
			values: [7,8,9],
		break;
		case 'normal':
			values: [4,5,6],
		break;
		default://easy
			values: [1,2,3],
	}
	for(i=0;i<=this.values.length;i++){
		document.getElementById('n'+i).innerHTML=this.values[i];
	}
}
```


```
<div id="n0"></div>
	<div id="n1"></div>
	<div id="n2"></div>
	<input type="button" value="easy" onClick="loadGame('easy')"/>
	<input type="button" value="normal" onClick="loadGame('normal')"/>
	<input type="button" value="hard" onClick="loadGame('hard')"/>
```

**Airshow** pitching 投球

the more a player works on pitch type,the better it becomes.
consequently,the more a player neglects a pitch type,the harder
it is to work the strike zone.

選手對一個球種練得越多，這個球就越強。反之若是忽略一個球種，就越難靠它來投好球。

pitch type 1 球種一 x
pitch type 2 球種二o
pitch type 3 球種三z
pitch type 4 球種四口

pitch out 吊球 (故意投外準備狙殺跑者) l+x
intentional walk 故意四壞l+o
pitch/batter status window 投手打者狀態select

note: catchers will call for specific pitches based on the pitcher's
strengths and weaknesses.it's up to you to trust the catcher or
shake him off.
註：捕手會依照投手擅長的球路配球。你是投手，自己決定要聽捕手的，或是搖頭，另外配球。


pitching after set (after pitch selection) 準備好(選好球種後)的投球選項

pickoff to 1st base 牽制一壘o
pickoff to 2nd base牽制二壘z
pickoff to 3rd base牽制三壘口
pitch 投球 x

position ball in strike zone 進壘位置  搖桿
step off rubber 腳離開投手板，重新再來r Have you tried enabling the Stero Mix function in the Sound options within Control Panel? I'm assuming you are using Windows 7 here, so go into Sound and the the tab that says Recording. Right click and choose "Show Disabled Devices". Then right click on the option that says Stero Mix and choose Enable.  

From there download Audacity for free from the internet (or alternatively use whatever program you currently use) and start recording from any source playing from your computer. there is no update from you for a period, assuming this is not an issue any more.

hence we are closing this topic. if need further support, please open a new one.

thanks

hi,

is the default audio setting from hdmi not able to achieve what you want?