<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.csclub.uwaterloo.ca/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ysbirdi</id>
	<title>CSCWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.csclub.uwaterloo.ca/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ysbirdi"/>
	<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/Special:Contributions/Ysbirdi"/>
	<updated>2026-04-06T09:01:17Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Music&amp;diff=5335</id>
		<title>Music</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Music&amp;diff=5335"/>
		<updated>2025-03-02T19:05:20Z</updated>

		<summary type="html">&lt;p&gt;Ysbirdi: /* Troubleshooting Playback */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Music is run off &amp;lt;code&amp;gt;powernap&amp;lt;/code&amp;gt;, since that&#039;s the computer with the speakers attached. &lt;br /&gt;
&lt;br /&gt;
Office staff/termcom/syscom permissions are required to play music in the office.&lt;br /&gt;
&lt;br /&gt;
We also have MPD available, however this method is rarely used after 2022. &#039;&#039;kids these days&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==How to play music==&lt;br /&gt;
&lt;br /&gt;
# Run &amp;lt;code&amp;gt;ssh [watid]@powernap.csclub.uwaterloo.ca&amp;lt;/code&amp;gt;&lt;br /&gt;
# Run &amp;lt;code&amp;gt;bluetoothctl&amp;lt;/code&amp;gt;&lt;br /&gt;
# Type &amp;lt;code&amp;gt;pairable on&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;discoverable on&amp;lt;/code&amp;gt; into the console to enable pairing and discovery&lt;br /&gt;
# Connect to &amp;lt;code&amp;gt;powernap&amp;lt;/code&amp;gt; from your device&lt;br /&gt;
# Respond yes to all the prompts on the terminal from &amp;lt;code&amp;gt;powernap&amp;lt;/code&amp;gt;&lt;br /&gt;
# Type &amp;lt;code&amp;gt;trust [device_mac]&amp;lt;/code&amp;gt; to automatically allow audio from your device next time&lt;br /&gt;
# You should be able to play audio like a normal audio device now&lt;br /&gt;
&lt;br /&gt;
==How to control audio server==&lt;br /&gt;
powernap uses PipeWire and can talk to PulseAudio client. To set volume, mute some audio stream, or change output setting, use an office terminal and do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
PULSE_SERVER=powernap.csclub.uwaterloo.ca pavucontrol&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using a Linux laptop then this should work too.&lt;br /&gt;
&lt;br /&gt;
==MPD Controls==&lt;br /&gt;
To view the keybindings of ncmpcpp, press F1 while it&#039;s running. &lt;br /&gt;
The number keys switch between tabs in it. &lt;br /&gt;
&lt;br /&gt;
*1 is current playlist&lt;br /&gt;
*2 is browsing files&lt;br /&gt;
*3 is search&lt;br /&gt;
*4 is browsing the media library&lt;br /&gt;
*5 is browsing saved playlists, etc.&lt;br /&gt;
&lt;br /&gt;
You can add your own &#039;&#039;absolutely legitimately obtained&#039;&#039; music by copying them to &amp;lt;code&amp;gt;/music&amp;lt;/code&amp;gt; on powernap. Then type &amp;lt;code&amp;gt;u&amp;lt;/code&amp;gt; in ncmpcpp to refresh the database.&lt;br /&gt;
&lt;br /&gt;
==Termcom Info==&lt;br /&gt;
&lt;br /&gt;
*We require https://github.com/hrkfdn/mpdas to get scrobbling working as it &amp;quot;official&amp;quot; last.fm integration was removed from mpd in 2013. &lt;br /&gt;
**n.b. https://github.com/hrkfdn/mpdas/issues/58&lt;br /&gt;
*To control the mixer on other terminals, use &amp;lt;code&amp;gt;PULSE_SERVER=nullsleep pavucontrol&amp;lt;/code&amp;gt;&lt;br /&gt;
*The official last.fm account credentials are stored in the exec password spot :)&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting Playback==&lt;br /&gt;
*Sometimes after connecting to powernap there is immense distortion and audio playback is not bearable.&lt;br /&gt;
*To fix type &amp;lt;code&amp;gt;discoverable off&amp;lt;/code&amp;gt; in the bluetoothctl environment (after a successful connection of course).&lt;br /&gt;
*Current consensus is that this happens because there are so many bluetooth devices in MC that the compute on powernap gets overwhelmed.&lt;/div&gt;</summary>
		<author><name>Ysbirdi</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Music&amp;diff=5334</id>
		<title>Music</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Music&amp;diff=5334"/>
		<updated>2025-03-02T19:05:00Z</updated>

		<summary type="html">&lt;p&gt;Ysbirdi: Added a Troubleshooting section for the Distortion problem&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Music is run off &amp;lt;code&amp;gt;powernap&amp;lt;/code&amp;gt;, since that&#039;s the computer with the speakers attached. &lt;br /&gt;
