<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Project SoundManager</title><link>https://sourceforge.net/p/soundmanager/</link><description>Recent changes to Project SoundManager</description><atom:link href="https://sourceforge.net/p/soundmanager/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 17 May 2019 09:30:32 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/soundmanager/feed.rss" rel="self" type="application/rss+xml"/><item><title>Improved web backend</title><link>https://sourceforge.net/p/soundmanager/code/ci/7cc895e4d6038bcb33d98359f5b45f9e3d3ab8bd/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Improved web backend&lt;br/&gt;&lt;a href="/p/soundmanager/code/ci/7cc895e4d6038bcb33d98359f5b45f9e3d3ab8bd/"&gt;View Changes&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Sparber</dc:creator><pubDate>Fri, 17 May 2019 09:30:32 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net/p/soundmanager/code/ci/7cc895e4d6038bcb33d98359f5b45f9e3d3ab8bd/</guid></item><item><title>Fixed webclient</title><link>https://sourceforge.net/p/soundmanager/code/ci/a5ac88d115de74dc757d3dc5ff03c7df818dec0b/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Fixed webclient&lt;br/&gt;&lt;a href="/p/soundmanager/code/ci/a5ac88d115de74dc757d3dc5ff03c7df818dec0b/"&gt;View Changes&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Sparber</dc:creator><pubDate>Fri, 17 May 2019 09:30:32 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net/p/soundmanager/code/ci/a5ac88d115de74dc757d3dc5ff03c7df818dec0b/</guid></item><item><title>Fixed webroot</title><link>https://sourceforge.net/p/soundmanager/code/ci/d2967218803dd732410c8730686cb80646f44d99/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Fixed webroot&lt;br/&gt;&lt;a href="/p/soundmanager/code/ci/d2967218803dd732410c8730686cb80646f44d99/"&gt;View Changes&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Sparber</dc:creator><pubDate>Fri, 17 May 2019 09:30:32 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net/p/soundmanager/code/ci/d2967218803dd732410c8730686cb80646f44d99/</guid></item><item><title>working soundserver, minor bugs</title><link>https://sourceforge.net/p/soundmanager/code/ci/6d3a5aa1e868d7aa0a6afe98960e487d0277f577/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;working soundserver, minor bugs&lt;br/&gt;&lt;a href="/p/soundmanager/code/ci/6d3a5aa1e868d7aa0a6afe98960e487d0277f577/"&gt;View Changes&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Sparber</dc:creator><pubDate>Fri, 17 May 2019 09:30:32 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net/p/soundmanager/code/ci/6d3a5aa1e868d7aa0a6afe98960e487d0277f577/</guid></item><item><title>Implemented all web functions</title><link>https://sourceforge.net/p/soundmanager/code/ci/2211e0240f3c43e1ae7447195dda31f2ccb3260e/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Implemented all web functions&lt;br/&gt;&lt;a href="/p/soundmanager/code/ci/2211e0240f3c43e1ae7447195dda31f2ccb3260e/"&gt;View Changes&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Sparber</dc:creator><pubDate>Fri, 17 May 2019 09:30:32 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net/p/soundmanager/code/ci/2211e0240f3c43e1ae7447195dda31f2ccb3260e/</guid></item><item><title>Added webserver sound handler</title><link>https://sourceforge.net/p/soundmanager/code/ci/347f9a2dd6c6eafa3f2aebf5c1d6b5e9de240223/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Added webserver sound handler&lt;br/&gt;&lt;a href="/p/soundmanager/code/ci/347f9a2dd6c6eafa3f2aebf5c1d6b5e9de240223/"&gt;View Changes&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Sparber</dc:creator><pubDate>Fri, 17 May 2019 09:30:32 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net/p/soundmanager/code/ci/347f9a2dd6c6eafa3f2aebf5c1d6b5e9de240223/</guid></item><item><title>Working web file handler</title><link>https://sourceforge.net/p/soundmanager/code/ci/c09991100a3629e66a10630eae4cc46e03a304fb/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Working web file handler&lt;br/&gt;&lt;a href="/p/soundmanager/code/ci/c09991100a3629e66a10630eae4cc46e03a304fb/"&gt;View Changes&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Sparber</dc:creator><pubDate>Fri, 17 May 2019 09:30:32 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net/p/soundmanager/code/ci/c09991100a3629e66a10630eae4cc46e03a304fb/</guid></item><item><title>Removed infofile</title><link>https://sourceforge.net/p/soundmanager/code/ci/cec3826dbd44013f1756f590f6fce852c0c0550c/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Removed infofile&lt;br/&gt;&lt;a href="/p/soundmanager/code/ci/cec3826dbd44013f1756f590f6fce852c0c0550c/"&gt;View Changes&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">senses</dc:creator><pubDate>Fri, 17 May 2019 09:30:32 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net/p/soundmanager/code/ci/cec3826dbd44013f1756f590f6fce852c0c0550c/</guid></item><item><title>Added webserver</title><link>https://sourceforge.net/p/soundmanager/code/ci/97d7f97244573b94d31a61577507e86468515d2d/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Added webserver&lt;br/&gt;&lt;a href="/p/soundmanager/code/ci/97d7f97244573b94d31a61577507e86468515d2d/"&gt;View Changes&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">senses</dc:creator><pubDate>Fri, 17 May 2019 09:30:32 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net/p/soundmanager/code/ci/97d7f97244573b94d31a61577507e86468515d2d/</guid></item><item><title>Configuration modified by Thomas Sparber</title><link>https://sourceforge.net/p/soundmanager/wiki/Configuration/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -8,116 +8,116 @@
 ----------------
 First, let's look at a very simple example:

