Active Topics

 



Notices


Reply
Thread Tools
Posts: 76 | Thanked: 110 times | Joined on Dec 2009 @ FI
#221
First, thank you for this great app .

Is it possible to set the playback device? Something like you can do in mplayer for example? To use external USB soundcard.
 

The Following User Says Thank You to muto For This Useful Post:
KotCzarny's Avatar
Posts: 290 | Thanked: 738 times | Joined on Mar 2008 @ .pl
#222
not now, but i might add a cmd line param to TODO. for a quickie just edit oscp binary and change hw:0,0 into hw:1,0 (assuming aplay -l lists usb device as such)
__________________
oscp - media player with network remote and almost no dependencies (pc/lin/win/maemo(n8x0/n900), x86/x64/armel/armhf) - http://talk.maemo.org/showthread.php?t=94590 - if you like it, tell others.
contact with me: #osc or #maemo on freenode/ircnet or /query KotCzarny
 

The Following User Says Thank You to KotCzarny For This Useful Post:
KotCzarny's Avatar
Posts: 290 | Thanked: 738 times | Joined on Mar 2008 @ .pl
#223
ahm, nah, just remembered that n900's version uses libao/pulseaudio as output and not direct alsa. so it depends if libao allows selecting audio device
__________________
oscp - media player with network remote and almost no dependencies (pc/lin/win/maemo(n8x0/n900), x86/x64/armel/armhf) - http://talk.maemo.org/showthread.php?t=94590 - if you like it, tell others.
contact with me: #osc or #maemo on freenode/ircnet or /query KotCzarny
 

The Following 2 Users Say Thank You to KotCzarny For This Useful Post:
KotCzarny's Avatar
Posts: 290 | Thanked: 738 times | Joined on Mar 2008 @ .pl
#224
@muto: hmm, apparently libao supports few user configurable options:
ao_alsa_options[] = { "dev", "id", "buffer_time", "period_time", "use_mmap", "matrix", "verbose",
"quiet", "debug" };
ao_pulse_options[] = { "server", "sink", "dev", "id", "verbose", "quiet", "matrix", "debug",
"client_name" "buffer_time" };
ao_esd_options[] = { "server", "host", "matrix", "verbose", "quiet", "debug", "client_name" };

wild guess, edit /home/user/.libao and adding there:
default_driver=alsa
dev=hw:1,0
(though i think i force pulse in libao (for reasons) so you might try: )
default_driver=pulse
dev=dont-really-know-what-to-put-there-maybe hw:1,0 too?
__________________
oscp - media player with network remote and almost no dependencies (pc/lin/win/maemo(n8x0/n900), x86/x64/armel/armhf) - http://talk.maemo.org/showthread.php?t=94590 - if you like it, tell others.
contact with me: #osc or #maemo on freenode/ircnet or /query KotCzarny

Last edited by KotCzarny; 2015-11-02 at 20:14.
 

The Following User Says Thank You to KotCzarny For This Useful Post:
KotCzarny's Avatar
Posts: 290 | Thanked: 738 times | Joined on Mar 2008 @ .pl
#225
oscp (0.9.7-51) stable; urgency=low

* -A option to set audio device name (sink name for pulseaudio or "dev" key for libao)
* -C option to generate .wav out of file (useful for rendering exotic formats)
* removed libao dependency from n900's package

@muto: if you can find out what is proper pulseaudio sink name for that usb device you might try using -A 1 option to use it. but pulseaudio is evil and should die in a fire.
__________________
oscp - media player with network remote and almost no dependencies (pc/lin/win/maemo(n8x0/n900), x86/x64/armel/armhf) - http://talk.maemo.org/showthread.php?t=94590 - if you like it, tell others.
contact with me: #osc or #maemo on freenode/ircnet or /query KotCzarny

Last edited by KotCzarny; 2015-11-03 at 17:09.
 

The Following 2 Users Say Thank You to KotCzarny For This Useful Post:
KotCzarny's Avatar
Posts: 290 | Thanked: 738 times | Joined on Mar 2008 @ .pl
#226
oscp (0.9.7-52) stable; urgency=low

* switched to libav (avresample), should handle weird channel configurations and sample rates better
__________________
oscp - media player with network remote and almost no dependencies (pc/lin/win/maemo(n8x0/n900), x86/x64/armel/armhf) - http://talk.maemo.org/showthread.php?t=94590 - if you like it, tell others.
contact with me: #osc or #maemo on freenode/ircnet or /query KotCzarny
 

