CN110321619B - A Parametric Custom Model Generation Method Based on Sound Data - Google Patents
A Parametric Custom Model Generation Method Based on Sound Data Download PDFInfo
- Publication number
- CN110321619B CN110321619B CN201910563911.8A CN201910563911A CN110321619B CN 110321619 B CN110321619 B CN 110321619B CN 201910563911 A CN201910563911 A CN 201910563911A CN 110321619 B CN110321619 B CN 110321619B
- Authority
- CN
- China
- Prior art keywords
- circle
- curve
- points
- slf
- dividing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/20—Drawing from basic elements, e.g. lines or circles
- G06T11/203—Drawing of straight lines or curves
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
- G06T19/20—Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Evolutionary Computation (AREA)
- Geometry (AREA)
- Architecture (AREA)
- Computer Graphics (AREA)
- Software Systems (AREA)
- Stereophonic System (AREA)
- Electrophonic Musical Instruments (AREA)
Abstract
本发明涉及模型生成方法的技术领域,公开了基于声音数据的参数化定制模型生成方法,用于生成声音模型,包括以下步骤:1)、确定平面U,并且于平面U上构造四个重叠的圆A、圆B、圆C以及圆D;2)、对圆A、圆B、圆C以及圆D分别进行等距分割,圆A设置有a个分割点,圆B设置有b个分割点,圆C设置有c个分割点,圆D设置有d个分割点;通过对a、b、c、d数值的调整,对曲线函数f(x)以及曲线函数g(x)的调整切换,通过改变非固定参数的值,这可以让使用参数化解决方案可以使私人定制设计更加高效,通过录入的声音建立数据到最后模型的算法和转换过程来突破过去手工设计建模的高耗时,设计思维局限等限制,使得同时针对大量人群的精确定制成为可能。
The present invention relates to the technical field of model generation methods, and discloses a parameterized custom model generation method based on sound data for generating a sound model, comprising the following steps: 1) determining a plane U, and constructing four overlapping planes on the plane U Circle A, circle B, circle C and circle D; 2), divide circle A, circle B, circle C and circle D at equal distances respectively, circle A is set with a dividing point, and circle B is set with b dividing points , circle C is set with c dividing points, and circle D is set with d dividing points; by adjusting the values of a, b, c, and d, the adjustment and switching of the curve function f(x) and the curve function g(x), By changing the values of non-fixed parameters, this allows the use of parametric solutions to make private custom design more efficient, and the algorithm and conversion process from input sound data to the final model breaks through the high time-consuming manual design modeling in the past, Constraints such as design thinking limitations make precise customization possible for a large number of people at the same time.
Description
技术领域technical field
本发明专利涉及模型生成方法的技术领域,具体而言,涉及基于声音数据的 参数化定制模型生成方法。The patent of the present invention relates to the technical field of model generation methods, in particular, to a parameterized customized model generation method based on sound data.
背景技术Background technique
基于声音数据的模型制作,指的是将录入的声音,采取其中的PCM值以后 对其进行人工处理,而后生成相应的声音模型。Model making based on sound data refers to taking the PCM value of the recorded sound and manually processing it, and then generating the corresponding sound model.
目前,基于声音数据的模型生成,其需要人亲自摘取声音数据中的关键信息, 而后自行通过这些声音数据中的关键信息进行声音数据摘取,而后经过长时间的 处理后才生成一个对应的声音模型。At present, the model generation based on sound data requires people to extract the key information in the sound data, and then extract the sound data through the key information in the sound data, and then generate a corresponding sound data after a long process of processing. sound model.
现有技术中,基于声音数据的模型生成仍有不可定制化,只能基于已有的参 数的设计的模型生成对应的单一的模型;需要手工制作相应的声音模型,相应的 声音模型的一次制作耗时长,而且生成的模型不尽人意;设计思维会影响最终的 产品。In the prior art, the model generation based on sound data is still not customizable, and only a corresponding single model can be generated based on the designed model of the existing parameters; Time-consuming, and the resulting models are sub-optimal; design thinking affects the final product.
发明内容SUMMARY OF THE INVENTION
本发明的目的在于提供基于声音数据的参数化定制模型生成方法,旨在解决 现有技术中基于声音数据的模型不可定制化的问题。The purpose of the present invention is to provide a method for generating a parametric custom model based on sound data, aiming to solve the problem that the model based on sound data in the prior art is not customizable.
本发明是这样实现的,基于声音数据的参数化定制模型生成方法,用于生成 声音模型,包括以下步骤:The present invention is realized like this, and the parametric custom model generation method based on sound data is used for generating sound model, comprising the following steps:
1)、确定平面U,并且于所述平面U上构造四个重叠的圆A、圆B、圆C 以及圆D;1), determine plane U, and construct four overlapping circles A, circle B, circle C and circle D on described plane U;
2)、对所述圆A、所述圆B、所述圆C以及所述圆D分别进行等距分割, 所述圆A设置有a个分割点,所述圆B设置有b个分割点,所述圆C设置有c 个分割点,所述圆D设置有d个分割点;2), the circle A, the circle B, the circle C, and the circle D are respectively equidistantly divided, the circle A is provided with a dividing points, and the circle B is provided with b dividing points , the circle C is provided with c dividing points, and the circle D is provided with d dividing points;
3)、将声音的PCM值提取的数据提取出峰值以及频率,从所述声音的PCM 值的频率范围中分别设置a、b、c以及d个分割点,从而得到频率范围中a、b、 c以及d个分割点所对应的频率值,并且从原来的PCM值中可以得到频率对应的 峰值;将所述声音的PCM值的a、b、c以及d个分割点的峰值以及频率输入至 各自的曲线函数f(X)中计算得到平缓波形a1、b1、c1以及d1,从而得到所述平 缓波形上除分割点以外的频率对应的竖向上升数据;3), extract the peak value and the frequency from the data extracted by the PCM value of the sound, set a, b, c and d dividing points respectively from the frequency range of the PCM value of the sound, thereby obtaining a, b, and d in the frequency range. The frequency values corresponding to the c and d division points, and the peak value corresponding to the frequency can be obtained from the original PCM value; input the peak values and frequencies of the a, b, c and d division points of the PCM value of the sound to the The smooth waveforms a1, b1, c1 and d1 are obtained by calculation in the respective curve functions f(X), so as to obtain the vertical rise data corresponding to frequencies other than the dividing point on the smooth waveform;
4)、将所述声音的PCM值中的频率分别代入所述平缓波形a1、所述平缓波 形a2、所述平缓波形a3以及所述平缓波形a4所对应的曲线函数fa1(x)、fb1(x)、 fc1(x)以及fd1(x)中,可以得到a个分割点在所述平缓波形a1、b个分割点在所 述平缓波形b1、c个分割点在所述平缓波形c1以及d个分割点在所述平缓波形 d1中的所截取的区间的点分别在相对于Z轴的所述竖向上升数据,分别将其代 入圆A、圆B、圆C以及圆D,使得圆A、圆B、圆C以及圆D可以在平面U上 相对应地上移,而后使用线条闭合串联,可以得到圆形波形曲线A01、B01、C01 以及D01;4) Substitute the frequencies in the PCM value of the sound into the curve functions f a1 (x), f corresponding to the gentle waveform a1, the smooth waveform a2, the smooth waveform a3, and the smooth waveform a4, respectively In b1 (x), f c1 (x) and f d1 (x), it can be obtained that a division point is in the flat waveform a1, b division points are in the flat waveform b1, and c division points are in the flat waveform The points of the waveform c1 and the d division points in the intercepted interval of the gentle waveform d1 are respectively in the vertical rise data relative to the Z axis, and are substituted into circle A, circle B, circle C and circle D respectively. , so that circle A, circle B, circle C and circle D can move up on the plane U correspondingly, and then use the line to close the series connection, and the circular waveform curves A01, B01, C01 and D01 can be obtained;
5)、将所述曲线A01根据比例值a01进行缩放,将所述曲线B01根据比例 值b01进行缩放,将所述曲线C01根据比例值c01进行缩放,将所述曲线D01 根据比例值d01缩放,比例值之间的关系为:b01>a01>d01>c01;5) Scale the curve A01 according to the scale value a01, scale the curve B01 according to the scale value b01, scale the curve C01 according to the scale value c01, scale the curve D01 according to the scale value d01, The relationship between the proportional values is: b01>a01>d01>c01;
6)、将曲线A01、曲线B01、曲线C01以及曲线D01按照曲线B01、曲线 A01、曲线D01、曲线C01的层叠顺序进行重新编排后生成曲面S;6), after the curve A01, the curve B01, the curve C01 and the curve D01 are rearranged according to the stacking order of the curve B01, the curve A01, the curve D01 and the curve C01 to generate the curved surface S;
7)、将曲面S在UV方向上进行均匀切割,两个方向上的切割数量为u和v, 所述u个切割面与所述v个切割面交错构成分割的子块面,所述曲面S分割后产 生新的曲面S01,在所述U方向上形成有分割线;7), the curved surface S is uniformly cut in the UV direction, and the number of cuts in the two directions is u and v, and the u cutting surfaces and the v cutting surfaces are staggered to form divided sub-block surfaces, and the curved surface is After S is divided, a new curved surface S01 is generated, and a dividing line is formed in the U direction;
8)、通过曲线函数g(x)调节分割线的间隔关系,并且将分割后的所述曲面 S01的间隔线条拆分出来,数量为u,所述曲面S01的间隔线条包括数量u的所 述子块面对应的前边界线SLF和后边距线SLB;8), adjust the interval relationship of the dividing line by the curve function g(x), and split the interval line of the curved surface S01 after the division, and the number is u, and the interval line of the curved surface S01 includes the described surface of the number u. The front boundary line SLF and the back margin line SLB corresponding to the sub-block surface;
9)、在所述前边界线SLF以及所述后边距线SLB上分别在线上等距均匀生 成数量为p个点,所述前边界线SLF上的p个点分别定义为SLF_P1、SLF_P2、 SLF_P3、...、SLF_Pp,所述后边距线SLB上的p个点分别定义为SLB_P1、SLB_P2、 SLB_P3、...、SLB_Pp;9), on the front boundary line SLF and the back margin line SLB, the number of equidistant generation on the line is p points respectively, and the p points on the front boundary line SLF are respectively defined as SLF_P1, SLF_P2, SLF_P3 , ..., SLF_Pp, the p points on the back margin line SLB are respectively defined as SLB_P1, SLB_P2, SLB_P3, ..., SLB_Pp;
10)、将所述每个SLF_P点以及所述每个SLB_P点连接起来生成数量为p*u 的直线SLFB_PL,并且取每根所述直线SLFB_PL的中点为SLFB_PL_P;10), connecting each SLF_P point and each SLB_P point to generate a straight line SLFB_PL whose quantity is p*u, and taking the midpoint of each straight line SLFB_PL as SLFB_PL_P;
11)、计算每个点SLFB_PL_P分别到曲线A的距离SLFB_PL_PA_d,根据 这个距离的值来设定每个SLFB_PL_P点在Z轴上下降的距离,并且将下降后的 点设置为SLFB_PL_PD;11), calculate the distance SLFB_PL_PA_d from each point SLFB_PL_P to curve A respectively, set the distance that each SLFB_PL_P point drops on the Z axis according to the value of this distance, and set the dropped point as SLFB_PL_PD;
12)、将SLFB_PL_PD与相邻的SLF_P、SLB_P连接起来构成曲线SL_C, 连接顺序为SLF_P、SLFB_PL_PD、SLB_P;12), connect SLFB_PL_PD with adjacent SLF_P and SLB_P to form a curve SL_C, and the connection order is SLF_P, SLFB_PL_PD, SLB_P;
13)、将所述SL_C按照UV分割的方式编组,分成数量为u的组,并且将 每组里的所述SL_C连接构成曲面SL_S,将所有所述SL_S组合起来构成函数模 型;13), the described SL_C is grouped according to the mode of UV segmentation, is divided into the group that quantity is u, and the described SL_C in each group is connected to form surface SL_S, and all described SL_S are combined to form a function model;
进一步地,步骤2)中的所述a个分割点、所述b个分割点、所述c个分割 点与所述d个分割点设置为彼此相等。Further, the a dividing points, the b dividing points, the c dividing points and the d dividing points in step 2) are set to be equal to each other.
进一步地,步骤3)中所述曲线函数f(X)设置为sin(ax+b),其中x为频率,a以 及b为函数中的可变值,当代入x以及相对应的f(x)值求取。Further, the curve function f (X) described in step 3) is set to sin(ax+b), where x is the frequency, a and b are variable values in the function, when entering x and the corresponding f(x) ) value is obtained.
进一步地,步骤8)中所述曲线函数g(x)设置为贝叶斯曲线方程,方程具体 为其中u为步骤8)中描述的拆分数量,pi为相对间隔距 离,g(x)为距离值总和,x是相对圆心的距离。Further, the curve function g(x) described in step 8) is set as a Bayesian curve equation, and the equation is specifically where u is the number of splits described in step 8), pi is the relative separation distance, g (x) is the sum of the distance values, and x is the distance relative to the center of the circle.
进一步地,所述b个分割点、所述c个分割点以及所述d个分割点分别对应 的曲线函数中的a和b均设置为0。Further, a and b in the curve functions corresponding to the b dividing points, the c dividing points and the d dividing points respectively are set to 0.
进一步地,所述b个分割点、所述c个分割点以及所述d个分割点分别对应 的所述竖向上升数据为0。Further, the vertical rising data corresponding to the b dividing points, the c dividing points, and the d dividing points respectively are 0.
进一步地,每个所述距离SLFB_PL_PA_d等于每个SLFB_PL_P点在Z轴上 下降的距离。Further, each of the distances SLFB_PL_PA_d is equal to the distance that each SLFB_PL_P point falls on the Z axis.
进一步地,所述前边界线SLF和所述后边距线SLB间隔重合。Further, the front boundary line SLF and the back margin line SLB are spaced coincident with each other.
进一步地,所述前边界线SLF上的p个分割点和所述后边距线SLB上的p 个分割点间隔重合。Further, the p dividing points on the front boundary line SLF and the p dividing points on the back margin line SLB overlap at intervals.
进一步地,所述圆A上的波形曲线设置有首尾点,所述首尾点的前后所述竖 向上升数据为步骤3)得到的所述波形a1的首点at1以及尾点at2的f(x)值。Further, the waveform curve on the circle A is provided with head and tail points, and the vertical rise data before and after the head and tail points are the f(x) of the first point at1 and the tail point at2 of the waveform a1 obtained in step 3). )value.
与现有技术相比,本发明提供的基于声音数据的参数化定制模型生成方法, 通过对a、b、c、d数值的调整,以及对曲线函数f(x)以及曲线函数g(x)的不同的 调整切换,通过改变非固定参数的值,这可以让使用参数化解决方案可以使私人 定制设计更加高效,通过录入的声音建立数据到最后模型的算法和转换过程来突 破过去手工设计建模的高耗时,设计思维局限等限制,使得同时针对大量人群的 精确定制成为可能。Compared with the prior art, the method for generating a parameterized customized model based on sound data provided by the present invention, by adjusting the values of a, b, c, and d, and adjusting the curve function f(x) and the curve function g(x) By changing the value of non-fixed parameters, this allows the use of parametric solutions to make private custom design more efficient, and the algorithm and conversion process from input sound data to the final model to break through the manual design and construction of the past. The high time-consuming of modeling and the limitations of design thinking make it possible to precisely customize for a large number of people at the same time.
附图说明Description of drawings
图1本发明提供的基于声音数据的参数化定制模型生成方法的流程框架图。Fig. 1 is a flow chart of a method for generating a parametric custom model based on sound data provided by the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施 例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用 以解释本发明,并不用于限定本发明。In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
以下结合具体实施例对本发明的实现进行详细的描述。The implementation of the present invention will be described in detail below with reference to specific embodiments.
本实施例的附图中相同或相似的标号对应相同或相似的部件;在本发明的描 述中,需要理解的是,若有术语“上”、“下”、“左”、“右”等指示的方位 或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化 描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位 构造和操作,因此附图中描述位置关系的用语仅用于示例性说明,不能理解为对 本专利的限制,对于本领域的普通技术人员而言,可以根据具体情况理解上述术 语的具体含义。The same or similar numbers in the drawings of this embodiment correspond to the same or similar components; in the description of the present invention, it should be understood that if there are terms such as "upper", "lower", "left", "right", etc. The indicated orientation or positional relationship is based on the orientation or positional relationship shown in the accompanying drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the indicated device or element must have a specific orientation or a specific orientation. structure and operation, so the terms describing the positional relationship in the drawings are only used for exemplary illustration and should not be construed as a limitation on the present patent. For those of ordinary skill in the art, the specific meanings of the above terms can be understood according to specific situations.
参照图1所示,为本发明提供的较佳实施例。Referring to FIG. 1, it is a preferred embodiment provided by the present invention.
基于声音数据的参数化定制模型生成方法,用于生成声音模型,包括以下步 骤:A parametric custom model generation method based on sound data is used to generate a sound model, including the following steps:
1)、确定平面U,并且于平面U上构造四个重叠的圆A、圆B、圆C以及 圆D;1), determine plane U, and construct four overlapping circles A, circle B, circle C and circle D on plane U;
2)、对圆A、圆B、圆C以及圆D分别进行等距分割,圆A设置有a个分 割点,圆B设置有b个分割点,圆C设置有c个分割点,圆D设置有d个分割 点;2), perform equidistant segmentation on circle A, circle B, circle C and circle D respectively, circle A is set with a split point, circle B is set with b split points, circle C is set with c split points, circle D There are d split points;
3)、将声音的PCM值提取的数据提取出峰值以及频率,从声音的PCM值 的频率范围中分别设置a、b、c以及d个分割点,从而得到频率范围中a、b、c 以及d个分割点所对应的频率值,并且从原来的PCM值中可以得到频率对应的 峰值;将声音的PCM值的a、b、c以及d个分割点的峰值以及频率输入至各自 的曲线函数f(X)中计算得到平缓波形a1、b1、c1以及d1,从而得到平缓波形上 除分割点以外的频率对应的竖向上升数据;3), extract the peak value and the frequency from the data extracted by the PCM value of the sound, and set a, b, c and d division points respectively from the frequency range of the PCM value of the sound, so as to obtain a, b, c and d in the frequency range. The frequency values corresponding to the d division points, and the peak value corresponding to the frequency can be obtained from the original PCM value; input the peak values and frequencies of the a, b, c and d division points of the PCM value of the sound into the respective curve functions In f(X), the smooth waveforms a1, b1, c1 and d1 are obtained by calculation, so as to obtain the vertical rise data corresponding to frequencies other than the dividing point on the smooth waveform;
4)、将声音的PCM值中的频率分别代入平缓波形a1、平缓波形a2、平缓 波形a3以及平缓波形a4所对应的曲线函数fa1(x)、fb1(x)、fc1(x)以及fd1(x)中, 可以得到a个分割点在平缓波形a1、b个分割点在平缓波形b1、c个分割点在平 缓波形c1以及d个分割点在平缓波形d1中的所截取的区间的点分别在相对于Z 轴的竖向上升数据,分别将其代入圆A、圆B、圆C以及圆D,使得圆A、圆B、 圆C以及圆D可以在平面U上相对应地上移,而后使用线条闭合串联,可以得 到圆形波形曲线A01、B01、C01以及D01;4) Substitute the frequencies in the PCM value of the sound into the curve functions f a1 (x), f b1 (x), f c1 (x) corresponding to the flat waveform a1, the flat waveform a2, the flat waveform a3 and the flat waveform a4 respectively. And in f d1 (x), it can be obtained that a division point is in the flat waveform a1, b division points are in the flat waveform b1, c division points are in the flat waveform c1, and d division points are intercepted in the flat waveform d1. The points of the interval are respectively in the vertical rise data relative to the Z axis, and they are substituted into circle A, circle B, circle C and circle D respectively, so that circle A, circle B, circle C and circle D can correspond on the plane U Move up, and then use lines to close and connect in series, you can get circular waveform curves A01, B01, C01 and D01;
5)、将曲线A01根据比例值a01进行缩放,将曲线B01根据比例值b01进 行缩放,将曲线C01根据比例值c01进行缩放,将曲线D01根据比例值d01缩 放,比例值之间的关系为:b01>a01>d01>c01;5) Scale the curve A01 according to the scale value a01, scale the curve B01 according to the scale value b01, scale the curve C01 according to the scale value c01, scale the curve D01 according to the scale value d01, the relationship between the scale values is: b01>a01>d01>c01;
6)、将曲线A01、曲线B01、曲线C01以及曲线D01按照曲线B01、曲线 A01、曲线D01、曲线C01的层叠顺序进行重新编排后生成曲面S;6), after the curve A01, the curve B01, the curve C01 and the curve D01 are rearranged according to the stacking order of the curve B01, the curve A01, the curve D01 and the curve C01 to generate the curved surface S;
7)、将曲面S在UV方向上进行均匀切割,两个方向上的切割数量为u和v, u个切割面与v个切割面交错构成分割的子块面,曲面S分割后产生新的曲面 S01,在U方向上形成有分割线;7), the surface S is uniformly cut in the UV direction, the number of cuts in the two directions is u and v, the u cutting surfaces and the v cutting surfaces are staggered to form divided sub-block surfaces, and the curved surface S is divided to generate a new sub-block surface. The curved surface S01 is formed with a dividing line in the U direction;
8)、通过曲线函数g(x)调节分割线的间隔关系,并且将分割后的曲面S01 的间隔线条拆分出来,数量为u,曲面S01的间隔线条包括数量u的子块面对应 的前边界线SLF和后边距线SLB;8), adjust the spacing relationship of the dividing lines through the curve function g(x), and split the spacing lines of the divided curved surface S01, the number is u, and the spacing lines of the curved surface S01 include the corresponding sub-block surfaces of the number u. Front border line SLF and back margin line SLB;
9)、在前边界线SLF以及后边距线SLB上分别在线上等距均匀生成数量为 p个点,前边界线SLF上的p个点分别定义为SLF_P1、SLF_P2、SLF_P3、...、 SLF_Pp,后边距线SLB上的p个点分别定义为SLB_P1、SLB_P2、SLB_P3、...、 SLB_Pp;9) On the front boundary line SLF and the back margin line SLB, the number of p points is evenly generated on the line at equal distances, and the p points on the front boundary line SLF are respectively defined as SLF_P1, SLF_P2, SLF_P3, ..., SLF_Pp , the p points on the back margin line SLB are respectively defined as SLB_P1, SLB_P2, SLB_P3, ..., SLB_Pp;
10)、将每个SLF_P点以及每个SLB_P点连接起来生成数量为p*u的直线 SLFB_PL,并且取每根直线SLFB_PL的中点为SLFB_PL_P;10), connect each SLF_P point and each SLB_P point to generate a straight line SLFB_PL whose quantity is p*u, and take the midpoint of each straight line SLFB_PL as SLFB_PL_P;
11)、计算每个点SLFB_PL_P分别到曲线A的距离SLFB_PL_PA_d,根据 这个距离的值来设定每个SLFB_PL_P点在Z轴上下降的距离,并且将下降后的 点设置为SLFB_PL_PD;11), calculate the distance SLFB_PL_PA_d from each point SLFB_PL_P to curve A respectively, set the distance that each SLFB_PL_P point drops on the Z axis according to the value of this distance, and set the dropped point as SLFB_PL_PD;
12)、将SLFB_PL_PD与相邻的SLF_P、SLB_P连接起来构成曲线SL_C, 连接顺序为SLF_P、SLFB_PL_PD、SLB_P;12), connect SLFB_PL_PD with adjacent SLF_P and SLB_P to form a curve SL_C, and the connection order is SLF_P, SLFB_PL_PD, SLB_P;
13)、将SL_C按照UV分割的方式编组,分成数量为u的组,并且将每组 里的SL_C连接构成曲面SL_S,将所有SL_S组合起来构成函数模型;13), SL_C is grouped according to the mode of UV segmentation, divided into groups of u, and the SL_C in each group is connected to form surface SL_S, and all SL_S are combined to form a function model;
通过对a、b、c、d数值的调整,以及对曲线函数f(x)以及曲线函数g(x)的不 同的调整切换,通过改变非固定参数的值,这可以让使用参数化解决方案可以使 私人定制设计更加高效,通过录入的声音建立数据到最后模型的算法和转换过程 来突破过去手工设计建模的高耗时,设计思维局限等限制,使得同时针对大量人 群的精确定制成为可能。By adjusting the values of a, b, c, d, and switching between different adjustments to the curve function f(x) and the curve function g(x), by changing the values of the non-fixed parameters, this allows the use of parametric solutions It can make private custom design more efficient. The algorithm and conversion process from the input sound data to the final model can break through the constraints of high time-consuming manual design and modeling and the limitations of design thinking in the past, making it possible to accurately customize for a large number of people at the same time. .
具体地,步骤2)中的a个分割点、b个分割点、c个分割点与d个分割点设 置为彼此相等;优选地,a可以设置为70,同样地,b,c,d分别可以设置为70, 70,70,从而让后续的模型生成可以更加美观以及更加精确,不会出现错位生成的 问题。Specifically, the a division points, b division points, c division points and d division points in step 2) are set to be equal to each other; preferably, a can be set to 70, similarly, b, c, d are respectively It can be set to 70, 70, 70, so that the subsequent model generation can be more beautiful and more accurate, and there will be no problem of dislocation generation.
具体地,步骤3)中曲线函数f(X)优选设置为sin(ax+b),其中x为频率,a以 及b为函数中的可变值,当代入x以及相对应的f(x)值求取;而设置为sin(ax+b)仅 为曲线函数f(X)的一种优选结果;曲线函数f(X)可以为形式为sin(ax+b)+cos(wx+v) 的任意三角函数;通过设置三角函数sin(ax+b)可以使得波形a1始终平缓而不会出 现断层的问题。Specifically, in step 3), the curve function f (X) is preferably set as sin(ax+b), where x is the frequency, a and b are variable values in the function, and when x and the corresponding f(x) are entered value; and setting to sin(ax+b) is only a preferred result of the curve function f ( X ); the curve function f (X) can be of the form sin(ax+b)+cos(wx+v) Any trigonometric function of ; by setting the trigonometric function sin(ax+b), the waveform a1 can always be flat without the problem of fault.
还有,曲线函数f(X)还可以是傅里叶级数;设置为傅里叶级数时,波形a1也 可以始终平缓而且不会发生断层问题。In addition, the curve function f (X) can also be a Fourier series; when it is set to a Fourier series, the waveform a1 can always be flat and no fault occurs.
具体地,步骤8)中曲线函数g(x)设置为贝叶斯曲线方程,方程具体为其中u为步骤8)中描述的拆分数量,pi为相对间隔距离, g(x)为距离值总和,x是相对圆心的距离;通过设置贝叶斯曲线方程,可以轻松 地调节分割线的间隔关系,而后可以进一步地获取数量u的子块面。Specifically, in step 8), the curve function g(x) is set as a Bayesian curve equation, and the equation is specifically where u is the number of splits described in step 8), pi is the relative separation distance, g (x) is the sum of the distance values, and x is the distance from the center of the circle; the splitting line can be easily adjusted by setting the Bayesian curve equation The interval relationship of , and then the sub-block faces of the number u can be further obtained.
还有,曲线函数g(x)设置为贝叶斯曲线方程也是一种优选方案,还可以设置 为双曲线方程或者椭圆方程;多种可以选择的曲线方程,可以实现定制化的进一 步完善。In addition, setting the curve function g(x) as a Bayesian curve equation is also a preferred solution, and can also be set as a hyperbolic equation or an ellipse equation; a variety of optional curve equations can be further customized for further improvement.
具体地,b个分割点、c个分割点以及d个分割点分别对应的曲线函数中的a 和b均设置为0;而将对应的a和b设置为0是一种优选方案,而非必要设置,为 了可以更具体更美观地生成定制化模型。Specifically, a and b in the curve functions corresponding to the b dividing points, the c dividing points and the d dividing points respectively are set to 0; and setting the corresponding a and b to 0 is a preferred solution, rather than a Necessary settings in order to generate custom models that are more specific and beautiful.
具体地,b个分割点、c个分割点以及d个分割点分别对应的竖向上升数据 为0;同样地,因为将a和b均设置为0,所以竖向上升数据也因为求取的曲线函 数并无变化,所以也为0。Specifically, the vertical rising data corresponding to the b dividing points, the c dividing points, and the d dividing points respectively are 0; similarly, since both a and b are set to 0, the vertical rising data is also obtained because of the The curve function does not change, so it is also 0.
具体地,每个距离SLFB_PL_PA_d等于每个SLFB_PL_P点在Z轴上下降的 距离;通过下降SLFB_PL_PA_d的距离,实现在单个子块面上凹陷,此处也是 一种优选方案,亦可以选择不凹陷。Specifically, each distance SLFB_PL_PA_d is equal to the distance that each SLFB_PL_P point descends on the Z axis; by decreasing the distance of SLFB_PL_PA_d, a single sub-block face is recessed, which is also a preferred solution here, and it is also possible to choose not to recess.
具体地,前边界线SLF和后边距线SLB间隔重合;前一条前边界线与更前 一条的后边距线是重合的;通过设置两者为同一体,保证了后续的分割产生的点 可以重合。Specifically, the front boundary line SLF and the back margin line SLB overlap at intervals; the previous front boundary line and the previous back margin line are coincident; by setting the two as the same body, it is ensured that the points generated by the subsequent segmentation can be coincident. .
具体地,前边界线SLF上的p个分割点和后边距线SLB上的p个分割点间 隔重合;通过设置两者重合,保证后续的连线可以为直线,相邻的两根SLFB_PL 与相接的前边界线SLF以及后边距线SLB形成的不会是扭曲的斜面,除了保证 生成的模型的美观,也保证了定制化的目的;但使前边界线SLF上的p个分割点 和后边距线SLB上的p个分割点间隔重合也是一种优选方案,为的是使其能够 进一步地提升定制化的程度Specifically, the p dividing points on the front boundary line SLF and the p dividing points on the back margin line SLB overlap at intervals; by setting the two to overlap, it is ensured that the subsequent connection line can be a straight line, and the two adjacent SLFB_PL and phase The connected front boundary line SLF and the back margin line SLB will not form a distorted slope. In addition to ensuring the beauty of the generated model, it also ensures the purpose of customization; but the p dividing points on the front boundary line SLF and the back It is also a preferred solution to overlap the p split points on the distance line SLB, so that it can further improve the degree of customization
具体地,圆A上的波形曲线设置有首尾点,首尾点的前后竖向上升数据为步 骤3)得到的波形a1的首点at1以及尾点at2的f(x)值;通过确定首点以及尾点 的f(x)值,保证了定制化的能力。Specifically, the waveform curve on the circle A is provided with head and tail points, and the vertical rise data before and after the head and tail points are the f(x) values of the first point at1 and the tail point at2 of the waveform a1 obtained in step 3); by determining the first point and The f(x) value of the tail point ensures the ability to customize.
具体地,参数曲面的参数域变量一般用UV字母来表达,比如参数曲面F(u,v)。 所以一般叫的三维曲面本质上是二维的,它所嵌入的空间是三维的。凡是能通过 F(u,v)来表达的曲面都是参数曲面,比如NURBS曲面。对于三角网格,如果能把 它与参数平面建立一一映射,那么它也就被参数化了,这个映射就是UV展开。Specifically, parametric domain variables of parametric surfaces are generally expressed by UV letters, such as parametric surfaces F(u, v). Therefore, the commonly called three-dimensional surface is essentially two-dimensional, and the space in which it is embedded is three-dimensional. All surfaces that can be expressed by F(u,v) are parametric surfaces, such as NURBS surfaces. For a triangular mesh, if it can be mapped one-to-one with the parameter plane, then it is also parameterized. This mapping is UV unwrapping.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明 的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保 护范围之内。The above descriptions are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention shall be included in the protection of the present invention. within the range.
Claims (10)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910563911.8A CN110321619B (en) | 2019-06-26 | 2019-06-26 | A Parametric Custom Model Generation Method Based on Sound Data |
PCT/CN2019/101601 WO2020258471A1 (en) | 2019-06-26 | 2019-08-20 | Audio data-based parameterized customized model generation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910563911.8A CN110321619B (en) | 2019-06-26 | 2019-06-26 | A Parametric Custom Model Generation Method Based on Sound Data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110321619A CN110321619A (en) | 2019-10-11 |
CN110321619B true CN110321619B (en) | 2020-09-15 |
Family
ID=68120461
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910563911.8A Active CN110321619B (en) | 2019-06-26 | 2019-06-26 | A Parametric Custom Model Generation Method Based on Sound Data |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110321619B (en) |
WO (1) | WO2020258471A1 (en) |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8644970B2 (en) * | 2007-06-08 | 2014-02-04 | Lg Electronics Inc. | Method and an apparatus for processing an audio signal |
CN102109594B (en) * | 2009-12-28 | 2014-04-30 | 深圳富泰宏精密工业有限公司 | System and method for sensing and notifying voice |
CN103561377B (en) * | 2013-11-07 | 2017-03-22 | 美特科技(苏州)有限公司 | Optimized setting method for electroacoustic products |
US9135923B1 (en) * | 2014-03-17 | 2015-09-15 | Chengjun Julian Chen | Pitch synchronous speech coding based on timbre vectors |
CN104392079A (en) * | 2014-12-17 | 2015-03-04 | 湖北工业大学 | Equal-chord length curve dividing algorithm of equal margin dividing method |
US10262087B2 (en) * | 2016-01-13 | 2019-04-16 | Dassault Systemes Simulia Corp. | Data processing method for including the effect of the tortuosity on the acoustic behavior of a fluid in a porous medium |
US11514885B2 (en) * | 2016-11-21 | 2022-11-29 | Microsoft Technology Licensing, Llc | Automatic dubbing method and apparatus |
JP6910641B2 (en) * | 2017-05-24 | 2021-07-28 | 学校法人 関西大学 | Small speaker design support device and speaker design support method |
CN109325541A (en) * | 2018-09-30 | 2019-02-12 | 北京字节跳动网络技术有限公司 | Method and apparatus for training pattern |
-
2019
- 2019-06-26 CN CN201910563911.8A patent/CN110321619B/en active Active
- 2019-08-20 WO PCT/CN2019/101601 patent/WO2020258471A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
CN110321619A (en) | 2019-10-11 |
WO2020258471A1 (en) | 2020-12-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Bishop | Constructing entire functions by quasiconformal folding | |
Aleksandrov | On the surfaces representable as difference of convex functions | |
WO2019072275A3 (en) | System and method for information protection | |
CN103440683B (en) | A kind of surface reconstruction method based on three-dimensional dense point cloud at random | |
Semiletov et al. | CABARET scheme for computational aero acoustics: extension to asynchronous time stepping and 3D flow modelling | |
Sevilla et al. | The generation of triangular meshes for NURBS‐enhanced FEM | |
CN105468868B (en) | Rubber bra steel ring construction design method based on FInite Element | |
CN102222134A (en) | Automatic grid density generation method applicable to finite element analysis during forging process | |
CN110321619B (en) | A Parametric Custom Model Generation Method Based on Sound Data | |
Xiao et al. | An acoustic modeling of the three-dimensional annular segment cavity with various impedance boundary conditions | |
CN105303192B (en) | A kind of shape matching method and system based on mix description | |
CN106788471A (en) | A kind of sound spectrum control system and method for noise circumstance experiment | |
CN107908880A (en) | Face abstracting method in the complex thin-walled member model of guarantor's topology based on virtual dividing | |
US20150312663A1 (en) | Source separation using a circular model | |
CN108916113A (en) | A kind of method of adjustment of ruled surface compressor impeller spoon of blade | |
CN104036085A (en) | Thickness statistical method for complex-surface car acoustic part for CAE simulation analysis | |
Engwirda | Voronoi-based point-placement for three-dimensional Delaunay-refinement | |
CN107301153B (en) | A Head-Related Transfer Function Modeling Method Based on Adaptive Fourier Decomposition | |
CN103489221A (en) | Method for parameterizing quadrilateral grid in conformal mode | |
CN111239685B (en) | Sound source localization method based on uniform design and self-organizing feature mapping neural network | |
Gölles et al. | Optimally curved arc source for sound reinforcement | |
CN103413019A (en) | Discrete method of irregular outline double-curvature outer profile integral wallboard | |
CN109637550A (en) | A kind of sound source elevation angle control method and system | |
CN105069252B (en) | In axial symmetry loud speaker simulation analysis under limited big baffle sound pressure level computational methods | |
CN106228003B (en) | A kind of method and device determining accurate Green's function |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |