Q:

CSS Vertical Align Image Right

I am trying to align an image to the right of a div, the div is not set as a specific height and neither is the image, the image is user generated.
Anyway, I tried using the old HTML4 method for aligning an image to the right of a div:

And after some reading I found out that it wasn't supported in HTML5, so I then read on and found out that there is a CSS style called vertical align, I tried adding that to my image like so:

But that didn't manage to work.
I simply want the image to move to the right of the div.

A:

Another Solution beside of float:

CSS:
#ParentImg {
text-align: right;
}

or:


[Cite as State v. Savage, 2012-Ohio-2276.]

                             IN THE COURT OF APPEALS OF OHIO
                                FOURTH APPELLATE DISTRICT
                                      MEIGS COUNTY

STATE OF OHIO,                                    :
                                                  :
             Plaintiff-Appellee.                  :         Case No: 11CA7
                                                  :
             v.                                   :
                                                  :         DECISION AND
JUSTIN SAVAGE,                                    :         JUDGMENT ENTRY
                                                  :
             Defendant-Appellant.                 :         Filed: May 18, 2012

                                             APPEARANCES:

Timothy Young, State Public Defender, and Melissa M. Prendergast, Assistant State
Public Defender, Columbus, Ohio, for Appellant.

Colleen S. Williams, Meigs County Prosecutor, and Amanda Bizub-Franzmann, Meigs
County Assistant Prosecutor, Pomeroy, Ohio, for Appellee.

Kline, J.:

        {¶1} Justin Savage (hereinafter “Savage”) appeals the judgment of the Meigs

County Court of Common Pleas, which convicted Savage of theft and ordered him to

pay $25,000 in restitution. On appeal, Savage raises various arguments about the

restitution order and his trial counsel. But we will not address the various arguments

raised by Savage. Instead, for the following reasons, we find that no final appealable

order exists. First, the trial court’s sentencing entry contemplates that further action

must be taken. And second, we cannot create jurisdiction by combining the trial court’s

multiple entries. Accordingly, we dismiss Savage’s appeal for lack of jurisdiction.

                                                  I.
Meigs App. No. 11CA7                                                                2

       {¶2} As part of a plea agreement, Savage pled guilty to fifth-degree-felony theft.

The trial court sentenced Savage to five years of community control and ordered him “to

pay, jointly and severally with any co-defendants, including any juvenile co-defendants,

to the Clerk of Courts the sum of twenty-five thousand dollars ($25,000.00) as and for

restitution to the victim[.]” July 21, 2010 SENTENCING ENTRY at 2. In addition to the

standard terms of community control, the trial court imposed several special conditions.

For example, the trial court ordered Savage “to enter into and successfully complete the

SEPTA program at the SEPTA Correctional Facility in Nelsonville.” Id.

       {¶3} Savage appeals and asserts the following three assignments of error: I. “A

contract may not be enforced if the consideration given for it is illegal. Mr. Savage’s

plea agreement was induced upon illegal consideration and as such, is unenforceable

and invalid.” II. “Mr. Savage was ordered to pay restitution to the victim in an amount

that exceeded both the actual economic loss suffered by the victim and the limit of

restitution that could be imposed for a fifth-degree felony theft offense. The court’s

order imposing restitution was erroneous because the amount arrived at was not based

upon credible evidence that established the value of the victim’s actual economic loss to

a reasonable degree of certainty.” And, III. “Mr. Savage’s trial counsel rendered

constitutionally ineffective assistance when counsel advised Mr. Savage to accept the

State’s plea offer, which required him to agree to be sentenced to more than what was

statutorily allowed for a fifth-degree felony theft offense, and when counsel knew that

Mr. Savage was indigent but did not object to the imposition of court costs.”

                                            II.
Meigs App. No. 11CA7                                                                3

       {¶4} Before we may consider the merits of Savage’s appeal, we must determine

whether a final appealable order exists. “A court of appeals has no jurisdiction over

orders that are not final and appealable.” State v. Baker, 119 Ohio St.3d 197, 2008-

Ohio-3330, 893 N.E.2d 163, ¶ 6, citing Ohio Constitution, Article IV, Section 3(B)(2); see

also R.C. 2505.02. “If a court’s order is not final and appealable, we have no jurisdiction

to review the matter and must dismiss the appeal.” State v. Darget, 4th Dist. No.

09CA3306, 2010-Ohio-3541, ¶ 4, citing Eddie v. Saunders, 4th Dist. No. 07CA7, 2008-

Ohio-4755, ¶ 11. “If the parties do not raise the jurisdictional issue, we must raise it sua

sponte.” Darget at ¶ 4, citing Sexton v. Conley, 4th Dist. No. 99CA2655, 2000 WL

1137463, *2 (Aug. 7, 2000); Whitaker-Merrell v. Geupel Constr. Co., 29 Ohio St.2d 184,

186, 280 N.E.2d 922 (1972).

       {¶5} “‘A judgment that leaves issues unresolved and contemplates that further

action must be taken is not a final appealable order.’” State v. Threatt, 108 Ohio St.3d

277, 2006-Ohio-905, 843 N.E.2d 164, ¶ 20, quoting Bell v. Horton, 142 Ohio App.3d

694, 696, 756 N.E.2d 1241 (4th Dist.2001). And here, the July 21, 2010 SENTENCING

ENTRY states the following: “It is further ORDERED that execution of the Order of

commitment to the SEPTA Correctional Facility in Nelsonville is stayed until August 23,

2010 to permit the Defendant to obtain full-time employment. This sentencing hearing

shall be in recess until August 16, 2010 at 11:15 AM at which time the Court will review

the Defendant’s employment status to determine if the Defendant should be confined at

the SEPTA Correctional Facility in Nelsonville.” Therefore, the July 21, 2010

SENTENCING ENTRY clearly contemplates that further action must be taken on the

issue of Savage’s SEPTA commitment.
Meigs App. No. 11CA7                                                                4

       {¶6} The trial court’s September 9, 2010 ENTRY STAYING SEPTA

COMMITMENT addresses the issue left unresolved by the July 21, 2010 SENTENCING

ENTRY. In the September 9, 2010 entry, the trial court stated the following: “Upon[]

due consideration, the Court finds that the Defendant has obtained employment, and

therefore the commitment to SEPTA Correctional Facility is stayed until further Order of

this Court. All other terms and conditions of community control, as contained in the

Sentencing Entry remain as Ordered.” We cannot, however, create a final appealable

order by combining the July 21, 2010 entry and the September 9, 2010 entry. For

crimes that are not capital offenses, the Supreme Court of Ohio has held that “[o]nly one

document can constitute a final appealable order.” Baker at ¶ 17. See generally State

v. Ketterer, 126 Ohio St.3d 448, 2010-Ohio-3831, 935 N.E.2d 9, ¶ 17-18 (distinguishing

Baker and finding that “in aggravated-murder cases subject to R.C. 2929.03(F), the

final, appealable order consists of the combination of the judgment entry and the

sentencing opinion”). Therefore, we cannot combine the trial court’s multiple entries in

an effort to create jurisdiction.

       {¶7} In conclusion, we find that no final appealable order exists in the present

case. As a result, we must dismiss Savage’s appeal for lack of jurisdiction.

                                                                   APPEAL DISMISSED.
Meigs App. No. 11CA7                                                               5

                                  JUDGMENT ENTRY

       It is ordered that the APPEAL BE DISMISSED. Appellant shall pay the costs
herein taxed.

       The Court finds that there were reasonable grounds for this appeal.

      It is ordered that a special mandate issue out of this Court directing the
Meigs County Common Pleas Court to carry this judgment into execution.

       A certified copy of this entry shall constitute the mandate pursuant to Rule
27 of the Rules of Appellate Procedure. Exceptions.

McFarland, J.: Concurs in Judgment and Opinion.
Harsha, J.:    Dissents.

                                  For the Court

                                  BY:_____________________________
                                     Roger L. Kline, Judge

                                 NOTICE TO COUNSEL

       Pursuant to Local Rule No. 14, this document constitutes a final judgment
entry and the time period for further appeal commences from the date of filing
with the clerk.


ISTANBUL—Turkey's ruling party, facing the threat of fresh antigovernment demonstrations, is boosting its presence in a sphere long dominated by the opposition: social media.

The Justice and Development Party, led by Prime Minister Recep Tayyip Erdogan, is recruiting a 6,000-member social-media team to woo citizens and fight critics, party officials said.

The AKP is gradually bringing young, tech-savvy party members to Ankara to train them in classrooms to act as volunteer "social-media representatives."

The youth will be charged with sharing news and images, mainly on Twitter and Facebook, but also on Instagram and YouTube, that promote the party perspective and monitor online discussions, a party official said.

