fiduciary

Author Topic: TeensySaber Software Discussion  (Read 67077 times)

0 Members and 3 Guests are viewing this topic.

Offline profezzorn

  • Mining Colony Members
  • Master Force User
  • *
  • Posts: 901
  • May the source be with you.
    • Hubbe's Corner
TeensySaber Software Discussion
« on: May 29, 2017, 03:34:13 PM »
The original TeensySaber thread is getting a little long in the tooth, so I'm starting a new thread specifically to discuss the TeensySaber software..

I will update this post with useful information for new people as we go.

For people who want to see the full history and keep up to date on untested changes to the TeensySaber software, I recommend the TeensySaber GitHub repository.

Offline profezzorn

  • Mining Colony Members
  • Master Force User
  • *
  • Posts: 901
  • May the source be with you.
    • Hubbe's Corner
Re: TeensySaber Software Discussion
« Reply #1 on: May 29, 2017, 03:36:25 PM »
I just uploaded version 1.110, changes include:
  • Fixed seveal audio bugs.
  • Made audio significantly louder.
  • Added a some flicker effects.
  • Lockup sound and blade effect. (hold aux and clash)
  • "top" command is more useful now.
  • Make sure random boot sounds are actually random.

Offline gmcivor

  • Force User
  • ***
  • Posts: 140
  • Do or do not. There is no try.
Re: TeensySaber Software Discussion
« Reply #2 on: May 29, 2017, 04:30:46 PM »
So lockup sounds and effects will only work with two button sabers ?

For single it could be while on hold power and clash then when power released it stops. Or would that be to close to  the force sound being played while holding and releasing the power button ?

Guess my next saber will have to have two buttons... Maybe Graflex 2.0 :)

Regards,

GMcIvor
« Last Edit: May 29, 2017, 04:38:26 PM by gmcivor »

Offline profezzorn

  • Mining Colony Members
  • Master Force User
  • *
  • Posts: 901
  • May the source be with you.
    • Hubbe's Corner
Re: TeensySaber Software Discussion
« Reply #3 on: May 29, 2017, 06:59:49 PM »
Actually, let me rephrase that:

It's the button you used to turn it on that enables the lockup mode.
So if you turned it on with AUX, it's AUX, if you turn it on with POWER, then it's POWER.
So it should work just fine with a single-button saber.

(I just happened to be using AUX when I was testing it...)

Offline gmcivor

  • Force User
  • ***
  • Posts: 140
  • Do or do not. There is no try.
Re: TeensySaber Software Discussion
« Reply #4 on: May 29, 2017, 07:04:55 PM »
That's good! I will upload and see tomorrow.

Still thinking of building the graflex one of these days.

Regards,

GMcIvor

Offline gmcivor

  • Force User
  • ***
  • Posts: 140
  • Do or do not. There is no try.
Re: TeensySaber Software Discussion
« Reply #5 on: May 30, 2017, 08:17:38 AM »
Well, the random boot sound works! The lockup works! and the audio flicker is cool!

I noticed on some sound fonts since the volume increased that I cannot tell the distinction between hum and swing they either blend together or sounds like it doesn't trigger is this what you were talking about when you increase the volume?. But the sound is louder overall, especially on the boot sounds, font sounds, and the sound tracks.

Any suggestions?

Regards,

GMcIvor
« Last Edit: May 30, 2017, 08:23:18 AM by gmcivor »

Offline profezzorn

  • Mining Colony Members
  • Master Force User
  • *
  • Posts: 901
  • May the source be with you.
    • Hubbe's Corner
Re: TeensySaber Software Discussion
« Reply #6 on: May 30, 2017, 08:55:32 AM »
Well, the random boot sound works! The lockup works! and the audio flicker is cool!

I noticed on some sound fonts since the volume increased that I cannot tell the distinction between hum and swing they either blend together or sounds like it doesn't trigger is this what you were talking about when you increase the volume?. But the sound is louder overall, especially on the boot sounds, font sounds, and the sound tracks.

Any suggestions?

Regards,

GMcIvor


That could be the bug I found last night. I pushed a fix to github, but I haven't uploaded it to my site yet. (Will do that later today.)

