Jump to content
IGNORED

TI sound


am1933

Recommended Posts

Sorry to all the TI programming gods!, but I have to ask this question,

 

I am trying to find a way using Basic or Extended Basic to come up with some sounds/effects that sound different to the usual 3 sound and 1 noise channel.

 

The idea I had was to intertwine two For/Next loops that would step up in intervals of odds and evens-in effect using two sound channels that rapidly alternated their respective outputs to make one new sound or noise.

 

So far I have had no luck, the first channel works ok but the second channel just outputs one singular tone no matter what values I use.

 

So basically-is there a way to achieve this?

 

Thanks in advance for any help!

Link to comment
Share on other sites

Hundreds if not thousands of TI Basic and XB programs have more or less successfully tried and make rapid changes to the sound output, in effect making sound effects but not really making a new sound in itself.

 

Obviously you're not trying to do a falling bomb or siren for that matter. Problem might be, that you shouldn't try and intertwine two For/Next loops, but should rather only have one, and use math to calculate sounds, like this

 

100 FOR A=110 TO 1110 STEP 100
110 CALL SOUND(-99,A,0)
120 CALL SOUND(-99,A+400,0)
130 NEXT A

And that's about how I would interpret "step up in intervals of odds and evens-in effect using two sound channels that rapidly alternated".

 

;)

Edited by sometimes99er
Link to comment
Share on other sites

Hundreds if not thousands of TI Basic and XB programs have more or less successfully tried and make rapid changes to the sound output, in effect making sound effects but not really making a new sound in itself.

 

Obviously you're not trying to do a falling bomb or siren for that matter. Problem might be, that you shouldn't try and intertwine two For/Next loops, but should rather only have one, and use math to calculate sounds, like this

 

100 FOR A=110 TO 1110 STEP 100
110 CALL SOUND(-99,A,0)
120 CALL SOUND(-99,A+400,0)
130 NEXT A

And that's about how I would interpret "step up in intervals of odds and evens-in effect using two sound channels that rapidly alternated".

 

;)

 

Sorry if my description was a bit vague. That was actually pretty close to what I was talking about, I was close-it was only line 120 that got me and now I look at it, it is so damn obvious, Thanks again!!!!

Link to comment
Share on other sites

Maybe something here might help you

 

Sorry to all the TI programming gods!, but I have to ask this question,

 

I am trying to find a way using Basic or Extended Basic to come up with some sounds/effects that sound different to the usual 3 sound and 1 noise channel.

 

The idea I had was to intertwine two For/Next loops that would step up in intervals of odds and evens-in effect using two sound channels that rapidly alternated their respective outputs to make one new sound or noise.

 

So far I have had no luck, the first channel works ok but the second channel just outputs one singular tone no matter what values I use.

 

So basically-is there a way to achieve this?

 

Thanks in advance for any help!

Maybe something here might help you as I cover many beginner things on the subject of sound:

 

Link to comment
Share on other sites

Some interesting stuff there!, I just started using RXB for the first time yesterday and have noticed quite a speed boost in execution v's standard extended basic, is there a set percentage to the speed increase in RXB v's Extended Basic?-the reason I ask is so that I can adjust sound duration values accordingly.

I am basically trying to concentrate on the sound side of things as everyone seems to be doing great work in pressing the graphics of the 4a, spent most of the day working on multi channel percussive effects and delay effects and actually feel like I am getting somewhere(very proud of my 3 channel galloping horse!).

  • Like 1
Link to comment
Share on other sites

 

I'd love to hear a sample, or a listing of the code!

Trust me it's not that great, I am just happy because I can now remember the sound and noise parmeters without constantly refering to the manuals, I am also going to have to start saving stuff now-as I keep coming up with effects that I like then forget what values I used.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...