Sign in

username:

password:



Not a member?

Search basicx



Search tips

Subscribe to basicx



basicx by Keywords

Accelerometer | ADC | ADXL | Adxl20 | AVR | BasicStamp | BX-35 | BX28 | BX35 | COM3 | Compiler | Downloader | EEPROM | Electromagnet | GetADC | GP2D1 | GPS | I2C | IDE | Keypad | LCD | LCD+ | MIDI | Motors | Multitasking | Netmedia | Networking | PCB | PID | PlaySound | PWM | Relays | RTC | Servo | ShiftOut | SitePlayer | SPI | Stack | Timer | USB

Ads

Discussion Groups

Discussion Groups | BasicX | BX-24 PlaySound

Discussion forum for the BasicX family of microcontroller chips.

BX-24 PlaySound - Author Unknown - Oct 26 15:07:00 1999

I am very keen to try the BX-24s PlaySound procedure. How is it that one
loads a 1024-byte sample into the EE? Certainly you won't suggest that I
chew up over a thousand lines of active code with PutEEPROM....

Hint: This is where the Parallax EEPROM directive (similar to stardard
BASIC's Data statement) is very useful. Okay, I know you're enamoured with
Visual Basic. Fine. But find a way -- compatible with VB6 -- that will
allow us to modify the EE image before it's downloaded to the BasicX/BX-24.
To build EE data tables with active code is just plain wasteful.

Thanks for considering.

-- Jon Williams
-- FLOWTRONEX
-- Dallas, TX

BTW...if I can find the digital data for the allophones stored in the old
SP0256-AL2, I'm going to try to duplicate the chips functions (should be a
"no-brainer" with playsound [if I can get my samples into the EE]). That
would be a cool module and a hoot for hobbyist robotics and other apps.






(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )


Re: BX-24 PlaySound - Frank Manning - Oct 26 15:44:00 1999

> From:
>
> I am very keen to try the BX-24s PlaySound procedure. How is it that one
> loads a 1024-byte sample into the EE? Certainly you won't suggest that I
> chew up over a thousand lines of active code with PutEEPROM....

No, that won't be necessary. A quick'n'dirty way would be to append the
data on the end of the executable (BXB) file.

> Hint: This is where the Parallax EEPROM directive (similar to stardard
> BASIC's Data statement) is very useful. Okay, I know you're enamoured
with
> Visual Basic. Fine. But find a way -- compatible with VB6 -- that will
> allow us to modify the EE image before it's downloaded to the
BasicX/BX-24.
> To build EE data tables with active code is just plain wasteful.

Agreed. I don't think this will be much trouble.

-- Frank Manning




(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: BX-24 PlaySound - Author Unknown - Oct 26 16:10:00 1999


Super. So, what you're saying (I must have skipped this in the manual)
that the BXB file is the EE image? If so, one could write a utility to
append all sorts of data to the EE image and then know the location of this
data, correct?

Any additional information or details are appreciated. "Frank Manning" <> on 10/26/99 03:44:02 PM

Please respond to

To: <>
cc:

Subject: Re: [basicx-ListServer] BX-24 PlaySound From: "Frank Manning" <>

> From:
>
> I am very keen to try the BX-24s PlaySound procedure. How is it that one
> loads a 1024-byte sample into the EE? Certainly you won't suggest that I
> chew up over a thousand lines of active code with PutEEPROM....

No, that won't be necessary. A quick'n'dirty way would be to append the
data on the end of the executable (BXB) file.

> Hint: This is where the Parallax EEPROM directive (similar to stardard
> BASIC's Data statement) is very useful. Okay, I know you're enamoured
with
> Visual Basic. Fine. But find a way -- compatible with VB6 -- that will
> allow us to modify the EE image before it's downloaded to the
BasicX/BX-24.
> To build EE data tables with active code is just plain wasteful.

Agreed. I don't think this will be much trouble.

-- Frank Manning

--------------------------- ONElist Sponsor ----------------------------

Explore your interests at Zing.com!
Use your pictures as wallpaper, screensaver or while you surf the web.
Customize your desktop with thousands of free images - Extreme Sports,
Celebrities, Pets, Funny Pictures, Art and more... Install Now - Free!
<a href=" http://clickme.onelist.com/ad/zing20 ">Click Here</a




(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

RE: BX-24 PlaySound - Jack Sc hoof - Oct 26 22:46:00 1999

We are working on a VB program to "eat" comma delimited files and place
them in the EEprom. This way you can take spreadsheets and send the data
to BasicX without any programming. This program will also extract data and
make comma delimited files from the EEprom. So you data loggers out there
do not need any code in the BX24 to extract your data from the device. We
hope to have this program out within a month or so.

In the mean time, if you append a binary file to a basicx bxb file, then
the whole binary lot is downloaded into the EEprom byte for byte. If you
are handy with Visual Basic, you can read in the bxb file into an array,
add your stuff to it and then write out the combined bytes into a new bxb
file. Then just download that file into the BX24 instead of your original
program. This works like a champ!

The Allophone sampes sounds like a great use for the playsound function.
This is just the kind of thing that we would love to see happen with this
function.

Jack

-----Original Message-----
From: [SMTP:]
Sent: Tuesday, October 26, 1999 12:08 PM
To:
Subject: [basicx-ListServer] BX-24 PlaySound

From:

I am very keen to try the BX-24s PlaySound procedure. How is it that one
loads a 1024-byte sample into the EE? Certainly you won't suggest that I
chew up over a thousand lines of active code with PutEEPROM....

Hint: This is where the Parallax EEPROM directive (similar to stardard
BASIC's Data statement) is very useful. Okay, I know you're enamoured with
Visual Basic. Fine. But find a way -- compatible with VB6 -- that will
allow us to modify the EE image before it's downloaded to the BasicX/BX-24.
To build EE data tables with active code is just plain wasteful.

Thanks for considering.

-- Jon Williams
-- FLOWTRONEX
-- Dallas, TX

BTW...if I can find the digital data for the allophones stored in the old
SP0256-AL2, I'm going to try to duplicate the chips functions (should be a
"no-brainer" with playsound [if I can get my samples into the EE]). That
would be a cool module and a hoot for hobbyist robotics and other apps.





(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: BX-24 PlaySound - Frank Manning - Oct 27 15:51:00 1999

> From:
>> From: "Frank Manning" <>
>>
>> > From:
>> >
>> > I am very keen to try the BX-24s PlaySound procedure. How is it that
>> > one loads a 1024-byte sample into the EE? Certainly you won't
>> > suggest that I chew up over a thousand lines of active code with
>> > PutEEPROM....
>>
>> No, that won't be necessary. A quick'n'dirty way would be to append the
>> data on the end of the executable (BXB) file.
>>
>> [...]
>
> Super. So, what you're saying (I must have skipped this in the
> manual) that the BXB file is the EE image? If so, one could
> write a utility to append all sorts of data to the EE image and
> then know the location of this data, correct?

Right. Actually the combination BXB and PRF file in BasicX is roughly
the equivalent of an EXE file in DOS/Windows.

> Any additional information or details are appreciated.

An app note should appear in the near future.

-- Frank Manning




(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: BX-24 PlaySound - Author Unknown - Oct 27 16:07:00 1999

In a message dated 10/27/99 4:02:11 PM Central Daylight Time,
writes:

> Right. Actually the combination BXB and PRF file in BasicX is roughly
> the equivalent of an EXE file in DOS/Windows.

So, if I want to start experimenting, I can append my digital data to my BXB
-- creating a new BXB -- and download it to the BX. Right?

Is the first byte in the BXB placed at address 0 in the EEPROM? I ask
because I started working on a utility that will allow me to read in a BXB
and append one or more data files to it. The utility will let me *place* my
data anywhere in the EE map that is not occupied by the program (the voids
will be filled with zeros). Is there anything else I should know?

-- Jon Williams
-- Dallas, TX




(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

RE: BX-24 PlaySound - Jack Sc hoof - Oct 28 13:04:00 1999

The first byte of the BXB goes to address 0 of the EEprom. Programs begin
at address 0.
A value of 0 in the EEprom is a NOP to the BasicX.

Just remember that integers are low order byte first, as well as singles
and longs.

It is less stress to program a EEprom with &HFF's - because this is their
normal state. If you program a zero you will have a shorter life to the
bytes that you are not using. Since the programming cycles allowed is
100,000 before it fails, it is probably not necessary to worry about this,
just FYI.
-----Original Message-----
From: [SMTP:]
Sent: Wednesday, October 27, 1999 1:07 PM
To:
Subject: Re: [basicx-ListServer] BX-24 PlaySound

From:

In a message dated 10/27/99 4:02:11 PM Central Daylight Time,
writes:

> Right. Actually the combination BXB and PRF file in BasicX is roughly
> the equivalent of an EXE file in DOS/Windows.

So, if I want to start experimenting, I can append my digital data to my
BXB
-- creating a new BXB -- and download it to the BX. Right?

Is the first byte in the BXB placed at address 0 in the EEPROM? I ask
because I started working on a utility that will allow me to read in a BXB
and append one or more data files to it. The utility will let me *place*
my
data anywhere in the EE map that is not occupied by the program (the voids
will be filled with zeros). Is there anything else I should know?

-- Jon Williams
-- Dallas, TX





(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

RE: BX-24 PlaySound - Author Unknown - Oct 29 13:33:00 1999


Thanks, Jack. I'll pad the spaces between data chunks with &HFF.

-- Jon Williams Jack Sc hoof <> on 10/28/99 01:04:38 PM

Please respond to

To: "'" <>
cc:

Subject: RE: [basicx-ListServer] BX-24 PlaySound From: Jack Sc hoof <>

The first byte of the BXB goes to address 0 of the EEprom. Programs begin
at address 0.
A value of 0 in the EEprom is a NOP to the BasicX.

Just remember that integers are low order byte first, as well as singles
and longs.

It is less stress to program a EEprom with &HFF's - because this is their
normal state. If you program a zero you will have a shorter life to the
bytes that you are not using. Since the programming cycles allowed is
100,000 before it fails, it is probably not necessary to worry about this,
just FYI.
-----Original Message-----
From: [SMTP:]
Sent: Wednesday, October 27, 1999 1:07 PM
To:
Subject: Re: [basicx-ListServer] BX-24 PlaySound

From:

In a message dated 10/27/99 4:02:11 PM Central Daylight Time,
writes:

> Right. Actually the combination BXB and PRF file in BasicX is roughly
> the equivalent of an EXE file in DOS/Windows.

So, if I want to start experimenting, I can append my digital data to my
BXB
-- creating a new BXB -- and download it to the BX. Right?

Is the first byte in the BXB placed at address 0 in the EEPROM? I ask
because I started working on a utility that will allow me to read in a BXB
and append one or more data files to it. The utility will let me *place*
my
data anywhere in the EE map that is not occupied by the program (the voids
will be filled with zeros). Is there anything else I should know?

-- Jon Williams
-- Dallas, TX

--------------------------- ONElist Sponsor ----------------------------

Thinking about putting your business on the Web?
MindSpring Biz has helped over 100,000 businesses get their .com.
Join MindSpring Biz and save $50!
<a href=" http://clickme.onelist.com/ad/mindspring3 ">Click Here</a




(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: BX-24 PlaySound - Author Unknown - Nov 1 7:35:00 1999

In a message dated 11/1/99 3:44:03 AM Central Standard Time,
writes:

> In the mean time, if you append a binary file to a basicx bxb file, then
> the whole binary lot is downloaded into the EEprom byte for byte. If you
> are handy with Visual Basic, you can read in the bxb file into an array,
> add your stuff to it and then write out the combined bytes into a new bxb
> file. Then just download that file into the BX24 instead of your original
> program. This works like a champ!

This is what I'm doing. My utility works somewhat like a "project." It will
allow me to specify a BXB and one or more binary files. It will also allow
me to save the list (in case I want to make changes later) and align the
binary data in memory to my liking (hence the question about space filler).
When I'm done and satisfied that it's working, I'll make the program
available to anyone who wants it.

> The Allophone samples sounds like a great use for the playsound function.
> This is just the kind of thing that we would love to see happen with this
> function.

I thought I had seen a site where someone had extracted the digital data for
the allophones in an SP0256-AL2...and now I'm not able to find that site.
I'll keep looking though. My goal is to have a library function called
"Speak" that picks up a string of allophones from a queue. A talking
embedded processor without support chips would really be cool.

-- Jon Williams
-- Dallas, TX




(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: BX-24 PlaySound - Grant Baxter - Nov 1 8:44:00 1999

On Mon, 1 Nov 1999 07:35:12 EST, you wrote:

>From: >I thought I had seen a site where someone had extracted the digital data for
>the allophones in an SP0256-AL2...and now I'm not able to find that site.
>I'll keep looking though. My goal is to have a library function called
>"Speak" that picks up a string of allophones from a queue. A talking
>embedded processor without support chips would really be cool.
>
Jon - If this is all old data to you, I apologize, but here's what I
found using Copernic:

There evidently was a company named Iversoft that had a "Piclist"
forum or something. I found a message referenced from Piclist that was
titled "Allophones List":
http://www.iversoft.com/piclist/9605/0066.shtml

But the link gets a bad DNS lookup. However this message refers to the
allophone list and was written by Micheal Yano. Maybe you can find
him?

Another link I found was
http://support.tandy.com/support_supplies/17518.htm

This has a bunch of tables wrt the chip, but I don't know if what
you're looking for is there or not.

Another name I saw in the listings from the iversoft site regarding
the allophones was Myke Predko, maybe you could get in touch with him?

Don't know if any of this helps or not, but I gave it a shot!

grant





(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: BX-24 PlaySound - Author Unknown - Nov 1 10:00:00 1999


Thanks for the "heads up," Grant. I'll investigate.

-- Jon Williams
-- Dallas, TX Grant Baxter <> on 11/01/99 07:44:56 AM

Please respond to

To:
cc:

Subject: Re: [basicx-ListServer] BX-24 PlaySound From: Grant Baxter <>

On Mon, 1 Nov 1999 07:35:12 EST, you wrote:

>From: >I thought I had seen a site where someone had extracted the digital data
for
>the allophones in an SP0256-AL2...and now I'm not able to find that site.
>I'll keep looking though. My goal is to have a library function called
>"Speak" that picks up a string of allophones from a queue. A talking
>embedded processor without support chips would really be cool.
>
Jon - If this is all old data to you, I apologize, but here's what I
found using Copernic:

There evidently was a company named Iversoft that had a "Piclist"
forum or something. I found a message referenced from Piclist that was
titled "Allophones List":
http://www.iversoft.com/piclist/9605/0066.shtml

But the link gets a bad DNS lookup. However this message refers to the
allophone list and was written by Micheal Yano. Maybe you can find
him?

Another link I found was
http://support.tandy.com/support_supplies/17518.htm

This has a bunch of tables wrt the chip, but I don't know if what
you're looking for is there or not.

Another name I saw in the listings from the iversoft site regarding
the allophones was Myke Predko, maybe you could get in touch with him?

Don't know if any of this helps or not, but I gave it a shot!

grant

--------------------------- ONElist Sponsor ----------------------------

Independent contractors: Find your next project gig through JobSwarm!
You can even make $$$ by referring friends.
<a href=" http://clickme.onelist.com/ad/jobswarm2 ">Click Here</a




(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )