Page 1 of 4 123 ... LastLast
Results 1 to 10 of 38

Thread: HOWTO: Use Skype together with Idjc

  1. #1
    Join Date
    Jan 2007
    Location
    Germany, Kiel
    Beans
    1,093
    Distro
    Xubuntu 8.04 Hardy Heron

    Lightbulb HOWTO: Use Skype together with Idjc

    Skype and Idjc should both be pretty widely known.
    So for us that want to make a live-interview using Skype and send this to an online-radio (Shoutcast, Icecast...) there is finally a clean way! (Well not very clean but pretty much.)
    1. Get sure to have the latest versions of Skype and Idjc, I attached a .deb I made with checkinstall for Idjc. Otherwise go and compile it yourself from: http://www.onlymeok.nildram.co.uk Since I'm not sure if my .deb file also grabs the dependencies, I would advice at first installing IDJC from the repositories and then installing my .deb file.
    2. libasound2-plugins in Ubuntu has no Jack-support so we need to replace it.
    Knowing that Ubuntu is based of a Debian-Sid Snapshot I easily took theirs and it works without a crash here: http://packages.debian.org/sid/libasound2-plugins
    3. So Idjc and Skype are the newest versions, a new libasound2-plugins is installed and I presume that you allready set up jack.
    4. We now add a file in our home directory called .asoundrc
    We open this file with a texteditor and according to Idjc's page we add this:
    pcm.idjcvoip {
    type plug
    slave { pcm "idjcjack" }
    }
    pcm.idjcjack {
    type jack
    playback_ports {
    0 idjc-mx:voip_recv_lt
    1 idjc-mx:voip_recv_rt
    }
    capture_ports {
    0 idjc-mx:voip_send_lt
    1 idjc-mx:voip_send_rt
    }
    }
    The formatting is wrong here but it should work.
    5. Proceed as given in idjc's VOIP-Tutorial:
    To make the changes effective you need to log out and log back in again or restart ALSA, then you need to launch IDJC and the VOIP program and set the ALSA device to idjcvoip within the preferences of the VOIP program.

    In Skype version 1.4.0.94 you need to log in, click the cogwheel icon, and choose 'Options', followed by 'Sound Devices'. After choosing 'idjcvoip' from all three drop-down lists you are ready to click the 'Make a test sound' button, you should be able to hear audio if IDJC is in VOIP mode with the green phone mode enabled. Provided you heard the test sound you are now ready to make a test call, to Skype user echo123 which is the Skype testing service.

    If your version of Skype does not offer the opportunity to set an ALSA device it is too old and needs updating.

    These configuration changes need only doing once after which you will be able to start IDJC, then Skype and it will just work. One word of caution for regular Skype users: with the new configuration the Skype account preferences you configured will prevent Skype from loading without IDJC since it will now require that jack be running in order to work (worse still you'll have to manually change the ALSA output device to default before you can use it). You can get around this in a number of ways. For instance you can have a specific Skype account for your radio work or have a specific user account for when you are using IDJC.
    6. Usage is also explained there:
    You may have noticed two small telephone icons in the bottom part of the main IDJC window. Actually I would be surprised if you haven't.

    Anyway, the Green Telephone allows you to stream audio from a voip service like Skype™ or Teamspeak™ and converse with people during your show. When in Green Phone mode your mic is open all the time and those people you are speaking with will be audible on the stream or on the recording you are making. They will not be able to hear your media players or jingles.

    When speaking live (mic button pressed in), the red Telephone Button allows for the people who are on the VOIP service with you to hear your show via the VOIP service at the volume level determined by the volume control with the telephone icon which has just appeared, but not themselves take part. It is probably a good idea not to give them the full volume since they may want to speak among themselves, but on the other hand if the level is too low they won't be able to hear you announcing the next song.

    When you are not speaking live, with the Mic Button pressed in you are in a private conference with the people on the phone with you. You would typically use this mode when playing a song since the listeners can no longer hear you. What you can hear of the streamed audio is dictated by the Volume Contol that has the Telephone Icon above it. When you play jingles in this mode the jingles audio goes to the VOIP listeners and not to the stream. You can confirm this by using the Stream Mon. button, which should normally be off when using the Red Phone mode.
    Try around, you'll need a little bit to get in comfort with it but it's not very complex.
    Have fun.

    This has been tested on Gutsy Gibbon using the most recent versions of idjc (0.7.1_pre9) Skype (1.4.0.118) and version 1.0.14-1+b1 of Debian-Sid's libasound2-plugins.
    Attached Files Attached Files
    Last edited by Steveway; January 3rd, 2008 at 05:23 PM.
    I just love it when you're being sarcastic --aks44

  2. #2
    Join Date
    Jan 2007
    Location
    Germany, Kiel
    Beans
    1,093
    Distro
    Xubuntu 8.04 Hardy Heron

    Re: HOWTO: Use Skype together with Idjc

    Thanks for the approval of my Thread.
    I just created a .deb of the newest snapshot of idjc.
    I didn't test if it didn't break anything but it shouldn't.
    Stephen is a very talented programmer.
    I'll try to keep posting new .deb files for you.
    Attached Files Attached Files
    I just love it when you're being sarcastic --aks44

  3. #3
    Join Date
    Jan 2007
    Location
    Germany, Kiel
    Beans
    1,093
    Distro
    Xubuntu 8.04 Hardy Heron

    Re: HOWTO: Use Skype together with Idjc

    Ok, here is a new version.
    IDJC has now the version 0.7.2.
    Attached Files Attached Files
    I just love it when you're being sarcastic --aks44

  4. #4
    Join Date
    Jan 2007
    Location
    Germany, Kiel
    Beans
    1,093
    Distro
    Xubuntu 8.04 Hardy Heron

    Re: HOWTO: Use Skype together with Idjc

    Ok, here is the newest version, 0.7.2a.
    I can confirm that it still works with the new beta of Skype 2.0.
    Here are future changes and the recent changes in 0.7.2a:
    * Future changes

    TODO: Add direct file streaming support
    TODO: Add to the vorbis decoder the ability to handle sample rate changes
    TODO: Implement a test / monitor feature in the server window

    * Changes in version 0.7.2a

    Fix to a regression in file kvpparse.c (memory leak).

    Deactivated the pointless watchdog code in idjcsourceclient.
    Attached Files Attached Files
    I just love it when you're being sarcastic --aks44

  5. #5
    Join Date
    Aug 2008
    Location
    Leiden, The Neterlands
    Beans
    1

    Re: HOWTO: Use Skype together with Idjc

    I have done everything suggested above but still skype tels me there is a "problem with playback".

    I am using Skype 2.0.0.72. Could this be a problem?

    I am also wondering if the created idjcvoip should "pop up" in any way in Jack.

    Basicly I am stuck. Help would be appreciated.

  6. #6
    Join Date
    Feb 2008
    Location
    New York
    Beans
    163
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Use Skype together with Idjc

    I am also have this problem with skype 2.0.0.72 and for the i have tried everyting,the idjcvoip does not come up none at all in skype. can sumone help plzzz??

  7. #7
    Join Date
    Feb 2008
    Location
    New York
    Beans
    163
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Use Skype together with Idjc

    i got the vdjcvoip to come up, apparently it was the wrong file. the right file is in /usr/share/alsa/alsa.conf for me. But Vdjc keeps freezing when i make a call with skype. Any help??

  8. #8
    Join Date
    Feb 2008
    Location
    New York
    Beans
    163
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Use Skype together with Idjc

    OK i got it working.....but dis took me a nite and half...damn..im beginin nt to like linux cause jack is unstable wit xruns more time

  9. #9
    Join Date
    Sep 2007
    Beans
    8

    Re: HOWTO: Use Skype together with Idjc

    Quote Originally Posted by ram130 View Post
    OK i got it working.....but dis took me a nite and half...damn..im beginin nt to like linux cause jack is unstable wit xruns more time
    Jack is pretty much useless without the realtime kernel.

    Try compiling a kernel with the rt patches installed, then configure it with jack.

    Google around, there's a lot of tutorials on this.

  10. #10
    Join Date
    Apr 2008
    Beans
    8

    Re: HOWTO: Use Skype together with Idjc

    Hey I tried doing this and I keep getting.

    Code:
    afallenhope@afh:~$ skype
    ALSA lib ../../../src/pcm/pcm.c:2106:(snd_pcm_open_conf) Cannot open shared library /usr/lib32/alsa-lib/libasound_module_pcm_jack.so
    ALSA lib ../../../src/pcm/pcm.c:2106:(snd_pcm_open_conf) Cannot open shared library /usr/lib32/alsa-lib/libasound_module_pcm_jack.so
    ALSA lib ../../../src/pcm/pcm.c:2106:(snd_pcm_open_conf) Cannot open shared library /usr/lib32/alsa-lib/libasound_module_pcm_jack.so
    ALSA lib ../../../src/pcm/pcm.c:2106:(snd_pcm_open_conf) Cannot open shared library /usr/lib32/alsa-lib/libasound_module_pcm_jack.so
    ALSA lib ../../../src/pcm/pcm.c:2106:(snd_pcm_open_conf) Cannot open shared library /usr/lib32/alsa-lib/libasound_module_pcm_jack.so
    ALSA lib ../../../src/pcm/pcm.c:2106:(snd_pcm_open_conf) Cannot open shared library /usr/lib32/alsa-lib/libasound_module_pcm_jack.so
    ALSA lib ../../../src/pcm/pcm.c:2106:(snd_pcm_open_conf) Cannot open shared library /usr/lib32/alsa-lib/libasound_module_pcm_jack.so
    ALSA lib ../../../src/pcm/pcm.c:2106:(snd_pcm_open_conf) Cannot open shared library /usr/lib32/alsa-lib/libasound_module_pcm_jack.so
    ALSA lib ../../../src/pcm/pcm.c:2106:(snd_pcm_open_conf) Cannot open shared library /usr/lib32/alsa-lib/libasound_module_pcm_jack.so
    ALSA lib ../../../src/pcm/pcm.c:2106:(snd_pcm_open_conf) Cannot open shared library /usr/lib32/alsa-lib/libasound_module_pcm_jack.so
    ALSA lib ../../../src/pcm/pcm.c:2106:(snd_pcm_open_conf) Cannot open shared library /usr/lib32/alsa-lib/libasound_module_pcm_jack.so
    ALSA lib ../../../src/pcm/pcm.c:2106:(snd_pcm_open_conf) Cannot open shared library /usr/lib32/alsa-lib/libasound_module_pcm_jack.so
    Code:
    afallenhope@afh:~$ ls -al /usr/lib/alsa-lib/
    total 1032
    drwxr-xr-x   3 root root   4096 2009-03-25 01:38 .
    drwxr-xr-x 242 root root 110592 2009-03-25 01:38 ..
    -rwxr-xr-x   1 root root    951 2009-03-25 01:38 libasound_module_conf_pulse.la
    -rwxr-xr-x   1 root root  13841 2009-03-25 01:38 libasound_module_conf_pulse.so
    -rw-r--r--   1 root root  11304 2008-04-21 03:36 libasound_module_ctl_bluetooth.so
    -rw-r--r--   1 root root  28812 2008-02-29 13:24 libasound_module_ctl_dsp_ctl.a
    -rw-r--r--   1 root root    983 2008-02-29 13:24 libasound_module_ctl_dsp_ctl.la
    -rw-r--r--   1 root root  22328 2008-02-29 13:24 libasound_module_ctl_dsp_ctl.so
    -rw-r--r--   1 root root  13962 2008-02-29 13:24 libasound_module_ctl_oss.a
    -rwxr-xr-x   1 root root    925 2009-03-25 01:38 libasound_module_ctl_oss.la
    -rwxr-xr-x   1 root root  33581 2009-03-25 01:38 libasound_module_ctl_oss.so
    -rw-r--r--   1 root root  31024 2008-02-29 13:24 libasound_module_ctl_pulse.a
    -rwxr-xr-x   1 root root    945 2009-03-25 01:38 libasound_module_ctl_pulse.la
    -rwxr-xr-x   1 root root  64745 2009-03-25 01:38 libasound_module_ctl_pulse.so
    -rwxr-xr-x   1 root root   1107 2009-03-25 01:38 libasound_module_pcm_a52.la
    -rwxr-xr-x   1 root root  61036 2009-03-25 01:38 libasound_module_pcm_a52.so
    -rw-r--r--   1 root root  31244 2008-02-29 13:24 libasound_module_pcm_alsa_dsp.a
    -rw-r--r--   1 root root    990 2008-02-29 13:24 libasound_module_pcm_alsa_dsp.la
    -rw-r--r--   1 root root  23584 2008-02-29 13:24 libasound_module_pcm_alsa_dsp.so
    -rw-r--r--   1 root root  37736 2008-04-21 03:36 libasound_module_pcm_bluetooth.so
    -rwxr-xr-x   1 root root    966 2009-03-25 01:38 libasound_module_pcm_jack.la
    -rwxr-xr-x   1 root root  36810 2009-03-25 01:38 libasound_module_pcm_jack.so
    -rw-r--r--   1 root root  11934 2008-02-29 13:24 libasound_module_pcm_oss.a
    -rwxr-xr-x   1 root root    925 2009-03-25 01:38 libasound_module_pcm_oss.la
    -rwxr-xr-x   1 root root  32563 2009-03-25 01:38 libasound_module_pcm_oss.so
    -rw-r--r--   1 root root  34620 2008-02-29 13:24 libasound_module_pcm_pulse.a
    -rwxr-xr-x   1 root root    945 2009-03-25 01:38 libasound_module_pcm_pulse.la
    -rwxr-xr-x   1 root root  69637 2009-03-25 01:38 libasound_module_pcm_pulse.so
    -rw-r--r--   1 root root  10858 2008-02-29 13:24 libasound_module_pcm_upmix.a
    -rwxr-xr-x   1 root root    937 2009-03-25 01:38 libasound_module_pcm_upmix.la
    -rwxr-xr-x   1 root root  36065 2009-03-25 01:38 libasound_module_pcm_upmix.so
    -rwxr-xr-x   1 root root    967 2009-03-25 01:38 libasound_module_pcm_usb_stream.la
    -rwxr-xr-x   1 root root  35029 2009-03-25 01:38 libasound_module_pcm_usb_stream.so
    -rw-r--r--   1 root root   7136 2008-02-29 13:24 libasound_module_pcm_vdownmix.a
    -rwxr-xr-x   1 root root    955 2009-03-25 01:38 libasound_module_pcm_vdownmix.la
    -rwxr-xr-x   1 root root  24426 2009-03-25 01:38 libasound_module_pcm_vdownmix.so
    lrwxrwxrwx   1 root root     33 2009-03-25 01:38 libasound_module_rate_lavcrate_faster.so -> libasound_module_rate_lavcrate.so
    lrwxrwxrwx   1 root root     33 2009-03-25 01:38 libasound_module_rate_lavcrate_fast.so -> libasound_module_rate_lavcrate.so
    lrwxrwxrwx   1 root root     33 2009-03-25 01:38 libasound_module_rate_lavcrate_higher.so -> libasound_module_rate_lavcrate.so
    lrwxrwxrwx   1 root root     33 2009-03-25 01:38 libasound_module_rate_lavcrate_high.so -> libasound_module_rate_lavcrate.so
    -rwxr-xr-x   1 root root   1143 2009-03-25 01:38 libasound_module_rate_lavcrate.la
    -rwxr-xr-x   1 root root  25737 2009-03-25 01:38 libasound_module_rate_lavcrate.so
    -rw-r--r--   1 root root   5936 2008-02-29 13:24 libasound_module_rate_samplerate.a
    lrwxrwxrwx   1 root root     35 2009-03-25 01:38 libasound_module_rate_samplerate_best.so -> libasound_module_rate_samplerate.so
    -rwxr-xr-x   1 root root    999 2009-03-25 01:38 libasound_module_rate_samplerate.la
    lrwxrwxrwx   1 root root     35 2009-03-25 01:38 libasound_module_rate_samplerate_linear.so -> libasound_module_rate_samplerate.so
    lrwxrwxrwx   1 root root     35 2009-03-25 01:38 libasound_module_rate_samplerate_medium.so -> libasound_module_rate_samplerate.so
    lrwxrwxrwx   1 root root     35 2009-03-25 01:38 libasound_module_rate_samplerate_order.so -> libasound_module_rate_samplerate.so
    -rwxr-xr-x   1 root root  21583 2009-03-25 01:38 libasound_module_rate_samplerate.so
    -rw-r--r--   1 root root  23218 2008-02-29 13:24 libasound_module_rate_speexrate.a
    lrwxrwxrwx   1 root root     34 2009-03-25 01:38 libasound_module_rate_speexrate_best.so -> libasound_module_rate_speexrate.so
    -rwxr-xr-x   1 root root    967 2009-03-25 01:38 libasound_module_rate_speexrate.la
    lrwxrwxrwx   1 root root     34 2009-03-25 01:38 libasound_module_rate_speexrate_medium.so -> libasound_module_rate_speexrate.so
    -rwxr-xr-x   1 root root  60921 2009-03-25 01:38 libasound_module_rate_speexrate.so
    drwxr-xr-x   2 root root   4096 2009-03-25 01:38 smixer
    OS: Ubuntu Hardy 8.04.2
    Kernel 2.6.24-23-generic
    Architecture: amd64
    JACKd: jackd version 0.109.2 tmpdir /dev/shm protocol 22 (amd64)
    Skype: Skype 2.0.0.72 (i386)
    Alsa: AlsaMixer v1.0.19 (amd64)
    Internet DJ Console Version: Internet DJ Console Version 0.7.13 (amd64)


    hopefully I provided enough debugging info.
    Any help would be appreciated
    Last edited by afallenhope; March 25th, 2009 at 07:19 AM.

Page 1 of 4 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •