Author Topic: New Feature request - importing from Audacity  (Read 1352 times)

Offline drlucas

  • Sr. Member
  • ****
  • Posts: 947
New Feature request - importing from Audacity
« on: October 13, 2013, »
With over 1200notes in this one song I'm going through deleting rows 1 by 1 to get down to about 200 or so timing marks. Would be amazing if during the import it could auto-magically ask you to define an interval of seconds and only import 1 note mark during per the interval.

What I'm also doing is taking a premade lms file and will try to merge the lms file and the xlights file and then get everything to play in Vixen 3, FPP, xlights, or something else...just haven't figured it out yet. I've almost got done all my props and building/mounting lights (its my first year) and realized with just 2 weeks to go to Halloween I really want to get about 5 songs sequenced and starting to panic a bit.

Anyways....the good news will be the Halloween "push" will leave me with 30 days to hammer out some sequences for the xmas show and give me a great fighting chance at any first year bugs.
-Ryan Lucas-
- Pickering, Ontario, Canada, Eh?! -

Offline smeighan

  • Patron Member
  • Sr. Member
  • ****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
Re: New Feature request - importing from Audacity
« Reply #1 on: October 14, 2013, »
You are not allowed to view links. Register or Login
With over 1200notes in this one song I'm going through deleting rows 1 by 1 to get down to about 200 or so timing marks. Would be amazing if during the import it could auto-magically ask you to define an interval of seconds and only import 1 note mark during per the interval.

What I'm also doing is taking a premade lms file and will try to merge the lms file and the xlights file and then get everything to play in Vixen 3, FPP, xlights, or something else...just haven't figured it out yet. I've almost got done all my props and building/mounting lights (its my first year) and realized with just 2 weeks to go to Halloween I really want to get about 5 songs sequenced and starting to panic a bit.

Anyways....the good news will be the Halloween "push" will leave me with 30 days to hammer out some sequences for the xmas show and give me a great fighting chance at any first year bugs.

let me see if i understand teh request.

you are importing a 3 minute song, audacity has created 1200 timing marks. you want to define a range and only import one mark in that range?

so, for example. 3 minuytes is 180 seconds.

You would want to be prompted , during the audacity import, with
start second?
end second?

Then all marks import outside of that range and only one imports during the range?

OR maybe you want us to import no more than xx marks for a range

start second?
end second?
max markings to import in that range?

so if you did something like
start ? 1
end? 30
max marks ? 10
we would spread out and use marks that are from the original audacity file but no more than 10 marks over a 30 second range.
maybe there are other ways to get the markings down to be more reasonable?

thanks
Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login

Offline drlucas

  • Sr. Member
  • ****
  • Posts: 947
Re: New Feature request - importing from Audacity
« Reply #2 on: October 14, 2013, »
Hi Sean,

You are coming at this from a couple of different angles - thank you!!   After going through a couple of songs last night I am starting to think that this request might not have the desired thoughts that I was hoping, but do let me explain my request a bit further, because I do think you have it right...

So, I do want to import the entire song, but only one timing mark every x seconds (rounded to the nearest timing mark).
If you start to import timing marks at the beginning of the song at second 0 (aka the first timing mark in the file).
Then you'd put in a hold down timer where you do not import any further timing marks until you reach my "x" interval.
Then you'd import the next interval and then reset the hold down timer and continue to ignore timing marks.
Lather, Rinse, Repeat.

For greater clarity, how about this example...
My song is 120 seconds in length
My interval is 3 seconds
My song has timing marks as per the snippet below:
Code: You are not allowed to view links. Register or Login
1.219048 1.219048 1.219
1.520907 1.520907 1.521
1.706667 1.706667 1.707
2.414875 2.414875 2.415
5.085170 5.085170 5.085
6.478367 6.478367 6.478
6.757007 6.757007 6.757
6.861497 6.861497 6.861
7.221406 7.221406 7.221
8.684263 8.684263 8.684
8.962902 8.962902 8.963
9.485351 9.485351 9.485
9.624671 9.624671 9.625
9.729161 9.729161 9.729
9.880091 9.880091 9.880
10.181950 10.181950 10.182
11.598367 11.598367 11.598
11.958277 11.958277 11.958
12.202086 12.202086 12.202
12.445896 12.445896 12.446
12.770975 12.770975 12.771
14.024853 14.024853 14.025
14.175782 14.175782 14.176
15.000091 15.000091 15.000
15.104580 15.104580 15.105
15.232290 15.232290 15.232
17.089887 17.089887 17.090
17.217596 17.217596 17.218
18.970703 18.970703 18.971
19.202902 19.202902 19.203
19.319002 19.319002 19.319
19.504762 19.504762 19.505
19.667302 19.667302 19.667
19.818231 19.818231 19.818
21.733878 21.733878 21.734
22.244717 22.244717 22.245
22.442086 22.442086 22.442
22.616236 22.616236 22.616
23.069025 23.069025 23.069

Apply my logic
Code: You are not allowed to view links. Register or Login
1.219048 1.219048 1.219 (use the first mark)
1.520907 1.520907 1.521 (now timer 1+3sec)
1.706667 1.706667 1.707
2.414875 2.414875 2.415
5.085170 5.085170 5.085 (import this mark)
6.478367 6.478367 6.478 (now timer is 5+3sec)
6.757007 6.757007 6.757 (I round to the nearest sec)
6.861497 6.861497 6.861
7.221406 7.221406 7.221
8.684263 8.684263 8.684 (import this mark)
8.962902 8.962902 8.963 (now timer is 9+3sec)
9.485351 9.485351 9.485
9.624671 9.624671 9.625

The resulting import file is:
Code: You are not allowed to view links. Register or Login
1.219048 1.219048 1.219
5.085170 5.085170 5.085
8.684263 8.684263 8.684

Now as I said this might not work out that good because tempo of the song could change AND when I get into adding singing elements I'll want to likely use that as the starting point for triggers for changing the lights..

Anyways, hope that logic above makes more sense...sorry I didn't put in that pseudo code example last night...was trying to think outloud but was too tired from sticking mini lights through my tune to sign :)

Cheers!
RYan
-Ryan Lucas-
- Pickering, Ontario, Canada, Eh?! -