81

(24 replies, posted in LittleGPTracker)

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't get my UR242 soundcard working and because sound is ok for me. I use usb to midi cable for drive genMDM.

I saw on LGPT wiki this :

"MIDI Configuration

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:

<CONFIG>
  <MIDIDELAY value='1'/>
</CONFIG>

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'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't great but in our case it'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 <AUDIOAPI value='MMSYSTEM' />
"

This should work only on windows right? Not on pi... and even if it worked, I don't want to delay midi, I want to delay sample for it sounds at the same time as midi.

But I tried MIDIDELAY value="2" for see, I didn't notice any difference. I didn't tried MMSYSTEM because I understood that it's for sync and I don't want to sync anything it's only midi out notes, CCs and samples

For me that's really the ultimate config, and I will defintly use again genMDM with LGPT! (on lsdj it worked but it was too complicated)

82

(89 replies, posted in Sega)

Corthax wrote:

Everything seems ok in BlastEm.. (Or I've fixed this bug already?... big_smile)
I dont have any everdrives to test on hardware right now. And the only console I have is Nomad.

The square sound bug is only on megadrive (i tested on megadrive 1). On emulator I didn't tried with Blastem but in gen's (linux) and picodrive (rg350) all works good :-)

I think everdrive are still available I bought my just a few weeks ago. Maybe you can try on Nomad and there is megadrives / sega genesis for 30€ in my cash express hehe. Your tracker is too awesome for not be tested on real hardware! Lol

Corthax wrote:

All the song data is written drectly into SRAM. It should save and load automatically the same way as it works with games that use battery for saves.
Do not use everdrive save states, thats completely different thing.

The only guaranteed way right now is BlastEm emulator. Others simply does not support both even and odd writes into SRAM, and typically restricted to 32kb.

So it means that there is no way to save on real megadrive / sega genesis with everdrive? Why save state shouldn't work? Because it's bigger than 32kb? As an exemple on Blasttracker everdrive's save state works great. It's a working megadrive tracker but which is really hard (mad) to use .

I have found an other USB controller I had somewhere, but it's nes style, dpad, select, start, A and B, no shoulder.

I tried to map both shoulder left and right to select, and it works for the page, I can go everywhere except quitting project screen, but I can't do copy operations like select+b in LSDJ (shoulder L + b in LGPT)

So it means that only shoulder right works, i can't mapp select to both shoulder right and left, only the first assignation will work
That should be better if select could do the job like on LSDJ. I think maybe it's that because it was created for consoles which don't have select at good position, but maybe this can be also changed? Maybe have to compile lgpt for that...

So I think I will just try with other controllers (have to buy new...) until it works good. One with no joystick but Dpad and shoulders should be a good candidate.

Hello (after 6 years... but I have exactly the same problem).

The joystick react but I think my controller is a little ruined and it's hard to use lgpt with it as cursor goes sometimes to right instead of down etc because you have to be very specific. For the D-pad, that should be better but...
I have that :

LOG: hat(0)::0=8
LOG: hat(0)::0=0
LOG: hat(0)::0=4
LOG: hat(0)::0=0
LOG: hat(0)::0=2
LOG: hat(0)::0=0
LOG: hat(0)::0=1
LOG: hat(0)::0=0

So I tried hat:0:0:1 like egr said in this post but it don't work for me. There is the "=" which was not on egr's controller.

85

(24 replies, posted in LittleGPTracker)

"I hate linux" hahaha... I work on it every day hehe

I have my response! with help of raspberry community : https://www.raspberrypi.org/forums/view … 7#p1780427

I just had to remove the "exec" word and it works.

#!/bin/sh
cd /home/pi/Desktop/lgpt/lgpt_DEB/bin
sudo ./lgpt.rpi-exe
sudo shutdown -h now

I think it should work also without sudo in my case.
I made a video just for fun when I was happy with midi working on lgpt :

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'm on the lowest resolution, and if I use the x2 trick in config.xml, it's bigger than the tv and display don't work.
https://www.youtube.com/watch?v=n7sUiQ3 … el=MazHoot

86

(24 replies, posted in LittleGPTracker)

The strange thing is that the two commands works, but not if the both are here.

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't understand that I quit lgpt?

I also tried with python script for close, and with exec sudo but it's the same :

pig.sh

#!/bin/sh
cd /home/pi/Desktop/lgpt/lgpt_DEB/bin
exec sudo ./lgpt.rpi-exe
cd /home/pi/.config/lxsession/LXDE-pi
sudo python shut.py

shut.py

#!/usr/bin/env python3

from subprocess import call
call("sudo shutdown -h now", shell=True)

87

(24 replies, posted in LittleGPTracker)

Now i'm using a .sh file like you where lgpt is successfuly started and where it's suppose to close after lgpt quit but it's not working I tryed

sudo shutdown -h now
sudo halt
sudo poweroff

none of that works

88

(24 replies, posted in LittleGPTracker)

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 :

@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash
@point-rpi
@./Desktop/lgpt/lgpt_DEB/bin/lgpt.rpi-exe

so I can add @shutdown -h now at the end? I will try that