The Following 2 Users Say Thank You to KotCzarny For This Useful Post:
KotCzarny's Avatar
Posts: 290 | Thanked: 738 times | Joined on Mar 2008 @ .pl
#227
oscp (0.9.7-53) stable; urgency=high

* fixed oscp.slave inotifier code typo that led to busyloop. oops.
* fix for formats returning huge packets with multiple frames (.ape)

i highly recommend to update. fixed busyloop introduced few revisions ago (read: battery drain). also, .ape files are playable now (no one reported them not working, so i guess no one uses them, but still.)
__________________
oscp - media player with network remote and almost no dependencies (pc/lin/win/maemo(n8x0/n900), x86/x64/armel/armhf) - http://talk.maemo.org/showthread.php?t=94590 - if you like it, tell others.
contact with me: #osc or #maemo on freenode/ircnet or /query KotCzarny
 

The Following 6 Users Say Thank You to KotCzarny For This Useful Post:
KotCzarny's Avatar
Posts: 290 | Thanked: 738 times | Joined on Mar 2008 @ .pl
#228
oscp (0.9.7-54) stable; urgency=low

* bugfix in playlist descriptions handling
* bugfix in network msg sending
* new eq based on biquads effect from sox (new shortcut: toggled with shift-E by default)
* new flanger effect (also from sox, toggled with shift-F by default or in eq window)
* fixed softvol (should work again)

shortcuts might need to be assigned manually or you can delete the .oscp.conf to be reset to defaults. in the works are other effects from sox, notably 'earwax':
"Makes audio easier to listen to on headphones. Adds `cues' to 44.1kHz stereo (i.e. audio CD format) audio so that when listened to on headphones the stereo image is moved from inside your head (standard for headphones) to outside and in front of the listener (standard for speakers)."
__________________
oscp - media player with network remote and almost no dependencies (pc/lin/win/maemo(n8x0/n900), x86/x64/armel/armhf) - http://talk.maemo.org/showthread.php?t=94590 - if you like it, tell others.
contact with me: #osc or #maemo on freenode/ircnet or /query KotCzarny
 

The Following 7 Users Say Thank You to KotCzarny For This Useful Post:
KotCzarny's Avatar
Posts: 290 | Thanked: 738 times | Joined on Mar 2008 @ .pl
#229
oscp (0.9.7-55) stable; urgency=low

* new effect: earwax (from sox 14.4.2, toggled with shift-W by default or in eq window)
* new effect: contrast (from sox 14.4.2, toggled with shift-C by default or in eq window)

unfortunatelly n900@500mhz is too slow for earwax, any neon wizard able to speed up this code?: (p->tap, earwax_filt, ibuf and obuf are 32bit ints, output is double, NUMTAPS is 64)

<code>
while (len--) { output=0; // update taps and calculate output
for(i=NUMTAPS-1; i; --i) { p->tap[i]=p->tap[i-1]; output+=p->tap[i] * earwax_filt[i]; }
p->tap[0] = *ibuf++/64; output += p->tap[0] * earwax_filt[0]; // scale output
*obuf++ = output;
}
</code>
__________________
oscp - media player with network remote and almost no dependencies (pc/lin/win/maemo(n8x0/n900), x86/x64/armel/armhf) - http://talk.maemo.org/showthread.php?t=94590 - if you like it, tell others.
contact with me: #osc or #maemo on freenode/ircnet or /query KotCzarny
 

The Following 2 Users Say Thank You to KotCzarny For This Useful Post:
KotCzarny's Avatar
Posts: 290 | Thanked: 738 times | Joined on Mar 2008 @ .pl
#230
oscp (0.9.7-56) stable; urgency=low

* new effect: reverb (from sox 14.4.2, toggled with shift-V by default or in eq window)
* new effect: overdrive (from sox 14.4.2, toggled with shift-O by default or in eq window)
* new effect: karaoke (based on remix/oops from sox 14.4.2, toggled with shift-K by default or in eq window)

reverb is again not crunchable by my n900@500, still, enjoy!
__________________
oscp - media player with network remote and almost no dependencies (pc/lin/win/maemo(n8x0/n900), x86/x64/armel/armhf) - http://talk.maemo.org/showthread.php?t=94590 - if you like it, tell others.
contact with me: #osc or #maemo on freenode/ircnet or /query KotCzarny
 

The Following 3 Users Say Thank You to KotCzarny For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 19:41.