&lt;br /&gt;
Office staff/termcom/syscom permissions are required to play music in the office.&lt;br /&gt;
&lt;br /&gt;
We also have MPD available, however this method is rarely used after 2022. &#039;&#039;kids these days&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==How to play music==&lt;br /&gt;
&lt;br /&gt;
# Run &amp;lt;code&amp;gt;ssh [watid]@powernap.csclub.uwaterloo.ca&amp;lt;/code&amp;gt;&lt;br /&gt;
# Run &amp;lt;code&amp;gt;bluetoothctl&amp;lt;/code&amp;gt;&lt;br /&gt;
# Type &amp;lt;code&amp;gt;pairable on&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;discoverable on&amp;lt;/code&amp;gt; into the console to enable pairing and discovery&lt;br /&gt;
# Connect to &amp;lt;code&amp;gt;powernap&amp;lt;/code&amp;gt; from your device&lt;br /&gt;
# Respond yes to all the prompts on the terminal from &amp;lt;code&amp;gt;powernap&amp;lt;/code&amp;gt;&lt;br /&gt;
# Type &amp;lt;code&amp;gt;trust [device_mac]&amp;lt;/code&amp;gt; to automatically allow audio from your device next time&lt;br /&gt;
# You should be able to play audio like a normal audio device now&lt;br /&gt;
&lt;br /&gt;
==How to control audio server==&lt;br /&gt;
powernap uses PipeWire and can talk to PulseAudio client. To set volume, mute some audio stream, or change output setting, use an office terminal and do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
PULSE_SERVER=powernap.csclub.uwaterloo.ca pavucontrol&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using a Linux laptop then this should work too.&lt;br /&gt;
&lt;br /&gt;
==MPD Controls==&lt;br /&gt;
To view the keybindings of ncmpcpp, press F1 while it&#039;s running. &lt;br /&gt;
The number keys switch between tabs in it. &lt;br /&gt;
&lt;br /&gt;
*1 is current playlist&lt;br /&gt;
*2 is browsing files&lt;br /&gt;
*3 is search&lt;br /&gt;
*4 is browsing the media library&lt;br /&gt;
*5 is browsing saved playlists, etc.&lt;br /&gt;
&lt;br /&gt;
You can add your own &#039;&#039;absolutely legitimately obtained&#039;&#039; music by copying them to &amp;lt;code&amp;gt;/music&amp;lt;/code&amp;gt; on powernap. Then type &amp;lt;code&amp;gt;u&amp;lt;/code&amp;gt; in ncmpcpp to refresh the database.&lt;br /&gt;
&lt;br /&gt;
==Termcom Info==&lt;br /&gt;
&lt;br /&gt;
*We require https://github.com/hrkfdn/mpdas to get scrobbling working as it &amp;quot;official&amp;quot; last.fm integration was removed from mpd in 2013. &lt;br /&gt;
**n.b. https://github.com/hrkfdn/mpdas/issues/58&lt;br /&gt;
*To control the mixer on other terminals, use &amp;lt;code&amp;gt;PULSE_SERVER=nullsleep pavucontrol&amp;lt;/code&amp;gt;&lt;br /&gt;
*The official last.fm account credentials are stored in the exec password spot :)&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting Playback==&lt;br /&gt;
*Sometimes after connecting to powernap there is immense distortion and audio playback is not bearable.&lt;br /&gt;
*To fix type &amp;lt;code&amp;gt;discoverable off&amp;lt;code&amp;gt; in the bluetoothctl environment (after a successful connection of course).&lt;br /&gt;
*Current consensus is that this happens because there are so many bluetooth devices in MC that the compute on powernap gets overwhelmed.&lt;/div&gt;</summary>
		<author><name>Ysbirdi</name></author>
	</entry>
</feed>