lekt player

Anything to do with computer audio, hardware, software etc.
User avatar
goon-heaven
Posts: 312
Joined: Sun Sep 15, 2013 9:38 pm

Re: lekt player

Post by goon-heaven »

Thanks for your continuing efforts - hope you find the needle in the haystack. OS is Server 2012 R2. Soundcard is RME HDSPe - has many audio devices available.

How easy is it to generate debug text output in assembler to isolate where program is failing?
lekt
Posts: 1102
Joined: Thu Oct 10, 2013 4:52 am

Re: lekt player

Post by lekt »

yes, need control result in every step of running.

uploaded lekt.exe v3.1 256 raw3 test

i suspect file name or reading wav file. if it works, console window will be printed like as:

D:\my music\track1.wav
read file done

try test this step, goon-heaven. only edit .bat file with "timeout 200" for keeping console window, like as:
@echo off
Title LEKT MUSIC PLAYER
lekt.exe --file "E:\Music HD\track1.wav"
timeout 200
User avatar
goon-heaven
Posts: 312
Joined: Sun Sep 15, 2013 9:38 pm

Re: lekt player

Post by goon-heaven »

Hmmm, 1st get some comprehendable output :(

output from "lekt.exe --file test.wav" is a string of 5 hieroglyphic characters to console.

tried directing output to file, i.e. "lekt.exe --file test.wav >test.txt" results in no output and empty test.txt

tried directing error output to file, i.e. "lekt.exe --file test.wav 2>test.txt" results in string of 5 hieroglyphic characters to console and empty test.txt
lekt
Posts: 1102
Joined: Thu Oct 10, 2013 4:52 am

Re: lekt player

Post by lekt »

goon-heaven wrote:Hmmm, 1st get some comprehendable output :(

output from "lekt.exe --file test.wav" is a string of 5 hieroglyphic characters to console.

tried directing output to file, i.e. "lekt.exe --file test.wav >test.txt" results in no output and empty test.txt

tried directing error output to file, i.e. "lekt.exe --file test.wav 2>test.txt" results in string of 5 hieroglyphic characters to console and empty test.txt
goon-heaven, .bat file must be with content:
@echo off
Title LEKT MUSIC PLAYER
lekt.exe --file "test.wav"
timeout 200

v3.xx use GetCommandLineA to string and define filename/path in code by first characters " and second character ", so user need put filename/path with these 2 characters " ("......")
you can use: lekt.exe "test.wav"
could you retest again, pls.
User avatar
goon-heaven
Posts: 312
Joined: Sun Sep 15, 2013 9:38 pm

Re: lekt player

Post by goon-heaven »

HURRAH! - v3.1 256 raw3 test is playing music!! Quick listen - sounds excellent.
returns message "read file done" to console.

Thank you for your patience.
Put that down to user erra - I didnt read the manual.

I will try the other v3s tonite.
lekt
Posts: 1102
Joined: Thu Oct 10, 2013 4:52 am

Re: lekt player

Post by lekt »

great news! enjoy v3.xx, many good things.

uploaded:
lekt.exe v3.2 256 push
lekt.exe v3.2 256 push2

also raw style, good dynamic range. will goto hifi later, hehe... with masm code not easy debug.
User avatar
goon-heaven
Posts: 312
Joined: Sun Sep 15, 2013 9:38 pm

Re: lekt player

Post by goon-heaven »

v3.0 masm.0 masm - no sound, returns immediately to console

v3.1 256 raw.1 256 raw & v3.1 256 raw2.1 256 raw both play very nicely - best yet.

What else did you fix between 3.0 & 3.1 other than simply removing the buffer pointer trick?
lekt
Posts: 1102
Joined: Thu Oct 10, 2013 4:52 am

Re: lekt player

Post by lekt »

goon-heaven wrote:v3.0 masm.0 masm - no sound, returns immediately to console

v3.1 256 raw.1 256 raw & v3.1 256 raw2.1 256 raw both play very nicely - best yet.

What else did you fix between 3.0 & 3.1 other than simply removing the buffer pointer trick?
need transfer C code of v2.100.6 256 rstu man1, v2.100.8 256 to masm, very good algorithm.
only now write code by notepad, hard to debug code. maybe need retest your wasapi buffer pointer again coz v3.0 masm doesn't work for you. my OS very dirty, bad for compilation, not good as when v2.98.xx compiled.
User avatar
goon-heaven
Posts: 312
Joined: Sun Sep 15, 2013 9:38 pm

Re: lekt player

Post by goon-heaven »

lekt wrote:great news! enjoy v3.xx, many good things.

uploaded:
lekt.exe v3.2 256 push
lekt.exe v3.2 256 push2

also raw style, good dynamic range. will goto hifi later, hehe... with masm code not easy debug.
I like these v3 raws. Straw poll tells me push2 is my current favorite
lekt
Posts: 1102
Joined: Thu Oct 10, 2013 4:52 am

Re: lekt player

Post by lekt »

push2 is good, clean sound, almost things enough. i feel good emotion.
Need more optimize code for improving soundstage. soundstage and balance need correct, so then texture, depth,... will be better.
Post Reply