There is at least one more audio bug, it just doesn't trigger often enough to be easy to find...

Offline gmcivor

  • Force User
  • ***
  • Posts: 140
  • Do or do not. There is no try.
Re: TeensySaber Software Discussion
« Reply #7 on: May 30, 2017, 09:08:49 AM »
Quote
That could be the bug I found last night. I pushed a fix to github, but I haven't uploaded it to my site yet. (Will do that later today.)

There is at least one more audio bug, it just doesn't trigger often enough to be easy to find...

Oh okay, thanks for the update. Well I will be on the look out for anything else.

Regards,

GMcIvor

Offline gmcivor

  • Force User
  • ***
  • Posts: 140
  • Do or do not. There is no try.
Re: TeensySaber Software Discussion
« Reply #8 on: May 30, 2017, 09:39:57 AM »
Is the other issue audio failing to play? When I have plugged my blade it sometimes it wont play audio and everything else works happens once in awhile. Other when I triggered a clash the audio will stop then I trigger it and it will play. That happens once and awhile too.

I wonder if this is the other bug you were talking about.

Regards,

GMcIvor

Offline profezzorn

  • Mining Colony Members
  • Master Force User
  • *
  • Posts: 901
  • May the source be with you.
    • Hubbe's Corner
Re: TeensySaber Software Discussion
« Reply #9 on: May 30, 2017, 10:01:39 AM »
Yep, that's the one I haven't found yet.
Will be hunting some more tonight.
Let me know if you find any clues or some reliable way to trigger the bug.

Offline gmcivor

  • Force User
  • ***
  • Posts: 140
  • Do or do not. There is no try.
Re: TeensySaber Software Discussion
« Reply #10 on: May 30, 2017, 10:06:34 AM »
Yep, that's the one I haven't found yet.
Will be hunting some more tonight.
Let me know if you find any clues or some reliable way to trigger the bug.

Will do! I will play around and see if I can maybe get a student to try and trigger it and I watch their actions to see why happened.

Regards,

GMcIvor

Offline gmcivor

  • Force User
  • ***
  • Posts: 140
  • Do or do not. There is no try.
Re: TeensySaber Software Discussion
« Reply #11 on: May 30, 2017, 11:25:00 AM »
Yep, that's the one I haven't found yet.
Will be hunting some more tonight.
Let me know if you find any clues or some reliable way to trigger the bug.

One that I encountered for sure every time is when you initiate lock up and you move the saber around (detects swing) it will play the swing sound audio will cut to hum, but the lockup effect will still go on. Once you let go of the button to cease the lockup it will play the lockup end sound.

I don't know if this is related or something new. I will keep looking.

Regards,

GMcIvor

Offline profezzorn

  • Mining Colony Members
  • Master Force User
  • *
  • Posts: 901
  • May the source be with you.
    • Hubbe's Corner
Re: TeensySaber Software Discussion
« Reply #12 on: May 30, 2017, 11:58:00 AM »
Yep, that's the one I haven't found yet.
Will be hunting some more tonight.
Let me know if you find any clues or some reliable way to trigger the bug.

One that I encountered for sure every time is when you initiate lock up and you move the saber around (detects swing) it will play the swing sound audio will cut to hum, but the lockup effect will still go on. Once you let go of the button to cease the lockup it will play the lockup end sound.

I don't know if this is related or something new. I will keep looking.

Regards,

GMcIvor

I'm guessing that's with a monophonic font, is that correct?

Offline gmcivor

  • Force User
  • ***
  • Posts: 140
  • Do or do not. There is no try.
Re: TeensySaber Software Discussion
« Reply #13 on: May 30, 2017, 12:03:02 PM »
I will have to check which font, but I believe it is and that probably explains it.

Regards,

GMcIvor

Offline profezzorn

  • Mining Colony Members
  • Master Force User
  • *
  • Posts: 901
  • May the source be with you.
    • Hubbe's Corner
Re: TeensySaber Software Discussion
« Reply #14 on: May 30, 2017, 12:09:17 PM »
It does explain it, but it really shouldn't behave that way.
I will work on fixing it.

 

retrousse