Questions tagged [surround]

91 questions
4
votes
1 answer

surround.vim: deleting embedded ruby tags

Using surround.vim, while in an .html.erb file, if I type ysw= in front of 'text' it will correctly give me <%= text %>. However, if I move the cursor over 'text' and type ds=, it doesn't delete anything, which if I'm reading the docs correctly, it…
kmurph79
  • 1,192
  • 3
  • 13
  • 28
4
votes
1 answer

AVAudioPlayerNode multichannel audio control

I have successfully used AVAudioPlayerNode to play stereo and mono files. I would like to use files with 3+ channels (surround files) and be able to route the audio in a non-linear way. For instance, I could assign file channel 0 to output channel…
GW.Rodriguez
  • 1,181
  • 8
  • 18
3
votes
2 answers

Vim - surround.vim - s key not working

When I select some code by v key and press s to surround and closed in brackets i receive this error: surround.vim Visual mode s has been remove in favor of S How to revert this functionality?
tomekfranek
  • 6,852
  • 8
  • 45
  • 80
3
votes
0 answers

How can I set Spatial Sound/Dobly Atoms in Windows 10 programatically?

I am trying to change or apply Spatial Sound in Windows 10 programmatically. https://learn.microsoft.com/en-us/windows/win32/coreaudio/spatial-sound Unfortunately I found no answer from Microsoft Docs. What I want is a) Enumerate all Spatial Sounds,…
3
votes
1 answer

Convert PCM Byte Array To Surround Channels

As I understand, the audio byte array that I am using (PCM Stereo 16bit) is 4 bytes per sample. I noticed that when you invert the Byte value (ie. -128 to 128 and 128 to -128) it does not put the sound in the surround channel. It sounds the same…
user698816
  • 141
  • 1
  • 6
3
votes
1 answer

Is there anyway to change VIM Surround's keymapping?

I currently have my .vimrc set up so that s saves my file d deletes any text that is highlighted in visual mode c will comment any line the cursor is on (or any group of highlighted lines) so obviously this prevents me from using Surround's…
user883807
3
votes
2 answers

5.1 Channels with PortAudio

I am trying to get started with PortAudio. I am able to build the bundled example file "paex_sine.c" with no problems. This a sine wave on the left channel and a different frequency sine wave on the right channel. This works properly with no…
3
votes
2 answers

FMOD surround sound openframeworks

Ok, I hope I don't mess this up, I have had a look for some answers but can't find anything. I am trying to make a simple sampler in openframeworks using the FMOD sound player in 3D mode. I can make a single instance work fine (recording a new file…
fred_dev
  • 43
  • 8
3
votes
1 answer

vim: insert word with vim-surround

I use surround vim plugin. when I write a latex source for make a word to \bf similar to hello w*orld ( * is the cursor position) I use ysiw}a\bf and get hello {\bf *world} exist a more simple way? or how I can insert \bf…
JuanPablo
  • 23,792
  • 39
  • 118
  • 164
2
votes
2 answers

Vim binding to wrap word under cursor in double curly braces

When working with Jinja templates and YAML for Ansible configuration, I often copy+paste a variable name (say, nginx_root) and then need to wrap it in double curly braces: {{ nginx_root }}. This gets cumbersome to do manually, so I want to be able…
Justin Mayer
  • 2,063
  • 11
  • 15
2
votes
3 answers

Surround Several Words With Quotes At Once In vim

I was curious if there is a way to surround several words at once with quotes using vim. I am using tpope surround and repeat but I was wondering if there is a command like 3ysw" so from one two three to "one" "two" "three"
code kid
  • 374
  • 1
  • 6
  • 22
2
votes
2 answers

VIM: insert empty ERB tags

How can I insert empty ERB tags and put cursor inside it? It is similar to surrounding with surround plugin, but there is nothing to surround. For example, from this: bla|bla I want get this: bla<%= | %>bla
whitered
  • 899
  • 1
  • 9
  • 18
2
votes
1 answer

Is there a Texmate bundle similar to Vim's surround plugin?

What is the Textmate equivalent to http://www.vim.org/scripts/script.php?script_id=1697
jwerre
  • 9,179
  • 9
  • 60
  • 69
2
votes
2 answers

Seapine Software - Surround - Automated Builds

I'm thinking of working towards an automated build process where I work (currently our builds are a manual process). Our version control software is from Seapine - Surround SCM and TestTrack. There is a CLI reference guide for Surround. Does…
Will Bickford
  • 5,381
  • 2
  • 30
  • 45
2
votes
1 answer

Configuring MPD with an 5.1 external surround sound card

I've read tons of threads about this, but i cant figure it out. So i have a MPD server running on Raspbian, with an external sound card attached to it. Music works fine trough mpd with the 2 channels, but not for 6 channels. Also i am confused…
Julian
  • 385
  • 2
  • 9