"We aim at developing a positive political language which we are teaching to our volunteers," said a senior party official responsible for organizing the campaign. "And when the opposing camp spreads disinformation about the party, we correct them with valid information, always using positive language."


Nickel Plated Steel Brake Disc

RAPCO offers FAA-PMA approved direct replacement brake discs for Cleveland and McCauley brake assemblies. They are designed and tested to meet or exceed OEM performance and provide outstanding service life. RAPCO brake discs are forged from carbon steel billet which tightly alignes the grain structure and adds greater strength. In addition the discs are heat treated for a long service life. This is not only important for the discs, but it also helps to maximize brake lining life as well. The hardened forgings are precision machined and then plated with electroless nickel for corrosion resistance. In a final machining process, the wear surfaces of the disc receive an additional turning to assure they are true. This reduces vibration and allows the disc to rapidly transfer heat away from the lining material, resulting in improved stopping and longer service life. Then each disc is laser etched for proper permanent identification. RAPCO brake discs offer premium features at a competitive price.

FAA-PMA Approved

Forged Carbon Steel for Strength

Heat Treated for Extended Life

Precision Machined

Nickel Plated for Corrosion Resistance

The best service and prices, with the largest inventory & fastest shipping. Serving aircaft owners, pilots & RC modellers for 30 years.


Though its minority wing is nothing much to talk about, the Bharatiya Janata Party (BJP) never fails to make a vain attempt to reach out to Muslims who are wary of saffron plans.

On the day the BJP lost Karnataka to the Congress rather badly, the party’s minority wing in Uttar
Pradesh held a meeting to appeal to Muslims to rely on the BJP and not fall into the trap of the Congress, Samajwadi Party and the Bahujan Samaj Party.

Rumana Siddiqui, the state chief of the BJP minority wing, claimed the party was all set to reach out to the community in a big way in the state.

Expectedly, the party invoked the name of its tallest leader Atal Bihari Vajpayee to remind the community how several initiatives were undertaken for the welfare of Muslims during the NDA government.

”During our regime, care was taken to ensure that the Muslim pride wasn’t injured and the community’s genuine demands were met promptly,” said party vice president Haridwar Dubey, who was the chief guest at the minority cell meet.

Would these make any real difference in the way the minorities perceive the BJP?

“Very unlikely. The BJP is talking of projecting its hardline leaders ahead of the Lok Sabha elections. Even otherwise, what the party says or does won’t make any difference in the way we see the BJP. Barring stray cases, Muslims would rather prefer not to vote than go with a party which is ideologically opposed to them,” says Etmad Khan, a bank official.

The party is also in the process of appointing its office bearers i n the districts. The district chiefs of Bijnor, Sambhal, Moradabad, Mau and Hapur have been appointed.


Overview of outcomes of laparoscopic and open Roux-en-Y gastric bypass in the United States.
Roux-en-Y Gastric Bypass is the gold standard procedure for weight loss surgery and is the most commonly performed bariatric operation in the United States. Laparoscopic gastric bypass (LGBP) has become the predominantly used technique for weight loss surgery since 2004. The aim of this study was to compare surgical outcomes of LGBP versus open gastric bypass (OGBP) for the treatment of morbid obesity. Using the Nationwide Inpatient Sample database, clinical data of morbidly obese patients who underwent LGBP or OGBP from 2006 to 2008 were analyzed. Outcome measures included patient characteristics, comorbidities, postoperative complications, length of hospital stay (LOS), hospital charges, and in-hospital mortality. A total of 226,043 morbidly obese patients underwent gastric bypass during the three-year period (LGBP: 183,452 [81.16%], OGBP: 42,591[18.84%]). The majority of patients in both groups were female (LGBP: 81.0% vs. OGBP: 78.5%, p < 0.01) and Caucasian (LGBP: 73.9% vs. OGBP: 72.6%, p < 0.01). Most comorbidities were significantly higher in the OGBP group. All specific postoperative complications were significantly higher in the OGBP group (urinary tract infection [UTI], pneumonia, acute renal failure, respiratory failure, myocardial infarction, venous thromboembolism, ileus, gastrointestinal leak, wound infection, and bowel obstruction). LGBP was associated with lower overall postoperative complications (3.5% vs. 10.8%; p < 0.01), shorter LOS (2.4 days vs. 4.2 days; p < 0.01), lower mortality (0.06 vs. 0.52; p < 0.01), and lower hospital costs ($39,570 vs. $45,629; p < 0.01) compared with the OGBP. LGBP was associated with shorter LOS, lower morbidity, lower mortality, and lower hospital costs compared with those of OGBP. The laparoscopic approach to gastric bypass should be considered the gold standard approach for the treatment of morbid obesity.


I don’t really have any information on this one, other than the Historic District Commission reviewed it at their meeting on March 25th .

You may remember 210 West Exchange from late 2014 when the City Council spot zoned the parcel. When the City last rezoned the Downtown ahead of development in the 195 District, this parcel, west of the highway was included in the D-1-200 Downtown zone. A clear example of spot zoning that the City Council quickly walked back on. As a result, the 17 story proposed Aloft Hotel was never built on this site.

Back in 2014 I liked the idea of height at this location, but wasn’t crazy about the spot zoning. I actually think Downtown zoning should extend west across the highway a bit (thoughtfully to the surrounding build environment). One of the comments on the proposal at the Old Fruit and Produce Warehouse site was that us should be taller, since it is against an elevated highway ramp. I agree, height along the highway mitigates some of the negative of developing space along it.

As it is now, the new part of this building will sit just above the ramp from Route 6 to Route 95.

A better thing about this proposal over the 2014 one, it appears the warehouse building remains and gets an addition growing out of it, the 2014 proposal would have entirely demolished the warehouse building.

If/when, this gets HDC approval, it would then go before the City Plan Commission.


Spring Feeder calf schedule

NC Cattlemen's FOundation Scholarship

The North Carolina Cattlemen’s Foundation Scholarship seeks to
recognize and provide financial assistance to students with an interest
in agriculture; a background, interest in or career plans with the
cattle industry will receive additional consideration in review of
applications.


WE ARE CTA

325,000 MEMBERS STRONG

October 2013

David Kirp: Improbable Scholars

Matthew Hardy

David Kirp at UESF Assembly

Over the past several years, UC Berkeley professor and author David Kirp observed firsthand how the people of Union City, N.J., a low-income community with mostly English learner students, turned their school district around. What’s so astounding about this turnaround? It isn’t based on the latest research or policy debated in Washington, D.C., or in state capitals across the country, but on wisdom that most classroom teachers and staff already know.

Kirp shared his findings and his new book, Improbable Scholars: The Rebirth of a Great American School System and a Strategy for America's Schools, with teachers and paraprofessionals of the United Educators of San Francisco (UESF) Assembly last spring. Here are some of his conclusions.

1. The best teaching in the world is great preschool teaching. A community school is a great preschool that is age-appropriate.
2. Evaluation of teachers should contain a focus on grade level achievement, fostering cooperation and mentoring among staff.
3. Professional development works best when it brings mentors and master teachers into the classroom, rather than pulling teachers off-site in a conference style setting.
4. Data can be a valuable tool, if used correctly, to pinpoint the help students need and to discover where teachers need assistance. Instead of focusing on punishment, assessments should be used to boost performance.
5. Stability matters. Low turnover of administrators, principals and teachers makes it possible to build a culture of trust. Stable teaching is the result of people in a school district developing strong relationships.
6. Supporting community and families is essential. Liaisons in schools who know the parents and can offer access to support services to families make it much more likely that parents will get involved.
7. School districts with large low-income and English learner student populations should focus on three main goals: a strong bilingual education program, a focus on literacy and preschool, and a broad and robust curriculum.
8. Though there are local differences, there is consistency among school districts that outperform expectations. All of them have carefully built pillars of support based on a sense of trust between administrators, teachers, staff and parents.

UESF members agree. President Dennis Kelly says, “Kirp’s research validates what we as professionals have known all along.” He adds that it may be a great gift for local administrators. Says elementary teacher Cathy Sullivan, “His push for a developmentally appropriate and word-rich curriculum for elementary school students is exactly on target.”


