Recent Posts

Pages: [1] 2 3 ... 10
1
BASS / Re: BASS_FX 2.4.11.1
« Last post by MB_SOFT on 27 May '17 - 15:35 »
If i apply the same effect twice on the same handle, the new effect replace the previous one or do i have to remove the previous effect?

Ex:

first i apply

effect=BASS_ChannelSetFX(handle, BASS_BFX_DAMP, priority) 'some values

after a while i apply the same call with different values

effect=BASS_ChannelSetFX(handle, BASS_BFX_DAMP, priority) 'different values

is the first effect automatically removed by the second?
2
XMPlay / Title encoding
« Last post by Or on 27 May '17 - 10:58 »
My language default is Hebrew, but I listen to songs with Swedish letters such as , and
The playlist shows Hebrew letters instead of the Swedish ones.

How can I set xmplay to show the correct letters?
3
BASS / BASS_MIDI_StreamEvent no sound
« Last post by e6211e on 27 May '17 - 04:28 »
I create BASS_MIDI_StreamCreate for real-time MIDI events,
but when i call BASS_MIDI_StreamEvent not working (no sound).

Use on linux ubuntu 16.04

here my code

Code: [Select]
#include <iostream>
#include <cstdlib>
#include <chrono>
#include <thread>

#include <bass.h>
#include <bassmidi.h>

using namespace std;

int main() {

    // check the correct BASS was loaded
    if (HIWORD(BASS_GetVersion())!=BASSVERSION) {
        cout << "An incorrect version of BASS was loaded" << endl;
        return 0;
    }

    // initialize default output device
    if (!BASS_Init(-1,44100,0,NULL,NULL)) {
        cout << "Can't initialize device" << endl;
        return 0;
    }


    HSTREAM stream = BASS_MIDI_StreamCreate(16, 0, 0);
    cout << BASS_ErrorGetCode() << endl;


    //string sfs = ;
    HSOUNDFONT font = BASS_MIDI_FontInit("/home/noob/SOMSAK_2017_V1.SF2", 0);
    cout << BASS_ErrorGetCode() << endl;
    BASS_MIDI_FONT sf;
    sf.font = font;
    sf.preset=-1; // use all presets
    sf.bank=0; // use default bank(s)
    BASS_MIDI_StreamSetFonts(0, &sf, 1); // set default soundfont
    BASS_MIDI_StreamSetFonts(stream, &sf, 1); // set for current stream too


    BASS_MIDI_StreamEvent(stream, 0, MIDI_EVENT_PROGRAM, 56);
    BASS_MIDI_StreamEvent(stream, 0, MIDI_EVENT_NOTE, MAKEWORD(60, 100));

    this_thread::sleep_for(chrono::milliseconds(2000));

    BASS_MIDI_StreamEvent(stream, 0, MIDI_EVENT_NOTE, 60);


    BASS_MIDI_FontFree(font);
    BASS_StreamFree(stream);
    BASS_Free();

    return 0;
}

How to solved?

(Sorry for my bad english.)
4
BASS / Re: NEW: 3delite's VSTi Synth Plugin
« Last post by EWeiss on 26 May '17 - 20:53 »
i'm not use it.. but great work ;)

greets
5
BASS / Re: NEW: 3delite's VSTi Synth Plugin
« Last post by 3delite on 26 May '17 - 15:50 »
Updated the package, couple of bug fixes and a new functionality, preview the waveform in any stage:



The waveform can be zoomed with mouse wheel or with click and drag up/down, left-right scrolls the waveform. The orange line is the volume pin's volume shape (appears for mixer and FX items).
When adjusting the parameters the waveform is updated in real-time.
6
Video&AudioConvert Sample ;D Using FFmpeg and process hidden command.
eg: mp4 to mp3, mp4 to flv, mp4 to flv, mp3 to wav and other.

Example:
Code: [Select]
Public Sub StartAVConversion(ByVal proc As Process, ByVal ffmpeg As String, ByVal input As OpenFileDialog, ByVal output As SaveFileDialog, ByVal qualityAdj As TrackBar, ByVal bkw As System.ComponentModel.BackgroundWorker, ByVal prog As TextBox)
        Control.CheckForIllegalCrossThreadCalls = False
        If qualityAdj.Maximum <> 15 Then qualityAdj.Maximum = 15
        qualityAdj.Value = 5
        Dim quality As Integer = qualityAdj.Value * 2
        Dim startinfo As New System.Diagnostics.ProcessStartInfo
        Dim sr As StreamReader
        Dim args As String = " -i """ + input.FileName + """ -ar 22050 -qscale " & quality & " -y """ + output.FileName + """"
        Dim ffmpegOutput As String
        startinfo.FileName = ffmpeg
        startinfo.Arguments = args
        startinfo.UseShellExecute = False
        startinfo.WindowStyle = ProcessWindowStyle.Hidden
        startinfo.RedirectStandardError = True
        startinfo.RedirectStandardOutput = True
        startinfo.CreateNoWindow = True
        proc.StartInfo = startinfo
        proc.Start()
        sr = proc.StandardError
        Do
            If bkw.CancellationPending Then
                Exit Sub
            End If
            ffmpegOutput = sr.ReadLine
            prog.Text = ffmpegOutput
        Loop Until proc.HasExited And ffmpegOutput = Nothing Or ffmpegOutput = ""
        prog.Text = "Finished"
        Return
    End Sub

Download: VideoAudioConverter Application Sample : Clickhere

7
BASS / Re: Get position from mixer channel
« Last post by Olek on 25 May '17 - 20:56 »
Thanks for detailed answer. You helped a lot.
8
XMPlay / Re: 3.8 reports, queries and bugs
« Last post by Ian @ un4seen on 25 May '17 - 17:10 »
Here's an update with slightly tweaked module playback levels:

   www.un4seen.com/stuff/xmplay.exe
9
BASS / Re: bass skips the first 125 ms on mp3
« Last post by Ian @ un4seen on 25 May '17 - 15:08 »
The uploaded MP3 file has a LAME header, which tells how much delay and padding was added by the encoder. That info is stored in the file so that the decoder can remove the delay and padding from its output, which is what BASS and most other players will do, eg. if you compare the Winamp or Foobar2000 output you will find they are the same as BASS. The new BASS_MP3_IGNOREDELAY flag (in the BASS update posted in the linked thread above) tells BASS not to remove the delay and padding. The delay is only 13ms though, so it won't make a massive difference; you will probably hear a click rather than a gap.

The BASS_MP3_IGNOREDELAY flag does indeed have the same value as some other format-specific flags, so it should only be used on MP3 files.
10
BASS / Re: bass skips the first 125 ms on mp3
« Last post by HarryHar on 24 May '17 - 19:39 »
I have uploaded the file as org.mp3
Pages: [1] 2 3 ... 10