-pcm_slave.stereo {
-        pcm "hw:0,0"            # or "hw:1,0" for the second card
-        channels 2
-}
-pcm.mono1 {
-        type plug
-        slave.pcm {
-                type dshare
-                ipc_key 87882222
-                slave stereo
-                bindings [ 0 ] # bind the first channel of the physical audiodevice to this virtual one
-        }
-}
-pcm.mono2 {
-        type plug
-        slave.pcm {
-                type dshare
-                ipc_key 87882222
-                slave stereo
-                bindings [ 1 ] # bind the second channel of the physical audiodevice to this virtual one
-        }
-}
+    pcm_slave.stereo {
+            pcm "hw:0,0"            # or "hw:1,0" for the second card
+            channels 2
+    }
+    pcm.mono1 {
+            type plug
+            slave.pcm {
+                    type dshare
+                    ipc_key 87882222
+                    slave stereo
+                    bindings [ 0 ] # bind the first channel of the physical audiodevice to this virtual one
+            }
+    }
+    pcm.mono2 {
+            type plug
+            slave.pcm {
+                    type dshare
+                    ipc_key 87882222
+                    slave stereo
+                    bindings [ 1 ] # bind the second channel of the physical audiodevice to this virtual one
+            }
+    }

 First we define our slave that uses hw:0,0. This means we use the first audio device. And we use 2 channels. Then we create two mono devices (called mono1 and mono2) and bind one channel to each.

 The next example configuration shows how to configure a dolby sorround 7.1 card:

-pcm_slave.eightchannels {
-   pcm "hw:0,0"            # or "hw:1,0" for the second card
-        channels 8
-}
-pcm.mono1 {
-        type plug
-        slave.pcm {
-                type dshare
-                ipc_key 87882222
-                slave eightchannels
-                bindings [ 0 ]
-        }
-}
-pcm.mono2 {
-        type plug
-        slave.pcm {
-                type dshare
-                ipc_key 87882222
-                slave eightchannels
-                bindings [ 1 ]
-        }
-}
-...
+    pcm_slave.eightchannels {
+       pcm "hw:0,0"            # or "hw:1,0" for the second card
+            channels 8
+    }
+    pcm.mono1 {
+            type plug
+            slave.pcm {
+                    type dshare
+                    ipc_key 87882222
+                    slave eightchannels
+                    bindings [ 0 ]
+            }
+    }
+    pcm.mono2 {
+            type plug
+            slave.pcm {
+                    type dshare
+                    ipc_key 87882222
+                    slave eightchannels
+                    bindings [ 1 ]
+            }
+    }
+    ...

 It is more ore less the same with the exception that we just use 8 instead of 2 channels.

 The next configuration now is very complex and you should read through the ALSA manual pages:

