Author Topic: Song Saving Problem  (Read 621 times)

Offline eallan

  • vArranger
  • Jr. Member
  • ***
  • Posts: 59
    • View Profile
Song Saving Problem
« on: November 07, 2018, 02:41:56 AM »
Version 1.19.01
When I try to save a Song with a few Chord in the
Song Chords windows , there is a popup message in yellow
- !!!!!!! - Argument 'Length' must be greater or equal to zero. - !!!!!!! -
and the song is not saved.
Tried with no Chords too and still unable to Save
What can be wrong?

Offline Dan

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7696
    • View Profile
Re: Song Saving Problem
« Reply #1 on: November 07, 2018, 10:20:43 AM »
Here the saving is working OK

Can you post the style and style2 files here so I can try

Or can I connect to your computer with TeamViewer ?

Offline eallan

  • vArranger
  • Jr. Member
  • ***
  • Posts: 59
    • View Profile
Re: Song Saving Problem
« Reply #2 on: November 07, 2018, 05:34:56 PM »
Hi Dan , thanks for your offer to help , but I've just figured out
what was going wrong.
I was loading the styles from this location
\vArranger2\vArrangerData\Styles\StylesROM1
and for some reason it did not like that.
I moved the styles to new folder inside the
vArranger2 folder and everthing is working OK.
I will try to remember not to load styles from the
StylesROM1 folder in future.
A few other things -
1/ I notice that vAsynth is using about 6-8 % CPU
   when idle - is that normal?
2/ There is audio distortion with vAsynth and Asio4All v2.14
   If I change to Direct Sound: Realtek HD Audio Output
   there is no distorion
   When I change it to ReaRoute Asio > Reaper >
   Asio4All , there is no distortion.
   3/ When vArranger is running , my HotkeyP Hotkeys do not work.
   Is that by design?

Offline Dan

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7696
    • View Profile
Re: Song Saving Problem
« Reply #3 on: November 07, 2018, 06:49:02 PM »
Styles of vArranger are inside subfolders of StylesRom1
If you manually change the styles or the folders inside StylesRom1, after the start of vArranger, you need to tell it to vArranger
You need to click on MY SONGS and REFRESH

- vASynth use 6-8% on idle?  Do you use some VST instruments, or some VST plugins ? What computer do you have (cpu ram)? Are you on battery or power?
- What audio card do you use?
- If you assign a key to a function in vArranger (OPTIONS/CONTROLLERS)  it should not be available to other programs

Dan

Offline eallan

  • vArranger
  • Jr. Member
  • ***
  • Posts: 59
    • View Profile
Re: Song Saving Problem
« Reply #4 on: November 07, 2018, 08:32:25 PM »
Hi Dan ,
Today it is between 3-7% CPU when vArranger is idle.
   vAsynth not selected for Output
   No VST Instruments or Plugins in use
   
Computer is Desktop with 4Gb Ram + Intel 2 core at 2.67GHz

Audio is built into Gigabyte Motherboard - Realtek Azalia HD Audio
(Tried there old Realtek Asio driver and it was even worse)
   
No controllers in use. None of my HotkeyP hotkeys work when
vArranger is running.

Offline Dan

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7696
    • View Profile
Re: Song Saving Problem
« Reply #5 on: November 07, 2018, 08:37:14 PM »
Can you post your MIDIPORTS screen here ?

What is Windows OS?

Offline eallan

  • vArranger
  • Jr. Member
  • ***
  • Posts: 59
    • View Profile
Re: Song Saving Problem
« Reply #6 on: November 07, 2018, 08:57:27 PM »
Hi Dan ,
Running Windows Xp SP3.
Screenshot of Midi Ports attached.

Offline Dan

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7696
    • View Profile
Re: Song Saving Problem
« Reply #7 on: November 07, 2018, 09:54:58 PM »
WOW ! Windows XP ! Long time, no see
I can see that you use the Yamaha WDM synth. What about if you select another midi out, like LoopMidi or NONE? Maybe it is the Yamaha synth.
Is there any changes in CPU since the new version?
Maybe there are some options in the ASIO4ALL panel?