The ability to detect and respond to harmful conditions in the environment is a skill essential for survival. As a result, many organisms have specialized systems for accurately detecting variables such as temperature or the presence of noxious chemicals. TRPA1, an ion channel in pain-sensing neurons, is involved in those processes. TRPA1 is activated by a wide range of electrophiles as well as by temperature. TRPA1 is a particularly interesting target for study due to its associations with pain and inflammation. The importance of the N-terminal cytoplasmic region of TRPA1 for temperature and chemical sensing is well established, but relatively little is known about the molecular mechanisms. This project focuses on the temperature-sensing mechanism of insect TRPA1. In insects, two TRPA1 isoforms differ only at a small region at the extreme N-termini, but the channels have very different temperature sensitivities12-13. The overall goal for this project is t understand how the N-termini of those insect TRPA1 isoforms interact with the ankyrin repeat domain to modulate temperature sensitivity. By combining biochemical, biophysical, and structural analyses of TRPA1 N-terminal fragments, I aim to elucidate the molecular mechanism of temperature sensing. The first aim of the project is investigate potential interactions between the isoform specific-regions of insect TRPA1 and the ankyrin repeat domain. This requires pure, soluble fragments of the N-terminal region of TRPA1, so l will put forth a large effort to produce the fragments necessary to search for interactions. Isothermal calorimetry and mutagenesis will be used to measure binding properties and identify regions important for interaction. In addition, pairs of corresponding fragments from the different insect TRPA1 isoforms will be produced for comparison in aim 2. The second aim is to identify biophysical and biochemical differences of the fragments that are responsible for the different temperature sensitivities of insect TRPA1 isoforms. Circular dichroism and limited proteolysis will be used to compare the secondary structure composition and thermal stability of construct pairs. The third and final aim is to solve the structures of TRPA1 N-terminal fragments through X-ray crystallography. By combining the information gained from aims 2 and 3, we aim to determine the role of the N-termini in the molecular mechanism of temperature sensing. Structures of the N-terminal domains of TRPA1 will provide a useful framework for further investigation of TRPA1 temperature sensing through biochemistry and electrophysiology experiments. Structural information will also be useful for rational drug design. TRPA1 antagonists may have analgesic and anti-inflammatory effects. These types of compounds may therefore be useful for treating neuropathic pain or chronic inflammation disorders.


In addition to the traced cutter ball, Halladay’s display includes, among other artifacts, a Phillies cap he wore when he threw a perfect game in May 2010 and his two Cy Young Awards from 2003 and 2010.

Highlights from Baines’ display include the ball he hit for his 1,000th RBI in 1992 and the Outstanding Designated Hitter Award he was given in 1987.

Martinez’s display features the Roberto Clemente Award he earned in 2004 and a jersey from his final game in the major leagues, among other artifacts.

Some of the artifact highlights commemorating Mussina include a New York Yankees cap from his final game and his Gold Glove Award from 1996.

Rivera’s display features a pair of shoes from the Yankees’ sweep of the Braves in the 1999 World Series as well as his five World Series rings from 1996, 1998, 1999, 2000 and 2009.

Smith’s display includes a glove from 1991, when he led the major leagues with a career-high 47 saves for the Cardinals, among other artifacts.

The exhibit includes artifacts from throughout each inductee’s life, chronicling not just their major league careers but their amateur and minor league careers as well.

“We love having things that go back to Little League if they’ve got it, or high school or college,” Strohl said. “That’s important in terms of the development of these guys, so I think that’s pretty neat.”

The exhibit will be on display until spring 2020, and also features a highlight video that tells the story of the six newest Hall of Famers. Admission to the exhibit is included with regular Museum admission.

“It is one year where they’re going to be the star attractions in terms of individual Hall of Famers’ stories,” Strohl said.

Janey Murray is the 2019 public relations intern in the Hall of Fame’s Frank and Peggy Steele Internship Program for Youth Leadership Development


Global warming activist and former veep Al Gore likened the battle over climate change to humanity's greatest struggles -- like the fights against slavery, apartheid and nuclear proliferation -- during a speech Thursday in Australia, according to a newly reported transcript.

In a July 13 speech to the EcoCity World Summit in Melbourne, the former vice president argued combating global warming was “in the tradition of all the great moral causes that have improved the circumstances of humanity throughout our history,” according to the website Climate Depot.

“The abolition of slavery, woman’s suffrage and women’s rights, the civil rights movement and the anti-apartheid movement in South Africa, the movement to stop the toxic phase of nuclear arms race and more recently the gay rights movement,” Gore said.

Marc Morano, executive editor for ClimateDepot.com, told Fox News he made an audio recording of Gore’s remarks because summit organizers prevented media from videotaping the event.

Morano, a former communications aide to climate change skeptic Sen. James Inhofe, R-Okla., also confirmed reports that security staff physically prevented people from taking photos with their cell phones.

It is not the first time Gore has drawn the parallel between global warming and civil rights.

“The climate movement should be seen in the context of the great moral causes that have transformed and improved the outlook for humanity,” Gore said at an green energy awards ceremony in June.

“It was wrong to allow slavery to continue, it was wrong to deny women the right to vote, it was wrong to discriminate on the basis of skin color or who you fell in love with,” he continued.

In a 2013 interview with The Washington Post, Gore likened climate change “deniers” to alcoholic fathers who fly off the handle when the issue is mentioned.

“The conversation on global warming has been stalled because a shrinking group of denialists fly into a rage when it’s mentioned. It’s like a family with an alcoholic father who flies into a rage every time a subject is mentioned and so everybody avoids the elephant in the room to keep the peace,” he explained.

Gore has been in Australia as part of a tour promoting the upcoming release of "An Inconvenient Sequel," the follow-up to the 2006 documentary on global warming.


A pickup processing system for a guitar or other musical instrument. According to one embodiment, a split pickup is employed that separates the sound from the two bass strings from the other four strings. The signal from the bass strings may be provided to an octave divider, which creates a bass sound...http://www.google.com/patents/US8143509?utm_source=gb-gplus-sharePatent US8143509 - System and method for guitar signal processing

A pickup processing system for a guitar or other musical instrument. According to one embodiment, a split pickup is employed that separates the sound from the two bass strings from the other four strings. The signal from the bass strings may be provided to an octave divider, which creates a bass sound to add back into the sound. The octave divider produces sound without discontinuities or other artifacts. Other effects include restored acoustical properties of the guitar body, stereo imaging, reverb and others. The present invention may be fully contained within the body of an acoustic guitar.

Images(7)

Claims(18)

1. A sound processor for a stringed instrument comprising:

a transducer component, configured to be positioned proximate to a defined set of one or more adjacent strings of the stringed instrument, wherein the defined set of one or more adjacent strings is less than a total number of strings on the stringed instrument, the transducer component configured to produce a first transducer signal responsive to vibrations from the defined set of one or more strings and

an octave divider component, configured to receive the first transducer signal, the octave divider component configured to produce a bass signal that is at least one octave below a frequency of the first transducer signal; the octave divider component utilizing a circular buffer wherein values representing the first transducer signal are written to the circular buffer at a predetermined rate, and the values are read out of the circular buffer at one-half the predetermined rate;

wherein the circular buffer includes two output pointers indicating positions in the circular buffer to read out values, and wherein the octave divider component periodically switches between the two output pointers to read values out of the circular buffer.

2. The sound processor of claim 1, further including a combiner component, configured to combine the first transducer signal and the bass signal.

3. The sound processor of claim 1, wherein when the octave divider component switches from a first one of the output pointers to a second one of the output pointers, and the second output pointer is adjusted to be at a location in the circular buffer that substantially matches a phase of the transducer signal pointed to by the first output pointer.

4. The sound processor of claim 3, wherein after the location of the second output pointer is adjusted, the first output point is then adjusted to be at a location in the circular buffer that is half the length of the circular buffer away from the second output pointer.

5. The sound processor of claim 1, further including:

a second transducer, configured to be positioned proximate adjacent strings of the stringed instrument that are not part of the defined set of one or more adjacent strings, the second transducer configured to produce a second transducer signal responsive to vibrations from the proximate adjacent strings.

6. The sound processor of claim 5, wherein the first transducer signal, the second transducer signal, and the bass signal are combined.

7. The sound processor of claim 5, wherein the first transducer signal and the second transducer signal are combined, and the combined signal is digitally processed by performing a convolution utilizing coefficients derived from an impulse response from an acoustic guitar.

8. The sound processor of claim 5 wherein the first transducer and the second transducer are under saddle transducer (UST) piezo elements.

9. The sound processor of claim 1 wherein the sound processor is installed in a guitar.

10. A method for producing an audio signal, comprising:

receiving a first audio signal from a transducer positioned on a stringed instrument, the transducer positioned to sense vibrations from a defined set of at least two lower-pitched strings of the stringed instrument, wherein the defined set is less than a total number of strings on the stringed instrument;

digitizing the first audio signal;

inserting values for digitized first audio signal into a circular buffer utilizing an input pointer that indicates a position in the circular buffer to insert a subsequent value of the digitized first audio signal input signal, the input pointer advancing at a predetermined insertion rate;

