ASIO and Crossfading (1 Viewer)

hwahrmann

Development Group
  • Team MediaPortal
  • September 15, 2004
    4,630
    2,462
    Vienna, Austria
    Home Country
    Austria Austria
    In the latest SVN (14625) i've added Crossfading support for ASIO Playback.

    as i don't have native ASIO Hardware here, using ASIO4ALL, i would ask people with ASIO devices to test it and give me some feedback.

    thx,

    Helmut
     

    Spragleknas

    Moderator
  • Team MediaPortal
  • December 21, 2005
    9,471
    1,822
    Located
    Home Country
    Norway Norway
    I am also running ASIO4ALL and crossfading works fine :)thx: - I asked you if this was possible a while ago - you are a wizard!).

    Found a few things though:
    * Selecting another song makes sound "micro-pause" (or mute?) a few ms.
    * Sound got full of noise after a while. This probably due to my poor onboard-audio (Realtek ALC655), so don't mind it if nobody else reports a problem.

    My connections is as follows:

    Realtek ALC655 ---coax---> Logitech Z-5500
     

    jackboot

    Portal Member
    May 9, 2007
    10
    0
    Home Country
    Canada Canada
    I'm using the ASIO4ALL driver and Realtek HD Audio onboard soundcard.

    My crossfade kind of works - there are 2 short pauses as the tracks fade into each other.

    Thanks for your hard work :)
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,630
    2,462
    Vienna, Austria
    Home Country
    Austria Austria
    • Thread starter
    • Moderator
    • #4
    I am also running ASIO4ALL and crossfading works fine :)thx: - I asked you if this was possible a while ago - you are a wizard!).

    Well the secret is not to commit anything, if you don't know when to do it. :)))

    Found a few things though:
    * Selecting another song makes sound "micro-pause" (or mute?) a few ms.

    i have a minimum buffer of 500ms, can't go below that.
    And that is still played.
    However with Fade In/out on Stop you shouldn't notice it.
    Or do you have set that?

    * Sound got full of noise after a while. This probably due to my poor onboard-audio (Realtek ALC655), so don't mind it if nobody else reports a problem.

    Hm, probably as you said an issue with your hardware. Don't have that and others didn't report it as well.


    thanks for testing anyweay.
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,630
    2,462
    Vienna, Austria
    Home Country
    Austria Austria
    • Thread starter
    • Moderator
    • #5
    I'm using the ASIO4ALL driver and Realtek HD Audio onboard soundcard.

    My crossfade kind of works - there are 2 short pauses as the tracks fade into each other.

    Thanks for your hard work :)


    I'll check the Pause issue, altough i didn't notice it.
    Maybe it's a combination of different parms.
     

    parody

    Portal Member
    April 30, 2007
    19
    0
    Home Country
    England England
    Id just like to add to this thread, I have noticed since installing the stapshot with asio crossfading it has totally screwed up my ASIO output - sound quality has gone down the drain with a horrible buzzing noise. And this is with crossfading disabled. I re-installed the snapshot just before this and all is back to normal.
     

    kenwonders

    MP Donator
  • Premium Supporter
  • January 19, 2007
    791
    741
    Home Country
    England England
    Same here too. I'm getting regular glitches and there is a terrible mess inbetween tracks. I don't even want crossfading!
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,630
    2,462
    Vienna, Austria
    Home Country
    Austria Austria
    • Thread starter
    • Moderator
    • #8
    ok guys,
    i'll put together a test program with both methods available.
    i'll post it here, when ready and ask you to run a test and tell me the result.
    i'll try to gather as much information as possible to see what's happening.

    hopefully we can fix it.
    i have some idea, what might cause your problems, but i need to be sure, before changing too much within mp
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,630
    2,462
    Vienna, Austria
    Home Country
    Austria Austria
    • Thread starter
    • Moderator
    • #9
    kenwonders, parody and others having troubles with the ASIO Support.

    Please unzip the attached file to a directory of your choice and execute BassAsioMixer.exe.

    1. Select a Directory containing at least 2 mp3 or ogg songs. Only those 2 format work.
    2. Select an ASIO Device
    3. Press the "Start 1" button and let play 2 songs.
    4. Press the "Stop" Button
    5. Now Press the "Start 2" button and let play 2 songs.

    You don't need to wait for the second song to finish, just let it play 10 seconds or so.
    There is a Default Cross Fading of 4 seconds set.

    Post the file output.txt, which is created in the program directory and let me know, how the 2 sample sound like.

    thx,

    Helmut
     

    kenwonders

    MP Donator
  • Premium Supporter
  • January 19, 2007
    791
    741
    Home Country
    England England
    Post the file output.txt, which is created in the program directory and let me know, how the 2 sample sound like.

    Greetings Helmut, I have just performed the tasks, and found 2 different but incorrect results.

    'Start 1' reproduces the problem in Mediaportal for me. A click/pop every second or two, increasing with song detail.

    'Start 2' is playing way too slow, something like 1/8th of the speed.


    -------------------------------
    Starting Up
    Bass Init OK
    Info about ASIO channels found
    -------------------------------
    Driver=Revo ASIO, Version=1, Inputs=2, Outputs=8
    Driver=Revo ASIO, Version=1, Inputs=2, Outputs=8
    Driver=Revo ASIO, Version=1, Inputs=2, Outputs=8
    Driver=Revo ASIO, Version=1, Inputs=2, Outputs=8
    Driver=Revo ASIO, Version=1, Inputs=2, Outputs=8
    Driver=Revo ASIO, Version=1, Inputs=2, Outputs=8
    Driver=Revo ASIO, Version=1, Inputs=2, Outputs=8
    Driver=Revo ASIO, Version=1, Inputs=2, Outputs=8
    -------------------------------
    Info about ASIO channels found
    -------------------------------
    Driver=Revo ASIO, Version=1, Inputs=2, Outputs=8
    Driver=Revo ASIO, Version=1, Inputs=2, Outputs=8
    Driver=Revo ASIO, Version=1, Inputs=2, Outputs=8
    Driver=Revo ASIO, Version=1, Inputs=2, Outputs=8
    Driver=Revo ASIO, Version=1, Inputs=2, Outputs=8
    Driver=Revo ASIO, Version=1, Inputs=2, Outputs=8
    Driver=Revo ASIO, Version=1, Inputs=2, Outputs=8
    Driver=Revo ASIO, Version=1, Inputs=2, Outputs=8
    -------------------------------
    Starting Playback Type: Mixer without Matrix
    Playback of song: 01 - Dayvan Cowboy.mp3
    Info about the stream created
    -------------------------------
    Type=BASS_CTYPE_STREAM_MP3, Frequency=44100, Channels=2, OrigResolution=0
    -------------------------------
    FadeoutStop of stream -1342177278
    Playback of song: 02 - Left Side Drive.mp3
    Info about the stream created
    -------------------------------
    Type=BASS_CTYPE_STREAM_MP3, Frequency=44100, Channels=2, OrigResolution=0
    -------------------------------
    Stream freed: stream -1342177278
    Stream freed: stream -1342177274
    Starting Playback Type: Mixer with Matrix
    Playback of song: 01 - Dayvan Cowboy.mp3
    Info about the stream created
    -------------------------------
    Type=BASS_CTYPE_STREAM_MP3, Frequency=44100, Channels=2, OrigResolution=0
    -------------------------------
    Stream freed: stream -1342177269



    As always thanks for your help
     

    Users who are viewing this thread

    Similar threads

    To other people reading about this 'issue', Doskabouter provided me with a fix/patch. It is a modified version of tswriter.ax which solved the problem with dolby digital plus audio. I want to thank Doskabouter for all his time and energy he put into resolving this!!
    To other people reading about this 'issue', Doskabouter provided me with a fix/patch. It is a modified version of tswriter.ax which...
    Hi all, I could use some help with the following; OS: Win11 24H2 TV server: 1.37.000.0|x64 (working with Mediaportal for maybe 20...
    Replies
    4
    Views
    3K
    MP 1.37 Final (Willow) Bugfix II released, download links updated...
    MP 1.37 Final (Willow) Bugfix II released, download links updated...
    We have just released MediaPortal 1.37 - Willow x86 and x64 version. Highlights of this release Bugfixes: [MP1-5232] - GPU...
    Replies
    4
    Views
    3K
    It should work, but the error is in something else, but it is not yet clear what.
    It should work, but the error is in something else, but it is not yet clear what.
    I have MP1 TV Server 1.30 installed on Windows Server 2012R2 (with some bits added for tuner support). MP Server versions have...
    Replies
    5
    Views
    2K
    For music you may use --> https://www.team-mediaportal.de/erweiterungen/musik/global-search With GlobalSearch you can search for any entry in your music database: Artist, Album, Title, Lyrics... I'm afraid there is no such plugin :unsure:
    For music you may use --> https://www.team-mediaportal.de/erweiterungen/musik/global-search With GlobalSearch you can search for...
    HI, I'm new to MediaPortal and have a question about searching for data. I have an extensive collection of music, films, and TV...
    Replies
    1
    Views
    4K
    You can always use GitHub online But judging by the picture, you are doing well. Direct Push to Master is prohibited, create PR.
    You can always use GitHub online But judging by the picture, you are doing well. Direct Push to Master is prohibited, create PR.
    Hello, Because I was annoyed with closing MP, launch config, modify setting and start MP again, I decided to give MP the ability...
    Replies
    5
    Views
    4K
    Top Bottom