Scale switching and volume adjusting method, device and equipment

By acquiring the air pressure difference of the instrument, the scale is automatically switched and the volume is adjusted, which solves the problem of difficulty in scale switching during instrument playing and improves the playing experience for beginners.

CN115440183BActive Publication Date: 2026-04-07RINGWAY TECH JIANGSU
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-29
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

The difficulty of switching scales on existing musical instruments during performance causes inconvenience for beginners and affects their playing experience.

Method used

By acquiring the air pressure difference, the scale is automatically switched and the volume is adjusted according to the preset strategy. The current air pressure value is acquired by the sensor, and combined with the preset scale selection and volume acquisition strategy, the scale can be switched by octave and the volume can be adjusted.

Benefits of technology

It simplifies the playing difficulty of musical instruments, improves the playing experience for beginners, and automatically switches scales and adjusts volume through air pressure difference, reducing the complexity of operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115440183B_ABST
    Figure CN115440183B_ABST
Patent Text Reader

Abstract

The present application relates to a kind of scale switching and volume adjustment method, device and equipment, method includes: obtaining air pressure difference value;According to the preset scale selection strategy, the scale pronunciation corresponding to the air pressure difference value is selected;According to the preset volume acquisition strategy, the volume value corresponding to the air pressure difference value is obtained;The volume of the note of the scale is adjusted based on the volume value.The present application can automatically switch scale according to air pressure difference value, and adjust volume, it is convenient and easy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of scale switching and volume adjustment, and specifically to a method, apparatus, and device for scale switching and volume adjustment. Background Technology

[0002] The existing instruments are very troublesome to switch scales during performance, which causes great inconvenience to performers, especially beginners, and greatly undermines their confidence. Summary of the Invention

[0003] The technical problem to be solved by the present invention is to overcome the defects of the prior art and provide a method for switching scales and adjusting volume, which can automatically switch scales and adjust volume according to air pressure difference, which is convenient and time-saving.

[0004] To solve the above-mentioned technical problems, the technical solution of the present invention is: a method for switching scales and adjusting volume, comprising:

[0005] Obtain the air pressure difference value;

[0006] According to the preset scale selection strategy, the scale corresponding to the air pressure difference is selected for pronunciation;

[0007] According to the preset volume acquisition strategy, the volume value corresponding to the air pressure difference is acquired;

[0008] Adjust the volume of the notes in the scale based on the volume value.

[0009] Furthermore, the method for obtaining the pressure difference includes:

[0010] Obtain the current air pressure value from the sensor;

[0011] The pressure difference is obtained based on the current air pressure value and the preset default air pressure value.

[0012] Furthermore, the step of selecting a pitch corresponding to the air pressure difference based on a preset pitch selection strategy includes:

[0013] If the pressure difference is greater than or equal to the first preset value, the pressure difference is deemed invalid.

[0014] If the first preset value > air pressure difference value ≥ the second preset value, then select the pronunciation of the second octave in the scale diagram;

[0015] If the second preset value > the air pressure difference value ≥ the third preset value, then select the small octave group in the scale diagram to pronounce;

[0016] If the air pressure difference is less than the third preset value, then the small octave in the scale diagram will be pronounced; where,

[0017] First preset value > Second preset value > Third preset value.

[0018] Furthermore, the first preset value is 3 times the third preset value, and the second preset value is 2 times the third preset value.

[0019] Furthermore, the step of obtaining the volume value corresponding to the air pressure difference according to a preset volume acquisition strategy includes:

[0020] The pressure difference is processed according to a preset pressure difference processing strategy to obtain a processed value;

[0021] Based on the processing value, a preset volume array is searched to obtain the volume value corresponding to the processing value.

[0022] Furthermore, the step of processing the pressure difference value according to a preset pressure difference value processing strategy to obtain a processed value includes:

[0023] If the pressure difference is greater than or equal to the second preset value, then the processed value = pressure difference - second preset value;

[0024] If the second preset value > the pressure difference value ≥ the third preset value, then the processed value = pressure difference value - the third preset value;

[0025] If the pressure difference is less than the third preset value, then the processed value equals the pressure difference.

[0026] The present invention also provides a scale switching and volume adjustment device, comprising:

[0027] The air pressure difference acquisition module is used to acquire air pressure difference values;

[0028] The scale selection module is used to select the scale corresponding to the air pressure difference value according to a preset scale selection strategy.

[0029] The volume acquisition module is used to acquire a volume value corresponding to the air pressure difference value according to a preset volume acquisition strategy.

[0030] An adjustment module is used to adjust the volume of the notes of the scale based on the volume value.

[0031] Furthermore, the pressure difference acquisition module includes:

[0032] The receiving module is used to obtain the current air pressure value from the sensor;

[0033] The calculation module is used to obtain the pressure difference value based on the current air pressure value and the preset default air pressure value.

[0034] Furthermore, the volume acquisition module includes:

[0035] The processing module is used to process the pressure difference value according to a preset pressure difference value processing strategy to obtain a processed value;

[0036] The lookup module is used to look up a preset volume array based on the processing value to obtain the volume value corresponding to the processing value.

[0037] The present invention also provides a scale switching and volume adjustment device, comprising:

[0038] Memory, used to store computer programs;

[0039] A processor is used to implement the steps of the scale switching and volume adjustment method when executing the computer program.

[0040] By adopting the above technical solution, the present invention selects the scale and volume value based on the air pressure difference, thereby realizing the octave switching of the scale and adjusting the volume of the notes of the octave scale according to the volume value. This makes it very convenient to switch the scale and adjust the volume, greatly reducing the difficulty of playing musical instruments. Attached Figure Description

[0041] Figure 1 This is a flowchart of the scale switching and volume adjustment method in an embodiment of the present invention;

[0042] Figure 2 This is a musical scale diagram from an embodiment of the present invention;

[0043] Figure 3 This is a flowchart illustrating the selection of musical scale and volume based on air pressure values ​​in an embodiment of the present invention;

[0044] Figure 4 This is a structural block diagram of the scale switching and volume adjustment device in an embodiment of the present invention;

[0045] Figure 5 This is a structural block diagram of the pressure difference acquisition module in an embodiment of the present invention;

[0046] Figure 6 This is a structural block diagram of the volume acquisition module in an embodiment of the present invention;

[0047] Figure 7 This is a structural block diagram of the scale switching and volume adjustment device in an embodiment of the present invention. Detailed Implementation

[0048] To make the content of this invention easier to understand, the invention will be further described in detail below with reference to specific embodiments and accompanying drawings.

[0049] like Figure 1 As shown, a method for switching pitches and adjusting volume includes:

[0050] Obtain the air pressure difference value;

[0051] According to the preset scale selection strategy, the scale corresponding to the air pressure difference is selected for pronunciation;

[0052] According to the preset volume acquisition strategy, the volume value corresponding to the air pressure difference is acquired;

[0053] Adjust the volume of the notes in the scale based on the volume value.

[0054] Specifically, this embodiment selects the scale and volume value based on the air pressure difference, thereby realizing the octave switching of the scale. The volume of the notes of the octave scale is adjusted according to the volume value, which makes it very convenient to switch the scale and adjust the volume, greatly reducing the difficulty of playing the instrument.

[0055] In one embodiment, the method for obtaining the pressure difference value includes:

[0056] Obtain the current air pressure value from the sensor;

[0057] The pressure difference is obtained based on the current air pressure value and the preset default air pressure value.

[0058] In one embodiment, the default air pressure value is 5600, but it is not limited to this.

[0059] In one embodiment, selecting a pitch corresponding to the air pressure difference based on a preset pitch selection strategy includes:

[0060] If the pressure difference is greater than or equal to the first preset value, the pressure difference is deemed invalid.

[0061] If the first preset value > air pressure difference value ≥ the second preset value, then select the pronunciation of the second octave in the scale diagram;

[0062] If the second preset value > the air pressure difference value ≥ the third preset value, then select the small octave group in the scale diagram to pronounce;

[0063] If the air pressure difference is less than the third preset value, then the small octave in the scale diagram will be pronounced; where,

[0064] First preset value > Second preset value > Third preset value.

[0065] In one embodiment, the first preset value is 3 times the third preset value, and the second preset value is 2 times the third preset value.

[0066] Specifically, in this embodiment, the air pressure difference is divided into multiple segments, each segment corresponding to an octave, thereby realizing the octave switching of the scale.

[0067] In one embodiment, obtaining the volume value corresponding to the air pressure difference value according to a preset volume acquisition strategy includes:

[0068] The pressure difference is processed according to a preset pressure difference processing strategy to obtain a processed value;

[0069] Based on the processing value, a preset volume array is searched to obtain the volume value corresponding to the processing value.

[0070] Specifically, if the processing value is set to i, then the volume value corresponding to the processing value i is the value of the i-th element of the volume array.

[0071] In one embodiment, processing the pressure difference value according to a preset pressure difference value processing strategy to obtain a processed value includes:

[0072] If the pressure difference is greater than or equal to the second preset value, then the processed value = pressure difference - second preset value;

[0073] If the second preset value > the pressure difference value ≥ the third preset value, then the processed value = pressure difference value - the third preset value;

[0074] If the pressure difference is less than the third preset value, then the processed value equals the pressure difference.

[0075] In one embodiment, the first preset value is 384, the second preset value is 256, and the third preset value is 128, but it is not limited thereto.

[0076] In one embodiment, the volume array is BlowCurve

[128] =

[0077] {0x0c,0x0d,0x0e,0x10,0x11,0x12,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x19,0x1a ,0x1b,0x1d,0x1e,0x1f,0x20,0x22,0x23,0x24,0x25,0x27,0x28,0x29,0x2a,0x2c,0x2d,0x2e ,0x30,0x31,0x33,0x34,0x36,0x37,0x39,0x3a,0x3c,0x3d,0x3f,0x40,0x41,0x43,0x44,0x45 ,0x46,0x48,0x49,0x4a,0x4b,0x4d,0x4e,0x4f,0x50,0x52,0x53,0x54,0x55,0x57,0x58,0x59, 0x5a,0x5c,0x5d,0x5e,0x5f,0x60,0x61,0x62,0x63,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b, 0x6c,0x6d,0x6d,0x6e,0x6f,0x6f,0x70,0x70,0x71,0x72,0x72,0x73,0x74,0x74,0x75,0x75,0 x76,0x77,0x77,0x78,0x79,0x79,0x7a,0x7a,0x7b,0x7c,0x7c,0x7d,0x7e,0x7e,0x7f,0x7f,0 x7f,0x7f,0x7f,0x7f,0x7f,0x7f,0x7f,0x7f,0x7f,0x7f,0x7f,0x7f,0x7f,0x7f,0x7f,0x7f,}.

[0078] Specifically, after the air pressure difference is processed by the air pressure difference processing strategy, it can be ensured that each processed value can be found in the volume array.

[0079] The technical solutions involved in the above embodiments will be described below with reference to an optional embodiment.

[0080] The current air pressure reading from the sensor is 5800;

[0081] Subtract the default air pressure value of 5600 from the current air pressure value of 5800 to get an air pressure difference of 200;

[0082] After assessment, it was found that the air pressure difference of 200 was greater than 128, but less than 256;

[0083] Pronounced using the first octave of a note, depending on the range of air pressure differences;

[0084] Subtract 128 from the air pressure difference to get 72. Use 72 to look up the volume array to get the volume value as 0x63 in hexadecimal, which is 99 in decimal.

[0085] Use volume 99 to adjust the volume of the notes in the first octave.

[0086] Figure 4 This is a structural block diagram of a scale switching and volume adjustment device provided in an embodiment of the present invention. The scale switching and volume adjustment device includes:

[0087] Pressure difference acquisition module 1 is used to acquire pressure difference values;

[0088] The scale selection module 2 is used to select the scale corresponding to the air pressure difference value according to the preset scale selection strategy.

[0089] The volume acquisition module 3 is used to acquire a volume value corresponding to the air pressure difference value according to a preset volume acquisition strategy.

[0090] Adjustment module 4 is used to adjust the volume of the notes of the scale based on the volume value.

[0091] In one embodiment, such as Figure 5 As shown, the air pressure difference acquisition module 1 includes:

[0092] Receiver module 11 is used to obtain the current air pressure value from the sensor;

[0093] The calculation module 12 is used to obtain the pressure difference value based on the current air pressure value and the preset default air pressure value.

[0094] In one embodiment, such as Figure 6 As shown, the volume acquisition module 3 includes:

[0095] Processing module 31 is used to process the pressure difference value according to a preset pressure difference value processing strategy to obtain a processed value;

[0096] The lookup module 32 is used to look up a preset volume array based on the processing value to obtain the volume value corresponding to the processing value.

[0097] Figure 7 This is a structural block diagram of a scale switching and volume adjustment device provided in an embodiment of the present invention. The scale switching and volume adjustment device includes:

[0098] Memory 10 is used to store computer programs;

[0099] The processor 20 is used to implement the steps of the above-described pitch switching and volume adjustment method when executing the computer program.