Offline eallan

  • vArranger
  • Jr. Member
  • ***
  • Posts: 59
    • View Profile
Re: Song Saving Problem
« Reply #8 on: November 08, 2018, 05:49:28 PM »
Hi Dan ,
Selected None for Midi out with Asio4All as audio out - still 3-7% CPU
Selected None for Midi out with DirectSound - Realtek HD Audio as audio out - 0% CPU
To test , re-selected None for Midi out with Asio4all as audio out - 3-7% CPU.
Looks like the Asio4All selection causes the vAsynth CPU use, and
could this be the reason for the distorted sound?
Tried altering various things in Asio4All panel , like Buffer size and other options
without any luck.
vArranger2 v1.18.06_30-09-2018/vArrangerSynth v_11-09-2017 has same CPU use
and distortion for vAsynth using Asio4All.
Same for vArranger2 v1.18.02_27-12-2017 and vArranger2 v1.18.01 as well.

Offline Dan

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7696
    • View Profile
Re: Song Saving Problem
« Reply #9 on: November 08, 2018, 05:56:00 PM »
You can post your ASIO4ALL pannel here , in the ADVANCED mode

Offline eallan

  • vArranger
  • Jr. Member
  • ***
  • Posts: 59
    • View Profile
Re: Song Saving Problem
« Reply #10 on: November 08, 2018, 06:16:47 PM »
Here is the Asio4All Settings attached

Offline Dan

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7696
    • View Profile
Re: Song Saving Problem
« Reply #11 on: November 08, 2018, 06:27:40 PM »
Uncheck  " Always Resample "

Is it better?

Offline Dan

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7696
    • View Profile
Re: Song Saving Problem
« Reply #12 on: November 08, 2018, 06:31:50 PM »
If it does not help, try to increase the vArranger buffer size (this will add some latency, but can help in reducing crackles)

In the vArranger.ini, Change the line

Audio OUT LatencyMS=6

By

Audio OUT LatencyMS=320

if it doesn't work, try

Audio OUT LatencyMS=384

Then
Audio OUT LatencyMS=448

Then
Audio OUT LatencyMS=512


Let me know

Offline eallan

  • vArranger
  • Jr. Member
  • ***
  • Posts: 59
    • View Profile
Re: Song Saving Problem
« Reply #13 on: November 08, 2018, 07:38:50 PM »
Tried Unchecking  " Always Resample " , no improvement and same for all the
Audio OUT LatencyMS.
Stange thing is the 'ASIO Buffer Size' is set to 512 Samples yet if I hover over the
Aio4All icon in the taskbar it says 264 samples @ 44100 Hz

Offline Dan

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7696
    • View Profile
Re: Song Saving Problem
« Reply #14 on: November 08, 2018, 07:42:25 PM »
I think you are not using the Version 1.19
Try again the change in the ini with the v1.19
Restart vArranger between each change

Offline eallan

  • vArranger
  • Jr. Member
  • ***
  • Posts: 59
    • View Profile
Re: Song Saving Problem
« Reply #15 on: November 08, 2018, 08:43:11 PM »
Using v1.19.01 from 02-11-2018 and the ini file is at
\vArranger2\vArrangerData\vArranger2.ini
Closed down vArranger , edited the value , restarted for all the values suggested.
Distorting for all these settings.
Did an Audio recording inside vArranger and it is OK.
Can't record the distorted audio as the Stero Mix option is greyed out(common problem
with Realtek I notice)

Offline Dan

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7696
    • View Profile
Re: Song Saving Problem
« Reply #16 on: November 08, 2018, 08:49:04 PM »
And if you lower the master volume, do you still get distortion?
What about other musical software with same ASIO OUT?

Offline eallan

  • vArranger
  • Jr. Member
  • ***
  • Posts: 59
    • View Profile
Re: Song Saving Problem
« Reply #17 on: November 08, 2018, 09:12:12 PM »
Same at low volumes too - no problem in other softwares.
I took the style I was using in vArranger and changed .sty to .mid + imported into Reaper with output
to YamahaSynth and Asio4All and a clear sound ok.
As I mentioned ealier , using ReaRoute Asio as vArranger's output and routing that
to Reaper with Asio4All selected as it's Output produces clear sound too.

