<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[ChipMusic.org - Help setting up LGPT on raspi]]></title>
		<link>https://chipmusic.org/forums/topic/24896/help-setting-up-lgpt-on-raspi/</link>
		<description><![CDATA[The most recent posts in Help setting up LGPT on raspi.]]></description>
		<lastBuildDate>Tue, 26 Jan 2021 09:58:13 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Help setting up LGPT on raspi]]></title>
			<link>https://chipmusic.org/forums/post/264789/#p264789</link>
			<description><![CDATA[<b><i>cyberic says:</i></b><p>The error seems to come from here: <a href="https://github.com/Mdashdotdashn/LittleGPTracker/blob/0ed729b46739e3df5e111c6fa4d548fde2d3b891/sources/Externals/RTAudio/RtAudio.cpp#L2609" target="_blank">https://github.com/Mdashdotdashn/Little &#133; .cpp#L2609</a></p><p>Maybe you should report the issue on github.</p><p>You can list the formats supported by your card:</p><div class="codebox"><pre><code>grep . /proc/asound/cards /proc/asound/card*/pcm*/sub*/{info,hw_params}|grep -Ei &#039;]|format&#039;</code></pre></div>]]></description>
			<pubDate>Tue, 26 Jan 2021 09:58:13 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/264789/#p264789</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help setting up LGPT on raspi]]></title>
			<link>https://chipmusic.org/forums/post/264769/#p264769</link>
			<description><![CDATA[<b><i>MazHoot says:</i></b><p>hello,</p><p>Coming back to this raspberry pi, I now want to use my ur242 usb-audio soundcard. In meanwhile I installed the last version of raspberry pi OS (named raspberry pi OS, here : <a href="https://www.raspberrypi.org/software/" target="_blank">https://www.raspberrypi.org/software/</a> ). </p><p>When i&#039;m on the desktop, my soundcard is good recognized, I see it and if i play a sound in VLC it works.<br />But from LGPT, the sound always come from hdmi. I tried that :</p><p>sudo ./lgpt.rpi-exe -AUDIOBUFFER=64 -AUDIODEVICE=hw:USB $* </p><br /><p>but it says that : </p><p>RtApiAlsa::getDeviceInfo: pcm device (hw:2,0) data format not supported by RtAudio.</p><p>pulseaudio is already installed<br />it&#039;s the same without AUDIOBUFFER=64</p>]]></description>
			<pubDate>Sat, 23 Jan 2021 14:57:14 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/264769/#p264769</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help setting up LGPT on raspi]]></title>
			<link>https://chipmusic.org/forums/post/264605/#p264605</link>
			<description><![CDATA[<b><i>MazHoot says:</i></b><p>I get all the most things working right, but I hear a small latency with midi. I use LGPT to drive genMDM (awesome!!) additionnaly with LGPT samples and the sound of sega genesis is a little too late (microseconds) compare to LGPT samples. I use audio output of raspberry pi because I can&#039;t get my UR242 soundcard working and because sound is ok for me. I use usb to midi cable for drive genMDM.</p><p>I saw on LGPT wiki this :</p><p>&quot;MIDI Configuration</p><p>This setting is also W32 only. It can be use to delay the output of midi by a certain amount of milliseconds. For example, to delay it of 1 msecs:</p><p>&lt;CONFIG&gt;<br />&nbsp; &lt;MIDIDELAY value=&#039;1&#039;/&gt;<br />&lt;/CONFIG&gt;</p><p>also note: Because MIDI on PC is a bitch to synchronise and that the ONLY system that kind of worked was, surprisingly, the old MMSYSTEM audio system, I&#039;ve re-enabled it as an option. So, if you need good midi sync or good timing, you will NEED to use this. The latency isn&#039;t great but in our case it&#039;s not a problem. To enable the old ass audio system and enjoy pretty stable midi out, add an entry in the config.xml with &lt;AUDIOAPI value=&#039;MMSYSTEM&#039; /&gt;<br />&quot;</p><p>This should work only on windows right? Not on pi... and even if it worked, I don&#039;t want to delay midi, I want to delay sample for it sounds at the same time as midi. </p><p>But I tried MIDIDELAY value=&quot;2&quot; for see, I didn&#039;t notice any difference. I didn&#039;t tried MMSYSTEM because I understood that it&#039;s for sync and I don&#039;t want to sync anything it&#039;s only midi out notes, CCs and samples</p><p>For me that&#039;s really the ultimate config, and I will defintly use again genMDM with LGPT! (on lsdj it worked but it was too complicated)</p>]]></description>
			<pubDate>Sun, 20 Dec 2020 19:49:51 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/264605/#p264605</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help setting up LGPT on raspi]]></title>
			<link>https://chipmusic.org/forums/post/264582/#p264582</link>
			<description><![CDATA[<b><i>herr_prof says:</i></b><p>Yea i think with my screen I had to use a custom screen out resolution! there are other screen mult values, so maybe try 3?</p><p>good loop!</p>]]></description>
			<pubDate>Wed, 16 Dec 2020 14:17:42 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/264582/#p264582</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help setting up LGPT on raspi]]></title>
			<link>https://chipmusic.org/forums/post/264581/#p264581</link>
			<description><![CDATA[<b><i>MazHoot says:</i></b><p>&quot;I hate linux&quot; hahaha... I work on it every day hehe</p><p>I have my response! with help of raspberry community : <a href="https://www.raspberrypi.org/forums/viewtopic.php?f=63&amp;t=295060&amp;p=1780427#p1780427" target="_blank">https://www.raspberrypi.org/forums/view &#133; 7#p1780427</a></p><p>I just had to remove the &quot;exec&quot; word and it works. </p><p>#!/bin/sh<br />cd /home/pi/Desktop/lgpt/lgpt_DEB/bin<br />sudo ./lgpt.rpi-exe<br />sudo shutdown -h now</p><p>I think it should work also without sudo in my case. <br />I made a video just for fun when I was happy with midi working on lgpt :</p><p>at the end you can see the screen size which should be better if it was a little bit biger. I wait the rca video cable for test with it. Normally i&#039;m on the lowest resolution, and if I use the x2 trick in config.xml, it&#039;s bigger than the tv and display don&#039;t work.<br /><a href="https://www.youtube.com/watch?v=n7sUiQ3acYE&amp;ab_channel=MazHoot" target="_blank">https://www.youtube.com/watch?v=n7sUiQ3 &#133; el=MazHoot</a></p>]]></description>
			<pubDate>Wed, 16 Dec 2020 13:57:56 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/264581/#p264581</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help setting up LGPT on raspi]]></title>
			<link>https://chipmusic.org/forums/post/264580/#p264580</link>
			<description><![CDATA[<b><i>herr_prof says:</i></b><p>Ah ive only done it from the terminal, maybe running it from the desktop overides the shutdown?</p><p>I hate linux!</p>]]></description>
			<pubDate>Wed, 16 Dec 2020 13:18:53 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/264580/#p264580</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help setting up LGPT on raspi]]></title>
			<link>https://chipmusic.org/forums/post/264579/#p264579</link>
			<description><![CDATA[<b><i>MazHoot says:</i></b><p>The strange thing is that the two commands works, but not if the both are here. </p><p>If I only shudown in shell script, removing the exec lgpt command, then it boot and shutdown, but if there is the exec command of lgpt just before, then it start lgpt automatically at startup, but it not shutdown when I close lgpt and it just back me to the desktop. It seems that shell doesn&#039;t understand that I quit lgpt?</p><p>I also tried with python script for close, and with exec sudo but it&#039;s the same :</p><p>pig.sh</p><p>#!/bin/sh<br />cd /home/pi/Desktop/lgpt/lgpt_DEB/bin<br />exec sudo ./lgpt.rpi-exe<br />cd /home/pi/.config/lxsession/LXDE-pi<br />sudo python shut.py</p><p>shut.py</p><p>#!/usr/bin/env python3</p><p>from subprocess import call<br />call(&quot;sudo shutdown -h now&quot;, shell=True)</p>]]></description>
			<pubDate>Wed, 16 Dec 2020 10:13:18 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/264579/#p264579</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help setting up LGPT on raspi]]></title>
			<link>https://chipmusic.org/forums/post/264578/#p264578</link>
			<description><![CDATA[<b><i>MazHoot says:</i></b><p>Now i&#039;m using a .sh file like you where lgpt is successfuly started and where it&#039;s suppose to close after lgpt quit but it&#039;s not working I tryed </p><p>sudo shutdown -h now<br />sudo halt<br />sudo poweroff</p><p>none of that works</p>]]></description>
			<pubDate>Tue, 15 Dec 2020 23:16:29 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/264578/#p264578</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help setting up LGPT on raspi]]></title>
			<link>https://chipmusic.org/forums/post/264577/#p264577</link>
			<description><![CDATA[<b><i>MazHoot says:</i></b><p>Oh ok! I thought if I did that it would shutdown piggy just after it started. For my part I placed the command directly in autostart file which is like this :</p><p>@lxpanel --profile LXDE-pi<br />@pcmanfm --desktop --profile LXDE-pi<br />@xscreensaver -no-splash<br />@point-rpi<br />@./Desktop/lgpt/lgpt_DEB/bin/lgpt.rpi-exe</p><p>so I can add @shutdown -h now at the end? I will try that</p><p>For the screen width, according to the cash express close to my house, this video rca cable doesn&#039;t exist haha... I have to buy it on internet... the x2 option in config.xml don&#039;t work if it&#039;s enable piggy boot only in window and it&#039;s bigger than the screen size... Maybe this cable will be the solution, I hope. If not, it&#039;s playable like that, not optimum but ok.</p><p>EDIT : hum... that&#039;s what I thought I tested what I said and it just close raspi after piggy started... I have to try with an .sh file like what you did</p>]]></description>
			<pubDate>Tue, 15 Dec 2020 22:23:16 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/264577/#p264577</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help setting up LGPT on raspi]]></title>
			<link>https://chipmusic.org/forums/post/264576/#p264576</link>
			<description><![CDATA[<b><i>herr_prof says:</i></b><p>So you can add a command that is like SHUTDOWN after the piggy command. Once pig ENDS it will then do the shutdown command, which will do all the nice disk unmountingstuff</p><p>This is from memory but I would actually run a pig.sh file in my autostart that was like</p><p>#!/bin/sh<br />cd /mnt/sd/apps/lgpt<br />exec ./lgpt.exe<br />shutdown -h now</p>]]></description>
			<pubDate>Tue, 15 Dec 2020 19:39:53 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/264576/#p264576</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help setting up LGPT on raspi]]></title>
			<link>https://chipmusic.org/forums/post/264575/#p264575</link>
			<description><![CDATA[<b><i>MazHoot says:</i></b><p>I sucessfully start lgpt when starting raspberry pi with placing a command in /.config/lxsession/LXDE-pi/autostart</p><p>But how I can shutdown automatically rapspberry pi after quitting Lgpt?</p>]]></description>
			<pubDate>Tue, 15 Dec 2020 17:49:17 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/264575/#p264575</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help setting up LGPT on raspi]]></title>
			<link>https://chipmusic.org/forums/post/264574/#p264574</link>
			<description><![CDATA[<b><i>herr_prof says:</i></b><p>Yea or setup the HDMI out to have a smaller resolution <a href="https://www.raspberrypi.org/documentation/configuration/config-txt/video.md" target="_blank">https://www.raspberrypi.org/documentati &#133; t/video.md</a></p>]]></description>
			<pubDate>Tue, 15 Dec 2020 16:05:34 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/264574/#p264574</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help setting up LGPT on raspi]]></title>
			<link>https://chipmusic.org/forums/post/264573/#p264573</link>
			<description><![CDATA[<b><i>MazHoot says:</i></b><p>@cyberic :<br />I can&#039;t resize manually it don&#039;t work, the cursor don&#039;t transform to resizing tool.</p><p>@herr_prof:<br />On my Raspi I have only hdmi out. I can&#039;t use something else, which should be better.</p><p>EDIT : Ohh O.o! wait, I have an icon on mini jack output that seems to mean I can have video output too with minijack. I didn&#039;t know that! How use it? with a mini jack to rca + video cable (minijack to white, red and yellow)? I have to find one for test!</p>]]></description>
			<pubDate>Tue, 15 Dec 2020 15:22:51 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/264573/#p264573</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help setting up LGPT on raspi]]></title>
			<link>https://chipmusic.org/forums/post/264572/#p264572</link>
			<description><![CDATA[<b><i>herr_prof says:</i></b><p>also maybe try screenmult</p>]]></description>
			<pubDate>Tue, 15 Dec 2020 14:52:52 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/264572/#p264572</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help setting up LGPT on raspi]]></title>
			<link>https://chipmusic.org/forums/post/264571/#p264571</link>
			<description><![CDATA[<b><i>herr_prof says:</i></b><p>are you using HDMI? I always used the rca video out, so yea you might need to change the default resolution to something more 640ish</p>]]></description>
			<pubDate>Tue, 15 Dec 2020 14:51:52 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/264571/#p264571</guid>
		</item>
	</channel>
</rss>
