10-04-2013, 11:20 PM | #1 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
alsaplayer 0.99.80 (K5 KUAL-V.1.1)
UPSTREAM: http://alsaplayer.sourceforge.net/
It plays music files. DOES THIS SHOW UP IN THE KUAL MENU? Yep. as alsaplayer [root@kindle root]# /mnt/us/extensions/alsaplayer/bin/alsaplayer --help Spoiler:
HOW DO I EXIT??? Look at the pictures below. I stuck it on a menu that is launched from a button with a GEARS ICON on... What is the difference between ADD+ and OPEN Add+ Adds files to the current playlist OPEN Opens a playlist (.m3u) file. Don't get it wrong... as opening a music file by mistake in the OPEN PLAYLIST dialog hangs the app... - FIXED in V1.1 Are there any demo tunes? Yup, a procedurally generated one via csound, a gentle remix of Cyra morgan (by twobob) and a chopin piece by Brad Hill. and Dance Cleopatra from this album by ZamalSka DOES THIS WORK ON A PAPERWHITE??? Err. No. Amazon has neutered all devices later than the Kindle 5 as far as sound is concerned. How do I get up the menu thing at the bottom? Look at the 4th picture I posted. It's that button. GOT ANY MORE FREE TUNES FOR ME TWOBOB? well since you ask: FILL YOUR BOOTS (558MB - 52 free tunes) And I shoved two bonus tracks in a zip for ya too... (One of which is used to demo out radio equipment world-wide) Version 1.1 fixes all known bugs. (and adds jack backend support FWIW) Enjoy. Last edited by twobob; 10-08-2013 at 06:07 PM. Reason: Version 1.1 bugfix release |
10-04-2013, 11:58 PM | #2 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Reserved.
EDIT: noted 1st bug... Code:
./interface/gtk2/PlaylistWindow.cpp: filechooser = gtk_file_chooser_dialog_new(_("L:D_N:dialog_ID:Choose.file.or.URL_M:true_RBK:true"), main_window, GTK_FILE_CHOOSER_ACTION_OPEN, FIXED IN V1.1 Last edited by twobob; 10-05-2013 at 06:42 PM. Reason: FIXED in V 1.1 |
Advert | |
|
10-05-2013, 05:35 AM | #3 |
Evangelist
Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
Awesome. Yet again. You 'da man. Thanks!
|
10-05-2013, 05:39 AM | #4 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Looking into the NAS support. (which IIRC I built in)
http://www.ibiblio.org/pub/Linux/app.../nas-1.2p5.lsm perhaps this could push audio on a Paperwhite across the network to an audio enabled computer... Meh. why not. http://packages.debian.org/sid/alsaplayer-nas Last edited by twobob; 10-05-2013 at 05:43 AM. |
10-05-2013, 05:42 AM | #5 |
Evangelist
Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
Seems to me if you have a pc waiting for a stream, you might as well just play it locally on the pc. not worth too much effort IMO.
|
Advert | |
|
10-05-2013, 05:43 AM | #6 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Because... you can do it sat far away...
and "you can" :P (here is a nice guide to many things audio that I actually already know inside and out but meh) http://www.mega-nerd.com/Res/IADSPL/page01.html Last edited by twobob; 10-05-2013 at 05:47 AM. |
10-05-2013, 05:48 AM | #7 |
Evangelist
Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
|
10-05-2013, 06:03 AM | #8 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
I did just briefly check how close 0.99.81 IS to 0.99.80... Answer... quite far.
So if someone fancied updating this to the code from: https://github.com/alsaplayer/alsaplayer rather than the debian source I used, that ould be a manual process as the files have quite a few differences in them (too much for patch) Word to the wise. |
10-05-2013, 06:08 AM | #9 |
Evangelist
Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
Sounds like am assignment for someone, cough cough. I have some family things coming right up, we'll see.
|
10-05-2013, 06:45 AM | #10 | |||
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
no pressure.
I'm fiddling with nas http://sourcecodebrowser.com/alsapla...76/nas_8c.html Quote:
Quote:
Quote:
will dig more... |
|||
10-05-2013, 06:48 AM | #11 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
|
10-05-2013, 06:54 AM | #12 |
Evangelist
Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
Not much info??
About 3/4 down the page http://home.icequake.net/~nemesis/bl...hp/archives/95 not much web info at all! |
10-05-2013, 07:40 AM | #13 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Finally. After like a 100 searches I found a page..
http://radscan.com/nas.html and a pitiful support list http://sourceforge.net/p/nas/discussion/705744/ a woefully underpopulated wiki http://sourceforge.net/apps/mediawik...itle=NAS_Links and a very hard to parse mailing list http://radscan.com/pipermail/nas/ what joy. will dig Last edited by twobob; 10-05-2013 at 07:59 AM. |
10-05-2013, 09:12 AM | #14 | |||||||
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Okay for the next poor soul:
me@dev /usr/local/src $ nasd -aa & Quote:
run it as sudo (To kill it you will have to sudo killall -9 nasd, from another term, sigh) also we have to check the devices Quote:
(REF: http://www.tldp.org/HOWTO/Alsa-sound-6.html) me@dev $ ls /dev/snd/ by-id by-path controlC1 pcmC1D0c pcmC1D0p seq timer c = capture p = playback (I finally figured out) I tweaked the config to give us some debug EDIT: noted in docs you can put "" in mixer section - this is honoured despite only being documented as for voxware... That gets rid of the mixer errors: me@dev $ sudo nasd -aa -config ./nasd.conf Quote:
hmmm... dodgy. hmm. a bit better. next up we maybe? need to open up our X tcp sockets ( no listen tcp is a standard these days) me@dev /usr/local/src $ socat TCP-LISTEN:8000 UNIX-CONNECT:/tmp/.X11-unix/X0 and nerf our access control me@dev /usr/local/src $ xhost + Quote:
(REF2: http://smorgasbord.gavagai.nl/2010/0...cket-over-tcp/) (REF: http://mplayerhq.hu/pipermail/mplaye...er/037748.html) Let's try running nmap on the kindle... [root@kindle bin]# LD_LIBRARY_PATH=../lib:$LD_LIBRARY_PATH ./nmap 192.168.1.69 Quote:
humph STILL no port 8000... on the kindle: [root@kindle root]# AUDIOSERVER=192.168.1.69:0 /mnt/us/extensions/alsaplayer/alsaplayer -o nas Quote:
working on it... EDIT: okay so let's run me@dev /usr/local/src $ auinfo Quote:
Last edited by twobob; 10-05-2013 at 10:05 AM. |
|||||||
10-05-2013, 10:21 AM | #15 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Wel.. I did finally get it (NAS) to AT LEAST run locally.
Now when I say "run" I mean startup, show the port, run clients - but make NO sound. sigh... so yeah. networked audio. As much fun as kicking yourself in the head. I kind of recall Geekmaster pushing out /dev/audio over ssh. perhaps that would bear looking at. As for NAS. little joy for lots of work. http://www.alsa-project.org/~tiwai/OSS-Emulation.html could be a way forward to fix my issues... on the plus side: http://stackoverflow.com/questions/1...98512#19198512 I shared what we learned. C'est la vie. Nice to know it's not ONLY me http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=207659 Last edited by twobob; 10-05-2013 at 11:30 AM. |
Tags |
alsaplayer, audio, kual, native, twobob |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
KUAL DateTime Button | knc1 | Kindle Developer's Corner | 65 | 11-17-2023 01:16 PM |
Launcher icon for KUAL? | Aeris | Kindle Developer's Corner | 32 | 04-01-2021 07:57 PM |
Alsaplayer | brianinmaine | Kindle Developer's Corner | 9 | 10-05-2013 05:41 AM |
rsync KUAL DUMMY | twobob | Kindle Developer's Corner | 3 | 09-29-2013 09:46 AM |
Kual y backdoorlock | adegir1952 | Amazon Kindle | 3 | 06-14-2013 09:44 AM |