For the screen width, according to the cash express close to my house, this video rca cable doesn't exist haha... I have to buy it on internet... the x2 option in config.xml don't work if it's enable piggy boot only in window and it's bigger than the screen size... Maybe this cable will be the solution, I hope. If not, it's playable like that, not optimum but ok.

EDIT : hum... that'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

89

(24 replies, posted in LittleGPTracker)

I sucessfully start lgpt when starting raspberry pi with placing a command in /.config/lxsession/LXDE-pi/autostart

But how I can shutdown automatically rapspberry pi after quitting Lgpt?

90

(24 replies, posted in LittleGPTracker)

@cyberic :
I can't resize manually it don't work, the cursor don't transform to resizing tool.

@herr_prof:
On my Raspi I have only hdmi out. I can't use something else, which should be better.

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'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!

91

(24 replies, posted in LittleGPTracker)

Yes!! After reinstalling several times alsa, used different commands found on internet, finally I have sound, and sound on LGPT works too! Thank you!

Now, I must solve the fullscreen problem. I have found that if I change the resolution of raspi, I can have a better visual (bigger) but that's not good because it make the use of all other horrible when everything is too big.

My goal is to have lgpt launching automatically in fullscreen (and in big) when launching my raspberry pi, with my controller setting up and go! So at the end the screen for other use will not be a problem but until I still must configurate things, it's a problem.

How do you close LGPT when it's in fullscreen? ctrl + alt + supr, or echap do nothing

EDIT : i'm very stupid, I didn't thought about just go in main menu and click on exit in LGPT...

92

(24 replies, posted in LittleGPTracker)

herr_prof wrote:

is that the 32bit or the 64bit version of the os?

It's 32bit

93

(24 replies, posted in LittleGPTracker)

Oh!! I got sound!! With Kodi (I didn't reinstall my pi) ON HDMI. I have an audio file on desktop for testing. I tryed for the first time : right click, open with Kodi (it's a media app), it open kodi in fullscreen and there the sound works! That's the only way for know I can have sound (I can't leave Kodi without unplug raspberry power and replug it which make me very angry...)

The other times, I tryed to start my audio file with VLC wich not works. On youtube I have no sound too. I didn't try other methods.

On LGPT, I got these error message displayed several times in terminal after trying to play the demo song :

pi@raspberrypi:~/Desktop/lgpt/lgpt_DEB/bin $ sudo ./lgpt.rpi-exe

RtApiAlsa::callbackEvent: audio write error, No such process.
RtApiAlsa::callbackEvent: audio write error, No such device or address.
RtApiAlsa::callbackEvent: audio write error, Exec format error.
RtApiAlsa::callbackEvent: audio write error, Argument list too long.
RtApiAlsa::callbackEvent: audio write error, No such file or directory.

94

(24 replies, posted in LittleGPTracker)

This is my raspberry version :

PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=raspbian
ID_LIKE=debian

For what you says about terminal, I only tried to run lgpt with the terminal, nothing else. The fullscreen don't change the size compare to not full screen mode, it just make black color around the window. But for now this is not my big problem. It's audio...

I tryed speaker-test -c2 -t wav but I hear nothing... in analog or hdmi mode.

I tryed reinstallation of qjackctl, pulseaudio, alsa but nothing change sad

I'm thinking about reinstall completly my raspberry pi :-( the strange thing is that I remember in the past, before make all these updates, it worked, I used it to watch movie the sound was ok (I think it was 1 or 2 years ago).

95

(24 replies, posted in LittleGPTracker)

After some tests, I changed the screen resolution in raspberry pi config, and it's quite better, not fabulous but I can see something.

If it can help someone, after downloading lgpt-rspi.exe you have to do chmod +x on the file, AND ALSO download debian raspberry pi project, and place lgpt-rspi.exe in the Bin folder. Because if not you will not have access to samples libraries.

But... For me, after that, I discovered I have NO SOUND AT ALL on my raspberry pi. I did all the apt-get install upgrades, installing pulse audio... (maybe I should not...) and I have no sound at all, with lgpt or with firefox or with vlc, HDMI or analog mode, nothing :-(

It don't work better with my UR242 usb audio interface (even if it's good recognized as I can see it when I right click on audio icon on up right corner.

96

(24 replies, posted in LittleGPTracker)

Hi, I just remembered last day that I had a raspberry pi and wanted to test LGPT on it (most for the midi possibilities...)

I followed the tutorial here : http://lgptpi.blogspot.com/p/instructio … pbian.html

I can start lgpt but the window is too small, I can't see nothing or with difficultly. With FULLSCREEN=YES it change nothing because, yea, it's on fullscreen, but, the size of the visual don't change, it's just a small window on center and black screen around it lol... (I use a TV I have only that for the hdmi display of my raspberry pi, I tryed on a computer screen with hdmi to vga adaptor but it don't work, display is not working)

On the tutorial there is something about a .xml configuration file but I downloaded only the build lgpt.rpi-exe (which seems to not be on the github link given on this tutorial). So I don't have a .xml file. The next step will be to configure a usb gamepad controller.