utilizing two output pointers positioned a predetermined distance apart from each other, the two output pointers advancing at a rate that is lower than the predetermined insertion rate;

selecting one of the two output pointers, and reading the inserted values for the digitized first audio signal from the circular buffer at the selected output pointer to produce a bass audio signal;

when the input pointer advances to within a predetermined distance of the selected output pointer, adjusting a position of the nonselected output pointer to a location in the circular buffer that substantially matches a phase of the first audio signal as indicated by the selected output pointer; and

selecting the unselected output pointer for reading the inserted values from the circular buffer.

11. The method of claim 10, wherein adjusting a position of the nonselected output pointer includes:

determining an offset amount from the selected output pointer back to a prior position containing a first peak signal value stored in the circular buffer;

determining a new position for the nonselected output pointer, the new position being from a present position of the nonselected output pointer back to a prior position containing a second peak signal value stored in the circular buffer, plus the offset amount; and

moving the nonselected output pointer to the new position, and moving the selected output pointer to a position that is the predetermined distance apart from the nonselected output pointer.

12. The method of claim 10 further including:

after digitizing the first audio signal, low pass filtering the digitized first audio signal.

13. The method of claim 12 wherein digitally processing the combined signal includes performing a convolution utilizing coefficients derived from an impulse response from an acoustic guitar.

14. The method of claim 10 including:

combining the first audio signal and the second audio signal to produce a combined audio signal;

producing an audio reverb signal from the combined audio signal; and

combining the audio reverb signal and the combined audio signal.

15. The method of claim 10 further including:

receiving a second audio signal from a second transducer positioned on the stringed instrument to sense vibrations from strings not part of the defined set of lower-pitched strings; and

combining the first audio signal, the second audio signal, and the bass audio signal.

16. A guitar, comprising:

a transducer component, configured to be positioned proximate to a defined set of one or more adjacent strings of the guitar, wherein the defined set of one or more adjacent strings is less than a total number of strings on the guitar, the transducer component configured to produce a first transducer signal responsive to vibrations from the defined set of one or more strings and

an octave divider component, configured to receive the first transducer signal, the octave divider component configured to produce a bass signal that is at least one octave below a frequency of the first transducer signal; the octave divider component utilizing a circular buffer wherein values representing the first transducer signal are written to the circular buffer at a predetermined rate, and the values are read out of the circular buffer at one-half the predetermined rate to produce the bass signal;

wherein the circular buffer includes two output pointers indicating positions in the circular buffer to read out values, and wherein the octave divider component periodically switches between the two output pointers to read values out of the circular buffer.

17. The guitar of claim 16, wherein when the octave divider component switches from a first one of the output pointers to a second one of the output pointers, and the second output pointer is adjusted to be at a location in the circular buffer that substantially matches a phase of the transducer signal pointed to by the first output pointer.

18. The guitar of claim 17, wherein after the location of the second output pointer is adjusted, the first output point is then adjusted to be at a location in the circular buffer that is half the length of the circular buffer away from the second output pointer.

Description

This application claims priority to provisional U.S. Application Ser. No. 61/021,494 filed on Jan. 16, 2008, which is incorporated herein by reference.

FIELD OF THE INVENTION

The invention relates generally to signal processing. More specifically, the invention provides a system and method for processing sound for a guitar or similar instrument.

BACKGROUND OF THE INVENTION

Many types of pickups are available for guitars, ranging from coil pickups for metal strings, microphones, and piezo element pickups. Acoustic guitars typically employ a single piezo element installed under the saddle (UST—under saddle transducer). The monophonic signal from this piezo transducer, comprising the summed signals of all 6 strings, is usually run to an on-board (in the guitar) single-channel analog preamp that typically provides a 3-band EQ prior to sending the signal out of the guitar to be plugged into either an acoustic guitar amp or PA system.

While such a system is inexpensive to implement and minimizes the amplified guitar's tendency to produce feedback at high volumes, the resulting sound is generally considered poor due to the response characteristics of the transducer. In particular, because of the direct coupling of the strings to the piezo element through the saddle, the acoustical effects of the guitar body are all but lost. The sound is generally characterized as thin, brittle and “quacky”, and does not compare favorably with the natural sound of a full body acoustic guitar.

Further, guitar players often want to add bass to their sound. One way for a solo performer to do this is to use bass pedals, which greatly complicate the playing. Other methods include devices that will generate bass accompaniment. These can generally be classified into two categories.

The first category are stand-alone octave pedals that accept a mono input from a guitar, and produce a bass (octave shifted) sound from the input. These devices are only musically useful when the performer plays one string at a time. Playing a chord produces an octave double of all the notes and the result is not desirable. They are generally not used with acoustic guitars.

The other category is octave divider algorithms that are integrated into guitar synthesizer systems. These systems can perform per-note octave shifting, but require hex (6-part) pickup systems, specialized connectors and are expensive because of all their other capabilities. Such systems are beyond the budget and requirements of many performers.

BRIEF SUMMARY OF THE INVENTION

The following presents a simplified summary of the invention in order to provide a basic understanding of some aspects of the invention. This summary is not an extensive overview of the invention. It is not intended to identify key or critical elements of the invention or to delineate the scope of the invention. The following summary merely presents some concepts of the invention in a simplified form as a prelude to the more detailed description provided below.

Embodiments of the present invention can restore the character of the natural acoustic sound to the amplified signal coming from a guitar, and to enhance it in other novel ways that make the experience of playing the guitar through an amplification system more enjoyable to both the player as well as to the listener, and can achieve this in a way that doesn't prohibitively impact the methods or cost for manufacturing.

Embodiments of the present invention may include separate features that together produce a more pleasing amplified acoustic sound. One such feature may include enhanced bass using a novel combination of pickup and signal processing. Other features include restoration of the acoustical properties of the guitar body to the resulting sound, and also stereo imaging. Other features may be added, including reverb (mono or stereo) and EQ.

In some embodiments, instead of using a single guitar pickup, two or more smaller pickups are utilized. Each pickup detects signals from only certain strings, and the signals from each pickup may be processed separately. A signal from a pickup for lower pitch strings may be enhanced for bass sounds, including adding in a bass signal as an accompaniment. The different signals may also undergo different processing, and then be combined or provided as stereo output.

In some embodiments, two separate piezo UST (under saddle transducer) pickups are utilized. Both may be located under the saddle of a guitar, one under the bottom (lowest pitch) 2 strings and the other under the top (highest pitch) 4 strings. The respective signals may then be enhanced with a 2-channel preamp (one channel for each transducer) and then digitally processed.

For an embodiment that utilizes bass enhancement, a signal processor receives the pre-amplified signals from the bottom 2 strings (bass) and the top 4 strings (treble) of the guitar separately. The bass signal is then used as input to an octave divider effect. This effect may utilize an algorithm developed specifically for this application, and outputs a version of the input signal that is exactly one octave lower.

An advantage of this embodiment is that a player can, for the most part, simply play the guitar in a normal fashion and the resulting bass that supplements the output will sound musically correct.

For an embodiment that utilizes an acoustical enhancement effect, the output of one or both piezo pickup elements is summed and then processed by a signal processing effect algorithm. This algorithm restores some of the acoustical response of the body of the guitar to the output, and produces a version of the mixed 6-string signal that is more pleasing and natural than the equivalent EQ'd version of the piezo transducer alone.

For an embodiment that utilizes stereo imaging, because the two piezo transducer elements are picking up different strings of the guitar, a stereo image may be created by mixing levels such that, for example, there is more bass on the left and more treble on the right. Also, strumming the guitar produces a slight delay between the onset of the low 2 strings and the upper 4 strings. When this stereo signal is added to the output, a subtle 3-dimensional presence is created which enhances the feeling that the guitar is being played in physical space.

Other processing elements may be utilized by embodiments. These include, but are not limited to, Reverb, Chorus, Delay, Compression and EQ. All of these elements can potentially benefit from having separate input from the bass and treble strings of the guitar.

The end result produces an amplified sound that is unique, more pleasing, and more fun to play, than can otherwise be achieved with a standard UST system, or other type of pickup.

Embodiments include a sound processor for a stringed instrument comprising a transducer component, configured to be positioned proximate to a defined set of one or more adjacent strings of the stringed instrument, wherein the defined set of one or more adjacent strings is less than a total number of strings on the stringed instrument, the transducer component configured to produce a first transducer signal responsive to vibrations from the defined set of one or more strings. It may also include an octave divider component, configured to receive the first transducer signal, the octave divider component configured to produce a bass signal that is at least one octave below a frequency of the first transducer signal. It may also include a combiner component, configured to combine the first transducer signal and the bass signal.

Some embodiments may include where the first transducer signal is digitized, and the octave divider component utilizes a circular buffer wherein values representing the transducer signal are written to the circular buffer at a predetermined rate, and the values are read out of the circular buffer at one-half the predetermined rate. The circular buffer may include two output pointers indicating positions the circular buffer to read out values, and wherein the octave divider component periodically switches between the two output pointers to read values out of the circular buffer. The octave divider component may switch from a first one of the output pointers to a second one of the output pointers, the second output pointer is adjusted to be at a location in the circular buffer that is substantially matches a phase of the transducer signal pointed to by the first output pointer. After the location of the second output pointer is adjusted, the first output point is then adjusted to be at a location in the circular buffer that is half the length of the circular buffer away from the second output pointer.

A sound processor may include a second transducer, configured to be positioned proximate adjacent strings of the stringed instrument that are not part of the defined set of one or more adjacent strings, the second transducer configured to produce a second transducer signal responsive to vibrations from the proximate adjacent strings. The first transducer signal, the second transducer signal, and the bass signal may be combined. In some embodiments, the first transducer signal and the second transducer signal are combined, and the combined signal is digitally processed to produce a sound similar to a sound obtained from an acoustic guitar body. The first transducer and the second transducer may include are under saddle transducer (UST) piezo elements, and the embodiments of the sound processor may be installed in a guitar.

Embodiments may include a method for producing an audio signal, comprising receiving a first audio signal from a transducer positioned on a stringed instrument, the transducer positioned to sense vibrations from a defined set of at least two lower-pitched strings of the stringed instrument, wherein the defined set is less than a total number of strings on the stringed instrument; processing the first audio signal to produce a bass audio signal that is one octave lower than a frequency of the first audio signal; receiving a second audio signal from a second transducer positioned on the stringed instrument to sense vibrations from strings not part of the defined set of lower-pitched strings; and combining the first audio signal, the second audio signal, and the bass audio signal. Processing the first audio signal may include digitizing the first audio signal; inserting values for digitized first audio signal into a circular buffer at a predetermined insertion rate; and producing the bass audio signal by reading the inserted values for the digitized first audio signal from the circular buffer at a rate that is lower than the predetermined insertion rate.

Some embodiments may comprise wherein processing the first audio signal includes digitizing the first audio signal; possibly low pass filtering the digitized audio signal; inserting values for digitized first audio signal into a circular buffer utilizing an input pointer that indicates a position in the circular buffer to insert a subsequent value of the digitized first audio signal input signal, the input pointer advancing at a predetermined insertion rate; utilizing two output pointers positioned a predetermined distance apart from each other, the two output pointers advancing at a rate that is lower than the predetermined insertion rate; selecting one of the two output pointers, and reading the inserted values for the digitized first audio signal from the circular buffer at the selected output pointer; when the input pointer advances to within a predetermined distance of the selected output pointer, adjusting a position of the nonselected output pointer to a location in the circular buffer that substantially matches a phase of the first audio signal as indicated by the selected output pointer; and selecting the unselected output pointer for reading the inserted values from the circular buffer. Adjusting a position of the nonselected output pointer may include determining an offset amount from the selected output pointer back to a prior position containing a first peak signal value stored in the circular buffer; determining a new position for the nonselected output pointer, the new position being from a present position of the nonselected output pointer back to a prior position containing a second peak signal value stored in the circular buffer, plus the offset amount; and moving the nonselected output pointer to the new position, and moving the selected output pointer to a position that is the predetermined distance apart from the nonselected output pointer.

Embodiments may include combining the first audio signal and the second audio signal to produce a combined audio signal; and digitally processing the combined audio signal to produce a sound similar to a sound obtained from an acoustic guitar body. Digitally processing the combined signal may include performing a convolution utilizing coefficients derived from an impulse response from an acoustic guitar. Other embodiments may include combining the first audio signal and the second audio signal to produce a combined audio signal; producing an audio reverb signal from the combined audio signal; and combining the audio reverb signal and the combined audio signal.

Other embodiments may include receiving a digital input signal; storing values for the digital input signal in a circular buffer, wherein an advancing input pointer indicates a position to write a subsequent value of the digital input signal, and two advancing output pointers, the output pointers positioned a predetermined distance apart from each other, and wherein the output pointers advance at a lower rate than the input pointer; selecting one of the output pointers as an active output pointer, and producing an output signal by reading values from the circular buffer at a position of the active output pointer; and when the input pointer advances to within a predetermined distance of one of the output pointers, determining an offset amount from a present position of the active output pointer back to a prior position containing a first peak signal value stored in the circular buffer; determining a new position for the inactive output pointer, the new position being from a present position of the inactive output pointer back to a prior position containing a second peak signal value stored in the circular buffer, plus the offset amount; moving the inactive output pointer to the new position, and moving the active pointer to a position that is the predetermined distance away from the inactive pointer; and switching which output pointer is active. Such embodiments may have use in audio or general signal processing.

An advantage of some embodiments include a system that will produce a rich sound in real time, with little or no discernable time lag or other sound processing artifacts.

Another advantage is a system, apparatus or method that uses simple, inexpensive guitar pickups. The under saddle piezo pickups used by an embodiment of the invention are inexpensive, robust, and invisible from the face of the guitar or stringed instrument. Such under saddle pickups have other advantages, including excellent isolation from acoustic feedback, and also from electronic interference (hum). A guitar or guitar effect according to an embodiment produces a very rich sound at a minimal cost. A low cost guitar may be manufactured or retrofitted and will produce excellent sound.

Still another advantage includes a self contained sound system for a guitar or other instrument. A guitar fitted with an embodiment of the present invention has a standard mono or stereo output jack used by musical instruments, amplifiers and sound systems throughout the world. A guitar player can simply plug his guitar into any sound system using the standard ¼″ jack and start playing. There is no special cord or adaptors required.

BRIEF DESCRIPTION OF THE DRAWINGS

A more complete understanding of the present invention and the advantages thereof may be acquired by referring to the following description in consideration of the accompanying drawings, in which like reference numbers indicate like features, and wherein:

FIG. 1 is a block diagram illustrating stringed instrument sound processing for one or more embodiments of the present invention;

FIG. 2 illustrates a block diagram of components for one or more embodiments of the present invention;

FIG. 3 illustrates a sample pre-amp circuit that may be utilized by one or more embodiments of the present invention;

FIG. 4 is a block diagram illustrating a processing system of one or more embodiments;

FIG. 5 illustrates the processing by an octave divider according to some embodiments;

FIG. 6 is a flow chart illustrating a process performed by one or more embodiments; and

FIG. 7 illustrates analysis of a waveform signal according to some embodiments.

DETAILED DESCRIPTION OF THE INVENTION

In the following description of the various embodiments, reference is made to the accompanying drawings, which form a part hereof, and in which is shown by way of illustration various embodiments in which the invention may be practiced. It is to be understood that other embodiments may be utilized and structural and functional modifications may be made without departing from the scope of the present invention.

The present invention provides a novel system and method for creating superior acoustic sound to the signal coming from a guitar or other instrument. This can be achieved without prohibitively impacting the methods or cost for manufacturing or retrofitting the guitar.

FIG. 1 illustrates an embodiment according to the present invention. A guitar or other stringed instrument pickup is divided into two parts 22 and 24, each of which extends under a subset of the instrument strings. One embodiment utilizes one pickup 24 that extends under the two bass strings (E and A) of a guitar, and a second pickup 22 that extends under the four treble strings (A D B and E) of the guitar. An example of a split pickup that may be used is the Model PP-402 or PP432 4+2 split bridge pickup produced by Artec Corporation of Korea. This is a UST (under saddle transducer) pickup that is installed under the saddle on a guitar. The only modification to this standard part is to separate and lengthen the coax connecting wires to each section. When mounting it in an acoustic guitar, an additional hole may be drilled beneath the guitar saddle to accommodate installation of the second coax wire into the guitar body. The guitar saddle piece may be split into two separate sections at the point between the pickups in order to help acoustically separate the pickups; however this option is not necessary for proper functioning.

Any other type of piezo pickup may also be used, including taking existing under saddle pickups and physically shortening them so they only extend under the desired instrument strings. Other types of transducers or pickups may also be utilized, including magnetic coil pickups and optical pickups.