Offline Dan

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7696
    • View Profile
Re: Song Saving Problem
« Reply #18 on: November 08, 2018, 09:15:47 PM »
Can you show me the reaper audio out screen?

Offline eallan

  • vArranger
  • Jr. Member
  • ***
  • Posts: 59
    • View Profile
Re: Song Saving Problem
« Reply #19 on: November 08, 2018, 10:19:19 PM »
Have attached the Reaper Audio Settings

Offline Dan

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7696
    • View Profile
Re: Song Saving Problem
« Reply #20 on: November 08, 2018, 10:30:59 PM »
What about if you check
Request sample rate
And request buffer size in reaper?

Offline eallan

  • vArranger
  • Jr. Member
  • ***
  • Posts: 59
    • View Profile
Re: Song Saving Problem
« Reply #21 on: November 09, 2018, 12:41:46 AM »
Checked both these boxes in Reaper - sound is still clear in Reaper/Asio4All

Offline Dan

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7696
    • View Profile
Re: Song Saving Problem
« Reply #22 on: November 09, 2018, 09:55:42 AM »
Can you post your vArranger2.ini file ?

Offline eallan

  • vArranger
  • Jr. Member
  • ***
  • Posts: 59
    • View Profile
Re: Song Saving Problem
« Reply #23 on: November 09, 2018, 04:16:30 PM »
Here's whats in th ini file -

[Settings]
Audio OUT=ASIO4ALL v2
Audio OUT Driver=ASIO
Audio OUT CHL=
Audio OUT LatencyMS=6
Midi IN=NONE
Midi OUT=vArranger Software Synthesizer
Midi OUT 2=
Midi OUT 3=
Midi OUT FB 1=
Midi OUT FB 2=
Midi OUT FB 3=
Midi OUT FB 4=
Midi IN 2=
Midi IN 3=
Midi IN 4=
Joystick=
Midi IN 2 LEFT=0
Midi IN 3 BASS=0
Midi THRU=0
Midi IN Accordeon=0
Midi IN Organ=0
MidiClock1=0
MidiClock2=0
MidiClock3=0
Midi Accordeon Right=1
Midi Accordeon Left=2
Midi Accordeon Bass=3
UseOSC=0
MidiOutModel=6
MidiOutModel2=1
MidiOutModel3=1
Audio IN=
Audio IN Driver=
Audio IN CHL=
[StartUp]
RightSoundID=S000000000
DefaultRightSoundIDGroup0=S000000000
DefaultFavBar=
DefaultFavBarL=
FavIsLeft=0
LoadStyle=J:\Music\vArranger2\_Styles\FrenchHouse.s931.sty
LeftSoundID=S000000000

Offline eallan

  • vArranger
  • Jr. Member
  • ***
  • Posts: 59
    • View Profile
Re: Song Saving Problem
« Reply #24 on: November 09, 2018, 05:01:18 PM »
Hi Dan ,
Replaced the v2.14 Asio4All file (asio4all.dll) with the one from v2.13 , and the Audio is now ok.
vAsynth is now 1-3% CPU when idle , 3-5% CPU when playing style.

Offline Dan

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7696
    • View Profile
Re: Song Saving Problem
« Reply #25 on: November 10, 2018, 09:01:54 PM »
Nice to hear that you corrected the problem.
Maybe you should say it to the ASIO4ALL dev
Strange it worked well with Reaper anyway

Offline eallan

  • vArranger
  • Jr. Member
  • ***
  • Posts: 59
    • View Profile
Re: Song Saving Problem
« Reply #26 on: November 11, 2018, 04:13:02 PM »
Hi Dan ,
Perhaps he will release an update soon.
Previous 3 releases
23 May 2017: v2.14
05 Nov 2015: v2.13
07 Oct 2014: v2.12
I note that he is the author of Magix Low Latency
Asio Driver.
Hope he continues the free releases!