-pcm.!default {
-   type asym
-   playback.pcm "dshare"
-   capture.pcm "dsnooper"
-}
-
-pcm.dsnooper {
-   type dsnoop
-   ipc_key 2048
-   ipc_perm 0666 
-   slave {
-       period_time 0
-       period_size 1024
-       buffer_size 4096
-       rate 44100
-       format S32_LE
-       pcm "hw:1,0"
-       channels 2
-   }
-   bindings {
-       0 0
-       1 1
-   }
-}
-
-pcm.dshare {
-   type dmix
-   ipc_key 2048
-   ipc_key_add_uid false # let multiple users share
-   ipc_perm 0660 # IPC permissions (octal, default 0600)
-   ipc_gid audio
-   slave {
-       pcm "hw:1,0"
-       channels 8
-   }
-}
- 
-pcm.mono1 {
-   type plug
-   slave {
-       pcm "dshare"
-       channels 8
-   }
-   ttable.0.0 1
-}
- 
-pcm.mono2{
-   type plug
-   slave {
-       pcm "dshare"
-       channels 8
-   }
-   ttable.0.1 1
-}
-...
+    pcm.!default {
+       type asym
+       playback.pcm "dshare"
+       capture.pcm "dsnooper"
+    }
+    
+    pcm.dsnooper {
+       type dsnoop
+       ipc_key 2048
+       ipc_perm 0666 
+       slave {
+           period_time 0
+           period_size 1024
+           buffer_size 4096
+           rate 44100
+           format S32_LE
+           pcm "hw:1,0"
+           channels 2
+       }
+       bindings {
+           0 0
+           1 1
+       }
+    }
+    
+    pcm.dshare {
+       type dmix
+       ipc_key 2048
+       ipc_key_add_uid false # let multiple users share
+       ipc_perm 0660 # IPC permissions (octal, default 0600)
+       ipc_gid audio
+       slave {
+           pcm "hw:1,0"
+           channels 8
+       }
+    }
+     
+    pcm.mono1 {
+       type plug
+       slave {
+           pcm "dshare"
+           channels 8
+       }
+       ttable.0.0 1
+    }
+     
+    pcm.mono2{
+       type plug
+       slave {
+           pcm "dshare"
+           channels 8
+       }
+       ttable.0.1 1
+    }
+    ...

 The basic idea here is that we create an audio device which is able to capture and playback. From that device we create some subdevices (mono1, mono2...)

@@ -133,32 +133,33 @@

 Here an example configuration:

-DEVICE START
-   name = "mono1"
-   sampleRate = "44100"
-   channels = "2"
-DEVICE END
-
-DEVICE START
-   name = "mono2"
-   sampleRate = "44100"
-   channels = "2"
-DEVICE END
-
-PLAYLIST START
-   name = "P1"
-   type="Folder"
-   path = "/home/user/Music/P1"
-PLAYLIST END
-
-PLAYLIST START
-   name = "P2"
-   type="Folder"
-   path = "/home/user/Music/P2"
-PLAYLIST END
-
-PLAYLIST START
-   name = "Radio"
-   type="Device"
-   device = "default"
-PLAYLIST END
+    DEVICE START
+       name = "mono1"
+       sampleRate = "44100"
+       channels = "2"
+    DEVICE END
+    
+    DEVICE START
+       name = "mono2"
+       sampleRate = "44100"
+       channels = "2"
+    DEVICE END
+    
+    PLAYLIST START
+       name = "P1"
+       type="Folder"
+       path = "/home/user/Music/P1"
+    PLAYLIST END
+    
+    PLAYLIST START
+       name = "P2"
+       type="Folder"
+       path = "/home/user/Music/P2"
+    PLAYLIST END
+    
+    PLAYLIST START
+       name = "Radio"
+       type="Device"
+       device = "default"
+    PLAYLIST END
+    
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Sparber</dc:creator><pubDate>Tue, 15 May 2018 15:27:00 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net5355969af98118c3d020a7a37ef3438c7141911a</guid></item></channel></rss>