The signal from the pickup for the bass strings 24 is provided to an octave divider 26, which may produce a signal that tracks the input signal, but at a lower frequency. For a guitar, the octave divider 26 receives a signal input from only the two lowest strings (E and A) of a guitar, and produces a signal that is one octave below. Because one of these two strings is typically sounding the root note of whatever chord is being played on the guitar, this signal is what would result if a bass guitar player accompanied the guitar. An embodiment may take this signal, determine the main frequency of the signal, and synthesize an appropriate bass signal. In one embodiment, the enhanced bass is produced by octave dividing the note or notes produced by the lower frequency strings. This produces a natural sound unlike other systems that synthesize the bass notes. Further, the additional bass provided by an octave divider for this embodiment is automatic, and in real time. More details regarding a pitch shifter or octave divider will be provided below.

The bass output of the octave divider 26 may be combined 32 with other signals from pickups, which may be combined by a combiner 28 and also undergo other processing 30 (as described below) before being combined and then output. The output may be stereo, as will be described below.

In other embodiments, only a pickup 24 under bass strings may be utilized. The signal produced by this pickup 24 may be used to produce the accompanying bass sound. A separate regular pickup extending under all the strings may be utilized for producing a combined output signal for the instrument, which may undergo other processing. Alternatively, the instrument may include no other “regular” pickup, but have instrument sound picked up by a microphone (inside or outside of the instrument). The bass pickup 24 signal may be processed to produce a bass signal added to the PA, or other mixing devices.

FIG. 2 illustrates components of an embodiment for performing digital signal processing (DSP). Such embodiments may provide real-time processing and output. Signals from the separate pickups 22 and 24 are provided to separate preamp circuits 26. Proper shielding and coax cable may be helpful for all components and connections related to the pickup transducers 22, 24 and preamps 36.

FIG. 3 shows an example a preamp circuit 36. One preamp circuit is used for each input, and is a simple 2 channel discrete FET design. It may be powered from a 9V battery and has a 3 Meg Ohm input impedance appropriate for a piezo transducer. In one embodiment, a small circuit board fits within a standard preamp enclosure typically found in an acoustic guitar. The circuit board may contain the preamps and connectors necessary to derive power from the battery, receive the 2 inputs from the 2 piezo transducer pickup sections, and route the 2-channel output of the preamp to a stereo endpin jack on the guitar.

Returning to FIG. 2, the signals from the preamps are digitized, and then processed by a digital signal processor (DSP) 40. The signals are digitized using an ADC (analog to digital converter) 38. For this embodiment, an AK4552 device performs the stereo analog-to-digital conversion at 48,000 samples per second with 24-bit precision. Higher or lower sampling rates as well as word lengths may be used by the present invention, depending on processing power, price, desired sound quality etc. The AK4552 performs both analog-to-digital and digital-to-analog conversion, however separate components may handle the conversion, such as an AD1871 ADC for the analog to digital conversion, and an AD1854 stereo DAC (digital to analog converter) for converting back to analog (not shown).

The digitized signals are then provided to the DSP 40. For one embodiment a Blackfin DSP produced by Analog Devices is utilized. Some examples of DSPs are the Blackfin BF537 device, or other devices, such as the less expensive BF531, BF532 or BF533 devices.

The DSP 40 receives two channels of digital audio from the ADC 38 using a serial interface port (SPORT). Channel 1 is the real-time data from the low E and A strings of the guitar, and channel 2 is from the D, G, B and high E strings of the guitar. A second SPORT is used to write two channels of processed digital audio to the digital-to-analog converter. The Digital-to-Analog conversion may be performed, for example, by an AD1854 stereo DAC, or utilizing the AK4552 ADC/DAC 38. The conversion is performed at 48,000 samples per second using 24-bit precision. Alternatively, the digital channels may be directly output, for equipment that can process digital audio. The sample rate and precision of the output channels may be selected as appropriate for the desired output signal.

The ADC/DAC 38 provides the output analog signals to output buffers 46 that provide the correct output impedance and signal level for the intended receiver of the stereo output 50 from the guitar. An example output buffering circuit device is an LMV722V two channel low noise operational amplifier, which provides a 2-channel, single-ended line level output.

A flash memory device 42 contains the operating instructions when the power is shut off, and supporting power conditioning and clock circuitry. In this embodiment the DSP boots and loads operating software from a 4 MBit ST Micro M29W320 DB Flash memory device. The DSP 40 will boot and run the application software upon power-up. Other forms of memory may be used, such as removable memory.

The user interface 44 may provide controls that allow a user to adjust parameters, for example bass, body, reverb, stereo separation, equalization and notch filtering. In one embodiment the user interface may run on a computer and a connection to the DSP 40 and/or memory 42 allows a performer to edit and load presets prior to performing. In another embodiment, the user interface is a small panel on the exposed side of the electronics enclosure in the guitar body. The panel may provide controls for adjusting the levels of the various processing elements,

A power source 52 provides power and any necessary power conditioning. A power source may include a 9V battery, or connections to external power source.

In some embodiments, the battery and preamp section are located inside an enclosure in the guitar body, and the remaining components are external, such as in a processing effects box, amplifier, computer, or other devices. In other embodiments, all components are housed within the guitar body, with a standard mono or stereo output cable jack to provide signals to an amplifier.

FIG. 4 illustrates the processing performed by the DSP 40 for an embodiment. This processing is implemented by software running in the DSP. The digital audio input for the bass signal 54 and treble signal 56 is routed to one or more processing elements. These processing elements may include a stereo panner 58, an octave divider 26, and one or more effect chain elements such as an acoustic effects (body) processor 60, and a reverb 62. Other effect elements may be added by implementation in the software. Some processing elements may process only one of the bass signal 54 or treble signal 56, while other processing elements may take both signals, either separately or combined. The output of each the processing elements may be level adjusted and then combined with the other processor element outputs to produce mono or stereo output that becomes the output of the guitar.

Where p is used to adjust the stereo separation of the resulting output, and g is the gain to adjust the output level, as adjusted by gain element 59. The stereo panner 58 thus produces a version of the signal coming from the piezo transducers and preamp in which the separation of the separate signals (bass and treble) can be adjusted in both level and in the amount of stereo separation, from completely stereo to completely mono.

Embodiments may include effects chain elements comprising one or more single-channel input processing elements that operate on one signal from the instrument (e.g. all six strings of the guitar). Therefore, for such elements, the bass signal 54 and treble signal 56 are summed (combined) 64a to a single channel, thus forming a mono signal for the entire instrument. Two effects chain elements are illustrated in FIG. 4: body effect 60, and reverb 62. These effects as illustrated operate in parallel with the output of each element being gain adjusted 66, before being summed to the final stereo output from the guitar. These effects may alternatively be implemented serially, or with the ability for such chains to be dynamically changed or re-ordered at any time.

Regarding body effect 60, a piezo UST pickup typically picks up only vertical vibrations of the strings on the saddle of the guitar. Also, signals produced piezo UST pickups often are not influenced or “colored” by the acoustically resonant body of a guitar. This resonance is responsible for much of the characteristic warm sound of an acoustic guitar, and in comparison, the raw output of piezo transducers sound thin and brittle. Therefore a body effect 60 element may restore some of this resonance for one or more embodiments. This body effect 60 may be accomplished by convolving the piezo derived input signal with the impulse response of an acoustic guitar body. The impulse response may simply be a recorded sound of an acoustic guitar body excited by an impulse, which is then stored as in-line constants in the program source code for the body effect 60. A convolution is performed using an FIR filter with the coefficients derived from the impulse response. Embodiments may store impulse responses of several different acoustic guitar shapes and sizes, thus providing the user with a choice of selectable “body styles”.

The output of the convolution may be multiplied by a user adjustable gain factor 66 to adjust the level before being added equally to both the left and the right channels of the stereo output from the guitar.

Regarding reverb 62, for the embodiment shown in FIG. 4, the reverb effect is a single-channel input, stereo output processor. This allows for stereo reverb that adds warmth and depth to the output. It may be implemented using what is known as a convolution reverb algorithm, as is known in the art. This type of reverb, while computationally more complex than other more common reverb algorithms, is generally considered to produce superior results. Other types of reverb such as models of plate reverb may be utilized, for example to consume less processing power.

As previously mentioned other types of effects chain processes may be added, possibly by downloading additional software to an embodiment.

The octave divider 26 may be a single-channel element, and receives digital audio from only the bass signal 54, which provides a signal for only the low E and A strings of the guitar. The octave divider 26 will output a version of the input signal that is pitch shifted exactly one octave below that of the input.

In order to keep latency to a minimum, the octave divider 26 effect for this embodiment works without having to explicitly detect the frequency of the input signal. It does this by utilizing the fact that a one-octave downward pitch shift can be accomplished by halving the output sample rate. This produces an output that is one octave below the input. However, if one simply outputs digital audio at one half the input sample rate, the output will quickly fall behind the input. Therefore, the octave divider 26 effect for this embodiment will output sections of the input data at half the sample rate, and then splice these sections together in order to keep up in time with the input. In effect, the output skips over sections of the input in order to keep up.