[0100] Based on the above-described preferred embodiments of the present invention, and through the foregoing description, those skilled in the art can make various changes and modifications without departing from the inventive concept. The technical scope of this invention is not limited to the contents of the specification, but must be determined according to the scope of the claims.

Claims

1. A method for switching pitches and adjusting volume, characterized in that, include: Obtain the air pressure difference value; According to the preset scale selection strategy, the scale corresponding to the air pressure difference is selected for pronunciation; According to the preset volume acquisition strategy, the volume value corresponding to the air pressure difference is acquired; Adjust the volume of the notes in the scale based on the volume value; The step of selecting a pitch corresponding to the air pressure difference based on a preset pitch selection strategy includes: If the pressure difference is greater than or equal to the first preset value, the pressure difference is deemed invalid. If the first preset value > air pressure difference value ≥ the second preset value, then select the pronunciation of the second octave in the scale diagram; If the second preset value > the air pressure difference value ≥ the third preset value, then select the small octave group in the scale diagram to pronounce; If the air pressure difference is less than the third preset value, then the small octave in the scale diagram will be pronounced; where, First preset value > Second preset value > Third preset value; The step of obtaining the volume value corresponding to the air pressure difference value according to the preset volume acquisition strategy includes: The pressure difference is processed according to a preset pressure difference processing strategy to obtain a processed value; Based on the processing value, a preset volume array is searched to obtain the volume value corresponding to the processing value; The step of processing the pressure difference value according to a preset pressure difference value processing strategy to obtain a processed value includes: If the pressure difference is greater than or equal to the second preset value, then the processed value = pressure difference - second preset value; If the second preset value > the pressure difference value ≥ the third preset value, then the processed value = pressure difference value - the third preset value; If the pressure difference is less than the third preset value, then the processed value equals the pressure difference.

2. The method for switching pitches and adjusting volume according to claim 1, characterized in that, The method for obtaining the pressure difference value includes: Obtain the current air pressure value from the sensor; The pressure difference is obtained based on the current air pressure value and the preset default air pressure value.

3. The method for switching pitches and adjusting volume according to claim 1, characterized in that, The first preset value is 3 times the third preset value, and the second preset value is 2 times the third preset value.

4. A scale switching and volume adjustment device, characterized in that, include: Pressure difference acquisition module (1) is used to acquire pressure difference; The scale selection module (2) is used to select the scale corresponding to the air pressure difference value according to the preset scale selection strategy. The volume acquisition module (3) is used to acquire the volume value corresponding to the air pressure difference value according to the preset volume acquisition strategy. Adjustment module (4) is used to adjust the volume of the notes of the scale based on the volume value; The scale selection strategy is as follows: If the pressure difference is greater than or equal to the first preset value, the pressure difference is deemed invalid. If the first preset value > air pressure difference value ≥ the second preset value, then select the pronunciation of the second octave in the scale diagram; If the second preset value > the air pressure difference value ≥ the third preset value, then select the small octave group in the scale diagram to pronounce; If the air pressure difference is less than the third preset value, then the small octave in the scale diagram will be pronounced; where, First preset value > Second preset value > Third preset value; The volume acquisition module (3) includes: The processing module (31) is used to process the pressure difference value according to the preset pressure difference value processing strategy to obtain the processed value; The lookup module (32) is used to look up a preset volume array based on the processing value to obtain the volume value corresponding to the processing value; The pressure difference processing strategy is as follows: If the pressure difference is greater than or equal to the second preset value, then the processed value = pressure difference - second preset value; If the second preset value > the pressure difference value ≥ the third preset value, then the processed value = pressure difference value - the third preset value; If the pressure difference is less than the third preset value, then the processed value equals the pressure difference.

5. The scale switching and volume adjustment device according to claim 4, characterized in that, The pressure difference acquisition module (1) includes: The receiving module (11) is used to obtain the current air pressure value from the sensor; The calculation module (12) is used to obtain the pressure difference value based on the current air pressure value and the preset default air pressure value.

6. A scale switching and volume adjustment device, characterized in that, include: Memory (10) is used to store computer programs; The processor (20) is configured to implement the steps of the scale switching and volume adjustment method as described in any one of claims 1 to 3 when executing the computer program.

Citation Information

Patent Citations

  • electronic musical instrument

    JP1992050899U

  • Electronic musical instrument and its input device

    JP2002006838A