LadioCast 0.12.0 Released – LadioCast Development Notes No.90

in LadioCast

LadioCast Version 0.12.0 has been released on MAS.

LadioCast Audio Diagram

Changes from version 0.11.5 to 0.12.0 are as follows:

  • Added one more line to the audio mixer, which has now 4-in/4-out/4-bus in total.

  • Updated libopus library to the latest version 1.1.2.

  • Replaced deprecated Carbon Component Manager APIs.

and done App Sandboxing.

If you have a problem with your MP3 encoding in this version, read the previous article One thing you might have to know before 0.12.0 and/or watch the how-to video first.

If you have a problem with your Event Handler AppleScripts, try to reselect them in the Events panels.

As always any reports or suggestions are welcome, by the comments below or emails.

Cheers!

70 Responses to “LadioCast 0.12.0 Released – LadioCast Development Notes No.90”

  1. Manuel

    Hi im new with this program and i wan to make ths autoconnect with server at startup

    so i make and applescript
    TELL APPLICATION LADIOCAST TO CONNECT
    It works in a mac with 10.8.5 but doesnt work on a 10.9.5 it doesn recognize the command connect.

    Thanks for the help

    • kawauso

      Hi Manuel, welcome to LadioCast:).
      At least the script seems to need double quotation marks around the application name like;
      tell application “LadioCast” to connect
      I don’t have 10.8.5 environment currently but it does on 10.9.5.
      See what happens.

    • kawauso

      Hi, Dirk.
      LadioCast currently doesn’t have any functionality communicating with Jack Audio directly.
      So some (virtual) audio devices might be required for that.
      Cheers.

    • kawauso

      Hello Shepherd Grei,
      > Can you stream to multiple servers with your app? One to AAC and one to MP3 at the same time?
      Yes. Use Streamer 1 & Streamer 2.
      (In the case you use MP3, read the previous article No.89 and/or watch the video for libmp3lame in the Apple sandbox environment.)
      Cheers.

    • kawauso

      About the libmp3lame file itself in the guide video, see its description area below on YouTUBE.
      If that’s still not helpful, check your OS X bit-mode (usually 64bit) and your library file’s bit compatibility (including 64bit then).
      Good luck.

  2. I got he lame encoder working! I had to download the lame MP3 Encoder off of sourceforge and install properly. I’ll be testing it very soon. I guess the only thing this program could use is a record function. Thanks for your work!

  3. Ivan Iudice

    Hello!
    Very good application!
    I’ve a problem streaming in HE-AAC format to shoutcast server with 64kbps. Server goes down and restarts. Note that my server accepts only 64kbps streams to correctly work.
    The problem is not present using butt (https://danielnoethen.de/), that use fdk-aac codec for AAC+. What’s the problem with Ladiocast? The codec, or the bit-rate setting
    ?
    Thank you very much!

    Ivan

    • kawauso

      Hello Ivan,
      Thank you for reporting about LadioCast!
      I’ve tested the setting HE-AAC 64kbps with SHOUTcast DNAS/mac v2.4.7.256 (Mar 31 2015) and couldn’t see the server restarting.
      Please check the environment to reproduce the error and if you find other conditions, please write them again.
      Cheers.

      • Ivan Iudice

        Hello!
        You’re right, my configuration is quite complicated…
        I have a server running SHOUTcast Server 2.4.7.256, and the Centova Cast control panel v3.2.6. On Centova Cast autodj is enabled by means of sc_trans v2. When I have to stream a live show I could connect to another port using shoutcast protocol and sc_trans would be able to manage the handover between the streams.
        Because my global stream is encoded using HE-AAC 64kbps, I would like to stream my live stream to sc_trans v2 as HE-AAC 64kbps too, but with LadioCast I was not able to do this. Server restarts when I connect. Using mp3 at 128kbps works fine!
        Then I tried butt (namely, Broadcast Using This Tool) with the same configuration (HE-AAC 64kbps) and it works like a charme!
        I hope you can fix this issue, because LadioCast is right a wonderful software: simple and efficient.
        Thank you for support!

        Ivan

  4. kawauso

    Thank you for the information.
    In this case, it seems to be relatively hard to guess what happens in the server. I would recommend reporting the restarting behaviours to sc_trans creators because they might not be intended.
    I’m sorry no helps from LadioCast so far.
    Any additional information is welcomed.

  5. Dear Mr. Kawauso!

    At the first let me say THANK YOU SO MUCH about perfect programmed app that serve our personal need and needs of (i hope) thousands small broadcasters in a world!
    Small, simple, bug-free, stable!

    Could You be so please to make ability to choose different source for each streamer?
    The reason of this is more then one:
    1. You right, different players support different codecs for streaming and most part of them – support both FLAC, AAC/LC/HE. And most of tabletop players (from SONY, JVC, YAMAHA, PIONEER) and mobile players Apple iOS, Android prefer lossless formats FLAC, AAC to satisfy the listeners in terms of quality of music.
    Since Fraunhofer start push to licensee MP3 algorithm both in software and hardware, and iOS become spreading more and more the world, Apple open their implementation of AAC/LC/HE for free, the OGG and FLAC take part of MP3′s from the player’s world.
    During last 5 years we see that most popular music streaming services like Spotify, Pandora, Netflix, Apple Music, Slacker, Last FM goes to only 1-2 streaming format with 1-2 bitrates (good quality – mobile quality).
    As a result we see much bitrates needs is slowly going out.

    2. Many small and middles Broadcasting radiostations who not able to spend a HUGE budget on bulky and proprietary systems (like STUDER, AXIA, TELOS, ARRAKIS, WHEATSTONE, HARRISON, AUDIOTRONICS, LOGITEC, AUTOGRAMM, etc) choose to build their system on one or several Intel/Apple servers. This give both flexibility, cable-less operation, sound quality and protect investment. (Small example – software loudness meter, live broadcast recorder that must be used, less expensive then hardware implementation with SAME quality, even we close eye that for example some of them t.c.electronic for example build on open software…)

    Additional to this, of course, most of this small and middle broadcaster have several channels: several music styles, or several group of listeners (more like news, or more like music, or more like talk show), so several streams need. And if this is one server – all of them need nor different codecs for stream, but ability to choose different audio sources.

    AS we know, making the “Source selector” is not hard work from programming side due OS X programming in past 3 years come to easy way and well documented.

    You thoughts about this?

    Thank You for Your time and attention!

    • kawauso

      Hello Sergei Shablovsky,
      Thank you for the very informative comment. That would be one of the longest I received on this site😊.
      Currently, as you know, ladiocast streams one content per each process (app). So, at the same time, if you run multiple (copied) ladiocasts, they will streams simultaneously and separately. It has been a little bit tricky, though.
      I will consider your suggestion about the different source selecting functionality.
      I hope I’ve understood your needs for the app.

      • Dear Mr. Kawauso!

        1. Thank You for fast and detailed reply. Let me say, this is good style for indie developer.

        2. The long comment for better describing situation. Many of newbies in broadcasting (like we a some time ago) make the same mistakes and have the same questions and needs in knowledge on software and hardware. And may be most of them see themselves in situation described. And get positive results.

        3. On our knowledge, launch several copies of ladiocasts app and manage them is really frustrating when using 2-3 displays in Mac Pro (and on el Capitan/SIerra windows management of Ladiocast on 2-3 monitors sometime give unpredicted results…).
        In any case, we try to point on that the “Selecting Source” is more needed for most users then 3-4-5 different codecs. And we try to detailed describe why. :)

        Thank You again one time! Have a nice day!

        • kawauso

          Sergei,
          Thank you for the summary.
          I will consider the source selective parallel streaming in the future releases, though it would take much reconstruction of ladiocast, and time:).
          Cheers.

        • kawauso

          Hello Sergei, thank you for the suggestion.
          Receiving requests from you and several people about audio units, plugins, etc., they are on the list of ladiocast improvement ideas.
          Nicecast is a great one handling them:).
          Cheers.

  6. Pedro

    Hi!
    Is there a way to set witch channel of my audio interface is ladiocast getting?
    For example: I want to send the input 3-4 of my MOTU ultralite mk3 to ladiocast and from there to soundflower, but ladiocast seems to listen only inputs 1-2.
    Thanks!

    • kawauso

      Hello Pedro,
      Thank you for the comment. Unfortunately ladiocast sees only the lowest 2 channels of each audio device. Some channel remapping outside is needed for others, currently.
      Cheers.

    • Dear Mr.Pedro!

      We have no the same particular issue, but try to make some experiments in System Preferences/Audio Devices section (Sierra, macOS 10.12.2 (16C68) ): there are two option
      - Create Aggregate Device
      - Create Multi-Output Device

      May be this help You…

      P.S. Please drop a line here if You have a positive result, – this help others.

  7. Litiobat

    Hi!
    Ladiocast over macbook pro or iMac with osx Sierra, stops broadcasting to icecast server if app goes to background (in 1/2 minutes, stop. If I click on app and get foreground, the broadcast come back).
    What can I do?

      • Litiobat

        Any other operation, for example, open iTunes and play music. Then, LadioCast goes to background and it’s broadcasting to my server. If I move mouse and using computer (changing music or doing a “live show”), there are not problem. But If I don’t touch computer in a few minutes, and LadioCast is in background (iTunes in foreground)… then broadcast stops (the app shows that is “connected” but really, don´t). No always at same time… sometimes in 1 or 2 minutes, and other times 10 minutes or more.
        At first time I think that problem is an “energy save” of MacBook (I’ve change configurations to disable it too), but on iMac the problem is the same.
        If I’ve got iTunes in background and LadioCast in first line (foreground), then no problem, the broadcast never breaks for hours.

        • kawauso

          Litiobat,
          Thank you for the description. At the moment, I have no idea what’s happening there. If you see “Total Sent(kbytes): ” indicator increasing, ladiocast is surely sending such amount of data through the network. If not, the stream can be halted.

  8. ryo tsutsui

    Hello, Thank you for a great app.

    I have one thing I want to do with LadioCast and very much appreciated if you could give me a advice on a possible way.
    I am using Logic pro x as DAW and RME fireface UCX as audio interface with we use with software mixer called Totalmix.
    What I want to do is using this system and LadioCast, route the audio signal to output 1, fireface UCX(audio interface) and 2, HDMI.
    But when I choose fireface UCX as input the audio signal in not coming in to LadioCast.
    I have also tried software called soundflower and using that I succeeded in outputting the audio to 1 and 2.
    But to fill my purpose, I need to control the audio signal with the fireface`s mixer so I want to know a way to choose it and input the signal.

    Thank you.

    • kawauso

      Hello ryo tsutsui,
      Thank you for reporting that. First of all, check the input device’s channel layout because ladiocast uses only 1 & 2, the lowest 2 channels.
      Please write again if that doesn’t matter.
      Cheers.

      • ryo tsutsui

        Hello Mr, Kawauso,
        Thank you for your fast reply.
        from the input device Fireface UCX I am using channel 1&2 and trying to input signal to LadioCast but the signal is not coming…
        I am selecting Fireface UCX as input device from the pull down but do I need to do anything extra?
        Thank you,

        • kawauso

          Thank you for the reply.
          Use “Audio MIDI Setup.app” to show the device settings such as channel volumes, audio formats, etc.
          Compare them with built-in one or soundflower.
          See you then.

  9. Hey there! I’m trying to use event handlers to connect on start up with code:

    tell application id “com.kawauso.LadioCast” to connect

    but I’m getting a script read error in the script file on startup, number -1409.

    using a launchagent to launch the LadioCast at a specific time each day and want it to autoconnect when it launches. Any hints?

    Thank you!

  10. Hi,

    Could you tell me if Ladiocast prioritizes streaming encoding over monitoring ?
    I’ve got tons of crakles when I monitore on Ladiocast, but not when monitoring my input on my soundcard, and not when monitoring my output on my website.

    Best regards !

  11. kawauso

    Hi La#,
    > if Ladiocast prioritizes streaming encoding over monitoring ?
    No.
    > tons of crakles
    Try to increase sample frame length and/or change system sample rate in the preferences panel of ladiocast.
    Cheers.

Leave a Reply to Manuel

Click here to cancel reply.

*


One thing you might have to know before 0.12.0 – LadioCast Development Notes No.89

in LadioCast

LadioCast has been overlooked about not being sandboxed for a long time until the end of version 0.11. But on the next release, version 0.12.0, as Apple’s review requested, LadioCast will go into the sandbox. Fortunately, as a result, LadioCast wouldn’t be negatively impacted by sandboxing …​ except for one thing.

MP3 encoding.

LadioCast links Lame MP3 encoding library named libmp3lame.dylib only if it’s found. And in that case LadioCast shows MP3 option among the encoding formats.

But now from the inside of the sandbox, any local library would not be found and linked, so MP3 option would be gone.

Solution to this MP3 user’s problem is simple, copy the file into the LadioCast’s sandbox. The sandbox folder will be placed as ${HOME}/Library/Containers/com.kawauso.LadioCast/Data/, so it should be done with Terminal.app like:

$ cp (ex./usr/local/lib/)libmp3lame.0.dylib ~/Library/Containers/com.kawauso.LadioCast/Data/

The file name libmp3lame.0.dylib is better but if you have only libmp3lame.dylib and have been working well with it, copy in the same way.

Though it’s so simple with Terminal.app, I show another way for Finder.app lovers:) with the MOVIE!!.

LadioCast 0.12.0 will be released in a few days on MAS.

Thank you for reading.