The octave divider 26 for one or more embodiment works by placing digital audio samples into a circular buffer using in input pointer. Digital audio is then read out from this buffer using two output pointers incremented at one half the incoming sample rate. The output pointers are spaced one half buffer length apart, and the embodiment alternately switches between these two pointers.

Like most elements and effects, the octave divider 26 element, processes blocks of audio data at a time, however the following description provides details by considering that the process really works on a sample-by-sample basis. The following description assumes that the octave divider 26 element runs a single iteration for each successive audio sample for the bass signal 54.

FIG. 5 illustrates processing by an embodiment of the octave divider 26. The octave divider is implemented using a 4096 sample circular memory buffer 72 into which the input is placed (at 48,000 samples per second) using an Input Pointer (IP) as an index. This IP is incremented for each sample and wraps back to the start of the buffer when the end of the buffer 72 is reached. The output audio data is taken from the buffer using one of two output pointers (OP1 and OP2). These output pointers are always indexing buffer locations exactly ½ buffer, or 2048 samples from one another. The IP, OP1 and OP2 all increment (move) around the buffer 72 in the same direction, as shown by arrow 74, and wrap back to the start of the buffer when the end of the buffer is reached. However both output pointers increment every other sample.

Since the output pointers are cycling through the buffer half as fast as the IP, the IP will alternately “collide” with each output pointer once per cycle through the buffer 72. The embodiment compensates for this by using OP1 for one cycle and OP2 for the other cycle.

FIGS. 5a-5c illustrates sequential examples of the pointer positions. In FIG. 5a, the IP has just caught up to and passed OP1, and the embodiment is currently reading output from sample pointed to (indexed) by OP2 (therefore OP2 is indicated as “active”). The active output pointer should be switched before the IP catches up to it. The embodiment switches output pointers when the IP is within a predetermined distance 76 of colliding with, or catching up to, the output pointer currently being used. In FIG. 5b, the IP has come within a predetermined distance 76 of active pointer OP2, and it is therefore time to switch to OP1. The predetermined distance 76 for this embodiment is ⅛ the size of the total buffer (in the case of a 4096 sample buffer, the distance 76 would be 512 samples. However, other distances or criteria may also be utilized. A size may be selected to provide time for a proper switching before the IP catches up to the active OP, balanced against having switching operations occur too frequently. In FIG. 5c, OP1 is now the active pointer, and the IP is about to pass OP2. When the IP gets within the predetermined distance to OP1, then OP2 will then become the active pointer again.

As previously described the output signal produced from reading the values from the active output pointer will be a version of the input signal exactly one octave lower in pitch. Other read-out rates from the output pointers may be utilized to produced output signals at other pitches, such as reading output pointers at ¼ the rate of the input pointer which will result in an output signal two octaves lower. One advantage of such an octave divider is that the output accurately tracks the pitch of the input. If an instrument has alternative turnings, or is played using a slide or string bending, the octave divider still correctly tracks the signal.

At the point of switching output pointers, there may be discontinuities in the output signal. Such discontinuities may affect both the output signal level and phase at the switch times. This is because the input signal waveform has no relationship to the buffer length and the splice points will be arbitrary with respect to the input waveform.

Previous implementations of octave dividers address these discontinuities by cross fading the audio over some number of samples. However, because this method does not take into account the phase of the fundamental waveform, the resulting phase shift at the splice points leads to undesirable artifacts in the output audio. Further, this method was tested and found to work poorly, especially with the low strings of a guitar. A vibrating string has a strong fundamental approximating a sine wave. While cross fading removes the discontinuities in the resulting output waveform, each section is likely to not be in phase with the previous section, since the wavelength of the notes fundamental is not related to the length of the buffer. The resulting phase shift in each section may cause an unpleasant “rumbling” sound and distorts the perceived pitch of the resulting bass sound. This might be alleviated by tuning the buffer length to a particular wavelength, but it would only work for that one note.

Instead, an embodiment examines the audio data at each output pointer in order to locate key points in the waveform of the fundamental frequency, and then uses this information to adjust the output pointers so that the waveform sections are substantially lined up according to the wavelength of the fundamental frequency being played. This thereby minimizes discontinuities by preserving the phase of the signal over the splice points.

In more general terms, the embodiment dynamically adjusts the lengths of the output sections according the pitch of the note being played at any moment.

The embodiment continuously analyzes the waveform at both output pointers in order to determine splice points, and when the output pointers are switched, the new active output pointer is adjusted backwards so that it points to a spot in the waveform cycle which is similar to that pointed to by the old output pointer. Finally, the old output pointer is adjusted backwards so that it is exactly ½ the buffer from the new output pointer.

FIG. 6 illustrates this process. The waveform analysis is performed by looking for positive peaks in the waveform, step 200. This may be made simpler by applying a low pass filter to the input of the octave divider before placing the audio data into the buffer. The embodiment implements an IIR (infinite impulse response) low pass pre-filter with a cutoff frequency of 125 Hz and a Q of 2.0. These parameters were chosen after an examination of the waveforms produced by the low E and A strings on a guitar up through the 14th fret. The goal is to filter out all but the fundamental and first harmonic frequencies within that range in order to make the peak detection easier to accomplish.

Each output pointer has the following structure definition:

typedef struct

{

int iPtr;

// Output pointer

Q1_31 qPkVal;

// Last valid peak value

int iPkPtr;

// Last valid peak pointer

Q1_31 qPkTmpVal;

// Temp peak value

int iPkTmpPtr;

// Temp peak pointer

Q1_31 qPkNewVal;

// New peak candidate value

int iPkNewPtr;

// New peak candidate pointer

bool bPkLatch;

// Peak latch flag

int iPosCount;

// Positive phase sample count

int iNegCount;

// Negative phase sample count

} OUT_STRUCTURE;

This data structure is updated each time the corresponding output pointer is incremented, and both OP1 and OP2 are incremented every other input sample, even though only one is being used for the output.

The filtered data at each output pointer is examined to determine if it is more positive than the currently stored maximum. If so, both the value and a pointer to this sample are saved. When the positive portion of the waveform is completed, being determined when a minimum number of negative values are encountered, the highest value found is considered to be the peak in the waveform.

The Boolean pPkLatch (Peak Latch Flag) is used to indicate that we have completed a positive phase of the cycle and latched a new peak value and pointer. It is set when we encounter more than a minimum number (4) of consecutive negative samples and are thus considered to be in the negative phase of the waveform cycle. It is cleared when we encounter a minimum number (4) of positive samples and we thus assume that we have just entered a new positive phase of the waveform cycle.

Each time an output pointer is incremented the following analysis takes place:

If the value of the digital audio at the output pointer is positive, and the Peak Latch Flag is false, then if the value is higher than the previously saved new peak, qPkNewVal, we overwrite qPkNewVal with the new value and save the current output pointer in iPkNewPtr.

If the value of the digital audio at the output pointer is positive, but the Peak Latch Flag is true, and there have been at least a minimum (4) sample of consecutive positive values, then we have just entered the positive phase of the waveform cycle. We clear the Peak Latch Flag and set qPkNewVal equal to 0.

If the value of the digital audio at the output pointer is negative, and the Peak Latch Flag is true, we do nothing.

If the value of the digital audio at the output pointer is negative, but the Peak Latch Flag is false, and there have been at least a minimum (4) sample of consecutive negative values, then we have just entered the negative phase of the waveform cycle. We set the Peak Latch Flag and perform the following analysis:

We first compare the stored peak value qPkNewVal with a value calculated as (r*average signal level). The average signal level is a running average of the absolute value of the input audio. If the value at qPkNewVal is less than this amount, we ignore it—it is probably low-level noise. (It can't be a peak if it's not at least as high as the average signal level.)

If qPkTmpVal (which will be described below) is non-zero, then the larger of the two values, qPkTmpVal or qPkNewVal, is now transferred the final latched peak value qPkVal, and iPkPtr is set to the corresponding pointer of the larger value. We set qPkTmpVal to 0 and consider that we have now found the peak.

If qPkTmpVal is 0, then we compare qPkNewVal to the peak level from the last positive cycle. If it is within a certain percentage of the last peak value, then we consider it a new peak and transfer both the value and its pointer to qPkVal and iPkPtr respectively. If it is lower than this amount, then we save the value and pointer as qPkTmpVal and iPkTmpPtr. This logic derives from the fact that the waveform is generally slow changing when strings are left ringing. That is, unless a new event occurs, each fundamental peak will be close in level to the previous peak—we would not expect a sudden drop in peak level unless the note was either changed or muted.

It was found that qPkTmpVal and iPkTmpPtr are helpful to address the problem of the first harmonic. After the bass string audio has been LP filtered, it contains only the fundamental and the first harmonic. Often, and especially when an open string (non-fretted) note is struck, the first harmonic level becomes a significant component of the waveform over time. Sometimes the first harmonic causes an additional two zero crossings within a single cycle of the fundamental, The first harmonic may cause a complete positive going phase with a corresponding peak, however this peak will not be as high as that of the fundamental. The addition of the qPkTmpVal variable serves to distinguish the smaller peak of the first harmonic from the larger peak of the fundamental, and this embodiment will correctly locate the higher positive peaks as the real peaks of the fundamental frequency.

At some point it will be necessary to switch output pointers, step 202FIG. 6. As previous described, the octave divider switches output pointers based on the position of the IP with respect to the output pointer currently being used (the “active” output pointer). Each time the IP is incremented, the algorithm calculates how many samples the IP trails the currently active output pointer. When this distance is predetermined distance (for this embodiment, ⅛ of the buffer length), an output pointer switch is requested.

In an embodiment, the algorithm also detects when the IP collides with the output pointer that is not currently active. (Note that the IP collides with the inactive output pointer and not with the active output pointer). This is because the inactive output pointer will see discontinuous data at that point (because the IP will writes over the previous data as it passes by) and therefore all of the variables related to peak detection should be reset.

The pointer-switching process determines how many samples the old (active) output pointer is from the last peak, step 204. First we compare the qPkNewVal and qPkVal variables of the old output pointer and take the larger of the two values as the peak. This is necessary because we may be switching before the end of the current positive phase of the waveform. Then we calculate the number of samples between the current active output pointer and the pointer to the peak value and save as an offset.

This offset is then added the peak position for the new OP, step 206. We compare qPkNewVal and qPkVal for the new output pointer and take the larger of the two values as the last peak for that pointer. Then we add the offset to that peak pointer and set the new output pointer to this value.

The old output pointer is now adjusted backwards to be exactly ½ buffer away from the new OP, step 208. Finally, all the variables for both output pointers are reset, step 210. The new active output pointer is now used to read output values, step 212.

FIG. 7 helps illustrates this process. Two sections of an audio waveform 80 are shown, each section showing a part of the wave where the output pointers OP1 and OP2 are “tracking” (i.e. pointing to buffer positions containing a digital representation of that sample of the waveform). For this example, we are switching from OP1 to OP2. The offset 82 is calculated as the distance from OP1 to the previous peak 84. That offset is then added to the previous peak 86 from OP2; and OP2 is adjusted backwards to this point (Indicated as OP2′). Therefore OP2 will begin playing at a similar same phase in the waveform 80 as OP1 was. Any discontinuities, phase changes, or other artifacts in the output signal are minimized. Finally, OP1 will be adjusted to be at pointing at a location ½ the buffer distance from the new position of OP2 (not shown in FIG. 7).

For guitar signals, the waveform tends to change slowly, so that it is possible to locate similar points in the waveform that are separated by ½ of the buffer. Because of the frequencies involved and the relatively simple nature of a waveform of a vibrating guitar string, this algorithm works very well. An embodiment may process the output with an IIR low pass post-filter with a cutoff frequency of 200 Hz and a Q of 1.0, to minimize any small discontinuities at the switch points, caused by the waveform changing over time.

Returning to FIG. 4, output of the octave divider 26 may then be multiplied by an adjustable gain factor 68 that determines the overall volume of the resulting bass signal. This bass signal 69 may then added equally to both the left and right stereo outputs 64b and 64c for the guitar signal. The signals from all the different processing effects may be summed up 64b and 64c in the channels, and a final user adjustable equalization stage 70 may be performed. The signals are then outputted, typically with conversion back into analog signals, as previously described.

One embodiment may take output audio data for the octave divider element directly from the buffer 72 used for the peak detection analysis. As previously described, the audio signal for this buffer may be low pass (LP) filtered in order to remove all but the fundamental and first harmonic for the benefit of the peak detection algorithm. Therefore, the resulting bass signal 69 will contain no upper harmonic information present in the original input; therefore this bass signal may have less higher frequency snap and brightness. However, since this bass signal is then combined with the original string sound, any effect this may have is alleviated.

An embodiment may include a second audio buffer into which unfiltered samples are placed. The peak detection process would continue to use the LP filtered buffer as described above, but the output data will come from the unfiltered buffer. The output from the unfiltered buffer may be passed through the LP post filter with a cutoff frequency selected to minimize any discontinuities but allow many of the harmonics to pass.

Although embodiments of the present invention are described utilizing separate pickups, other embodiments may utilize one instrument signal and perform filtering and/or DSP to determine a fundamental signal with which to produce a bass signal with an octave divider. In this case, a guitar or other instrument may require no changes, and effects according to such embodiments may be external devices (battery-powered or line powered) into which any existing guitar can be plugged.

Although described in terms of an acoustic guitar, embodiments of the present invention are usable by any type of multi-stringed instrument. For example, the present invention can be used for, but not limited to, electric guitars, 12-string guitars, basses, steel guitars, violins, mandolins, banjos, fiddles, pianos, harpsichords, and any other type of stringed instrument whether plucked or bowed. Any type of strings, whether metal, nylon, catgut, etc. will work. Embodiments may be incorporated into guitars and other instruments as they are built. Alternatively, embodiments may be added to existing guitars and instruments with minimal cost, effort, and invasive changes. For guitars with existing built-in piezo transducers and preamp circuit, an embodiment with signal processing abilities as described will fit within the same compartment as the original preamp and EQ circuit, and can be powered from the same 9-volt battery. The hardware cost of adding an embodiment to a guitar may simply be the incremental cost of the 2-piece piezo transducer and the addition of the DSP and support circuitry.

Other embodiments may include a simulation for a 12-string guitar. A 12-string guitar typically has two strings tuned an octave apart for each of the four lower pitch strings, and two strings tuned to the same note for the two higher pitched strings. An embodiment may utilize a six-string guitar and place certain pickups under different sets of strings. For example, a first pickup may be positioned to pick up signals from the lowest four strings on a guitar (E A D G) and a second pickup positioned for the two highest strings on the guitar (B and high E). The signal from the four lower strings may be combined with an pitch shifted signal to produce a sound similar to double strings an octave apart, while the signal from the two higher strings may be processed by a double effect or chorus effect to produce a sound as if from double strings of the same pitch.

Further, the present invention may be implemented in different configurations, such as having various portions of the system located in different components. An example is a guitar or other instrument that only contains a split pickup, and possibly a pre-amp. The signals from the pickup is then sent out through one or more instrument cords (or instrument wireless transmitters) to a processing unit located in an amplifier, stomp box, effects box, or computer system. The present invention may also be implemented as an effect for use with sound editing and production systems, such as digital audio workstations. The present invention may be a stand-alone application, or as a plug-in.

One or more aspects of the invention may be embodied in computer-usable data and computer-executable instructions, such as in one or more program modules, executed by one or more computers or other devices. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types when executed by a processor in a computer or other device. The computer executable instructions may be stored on a computer readable medium such as a hard disk, optical disk, removable storage media, solid state memory, RAM, etc. As will be appreciated by one of skill in the art, the functionality of the program modules may be combined or distributed as desired in various embodiments. In addition, the functionality may be embodied in whole or in part in firmware or hardware equivalents such as integrated circuits, field programmable gate arrays (FPGA), and the like. Particular data structures may be used to more effectively implement one or more aspects of the invention, and such data structures are contemplated within the scope of computer executable instructions and computer-usable data described herein.

Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.


Q:

does anyone know how to graph $x^2+2y^2+3z^2=12$?

I just can't think of how I should draw this graph in 3 dimensions.
Can anyone draw a graph for this?

A:

As pointed out in the comments, the graph is indeed an ellipsoid. In the event you don't have a 3D graphing program handy, here's one way to think about it: we have the equation
$$x^2+2y^2+3z^2=12.$$
We'll set the coordinates $x,y,z=0$ (one at a time) and this will tell us what the graph looks like in the $yz$, $xz$, and $xy$-planes respectively. For example, if we let $x=0$,
$$0^2+2y^2+3z^2=12\implies \frac{y^2}{6}+\frac{z^2}{4}=1.$$
So in the $yz$-plane, we have an ellipse. Specifically, one that's longer along the $y$ axis than along the $z$ axis. You can check that the other planes look like ellipses too, so graphing one ellipse in each plane and "filling it in" will give a good hand-drawn graph.